HP Scanner:: zilch
wblock at wonkity.com
Fri Dec 23 20:58:01 PST 2005
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:
>> 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
> root at tao:/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"::
> root at tao:/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
> # 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>  kldstat
> Id Refs Address Size Name
> 1 11 0xc0400000 5e7530 kernel
> 2 14 0xc09e8000 537f0 acpi.ko
> 3 1 0xc1aaf000 2000 blank_saver.ko
> 4 1 0xc1ad1000 17000 linux.ko
> 5 1 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
I have the USB modules in my kernel, so I don't see it in kldstat.
-Warren Block * Rapid City, South Dakota USA
More information about the freebsd-questions