USB scanner not working
Sandy Pond
sandy_pond at myrealbox.com
Tue Mar 9 14:28:39 UTC 2004
On Tue, 2004-03-09 at 09:34 +0100, Hay Bouten wrote:
> Hi All,
>
> Running a up2date Fedora Core 2 and can't get the HP6200c USB scanner to
> work.
>
> xsane doesn't find the scanner on hp:/dev/usb/scanner0
>
> When I plugin the scanner /var/log/messages displays:
>
> Mar 9 09:18:28 lshay002 kernel: usb 1-1: new full speed USB device
> using address 3
> Mar 9 09:18:29 lshay002 usb.agent[3541]: ... no modules for USB product
> 3f0/201/100
>
> sane-find-scanner displays:
> found USB scanner (vendor=0x03f0, product=0x0201) at libusb:001:003
>
> scanimage -L displays:
> hp:libusb:001:003' is a Hewlett-Packard ScanJet 62x0C flatbed scanner
>
> So the scanner is there, but how to set it up?
>
Did you try as root ... it may only be a privilege problem?
Seem that /dev/usb/scanner0 is depreciated with the new sysfs/libusb/
hotplug subsystems. Your usb device file is at: /proc/bus/usb/001/003
Note that device file depends on the usb setup and can be determined
from the output of sane-find-scanner.
To correct the privilege I added:
chmod 777 $(sane-find-scanner | \
grep '^found USB scanner' | \
sed -e 's?^.*libusb:?/proc/bus/usb/?' -e 's?:?/?')
to /etc/rc.d/rc.local. This is temporary and has many bugs. I don't
know how xsane is suppose handle device file location and user privilege
with the new sysfs/libusb/hotplug setup. I did look some and udev might
be a solution but even there the privilege part is no good. And then
how's this all going to work in Redhat?
:)
More information about the fedora-test-list
mailing list