linux/drivers/usb/storage
Milinevsky Dmitry 4f47bb5673 USB: NIKON D50 is an unusual device
This short patch allows NIKON D50 to be mounted as UMS[unusual device]
on Linux niam 2.6.22-rc7-cfs-v18 #2 PREEMPT Tue Jul 3 22:35:53 EEST
2007 i686 Intel(R) Celeron(R) M processor 1.50GHz GenuineIntel
GNU/Linux,
some previous kernels...

lsusb -v
Bus 001 Device 006: ID 04b0:0409 Nikon Corp.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x04b0 Nikon Corp.
  idProduct          0x0409
  bcdDevice            1.00
  iManufacturer           1 NIKON
  iProduct                2 NIKON DSC D50
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower                2mA
    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     0x0200  1x 512 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     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

Signed-off-by: Milinevsky Dmitry <niam.niam@gmail.com>
Cc: Oliver Neukum <oliver@neukum.org>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: <caglar@pardus.org.tr>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-07-30 13:27:46 -07:00
..
alauda.c [PATCH] USB Storage: add alauda support 2006-01-04 13:51:42 -08:00
alauda.h [PATCH] USB Storage: add alauda support 2006-01-04 13:51:42 -08:00
datafab.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
datafab.h
debug.c [PATCH] USB: usb-storage: add debug entry for REPORT LUNS 2006-01-04 13:51:42 -08:00
debug.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
dpcm.c USB: drivers/usb/storage/dpcm.c whitespace cleanup 2007-07-19 17:46:08 -07:00
dpcm.h
freecom.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
freecom.h
initializers.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
initializers.h USB Storage: add rio karma eject support 2006-09-27 11:58:54 -07:00
isd200.c [PATCH] USB: kzalloc() conversion for rest of drivers/usb 2006-03-20 14:49:59 -08:00
isd200.h
jumpshot.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
jumpshot.h
karma.c USB Storage: add rio karma eject support 2006-09-27 11:58:54 -07:00
karma.h USB Storage: add rio karma eject support 2006-09-27 11:58:54 -07:00
Kconfig Fix several typos in drivers/ 2006-10-03 22:31:37 +02:00
libusual.c libusual: change block scope variable to function scope 2007-04-27 13:28:34 -07:00
Makefile USB Storage: add rio karma eject support 2006-09-27 11:58:54 -07:00
onetouch.c USB: storage: onetouch: clean up urb->status usage 2007-07-19 17:46:06 -07:00
onetouch.h
protocol.c
protocol.h [PATCH] USB: drivers/usb/storage/libusual 2006-01-04 13:48:31 -08:00
scsiglue.c usb-storage: implement autosuspend 2007-07-12 16:34:43 -07:00
scsiglue.h
sddr09.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
sddr09.h [PATCH] USB Storage: cleanups of sddr09 2006-01-04 13:51:41 -08:00
sddr55.c [PATCH] USB: kzalloc for storage 2006-03-20 14:49:52 -08:00
sddr55.h
shuttle_usbat.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
shuttle_usbat.h [PATCH] USB: shuttle_usbat: Hardcode detection of HP CDRW devices 2006-06-21 15:04:10 -07:00
transport.c [PATCH] slab: remove SLAB_NOIO 2006-12-07 08:39:23 -08:00
transport.h [PATCH] USB: drivers/usb/storage/libusual 2006-01-04 13:48:31 -08:00
unusual_devs.h USB: NIKON D50 is an unusual device 2007-07-30 13:27:46 -07:00
usb.c Freezer: make kernel threads nonfreezable by default 2007-07-17 10:23:02 -07:00
usb.h USB: usb-storage: use kthread_stop() for the control thread 2007-07-12 16:34:31 -07:00