The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Jan Niehusmann <jan@gondor.com>
To: mdharm-usb@one-eyed-alien.net, linux-kernel@vger.kernel.org
Subject: usb-storage and casio qv-4000 digital camera
Date: Mon, 8 Oct 2001 02:44:40 +0200	[thread overview]
Message-ID: <20011008024440.A1242@gondor.com> (raw)

(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,

                 reply	other threads:[~2001-10-08  0:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011008024440.A1242@gondor.com \
    --to=jan@gondor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mdharm-usb@one-eyed-alien.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox