Hi,
I have bought a cheap digital camera, which claims to be usb-storage
compliant.
I would like to know, if from the output below, you have any suggestions, on
how I can debug this, or if you think it's not worth while because this
device shows symptoms of being broken with respect to usb-storage compliance.
The usb-storage sub-system does work, since I can copy files from and to my
USB compact flash reader.
I could build a new kernel with verbose messaging of usb-storage and/or usb
in general. Would that help (I have tried with both, but it produces rather
much output ...)?
Attaching it to the USB bus shows the following in /var/log/messages (kernel
2.4.17, but also tried 2.4.10, 2.4.12 and 2.4.16 - all of which are SuSE
kernels, but I doubt that makes a difference here):
Jan 15 19:03:19 felix kernel: hub.c: USB new device connect on bus1/2,
assigned device number 4
Jan 15 19:03:19 felix kernel: usb.c: USB device 4 (vend/prod 0x784/0x1688)
is not claimed by any active driver.
Jan 15 19:03:19 felix kernel: Initializing USB Mass Storage driver...
Jan 15 19:03:19 felix kernel: usb.c: registered new driver usb-storage
Jan 15 19:03:19 felix kernel: usb-uhci.c: interrupt, status 2, frame# 1096
Jan 15 19:03:20 felix kernel: usb_control/bulk_msg: timeout
Jan 15 19:03:20 felix kernel: scsi0 : SCSI emulation for USB Mass Storage
devices
Jan 15 19:03:41 felix kernel: usb_control/bulk_msg: timeout
Jan 15 19:03:41 felix kernel: usb.c: USB disconnect on device 4
Jan 15 19:03:41 felix kernel: usb-uhci.c: interrupt, status 2, frame# 750
Jan 15 19:03:41 felix kernel: hub.c: USB new device connect on bus1/2,
assigned device number 5
Jan 15 19:03:45 felix kernel: usb_control/bulk_msg: timeout
Jan 15 19:03:46 felix kernel: usb-storage: host_reset() requested but not
implemented
Jan 15 19:03:49 felix kernel: usb_control/bulk_msg: timeout
Jan 15 19:03:53 felix kernel: usb_control/bulk_msg: timeout
Jan 15 19:03:56 felix kernel: scsi: device set offline - command error
recover failed: host 0 channel 0 id 0 lun 0
Jan 15 19:03:56 felix insmod: Using
/lib/modules/2.4.17-4GB/kernel/drivers/usb/storage/usb-storage.o
Jan 15 19:03:56 felix insmod: Symbol version prefix ''
Jan 15 19:03:56 felix kernel: WARNING: USB Mass Storage data integrity not
assured
Jan 15 19:03:56 felix kernel: USB Mass Storage device found at 4
Jan 15 19:03:56 felix kernel: USB Mass Storage support registered.
Jan 15 19:03:57 felix kernel: usb_control/bulk_msg: timeout
Jan 15 19:04:01 felix kernel: usb_control/bulk_msg: timeout
Jan 15 19:04:01 felix kernel: usb.c: USB device not responding, giving up
(error=-110)
Jan 15 19:04:01 felix kernel: hub.c: USB new device connect on bus1/2,
assigned device number 6
Jan 15 19:04:05 felix kernel: usb_control/bulk_msg: timeout
Jan 15 19:04:21 felix last message repeated 4 times
Jan 15 19:04:21 felix kernel: usb.c: USB device not responding, giving up
(error=-110)
"cat /proc/bus/usb/devices" _sometimes_ shows the device as
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 8 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0784 ProdID=1688 Rev= 0.00
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=05 Prot=50 Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
At other times it won't show up at all and I have to unplug/plug again to
finally make it show up.
In just the same manner, _sometimes_ "cat /proc/scsi/scsi" will show
Attached devices:
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: Model: Rev:
Type: <NULL> ANSI SCSI revision: ffffffff
"cat /proc/scsi/usb-storage-0/0" shows
Host scsi0: usb-storage
Vendor: HHH
Product: PREMIER DC2102
Serial Number: 4810816
Protocol: 8070i
Transport: Bulk
GUID: 078416880000000004810816
Attached: Yes
Greetings from Bremen
hartmut
--
hartmut meyer email: [EMAIL PROTECTED]
donaustr. 46/48 fax: 0421-2775231
28199 bremen telefon: 0421-2775230
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users