All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andries E. Brouwer" <Andries.Brouwer@cwi.nl>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Ed Tomlinson <edt@aei.ca>,
	Andries Brouwer <Andries.Brouwer@cwi.nl>,
	Kernel development list <linux-kernel@vger.kernel.org>,
	USB list <linux-usb@vger.kernel.org>
Subject: Re: [BUG] 2.6.32 - Sddr-09 SM reader resets endlessly
Date: Sat, 5 Dec 2009 21:06:06 +0100	[thread overview]
Message-ID: <20091205200606.GA23243@mette> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0912051246580.15558-100000@netrider.rowland.org>

On Sat, Dec 05, 2009 at 12:55:40PM -0500, Alan Stern wrote:

> > [ 1259.709281] usb 3-1: new full speed USB device using ohci_hcd and address 4
> > [ 1259.867687] usb 3-1: New USB device found, idVendor=0781, idProduct=0200
> 
> Not shown explicitly, the bcdDevice value is 0208.
> 
> > [ 1259.874603] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> > [ 1259.881956] usb 3-1: Product: USB SSFDC
> > [ 1259.881958] usb 3-1: Manufacturer: SanDisk

> > [ 1266.830235] sddr09: could not read card info
> > [ 1266.847287] sddr09: could not read card info

> Skipping to the important part, where the sddr09 driver implements TEST 
> UNIT READY:
> 
> > ffff8801571e5240 2548283209 S Co:3:004:0 s 41 00 0000 0000 000c 12 = 00200000 00000000 00000000
> > ffff8801571e5240 2548536793 C Co:3:004:0 -32 12 >
> 
> That failure is responsible for the resets.
> 
> Andries, do you have any idea what's going on?  Evidently this device 
> doesn't accept the protocol used by the sddr09 driver.

Hi Alan,

Sorry, no - I have no memory and worked on these USB drivers
years ago. Forgot all details. Also my last sddr09 device broke
some time ago.

Looking at my old files I do not see the Vendor Id 0781, so maybe
this is a device I never encountered.
These old files also discuss some trickery with multi-lun devices
where the driver needed depends on the lun. This is not a reader
of multiple types of card?

Many of my SM readers worked with either sddr09 or sddr55.
Does the unusual devices section today say that such a device
needs sddr09?

Found a 2.6.31 source tree. Yes,

UNUSUAL_DEV(  0x0781, 0x0200, 0x0000, 0x9999,
                "Sandisk",
                "ImageMate SDDR-09",
                US_SC_SCSI, US_PR_EUSB_SDDR09, usb_stor_sddr09_init,
                0),

Is it known who added this? Is 0208 in the interval of known devices
for which sddr09 works?

Andries


  reply	other threads:[~2009-12-05 20:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-03 23:00 [BUG] 2.6.32 - Sddr-09 SM reader resets endlessly Ed Tomlinson
2009-12-04 15:21 ` Alan Stern
2009-12-05  4:44   ` Ed Tomlinson
2009-12-05 17:55     ` Alan Stern
2009-12-05 20:06       ` Andries E. Brouwer [this message]
2009-12-05 21:34         ` Alan Stern
2009-12-06  0:00           ` Ed Tomlinson
2009-12-06  4:51             ` Alan Stern
2009-12-06 17:07               ` Ed Tomlinson

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=20091205200606.GA23243@mette \
    --to=andries.brouwer@cwi.nl \
    --cc=edt@aei.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=stern@rowland.harvard.edu \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.