Hi all,

I'm attempting to read the contents of Microsoft-branded Xbox memory
units.  The Action Replay for the Xbox includes a USB to memory unit
adapter, presenting the devices as standard mass storage objects.  The
Interact-branded memory unit included with the Action Replay registers
properly in Linux through usb-storage and shows up as a device.
However, another memory unit from Microsoft that I am attempting to
access is sending the wrong bInterfaceSubClass code (66 instead of the
expected 6).  From what I have read this is probably universal to all
Microsoft memory units.

My attempts to override this using unusual_devs.h has given only
partial success.  I've tried about eleven permutations of different
options for my entry but cannot get the device to fully register.

My best attempt has come from this:

UNUSUAL_DEV ( 0x045e, 0x0280, 0x0000, 0x9999, "Microsoft Corp.", "Xbox
Memory Unit", US_SC_SCSI, US_PR_DEVICE, NULL, US_FL_SINGLE_LUN |
US_FL_FIX_INQUIRY ),

which shows the device and its size (along with numerous USB device
resets).  The device attaches to /dev/sda but attempts to access it
merely reset the process, causing the device to reset and subsequent
be rediscovered again:

usb 2-1: new full speed USB device using uhci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
SCSI subsystem initialized
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
  Vendor: Microsof  Model: Xbox Memory Unit  Rev: 000>
  Type:   Direct-Access                      ANSI SCSI revision: 02
usb-storage: device scan complete
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
SCSI device sda: 16128 512-byte hdwr sectors (8 MB)
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
sda: Write Protect is off
sda: Mode Sense: 06 1a 00 3f
sda: assuming drive cache: write through
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
SCSI device sda: 16128 512-byte hdwr sectors (8 MB)
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
sda: Write Protect is off
sda: Mode Sense: 06 1a 00 3f
sda: assuming drive cache: write through
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
usb 2-1: reset full speed USB device using uhci_hcd and address 2
SCSI device sda: 16128 512-byte hdwr sectors (8 MB)
(etc, etc)

lsusb shows:

Bus 004 Device 017: ID 045e:0280 Microsoft Corp.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x045e Microsoft Corp.
  idProduct          0x0280
  bcdDevice            0.0e
  iManufacturer           0
  iProduct                0
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower               60mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass     66
      bInterfaceProtocol     80
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        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     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0x00
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0103 power enable connect
Device Status:     0x0001
  Self Powered


Any help that anyone can provide is greatly appreciated.  Is
unusual_devs.h the appropriate method to deal with such a device?
What options are most likely to work?

Thank you in advance!

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to