hp 5200c usb problem

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

hp 5200c usb problem

Claus Webmail Wilson
the scanner is connected but sane doesn't find it.
cat /proc/bus/usb/devices show up with

T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=03f0 ProdID=0401 Rev= 1.00
S:  Manufacturer=Hewlett-Packard
S:  Product=HP ScanJet 5200C
S:  SerialNumber=SG0321316ZHT
C:* #Ifs= 1 Cfg#= 1 Atr=60 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  16 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=250ms

What do I do?
I use kernel 2.6.7 and hotplug to manage permissions. However hotplug has some
problems: It cannot chown and chmod of /proc/bus/usb/001/003 which might be
my scanner device. (I think it should be 001:001). I don't always get this
error message during start-up for some reason.
It might be related to my start-up unlinking problems to devices vcs4 and
more.
--
Venlig hilsen / Greetings from
Claus Ladekjær Wilson
Bellisvænget 18
DK - 5450 Otterup
tlf. +45-66191050 / mob. +45-61665543
http://www.clauswilson.dk
Linux gentoo 2004.2 kernel 2.6.7

--
sane-devel mailing list: [hidden email]
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: hp 5200c usb problem

Gerald Murray
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.2.2
X-Originating-IP: 209.188.109.9


T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxC=
    ^^^^^^                               ^^^^^^^^
    bus is 001/002 device


>What do I do?
>I use kernel 2.6.7 and hotplug to manage permissions. However hotplug has s
ome
>problems: It cannot chown and chmod of /proc/bus/usb/001/003 which might be
>my scanner device. (I think it should be 001:001). I don't always get this

You do need to get the permissions set on the right device.
In the procfs, the T: line identifys the device and provides information.
You do not have to guess in the sysfs either.  This command
will list all the device numbers first, followed (in the same order)
by idVendor or idProduct (by manufacturer may fail because some do not
supply their name.  idVendor and idProduct are required by USB specifications)

cat /sys/bus/usb/devices/*/{devnum,idVendor}

From the sane-project site:

Support for models 5200C/62X0C/63X0C connected to the USB  require  the
kernel scanner driver or libusb. See sane-usb(5) for more details.

Best regards,

Gerald



--



--
sane-devel mailing list: [hidden email]
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to [hidden email]