I was recently trying to get access to the memory stick in my Sony N760C but was continuely getting errors shown below. The entry in /dev for the device would than never appear.
After reading the following thread on the linux-usb-user list (http://marc.theaimsgroup.com/?l=linux-usb-users&m=100693256010793&w=2) I started looking at transport.c and unusual_devs.h. I'm not really a C developer and I couldn't find much documentation on these files so I took a flyer and tried the following patch (see below) and it worked. I don't have a clue if this is the correct way to fix the situation but it seems to be working for me at the moment. I'm not subscribed to any of the usb mailing lists currently so if you have any questions you'll have to e-mail me directly. **** syslog =============================================================== Jun 15 18:13:51 [kernel] usb.c: USB device number 2 default language ID 0x409 Jun 15 18:13:51 [kernel] Manufacturer: Sony Jun 15 18:13:51 [kernel] Product: Sony PEG Mass Storage Jun 15 18:13:51 [kernel] usb-storage: New GUID 054c00580000000000000000 Jun 15 18:13:51 [kernel] usb-storage: *** thread sleeping. Jun 15 18:13:51 [kernel] scsi0 : SCSI emulation for USB Mass Storage devices Jun 15 18:13:51 [kernel] usb-storage: *** thread awakened. Jun 15 18:13:51 [kernel] usb-storage: Command INQUIRY (6 bytes) Jun 15 18:13:51 [kernel] usb-storage: 12 00 00 00 ff 00 00 00 79 4a 13 c0 Jun 15 18:13:51 [kernel] usb-storage: Call to usb_stor_control_msg() returned 12 Jun 15 18:13:51 [kernel] usb-storage: usb_stor_transfer_partial(): xfer 255 bytes Jun 15 18:13:51 [kernel] usb-storage: USB IRQ received for device on host 0 Jun 15 18:13:51 [kernel] usb-storage: usb_stor_bulk_msg() returned 0 xferred 56/255 Jun 15 18:13:51 [kernel] usb-storage: CBI data stage result is 0x1 Jun 15 18:13:51 [kernel] usb-storage: Current value of ip_waitq is: 0 Jun 15 18:13:57 [kernel] usb-storage: command_abort() called Jun 15 18:13:57 [kernel] usb-storage: Did not get interrupt on CBI Jun 15 18:13:57 [kernel] usb-uhci.c: interrupt, status 3, frame# 532 Jun 15 18:13:57 [kernel] usb-storage: CB[I] soft reset failed -32 Jun 15 18:13:57 [kernel] usb-storage: USB IRQ received for device on host 0 **** syslog =============================================================== **** PATCH ============================================================== --- linux/drivers/usb/storage/unusual_devs.h.orig Sat Jun 15 14:14:36 2002 +++ linux/drivers/usb/storage/unusual_devs.h Sat Jun 15 20:43:38 2002 @@ -228,6 +228,12 @@ US_SC_UFI, US_PR_CB, NULL, US_FL_SINGLE_LUN | US_FL_START_STOP ), +UNUSUAL_DEV( 0x054c, 0x0058, 0x0000, 0x9999, + "Sony", + "PEG Mass Storage", + US_SC_8070, US_PR_CBI, NULL, + US_FL_FIX_INQUIRY ), + /* Submitted by Nathan Babb <[EMAIL PROTECTED]> */ UNUSUAL_DEV( 0x054c, 0x006d, 0x0000, 0x9999, "Sony", **** PATCH ============================================================== _______________________________________________________________ Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel