On Tue, 22 May 2007, jonghne wrote:

> hi, my problem is system cannot find usb when usb is insered into UHP
> linux version is 2.6.15(or 2.6.21). I had tried old_param_scheme,
> there was error too. message is : usb 1-2: new low speed USB device
> using at91rm9200-ohci and address 2 usb 1-2: device descriptor
> read/64, error -110 usb 1-2: device descriptor read/64, error -110
> usb 1-2: new low speed USB device using at91rm9200-ohci and address 3
> usb 1-2: device descriptor read/64, error -110 usb 1-2: device
> descriptor read/64, error -110 usb 1-2: new low speed USB device
> using at91rm9200-ohci and address 4 usb 1-2: device not accepting
> address 4, error -110 I wanna print out data linux send to USB device
> and data linux received from USB device, especially when usb device
> is inserted into port, but I don't know where to add printk() and
> where the data is stored in. is there a function in usb driver
> waiting for usb device inserted then calling probe (for example)
> function? what is it? please give me some instructions, thank you.

It would be a lot easier to read your email if you used line breaks and 
paragraph breaks.

You can use usbmon to print out the data sent to the device.  
Instructions are in the kernel source file 
Documentation/usb/usbmon.txt.

You won't see any data received from the device, because the computer 
didn't receive any data.

Alan Stern


-------------------------------------------------------------------------
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

Reply via email to