Good day all,
I am hoping someone can shed some light onto the problem I'm having
hooking up my Kodak DC280 Zoom through USB under Linux. I have
configured (from what I understand correctly) USB under kernel version
2.4.17. This included setting up a mount in my /etc/fstab as
none /proc/bus/usb usbdevfs defaults 0 0
creating the following devices in /dev/usb (I know, I shouldn't have
set it world writeable, but it doesn't work even as root)
sorbet:/dev/usb# ls -al
total 24
drwxr-xr-x 2 root root 4096 Feb 23 16:30 .
drwxr-xr-x 6 root root 20480 Mar 1 08:01 ..
crw-rw-rw- 1 root root 180, 80 Feb 23 16:04 dc2xx0
crw-rw-rw- 1 root root 180, 81 Feb 23 16:30 dc2xx1
crw-rw-rw- 1 root root 180, 82 Feb 23 16:30 dc2xx2
crw-rw-rw- 1 root root 180, 83 Feb 23 16:30 dc2xx3
crw-rw-rw- 1 root root 180, 84 Feb 23 16:30 dc2xx4
crw-rw-rw- 1 root root 180, 85 Feb 23 16:30 dc2xx5
installed version 0.1.4 of libusb and dded the following lines to
me /etc/modules file (for Debian 3.0)
usbcore
usb-uhci
scanner
dc2xx
When I do an lsmod I get
Module Size Used by Not tainted
dc2xx 3232 0 (unused)
scanner 8448 0
usb-uhci 20964 0 (unused)
usbcore 48064 1 [dc2xx scanner usb-uhci]
I have no problems getting my HP ScanJet 6300C working under
Linux through the USB interface, but my Kodak DC280 Zoom is a different
story. A cat of my /proc/bus/usb/devices gives me
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 11/900 us ( 1%), #Int= 1, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=d000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=03f0 ProdID=0601 Rev= 1.00
S: Product=HP ScanJet 6300C
S: SerialNumber=SG987160XYPE
C:* #Ifs= 1 Cfg#= 1 Atr=60 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=usbscanner
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
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 5 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=040a ProdID=0130 Rev= 1.01
S: Manufacturer=Eastman Kodak Company
S: Product=KODAK DC280 Zoom Digital Camera
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 2mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=dc2xx
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
It seems clear that I can probe the digital camera, unfortunately,
I then run
gphoto2 --camera "Kodak DC280" --port usb: --get-all-images
and I get the message
Status: Initializing 'Kodak DC280'...
*** Error ('Could not claim the USB device') ***
The following message is the last internal error message.
This message may currently still be unrelated to the real error:
Could not claim interface 0 (Device or resource busy). Make sure no other program or
kernel module (i.e. dcxxx) is using the device and you have read/write access to the
device.
For debugging messages, please use the --debug option.
Why could it not claim the USB device? Have I missed a step somewhere
in setting it up where my digital camera wouldn't work but my scanner
will work?
Cheers!
Richard..
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users