Re: [linux-usb-devel] My UDC and g_file_storage

2005-01-13 Thread Alan Stern
On Wed, 12 Jan 2005, CG wrote: Hello, I can now install g_file_storage. But I got some strange messages once I plug the usb cable to the host and mount it. First of all, I created a file like that : dd bs=1024 count=1024 if=/dev/zero of=/root/data/backing_file insmod

Re: [linux-usb-devel] My UDC and g_file_storage

2005-01-12 Thread CG
Hello, I can now install g_file_storage. But I got some strange messages once I plug the usb cable to the host and mount it. First of all, I created a file like that : dd bs=1024 count=1024 if=/dev/zero of=/root/data/backing_file insmod g_file_storage.o (I changed, in file_storage.c, the

Re: [linux-usb-devel] My UDC and g_file_storage

2005-01-10 Thread Alan Stern
On Mon, 10 Jan 2005, CG wrote: Hello, Just to explain the problem, (processor : at91rm9200) When I install the g_file_storage module() and plug my usb device, I got some problems. The usb device has correctly been configured. The USB device's using 1 bulk in and 1 bulk out

Re: [linux-usb-devel] My UDC and g_file_storage

2005-01-10 Thread CG
You're speaking figuratively, right? _You_ don't complete the request, g_file_storage does. Or maybe the udc driver does; it's not clear which you mean. So when you say you don't understand what to do, do you mean that _you_ don't understand or the udc driver doesn't understand? I mean

[linux-usb-devel] My UDC and g_file_storage

2005-01-10 Thread CG
Hello, Just to explain the problem, (processor : at91rm9200) When I install the g_file_storage module() and plug my usb device, I got some problems. The usb device has correctly been configured. The USB device's using 1 bulk in and 1 bulk out endpoints. After configuration state, the usb

Re: [linux-usb-devel] My UDC and g_file_storage

2005-01-10 Thread Alan Stern
On Mon, 10 Jan 2005, CG wrote: That particular CBW will cause g_file_storage to stall the bulk-in endpoint, unless you invoke it with the stall=no parameter. Maybe your udc driver has problems implementing the stall? I'll take a look for stall endpoint. I think that's not really

Re: [linux-usb-devel] My UDC and g_file_storage

2005-01-10 Thread David Brownell
On Monday 10 January 2005 10:49 am, CG wrote: That particular CBW will cause g_file_storage to stall the bulk-in endpoint, unless you invoke it with the stall=no parameter. Maybe your udc driver has problems implementing the stall? I'll take a look for stall endpoint. I think that's

Re: [linux-usb-devel] My UDC and g_file_storage

2005-01-10 Thread CG
Hi, Can you mind tell me if we have to send status after receiving CBW block data. I think that udc has never sent this block to the host. It's maybe why the host issues for a timeout and transfer again CBW block data. Christian --- The

Re: [linux-usb-devel] My UDC and g_file_storage

2005-01-10 Thread Alan Stern
On Mon, 10 Jan 2005, CG wrote: Hi, Can you mind tell me if we have to send status after receiving CBW block data. I think that udc has never sent this block to the host. It's maybe why the host issues for a timeout and transfer again CBW block data. For the CBW you included in your