Hello
My name is Lixin Sun. I send the mail for help.
The version of Linux kernel is 2.6.11.6 for MIPS and the USB host control chip is ISP1561 of Philips. Now some of USB disk can¡¯t be check correctly. And then I add the code as below in file unusual_devs.h.
UNUSUAL_DEV( 0x0204, 0x6025, 0x0000,0xffff,
¡°Unknown¡±,
¡°Unknown¡±,
US_SC_SCSI, US_PR_CB, NULL,
US_FL_FIX_INQUIRY|US_FL_FIX_CAPACITY|US_FL_SINGLE_LUN ),
After inserting USB disk, the information about USB disk will be found in Linux 2.6.11.6 directory /proc/bus/usb, but the error information is listed as below.
#new full speed USB device using ohci_hcd and address 2
usb-storage:This device (0204,6025,0100 S 06 P 50) has an unneeded SubClass enh
Please send a copy of this message to <[email protected]>
scsi: SCSI emulation for USB Mass storage devices
Vendor: Unknown Model: Unknown Rev: 0100
Type: Direct-Access ANSI SCSI revision: 02
eth0: increased tx threshold, txcfg 0xd0f01004
usb 2-2: reset full speed USB device using ohci_hcd and address 2
scsi: Device offlined ¨C not ready after error recovery: host 2 channel 0 id 0 10
scsi2(0:0): rejecting I/O to offlined device
scsi2(0:0): rejecting I/O to offlined device
scsi2(0:0): rejecting I/O to offlined device
sda: READ CAPACITY failed
sda: status=0, message=00, host=5, driver=04
sda: sense not available
sda: assuming Write Enabled
sda: assuming drive cache: write through
Attached scsi removable disk sda at scsi2, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi2, channel 0, id 0, lun 0, type 0
If adding code as blow in in file unusual_devs.h.
UNUSUAL_DEV( 0x0204, 0x6025, 0x0000,0xffff,
¡°Unknown¡±,
¡°Unknown¡±,
US_SC_SCSI, US_PR_BULK, NULL,
US_FL_FIX_INQUIRY|US_FL_FIX_CAPACITY|US_FL_SINGLE_LUN ),
After inserting USB disk, the information about USB disk will not be found in Linux 2.6.11.6 directory /proc/bus/usb, and the error information is that device descriptor can not be read in function usb_port_init.
Thanks!
Kind regards!
ÄúµÄÅóÓÑlixinsunÕýÔÚÏíÓÃ21CNµÄ10GÓÊÏ䣬ÄúÒ²¸Ï½ô¼ÓÈ룬ÏíÊÜ»ý·Ö´øÀ´µÄÎÞÏÞ¾ªÏ²°É¡£
question.doc
Description: Binary data
