* Re: Feiya 5-in-1 Card Reader
@ 2002-09-05 8:41 Andries.Brouwer
2002-09-05 15:00 ` [linux-usb-devel] " Phil Stracchino
0 siblings, 1 reply; 9+ messages in thread
From: Andries.Brouwer @ 2002-09-05 8:41 UTC (permalink / raw)
To: Andries.Brouwer, alaric, greg, linux-kernel, linux-scsi,
linux-usb-devel
> Speaking of sddr09 devices (of which I possess one), what's the current
> state of support for the sddr09? Last I knew, at the time when I finally
> got mine working, the sddr09 was only supported read-only
For me it works read-write and out-of-the-box on a vanilla kernel.
(I added this stuff a few months ago. Found in 2.5 (which I use).
Am not quite sure about 2.4.)
Andries
[In case you try 2.5, a warning: later tens and early twenties
will eat filesystems if you have the wrong IDE hardware. But
2.5.32, 2.5.33 are fine here.]
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-usb-devel] Feiya 5-in-1 Card Reader
2002-09-05 8:41 Feiya 5-in-1 Card Reader Andries.Brouwer
@ 2002-09-05 15:00 ` Phil Stracchino
0 siblings, 0 replies; 9+ messages in thread
From: Phil Stracchino @ 2002-09-05 15:00 UTC (permalink / raw)
To: Andries.Brouwer; +Cc: greg, linux-kernel, linux-scsi, linux-usb-devel
On Thu, Sep 05, 2002 at 10:41:48AM +0200, Andries.Brouwer@cwi.nl wrote:
> > Speaking of sddr09 devices (of which I possess one), what's the current
> > state of support for the sddr09? Last I knew, at the time when I finally
> > got mine working, the sddr09 was only supported read-only
>
> For me it works read-write and out-of-the-box on a vanilla kernel.
> (I added this stuff a few months ago. Found in 2.5 (which I use).
> Am not quite sure about 2.4.)
Hmm. So if I was to grab 2.5.${LATEST} and try porting the sddr09
driver back to 2.4.${CURRENT} ....
Thanks for the pointer.
--
********* Fight Back! It may not be just YOUR life at risk. *********
phil stracchino :: alaric@babcom.com :: halmayne@sourceforge.net
unix ronin :::: renaissance man :::: mystic zen biker geek
2000 CBR929RR, 1991 VFR750F3 (foully murdered), 1986 VF500F (sold)
Linux Now! ...because friends don't let friends use Microsoft.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-usb-devel] Feiya 5-in-1 Card Reader
@ 2002-09-04 22:56 Andries.Brouwer
2002-09-04 23:09 ` Greg KH
2002-09-04 23:10 ` Matthew Dharm
0 siblings, 2 replies; 9+ messages in thread
From: Andries.Brouwer @ 2002-09-04 22:56 UTC (permalink / raw)
To: greg, mdharm-kernel
Cc: Andries.Brouwer, linux-kernel, linux-scsi, linux-usb-devel
>> Matt, is it ok with you for me to add this patch to the tree?
> I'd like to hold off a few more days while I try to find out what the
> 'secret sauce' that the other OSes use for a device like this.
Hmm. You do not confuse two situations, do you?
In the past few days I made two devices work.
One was a Feiya 5-in-1 CF / SM / SD card reader
(Vendor Id: 090c, Product Id: 1132, Revision 1.00).
It returned a capacity that is one too large, and becomes
very unhappy if one tries to read a sector past the end.
So, a flag was needed to tell that the result of READ CAPACITY
needs fixing.
The other was a Travelmate CF / SM / SD card reader
(Vendor Id: 3538, Product Id: 0001, Revision 2.05).
It became unhappy when MODE_SENSE asked for too much data.
A patch on sd.c solved this.
Andries
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-usb-devel] Feiya 5-in-1 Card Reader
2002-09-04 22:56 Andries.Brouwer
@ 2002-09-04 23:09 ` Greg KH
2002-09-04 23:10 ` Matthew Dharm
1 sibling, 0 replies; 9+ messages in thread
From: Greg KH @ 2002-09-04 23:09 UTC (permalink / raw)
To: Andries.Brouwer; +Cc: mdharm-kernel, linux-kernel, linux-scsi, linux-usb-devel
On Thu, Sep 05, 2002 at 12:56:00AM +0200, Andries.Brouwer@cwi.nl wrote:
> >> Matt, is it ok with you for me to add this patch to the tree?
>
> > I'd like to hold off a few more days while I try to find out what the
> > 'secret sauce' that the other OSes use for a device like this.
>
> Hmm. You do not confuse two situations, do you?
> In the past few days I made two devices work.
>
> One was a Feiya 5-in-1 CF / SM / SD card reader
> (Vendor Id: 090c, Product Id: 1132, Revision 1.00).
> It returned a capacity that is one too large, and becomes
> very unhappy if one tries to read a sector past the end.
> So, a flag was needed to tell that the result of READ CAPACITY
> needs fixing.
Seems reasonble, Matt, any objection?
> The other was a Travelmate CF / SM / SD card reader
> (Vendor Id: 3538, Product Id: 0001, Revision 2.05).
> It became unhappy when MODE_SENSE asked for too much data.
> A patch on sd.c solved this.
Linus already added this patch to his tree :)
thanks,
greg k-h
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-usb-devel] Feiya 5-in-1 Card Reader
2002-09-04 22:56 Andries.Brouwer
2002-09-04 23:09 ` Greg KH
@ 2002-09-04 23:10 ` Matthew Dharm
2002-09-05 1:11 ` Phil Stracchino
1 sibling, 1 reply; 9+ messages in thread
From: Matthew Dharm @ 2002-09-04 23:10 UTC (permalink / raw)
To: Andries.Brouwer; +Cc: greg, linux-kernel, linux-scsi, linux-usb-devel
[-- Attachment #1: Type: text/plain, Size: 1798 bytes --]
Nope, not confused.
I'm trying to find out why Windows doesn't choke on the strange
READ_CAPACITY value. My guess is that there is code somewhere to
universally fixup READ_CAPACITY, and I'd like to know what the magic
formula is.
The MODE_SENSE bit is fine by me. But it's a SCSI change, so I'm not the
person to ask. The fix to sddr09.c for that seems reasonable, but you put
it all together and I haven't had time to split it up. Of course, I fully
expect the changes to MODE_SENSE in the SCSI layer to break other USB
devices, but there is only one way to find out....
Matt
On Thu, Sep 05, 2002 at 12:56:00AM +0200, Andries.Brouwer@cwi.nl wrote:
> >> Matt, is it ok with you for me to add this patch to the tree?
>
> > I'd like to hold off a few more days while I try to find out what the
> > 'secret sauce' that the other OSes use for a device like this.
>
> Hmm. You do not confuse two situations, do you?
> In the past few days I made two devices work.
>
> One was a Feiya 5-in-1 CF / SM / SD card reader
> (Vendor Id: 090c, Product Id: 1132, Revision 1.00).
> It returned a capacity that is one too large, and becomes
> very unhappy if one tries to read a sector past the end.
> So, a flag was needed to tell that the result of READ CAPACITY
> needs fixing.
>
> The other was a Travelmate CF / SM / SD card reader
> (Vendor Id: 3538, Product Id: 0001, Revision 2.05).
> It became unhappy when MODE_SENSE asked for too much data.
> A patch on sd.c solved this.
>
> Andries
--
Matthew Dharm Home: mdharm-usb@one-eyed-alien.net
Maintainer, Linux USB Mass Storage Driver
It's not that hard. No matter what the problem is, tell the customer
to reinstall Windows.
-- Nurse
User Friendly, 3/22/1998
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-usb-devel] Feiya 5-in-1 Card Reader
2002-09-04 23:10 ` Matthew Dharm
@ 2002-09-05 1:11 ` Phil Stracchino
0 siblings, 0 replies; 9+ messages in thread
From: Phil Stracchino @ 2002-09-05 1:11 UTC (permalink / raw)
To: Andries.Brouwer, greg, linux-kernel, linux-scsi, linux-usb-devel
[-- Attachment #1: Type: text/plain, Size: 1279 bytes --]
On Wed, Sep 04, 2002 at 04:10:42PM -0700, Matthew Dharm wrote:
> The MODE_SENSE bit is fine by me. But it's a SCSI change, so I'm not the
> person to ask. The fix to sddr09.c for that seems reasonable, but you put
> it all together and I haven't had time to split it up. Of course, I fully
> expect the changes to MODE_SENSE in the SCSI layer to break other USB
> devices, but there is only one way to find out....
Speaking of sddr09 devices (of which I possess one), what's the current
state of support for the sddr09? Last I knew, at the time when I finally
got mine working, the sddr09 was only supported read-only, since there
were not-fully-understood issues that resulted in filesystem corruption
if you tried to write to it. Currently, the driver will still allow me
to mount it only as a read-only filesystem. Can write support for the
sddr09 be expected any time soon?
--
********* Fight Back! It may not be just YOUR life at risk. *********
phil stracchino :: alaric@babcom.com :: halmayne@sourceforge.net
unix ronin :::: renaissance man :::: mystic zen biker geek
2000 CBR929RR, 1991 VFR750F3 (foully murdered), 1986 VF500F (sold)
Linux Now! ...because friends don't let friends use Microsoft.
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <UTC200208312329.g7VNTwF11470.aeb@smtp.cwi.nl>]
* Re: [linux-usb-devel] Feiya 5-in-1 Card Reader
[not found] <UTC200208312329.g7VNTwF11470.aeb@smtp.cwi.nl>
@ 2002-09-04 21:44 ` Greg KH
2002-09-04 22:04 ` Matthew Dharm
2002-09-05 0:10 ` Greg KH
1 sibling, 1 reply; 9+ messages in thread
From: Greg KH @ 2002-09-04 21:44 UTC (permalink / raw)
To: Andries.Brouwer; +Cc: linux-kernel, linux-scsi, linux-usb-devel, mdharm-usb
On Sun, Sep 01, 2002 at 01:29:58AM +0200, Andries.Brouwer@cwi.nl wrote:
>
> Without the patch the kernel crashes, or insmod usb-storage hangs.
> With the patch the CF part of the device works perfectly.
Matt, is it ok with you for me to add this patch to the tree?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: [linux-usb-devel] Feiya 5-in-1 Card Reader
2002-09-04 21:44 ` Greg KH
@ 2002-09-04 22:04 ` Matthew Dharm
0 siblings, 0 replies; 9+ messages in thread
From: Matthew Dharm @ 2002-09-04 22:04 UTC (permalink / raw)
To: Greg KH; +Cc: Andries.Brouwer, linux-kernel, linux-scsi, linux-usb-devel
[-- Attachment #1: Type: text/plain, Size: 851 bytes --]
I'd like to hold off a few more days while I try to find out what the
'secret sauce' that the other OSes use for a device like this.
Oh, and I don't think the INQUIRY changes co-mingled in with the other
stuff is really any good.
Matt
On Wed, Sep 04, 2002 at 02:44:02PM -0700, Greg KH wrote:
> On Sun, Sep 01, 2002 at 01:29:58AM +0200, Andries.Brouwer@cwi.nl wrote:
> >
> > Without the patch the kernel crashes, or insmod usb-storage hangs.
> > With the patch the CF part of the device works perfectly.
>
> Matt, is it ok with you for me to add this patch to the tree?
>
> thanks,
>
> greg k-h
--
Matthew Dharm Home: mdharm-usb@one-eyed-alien.net
Maintainer, Linux USB Mass Storage Driver
YOU SEE!!?? It's like being born with only one nipple!
-- Erwin
User Friendly, 10/19/1998
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-usb-devel] Feiya 5-in-1 Card Reader
[not found] <UTC200208312329.g7VNTwF11470.aeb@smtp.cwi.nl>
2002-09-04 21:44 ` Greg KH
@ 2002-09-05 0:10 ` Greg KH
1 sibling, 0 replies; 9+ messages in thread
From: Greg KH @ 2002-09-05 0:10 UTC (permalink / raw)
To: Andries.Brouwer; +Cc: linux-kernel, linux-scsi, linux-usb-devel, mdharm-usb
On Sun, Sep 01, 2002 at 01:29:58AM +0200, Andries.Brouwer@cwi.nl wrote:
>
> Without the patch the kernel crashes, or insmod usb-storage hangs.
> With the patch the CF part of the device works perfectly.
Applied, thanks.
greg k-h
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2002-09-05 15:00 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-05 8:41 Feiya 5-in-1 Card Reader Andries.Brouwer
2002-09-05 15:00 ` [linux-usb-devel] " Phil Stracchino
-- strict thread matches above, loose matches on Subject: below --
2002-09-04 22:56 Andries.Brouwer
2002-09-04 23:09 ` Greg KH
2002-09-04 23:10 ` Matthew Dharm
2002-09-05 1:11 ` Phil Stracchino
[not found] <UTC200208312329.g7VNTwF11470.aeb@smtp.cwi.nl>
2002-09-04 21:44 ` Greg KH
2002-09-04 22:04 ` Matthew Dharm
2002-09-05 0:10 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox