Re: HP Scanner:: zilch
On Fri, Dec 23, 2005 at 09:57:57PM -0700, Warren Block wrote: On Thu, 22 Dec 2005, Gary Kline wrote: My Epson requires this line in epson.conf: usb /dev/uscanner0 The hp.conf file kind of implies something similar, but I can't tell whether it would want the line above or this: /dev/uscanner0 option connect-device Hm, this is strange. I have two hp files in sane.d, both sseem oriented toward Linux. There is an entry for the 4100c in hp.conf, but it wants to create /dev/scanner. That line tells sane which device to use. In FreeBSD, that's /dev/uscanner0. How do I tell sane to use hp.conf (or my new hp4100.conf)? Do I need to put something in /etc/rc.conf, eg, or what? This is what I have the seems apropos: [EMAIL PROTECTED]:/usr/local/etc/sane.d# cat hp4100.conf # ##MODELED AFTER: ma1509.conf: see sane-ma1509(5) ##hp4100.conf: # #Warm-up time for the lamp in seconds ###option warmup-time 30 # # USB-scanners supported by the hp-backend # HP ScanJet 4100C usb 0x03f0 0x0101 #Manual setting (e.g. for FreeBSD) /dev/uscanner0 My best shot; round #1. [EMAIL PROTECTED]:/usr/local/etc/sane.d# ll hp* -r--r--r-- 1 root wheel 497 Dec 22 16:40 hp.conf -r--r--r-- 1 root wheel 238 Oct 9 23:09 hp5400.conf From hp.conf:: [EMAIL PROTECTED]:/usr/local/etc/sane.d# more hp.conf scsi HP # Uncomment the following if you have Error during device I/O on SCSI # option dumb-read # # The usual place for a SCSI-scanner on Linux /dev/scanner # # USB-scanners supported by the hp-backend # HP ScanJet 4100C usb 0x03f0 0x0101 . . . Would it make sense to create an hp4100.conf with your epson line usb /dev/uscanner0 as a first line? It looks like all HP scanners other than the HP5400 are defined in hp.conf, so use that one. My rational against hp.conf is the ^/dev/scanner line as well as the first SCSI line. What does scsi HP do? I don't use SCSI in this FBSD server. I am missing /dev/uscanner0. How is this /dev created? When the kernel detects the USB scanner, it should create /dev/uscanner0. Should I uncomment the USB 2.0 device in my KERNCONF file? Back in 5.4 or so, my Thinkpad would not detect the scanner unless I hot-plugged the USB cable (leaving the scanner connected and just powering it on did not work). On a desktop system, just turning on the scanner with the USB cable works. All of this may have changed with 6.0, to which you should upgrade unless you have a very compelling reason to stick with the obsolete 5.3. I built my 5.4 upgrades a week+ ago. Installed kernel and world Thursday mornng. I'm using a desktop in office for this; my ThinkPad has no USB. Anyway, some part of the scanner hardware is trashed; part(s) being replaced. When I see /dev/uscanner0, things should look lots brighter. I hope. q2 16:27 tao [5015] kldstat Id Refs AddressSize Name 1 11 0xc040 5e7530 kernel 2 14 0xc09e8000 537f0acpi.ko 31 0xc1aaf000 2000 blank_saver.ko 41 0xc1ad1000 17000linux.ko 51 0xc2352000 3000 uscanner.ko Does this output look right? This may be right the scanner wasn't seen. I figured that by kldloading uscanner.ko, /dev/uscanner0 would be auto-created. I need some other magic. I have the USB modules in my kernel, so I don't see it in kldstat. AFAIK, three of my USB modules are builtins. Would you please grep usb your KERNEL file? gotta be something like this why uscanner0 isn't there. thanks much, gary -Warren Block * Rapid City, South Dakota USA -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP Scanner:: zilch
On Sat, 24 Dec 2005, Gary Kline wrote: Hm, this is strange. I have two hp files in sane.d, both sseem oriented toward Linux. There is an entry for the 4100c in hp.conf, but it wants to create /dev/scanner. That line tells sane which device to use. In FreeBSD, that's /dev/uscanner0. How do I tell sane to use hp.conf (or my new hp4100.conf)? AFAIK, sane just looks through all the conf files for something that matches the scanner devices found. sane-find-scanner would be where it does that. My rational against hp.conf is the ^/dev/scanner line as well as the first SCSI line. What does scsi HP do? I don't use SCSI in this FBSD server. Just comment that line out. AFAIK, three of my USB modules are builtins. Would you please grep usb your KERNEL file? gotta be something like this why uscanner0 isn't there. I have: uhci ohci ehci usb ugen uhid ukbd ulpt umass ums uscanner -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP Scanner:: zilch
On Thu, 22 Dec 2005, Gary Kline wrote: My Epson requires this line in epson.conf: usb /dev/uscanner0 The hp.conf file kind of implies something similar, but I can't tell whether it would want the line above or this: /dev/uscanner0 option connect-device Hm, this is strange. I have two hp files in sane.d, both sseem oriented toward Linux. There is an entry for the 4100c in hp.conf, but it wants to create /dev/scanner. That line tells sane which device to use. In FreeBSD, that's /dev/uscanner0. [EMAIL PROTECTED]:/usr/local/etc/sane.d# ll hp* -r--r--r-- 1 root wheel 497 Dec 22 16:40 hp.conf -r--r--r-- 1 root wheel 238 Oct 9 23:09 hp5400.conf From hp.conf:: [EMAIL PROTECTED]:/usr/local/etc/sane.d# more hp.conf scsi HP # Uncomment the following if you have Error during device I/O on SCSI # option dumb-read # # The usual place for a SCSI-scanner on Linux /dev/scanner # # USB-scanners supported by the hp-backend # HP ScanJet 4100C usb 0x03f0 0x0101 . . . Would it make sense to create an hp4100.conf with your epson line usb /dev/uscanner0 as a first line? It looks like all HP scanners other than the HP5400 are defined in hp.conf, so use that one. I am missing /dev/uscanner0. How is this /dev created? When the kernel detects the USB scanner, it should create /dev/uscanner0. Back in 5.4 or so, my Thinkpad would not detect the scanner unless I hot-plugged the USB cable (leaving the scanner connected and just powering it on did not work). On a desktop system, just turning on the scanner with the USB cable works. All of this may have changed with 6.0, to which you should upgrade unless you have a very compelling reason to stick with the obsolete 5.3. q2 16:27 tao [5015] kldstat Id Refs AddressSize Name 1 11 0xc040 5e7530 kernel 2 14 0xc09e8000 537f0acpi.ko 31 0xc1aaf000 2000 blank_saver.ko 41 0xc1ad1000 17000linux.ko 51 0xc2352000 3000 uscanner.ko Does this output look right? This may be right the scanner wasn't seen. I figured that by kldloading uscanner.ko, /dev/uscanner0 would be auto-created. I need some other magic. I have the USB modules in my kernel, so I don't see it in kldstat. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP Scanner:: zilch
On Thu, 22 Dec 2005 14:16:58 -0800 Gary Kline [EMAIL PROTECTED] wrote: Before I write off the HP Scanjet 4100c, I thought it's best to check with the list first. I have device usb in the kernel; I did a kernel load of uscanner.ko and a kldstat shows that the module is there. My two USB ports seem to be alive. Is there a command to double-check?? two commands to try : scanimage -L sane-find-scanner (you might want to try this as root if you don't find anything as a normal user, after (scanner is found) that fix permissions) -- grtjs, albi gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP Scanner:: zilch
On Thu, 22 Dec 2005, Gary Kline wrote: Before I write off the HP Scanjet 4100c, I thought it's best to check with the list first. I have device usb in the kernel; I did a kernel load of uscanner.ko and a kldstat shows that the module is there. My two USB ports seem to be alive. Is there a command to double-check?? Device detection should auto-load the uscanner module for you. I have yet to reboot to reinitialize my 5.3 system. Otherwise, can anybody suggest ideas of things to try next? xsane execs but cannot find anything. thanks for some clues. gary PS: In /usr/local/etc/sane.d, the hp.conf file lists the 4100c with two heex addrs. My Epson requires this line in epson.conf: usb /dev/uscanner0 The hp.conf file kind of implies something similar, but I can't tell whether it would want the line above or this: /dev/uscanner0 option connect-device -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP Scanner:: zilch
On Thu, Dec 22, 2005 at 11:26:37PM +0100, albi wrote: On Thu, 22 Dec 2005 14:16:58 -0800 Gary Kline [EMAIL PROTECTED] wrote: Before I write off the HP Scanjet 4100c, I thought it's best to check with the list first. I have device usb in the kernel; I did a kernel load of uscanner.ko and a kldstat shows that the module is there. My two USB ports seem to be alive. Is there a command to double-check?? two commands to try : scanimage -L sane-find-scanner (you might want to try this as root if you don't find anything as a normal user, after (scanner is found) that fix permissions) Nada. Either the transformer isn't working or the unit itseld is defective. Or *both*. That's what comes with AS-IS. How can i be sure that my dual USB ports are working? Is usbstats (?) the right utility? Again, I know 0.0 about USB. thanks in advance, gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP Scanner:: zilch
On Thu, Dec 22, 2005 at 04:46:56PM -0700, Warren Block wrote: On Thu, 22 Dec 2005, Gary Kline wrote: Before I write off the HP Scanjet 4100c, I thought it's best to check with the list first. I have device usb in the kernel; I did a kernel load of uscanner.ko and a kldstat shows that the module is there. My two USB ports seem to be alive. Is there a command to double-check?? Device detection should auto-load the uscanner module for you. I have yet to reboot to reinitialize my 5.3 system. Otherwise, can anybody suggest ideas of things to try next? xsane execs but cannot find anything. thanks for some clues. gary PS: In /usr/local/etc/sane.d, the hp.conf file lists the 4100c with two heex addrs. My Epson requires this line in epson.conf: usb /dev/uscanner0 The hp.conf file kind of implies something similar, but I can't tell whether it would want the line above or this: /dev/uscanner0 option connect-device Hm, this is strange. I have two hp files in sane.d, both sseem oriented toward Linux. There is an entry for the 4100c in hp.conf, but it wants to create /dev/scanner. [EMAIL PROTECTED]:/usr/local/etc/sane.d# ll hp* -r--r--r-- 1 root wheel 497 Dec 22 16:40 hp.conf -r--r--r-- 1 root wheel 238 Oct 9 23:09 hp5400.conf From hp.conf:: [EMAIL PROTECTED]:/usr/local/etc/sane.d# more hp.conf scsi HP # Uncomment the following if you have Error during device I/O on SCSI # option dumb-read # # The usual place for a SCSI-scanner on Linux /dev/scanner # # USB-scanners supported by the hp-backend # HP ScanJet 4100C usb 0x03f0 0x0101 . . . Would it make sense to create an hp4100.conf with your epson line usb /dev/uscanner0 as a first line? I am missing /dev/uscanner0. How is this /dev created? q2 16:27 tao [5015] kldstat Id Refs AddressSize Name 1 11 0xc040 5e7530 kernel 2 14 0xc09e8000 537f0acpi.ko 31 0xc1aaf000 2000 blank_saver.ko 41 0xc1ad1000 17000linux.ko 51 0xc2352000 3000 uscanner.ko Does this output look right? This may be right the scanner wasn't seen. I figured that by kldloading uscanner.ko, /dev/uscanner0 would be auto-created. I need some other magic. -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]