On Mon, 25 Jul 2005, Fukumoto Akira wrote:

>  Hallo Mr. Kongas,
> Seems that your right something is wrong with sda1. My impression is a
> missing connection to the mtd, but I am not shure. Attached is the complete

no, mtd is not related.

> dmesg during boot-up. Much stuff I do not understand around ISP. In this
> case the gadget-Device is already configured in and now I have files inside
> /proc/bus/usb but only for the gadget device.

Thanks for the dmesg. Could you please do the following 
things.

- Enable USB verbose debug messages in kernel konf (if not 
yet enabled). 
- Disable USB gadget support. This will make just logs 
shorter and simpler.
- Send again the dmesg (keep DEBUG and VERBOSE defined in 
isp116x).
- Send also the log generated when plugging in a USB flash 
drive.
- Send all your platform support code for isp116x, analogous 
to what I have put on my isp webpage. Most likely the 
problem is there.

What happens if you plug in any other device than a flash 
drive, say keyboard, mouse, etc. Are they detected? Of 
course, for mice and keyboards you must have HID support 
enabled in your kernel.

Just for comparison, here's what I get, when loading the 
isp116x-hcd module ...

# insmod isp116x-hcd.ko                                                       
116x: driver isp116x-hcd, 08 Apr 2005                                         
isp116x-hcd isp116x-hcd.0: ISP116x Host Controller                            
isp116x-hcd isp116x-hcd.0: new USB bus registered, assigned 
bus number 1      
isp116x-hcd isp116x-hcd.0: irq 5, io base 0x10000002                          
isp116x-hcd isp116x-hcd.0: supports USB remote wakeup                         
usb usb1: default language 0x0409                                             
usb usb1: new device strings: Mfr=3, Product=2, 
SerialNumber=1                
usb usb1: Product: ISP116x Host Controller                                    
usb usb1: Manufacturer: Linux 2.6.12-rc3 isp116x-hcd                          
usb usb1: SerialNumber: isp116x-hcd.0                                         
usb usb1: adding 1-0:1.0 (config #1, interface 0)                             
hub 1-0:1.0: usb_probe_interface                                              
hub 1-0:1.0: usb_probe_interface - got id                                     
hub 1-0:1.0: USB hub found                                                    
116x: GetHubDescriptor                                                        
hub 1-0:1.0: 2 ports detected                                                 
hub 1-0:1.0: standalone hub                                                   
hub 1-0:1.0: no power switching (usb 1.0)                                     
hub 1-0:1.0: global over-current protection                                   
hub 1-0:1.0: power on to power good time: 50ms                                
116x: GetHubStatus                                                            
hub 1-0:1.0: local power source is good                                       
hub 1-0:1.0: no over-current condition exists                                 
hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0000                                
116x: GetPortStatus                                                           
116x: GetPortStatus: port[1]  00000000                                        
116x: GetPortStatus                                                           
116x: GetPortStatus: port[2]  00000000                                        
116x: HCREVISION  [00]: 00000010                                              
116x: HCCONTROL   [01]: 00000480                                              
116x: HCCMDSTAT   [02]: 00000000                                              
116x: HCINTSTAT   [03]: 00000044                                              
116x: HCINTENB    [04]: 80000058                                              
116x: HCFMINTVL   [0d]: 27782edf                                              
116x: HCFMREM     [0e]: 000001c7                                              
116x: HCFMNUM     [0f]: 00000015                                              
116x: HCLSTHRESH  [11]: 00000628                                              
116x: HCRHDESCA   [12]: 19000202                                              
116x: HCRHDESCB   [13]: 00060000                                              
116x: HCRHSTATUS  [14]: 00008000                                              
116x: HCRHPORT1   [15]: 00000100                                              
116x: HCRHPORT2   [16]: 00000100                                              
116x: HCHWCFG     [20]:     1809                                              
116x: HCDMACFG    [21]:     0000                                              
116x: HCXFERCTR   [22]:     0000                                              
116x: HCuPINT     [24]:     0011                                              
116x: HCuPINTENB  [25]:     0012                                              
116x: HCCHIPID    [27]:     6122                                              
116x: HCSCRATCH   [28]:     0000                                              
116x: HCITLBUFLEN [2a]:     0000                                              
116x: HCATLBUFLEN [2b]:     1000                                              
116x: HCBUFSTAT   [2c]:     0000                                              
116x: HCRDITL0LEN [2d]:     0000                                              
116x: HCRDITL1LEN [2e]:     0000                                              
#

... and when plugging in a flash drive ....

hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0004                              
116x: GetPortStatus                                                           
116x: GetPortStatus: port[2]  00010101                                        
116x: ClearPortFeature: <7>116x: USB_PORT_FEAT_C_CONNECTION                   
hub 1-0:1.0: port 2, status 0101, change 0001, 12 Mb/s                        
116x: GetPortStatus                                                           
116x: GetPortStatus: port[2]  00000101                                        
116x: GetPortStatus                                                           
116x: GetPortStatus: port[2]  00000101                                        
116x: GetPortStatus                                                           
116x: GetPortStatus: port[2]  00000101                                        
116x: GetPortStatus                                                           
116x: GetPortStatus: port[2]  00000101                                        
116x: GetPortStatus                                                           
116x: GetPortStatus: port[2]  00000101                                        
hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms 
status 0x101          
116x: SetPortFeature: <7>116x: USB_PORT_FEAT_RESET                            
116x: GetPortStatus                                                           
116x: GetPortStatus: port[2]  00100103                                        
116x: ClearPortFeature: <7>116x: USB_PORT_FEAT_C_RESET                        
usb 1-2: new full speed USB device using isp116x-hcd and 
address 2            
116x: Allowed data underrun                                                   
116x: SetPortFeature: <7>116x: USB_PORT_FEAT_RESET                            
116x: GetPortStatus                                                           
116x: GetPortStatus: port[2]  00100103                                        
116x: ClearPortFeature: <7>116x: USB_PORT_FEAT_C_RESET                        
116x: Allowed data underrun                                                   
usb 1-2: default language 0x0409                                              
116x: Allowed data underrun                                                   
116x: Allowed data underrun                                                   
116x: Allowed data underrun                                                   
usb 1-2: new device strings: Mfr=1, Product=2, 
SerialNumber=3                 
usb 1-2: Product: HandySteno 2.0                                              
usb 1-2: Manufacturer:                                                        
usb 1-2: SerialNumber: 192A18AB107B                                           
usb 1-2: adding 1-2:1.0 (config #1, interface 0)                              
usb-storage 1-2:1.0: usb_probe_interface                                      
usb-storage 1-2:1.0: usb_probe_interface - got id                             
usb-storage: USB Mass Storage device detected                                 
usb-storage: -- associate_dev                                                 
usb-storage: Vendor: 0x0d7d, Product: 0x110e, Revision: 
0x0000                
usb-storage: Interface Subclass: 0x06, Protocol: 0x50                         
usb-storage: Transport: Bulk                                                  
usb-storage: Protocol: Transparent SCSI                                       
usb-storage: usb_stor_control_msg: rq=fe rqtype=a1 
value=0000 index=00 len=1  
usb-storage: GetMaxLUN command result is 1, data is 0                         
scsi0 : SCSI emulation for USB Mass Storage devices                           
usb-storage: *** thread sleeping.                                             
hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0004                                
116x: GetPortStatus                                                           
116x: GetPortStatus: port[2]  00000103                                        
usb-storage: device found at 2                                                
usb-storage: waiting for device to settle before scanning                     
usb-storage: queuecommand called                                              
usb-storage: *** thread awakened.                                             
usb-storage: Command INQUIRY (6 bytes)                                        

....

... and a lot of usb-storage output follows, interspersed 
with 116x and usb core debug info.

Olav



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to