I have the same in hp.conf the error I get from scannerdrake is:
TODO: XSetInputFocus if force_focus TODO: ensure focus stuff Use of uninitialized value in split at /usr/lib/perl5/vendor_perl/5.8.0/MDK/Common/String.pm line 138 (#1) Use of uninitialized value in numeric eq (==) at /usr/lib/libDrakX/interactive.pm line 333 (#1) and If I run Harddrake: it dies: Name "harddrake::data::tree" used only once: possible typo at /usr/sbin/harddrake2 line 201 (#1) (W once) Typographical errors often show up as unique variable names. If you had a good reason for having a unique name, then just mention it again somehow to suppress the message. The our declaration is provided for this purpose. sbus_probing::main::prom_walk() called too early to check prototype at /usr/lib/libDrakX/sbus_probing/main.pm line 126 (#2) (W prototype) You've called a function that has a prototype before the parser saw a definition or declaration for it, and Perl could not check that the call conforms to the prototype. You need to either add an early prototype declaration for the subroutine in question, or move the subroutine definition ahead of the call to get proper prototype checking. Alternatively, if you are certain that you're calling the function correctly, you may put an ampersand before the name to avoid the warning. See perlsub. sbus_probing::main::prom_walk() called too early to check prototype at /usr/lib/libDrakX/sbus_probing/main.pm line 127 (#2) Use of uninitialized value in hash element at /usr/lib/libDrakX/sbus_probing/main.pm line 91 (#3) (W uninitialized) An undefined value was used as if it were already defined. It was interpreted as a "" or a 0, but maybe it was a mistake. To suppress this warning assign a defined value to your variables. To help you figure out what was undefined, perl tells you what operation you used the undefined value in. Note, however, that perl optimizes your program and the operation displayed in the warning may not necessarily appear literally in your program. For example, "that $foo" is usually optimized into "that " . $foo, and the warning will refer to the concatenation (.) operator, even though there is no . in your program. Use of uninitialized value in string eq at /usr/lib/libDrakX/sbus_probing/main.pm line 100 (#3) Use of uninitialized value in string eq at /usr/lib/libDrakX/sbus_probing/main.pm line 124 (#3) Use of uninitialized value in string eq at /usr/lib/libDrakX/sbus_probing/main.pm line 125 (#3) Use of uninitialized value in split at /usr/lib/libDrakX/detect_devices.pm line 111 (#3) Use of uninitialized value in concatenation (.) or string at /usr/lib/libDrakX/detect_devices.pm line 514 (#3) Use of uninitialized value in pattern match (m//) at /usr/lib/libDrakX/detect_devices.pm line 182 (#3) TODO: XSetInputFocus if force_focus TODO: ensure focus stuff TODO: XSetInputFocus if force_focus TODO: ensure focus stuff Use of uninitialized value in string eq at /usr/sbin/harddrake2 line 216 (#3) Use of uninitialized value in string eq at /usr/sbin/harddrake2 line 229 (#3) Use of uninitialized value in pattern match (m//) at /usr/sbin/harddrake2 line 229 (#3) Use of uninitialized value in sprintf at /usr/sbin/harddrake2 line 235 (#3) Use of uninitialized value in index at /usr/lib/libDrakX/detect_devices.pm line 199 (#3) Use of uninitialized value in index at /usr/lib/libDrakX/detect_devices.pm line 203 (#3) Use of uninitialized value in pattern match (m//) at /usr/lib/libDrakX/detect_devices.pm line 190 (#3) Argument "SCSI" isn't numeric in sprintf at /usr/sbin/harddrake2 line 235 (#4) (W numeric) The indicated string was fed as an argument to an operator that expected a numeric value instead. If you're fortunate the message will identify which operator was so unfortunate. Use of uninitialized value in string eq at /usr/lib/libDrakX/harddrake/data.pm line 46 (#3) Use of uninitialized value in string ne at /usr/lib/libDrakX/harddrake/data.pm line 15 (#3) Use of uninitialized value in concatenation (.) or string at /usr/lib/libDrakX/scanner.pm line 33 (#3) Use of uninitialized value in concatenation (.) or string at /usr/lib/libDrakX/scanner.pm line 34 (#3) Use of uninitialized value in concatenation (.) or string at /usr/lib/libDrakX/mouse.pm line 264 (#3) Uncaught exception from user code: Is gtk2-perl missing Gtk2::GObject::set_active ? Call trace: Gtk2::_Object::AUTOLOAD() called from /usr/sbin/harddrake2:262 Gtk2::_Object::AUTOLOAD('Gtk2::GObject=SCALAR(0x8fc4c54)',0) called at /usr/sbin/harddrake2 line 262 Use of uninitialized value in subroutine entry at /usr/lib/libDrakX/c.pm line 10. /M On Sun, 5 Jan 2003, Buchan Milne wrote: > On Sun, 5 Jan 2003, Magnus Holmberg wrote: > > > Harddrake craches when I run it..... also scannerdrake craches. > > > > yes cdrecord -scanbus list the scanner. It works if I send it as an > > parameter to scanimage or xsane.. the problem was that when I use gimp > > I can not send the scanner as a parameter. > > > > Till, please see if you can fix this!!!! It doesn't only affect Gimp, I > think it also affects OpenOffice.org (which indeed can scan via sane) and > also makes setting saned up more difficult. Please set the device name in > the backend configuration (I am assuming scannerdrake hasn't changed much > since 9.0, don't have a scanner near my cooker box). > > Of course, firmware configuration (such as the Snapscan scanners) incuding > prompting for driver CD, would be really cool ... > > > adding hp to dll.conf helped me out... But harddrake and printerdrake > > does not work... > > > > What do you have in /etc/sane.d/hp.conf, the default on 9.0 looks like > this: > [root@bgmilne bgmilne]# cat /etc/sane.d/hp.conf > scsi HP > /dev/scanner > > > Regards, > Buchan > -- > |----------------Registered Linux User #182071-----------------| > Buchan Milne Mechanical Engineer, Network Manager > Cellphone * Work +27 82 472 2231 * +27 21 8828820x121 > Stellenbosch Automotive Engineering http://www.cae.co.za > GPG Key http://ranger.dnsalias.com/bgmilne.asc > 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 > > > _|_|_| _| _| _|_|_| _| _| _|_| _| _| _| _| _| _| _| _| _| _|_|_| _| _| _| _|_| _| _| _| _| _| _| _| _| _| _| _| _|_| _|_|_| _| _| _|_| --==** LIVETS VATTEN **==--