Re: [Help 2/2] MUSB: some USB card readers, USB-IDE cable, 30G old iPod will be reset several times in usb-storage transcation

2008-04-07 Thread Felipe Balbi
On Mon, 7 Apr 2008 03:44:12 -0700, Bryan Wu [EMAIL PROTECTED] wrote: On Mon, Apr 7, 2008 at 3:21 AM, Felipe Balbi [EMAIL PROTECTED] wrote: On Mon, 7 Apr 2008 03:16:31 -0700, Bryan Wu [EMAIL PROTECTED] wrote: Hi folks, Here are our trackers, I think following bugs are the same

Re: [Help 2/2] MUSB: some USB card readers, USB-IDE cable, 30G old iPod will be reset several times in usb-storage transcation

2008-04-07 Thread Felipe Balbi
On Mon, 7 Apr 2008 03:44:12 -0700, Bryan Wu [EMAIL PROTECTED] wrote: On Mon, Apr 7, 2008 at 3:21 AM, Felipe Balbi [EMAIL PROTECTED] wrote: On Mon, 7 Apr 2008 03:16:31 -0700, Bryan Wu [EMAIL PROTECTED] wrote: Hi folks, Here are our trackers, I think following bugs are the same

Re: [Help 2/2] MUSB: some USB card readers, USB-IDE cable, 30G old iPod will be reset several times in usb-storage transcation

2008-04-07 Thread Felipe Balbi
On Mon, 7 Apr 2008 03:16:31 -0700, Bryan Wu [EMAIL PROTECTED] wrote: Hi folks, Here are our trackers, I think following bugs are the same issue: USB-IDE cable: https://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdittracker_id=141tracker_item_id=3789 MicroSD

Re: [Help 2/2] MUSB: some USB card readers, USB-IDE cable, 30G old iPod will be reset several times in usb-storage transcation

2008-04-07 Thread Bryan Wu
My patch is simply skip to start 2cn CSW operation as below: -- Index: drivers/usb/storage/transport.c === --- drivers/usb/storage/transport.c (revision 4075) +++ drivers/usb/storage/transport.c (working copy)

Re: [Help 2/2] MUSB: some USB card readers, USB-IDE cable, 30G old iPod will be reset several times in usb-storage transcation

2008-04-07 Thread Felipe Balbi
On Mon, 7 Apr 2008 04:12:58 -0700, Bryan Wu [EMAIL PROTECTED] wrote: My patch is simply skip to start 2cn CSW operation as below: -- Index: drivers/usb/storage/transport.c === --- drivers/usb/storage/transport.c

Re: [Help 2/2] MUSB: some USB card readers, USB-IDE cable, 30G old iPod will be reset several times in usb-storage transcation

2008-04-07 Thread David Brownell
On Monday 07 April 2008, Felipe Balbi wrote: e) So I hacked the usb-storage driver code, the Linux host on Blackfin will not wait for the 2nc CSW. Then this bug is gone. This is just a workaround for that, it should not be the right way. Does anyone here meet this issue before, on

Re: [Help 2/2] MUSB: some USB card readers, USB-IDE cable, 30G old iPod will be reset several times in usb-storage transcation

2008-04-07 Thread Felipe Balbi
On Mon, Apr 07, 2008 at 04:31:11AM -0700, Bryan Wu wrote: I just don't understand why they are OK on Linux host PC and failed on Linux Host embedded MUSB OTG. PCs have to source up to 500mA load on usb bus, embedded otg/hosts only up to 100mA. Maybe it is one explanation

Re: [Help 2/2] MUSB: some USB card readers, USB-IDE cable, 30G old iPod will be reset several times in usb-storage transcation

2008-04-07 Thread Bryan Wu
On Tue, Apr 8, 2008 at 12:03 AM, David Brownell [EMAIL PROTECTED] wrote: On Monday 07 April 2008, Felipe Balbi wrote: e) So I hacked the usb-storage driver code, the Linux host on Blackfin will not wait for the 2nc CSW. Then this bug is gone. This is just a workaround for that, it