Hi pals, I am a new guy of linux usb driver. I met a problem with detecting SD card under linux2.6.11. My developing board: MPC8349 EHCI host --> ISP1505 (usb PHY) --->USB2227 (SMSC Flash card Reader chip). When linux booting, i would success to detect usb2227 see below log. Then i plug in SD card, nothing could happen, it fail to find scsi device. I know there would be three kernel threads to polling current usb status. One is "hub_thread" to polling port status; one is "usb_stor_control_thread" to dealing with scsi cmd; another is "usb_stor_scan_thread" to scan scsi devie.
Question1: when i plug SD card in USB2227 card reader, which thread would responsible such event? i guess it must be the "usb_stor_scan_thread". Question2: The function sd_probe would be called when a new scsi device attached. What is the relationship between daemon process and this function? Question3: What may the main cause of such issue? (suppose no hardware issue) Thanks Paul.Tao LOG: Initializing USB Mass Storage driver... usb 1-1: new high speed USB device using fsl-usb2-mph and address 2 usb 1-1: Product: Flash Card Reader usb 1-1: Manufacturer: Generic usb 1-1: SerialNumber: 000022272228 Begain run the storage_probe function USB Mass Storage device detected scsi1 : SCSI emulation for USB Mass Storage devices usbcore: registered new driver usb-storage USB Mass Storage support registered. ..... Vendor: Generic Model: Flash HS-CF Rev: 3.95 Type: Direct-Access ANSI SCSI revision: 00 Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 0 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel