Swami,

Below are the errors on syslog. I like to add this was not a new USB pen
drive(1.5 - 2 yr old), so there could be possibility that somehow this
device stuck up. In this situation a CPU reset did not help as power to
USB was never turned off. When we reinserted the USB drive, it was
detected and worked fine.

I am exploring a possibility where I can detect this in S/W and do
something to recover, without adding a discrete to power line of USB.

kernel: usb 1-1: new high speed USB device using musb_hdrc and address 2
kernel: Initializing USB Mass Storage driver...
kernel: usbcore: registered new interface driver usb-storage
kernel: USB Mass Storage support registered.
kernel: musb_h_ep0_irq 1067: no URB for end 0
kernel: usb 1-1: device descriptor read/64, error -110


Thanks
Alok

-----Original Message-----
From: Subbrathnam, Swaminathan [mailto:swami.i...@ti.com] 
Sent: Tuesday, June 08, 2010 10:43 PM
To: Alok Kumar; Jon Povey;
davinci-linux-open-source@linux.davincidsp.com
Subject: RE: Reseting USB port power 

Alok,

When you mention device gets struck can you explain further on what are
the symptoms-Is there any warning/error messages printed?  I believe you
are able to use the device after you re-connect it.  Any possibility of
sharing a usb bus level trace when this condition occurs.

regards
swami
________________________________________
From: davinci-linux-open-source-boun...@linux.davincidsp.com
[davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of
Alok Kumar [aku...@cernium.com]
Sent: Wednesday, June 09, 2010 8:08 AM
To: Jon Povey; davinci-linux-open-source@linux.davincidsp.com
Subject: RE: Reseting USB port power

Resetting the Davinci chip (rebooting the board i.e. soft reset by SW
using discrete) does not help and it was required to do either of
following

a) needed to physically remove the USB drive and connect it again.
b) pull down the power card of the board and reconnect it again. This
also power downs the USB power.

Rebooting the board (soft reset by SW using discrete) does not power
down the USB power supply.


I am not sure if unloading the modules is different than soft reset to
chip by SW using discrete (rebooting the linux from start) ?

Any help?

Thanks
Alok

-----Original Message-----
From: Jon Povey [mailto:jon.po...@racelogic.co.uk]
Sent: Tuesday, June 08, 2010 10:25 PM
To: Alok Kumar; davinci-linux-open-source@linux.davincidsp.com
Subject: RE: Reseting USB port power

Alok Kumar wrote:
> I am using kernel 2.6.30 from the davinci git tree with Davinci 6446.
> We don't have any hardware discrete attach to USB power supply and we
> are looking for SW way to reset the USB power supply or something
> which does equivalent.

It's an ugly hack, but you can try building the USB driver as a module
and unloading / reloading it from userland.

--
Jon Povey
jon.po...@racelogic.co.uk

Racelogic is a limited company registered in England. Registered number
2743719 .
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham,
Bucks, MK18 1TB .

The information contained in this electronic mail transmission is
intended by Racelogic Ltd for the use of the named individual or entity
to which it is directed and may contain information that is confidential
or privileged. If you have received this electronic mail transmission in
error, please delete it from your system without copying or forwarding
it, and notify the sender of the error by reply email so that the
sender's address records can be corrected. The views expressed by the
sender of this communication do not necessarily represent those of
Racelogic Ltd. Please note that Racelogic reserves the right to monitor
e-mail communications passing through its network




_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to