On Sun, 2006-11-26 at 14:10 -0500, Alan Stern wrote: > On Sun, 26 Nov 2006, Greg Folkert wrote: > > > Okay, I have tried before here, but have been unsuccessful in making > > this device work. > > > > I have a Sandisk Sansa e250, I'd like to see it work like my other USB > > storage devices. When I plug it in, pmount and udevd and hal all do the > > right thing and it just works. Except my E250 just fails to work. > > > # lsusb -v -s 001:006 [...snip...] > > See those "Vendor Specific" thingies? They indicate that the e250 doesn't > use a standard USB mass-storage protocol. Consequently the usb-storage > driver won't talk to it. > > > Device Qualifier (for other device speed): > > bLength 10 > > bDescriptorType 6 > > bcdUSB 2.00 > > bDeviceClass 255 Vendor Specific Class > > bDeviceSubClass 255 Vendor Specific Subclass > > bDeviceProtocol 255 Vendor Specific Protocol > > Same here. > > Now it's possible that the device really does use a standard protocol > instead of a vendor-specific protocol, in spite of what the descriptors > say. If it does, there's a good chance the patch below will make it work. > Try it and see. > > Alan Stern >
Remove this patch... was using MTP mode on the Sansa e250. I had
forgotten I connected it to a Windows machine which forces it to use MTP
mode versus MSC mode. All that and a bag of chips, plus FUN.
The Sansa e250 is auto-mounting perfectly since I changed the setting.
ID10T ---> Greg Folkert
For bopping me in the head and getting me to notice my mistake, thanks
MUST goto:
Chris Ruehl [EMAIL PROTECTED]
> Index: usb-2.6/drivers/usb/storage/unusual_devs.h
> ===================================================================
> --- usb-2.6.orig/drivers/usb/storage/unusual_devs.h
> +++ usb-2.6/drivers/usb/storage/unusual_devs.h
> @@ -885,6 +885,13 @@ UNUSUAL_DEV( 0x0781, 0x0200, 0x0000, 0x
> 0),
> #endif
>
> +/* Reported by Greg Folkert <[EMAIL PROTECTED]> */
> +UNUSUAL_DEV( 0x0781, 0x7420, 0x0720, 0x0720,
> + "Sandisk",
> + "Sansa e250",
> + US_SC_SCSI, US_PR_BULK, NULL,
> + 0),
> +
> #ifdef CONFIG_USB_STORAGE_FREECOM
> UNUSUAL_DEV( 0x07ab, 0xfc01, 0x0000, 0x9999,
> "Freecom",
>
-------BEGIN UPDATED INFO-------
Here is the updated info for the Sansa e250
/var/log/messages:
Dec 6 08:10:16 princess kernel: usb 1-2: new full speed USB device using
uhci_hcd and address 3
Dec 6 08:10:17 princess kernel: usb 1-2: not running at top speed; connect to
a high speed hub
Dec 6 08:10:17 princess kernel: usb 1-2: configuration #128 chosen from 1
choice
Dec 6 08:10:17 princess kernel: Initializing USB Mass Storage driver...
Dec 6 08:10:17 princess kernel: scsi2 : SCSI emulation for USB Mass Storage
devices
Dec 6 08:10:17 princess kernel: usbcore: registered new driver usb-storage
Dec 6 08:10:17 princess kernel: USB Mass Storage support registered.
Dec 6 08:10:22 princess kernel: Vendor: SanDisk Model: Sansa e250
Rev:
Dec 6 08:10:22 princess kernel: Type: Direct-Access
ANSI SCSI revision: 00
Dec 6 08:10:22 princess kernel: SCSI device sdc: 3926016 512-byte hdwr sectors
(2010 MB)
Dec 6 08:10:22 princess kernel: sdc: Write Protect is off
Dec 6 08:10:22 princess kernel: SCSI device sdc: 3926016 512-byte hdwr sectors
(2010 MB)
Dec 6 08:10:22 princess kernel: sdc: Write Protect is off
Dec 6 08:10:22 princess kernel: sdc: sdc1 sdc2
Dec 6 08:10:22 princess kernel: sd 2:0:0:0: Attached scsi removable disk sdc
Dec 6 08:10:22 princess kernel: Vendor: SanDisk Model: Sansa e250
Rev:
Dec 6 08:10:22 princess kernel: Type: Direct-Access
ANSI SCSI revision: 00
Dec 6 08:10:22 princess kernel: sd 2:0:0:1: Attached scsi removable disk sdd
princess:/var/log# lsusb -v -s 001:003
Bus 001 Device 003: ID 0781:7421 SanDisk Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0781 SanDisk Corp.
idProduct 0x7421
bcdDevice 7.20
iManufacturer 1 SanDisk
iProduct 2 Sansa e250
iSerial 3 00000000-00000000-5526b389-d921e405-00000000
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 128
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0001
Self Powered
-------END UPDATED INFO-------
A big shout out to the maintainers. Thanks for the hard work you all
do.
--
greg, [EMAIL PROTECTED]
The technology that is
Stronger, better, faster: Linux
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
