LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* usb-storage and casio qv-4000 digital camera
@ 2001-10-08 0:44 Jan Niehusmann
0 siblings, 0 replies; only message in thread
From: Jan Niehusmann @ 2001-10-08 0:44 UTC (permalink / raw)
To: mdharm-usb, linux-kernel
(this is against linux-2.4.10-ac8, but should apply to kernels
with similar usb drivers, too)
The casio qv-4000 digital cameras needs the same workarounds
in usb-storage as older casio cameras, but has a different
serial number. Therefore the attached patch is needed to make
the camera work - otherwise, I get a lot of
"usb_control/bulk_msg: timeout" messages and the device doesn't work.
I think these are the corresponding lines in /proc/bus/usb/devices:
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=07cf ProdID=1001 Rev=10.00
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=05 Prot=00 Driver=usb-storage
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl= 1ms
As the patch enables the workaround for a fairly huge range of revision
numbers, it may be better to have two distinct lines with smaller
ranges instead of one bug range - I leave this decision to people
who know more about USB than I do ;-)
Jan
--- linux-2.4.10-ac8-usb/drivers/usb/storage/unusual_devs.h.orig Sun Oct 7 20:29:27 2001
+++ linux-2.4.10-ac8-usb/drivers/usb/storage/unusual_devs.h Mon Oct 8 01:51:34 2001
@@ -394,7 +394,7 @@
* - They don't like the INQUIRY command. So we must handle this command
* of the SCSI layer ourselves.
*/
-UNUSUAL_DEV( 0x07cf, 0x1001, 0x9009, 0x9009,
+UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x9009,
"Casio",
"QV DigitalCamera",
US_SC_8070, US_PR_CB, NULL,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-10-08 0:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-08 0:44 usb-storage and casio qv-4000 digital camera Jan Niehusmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).