Hi,all
Now,i have been testing my udc driver at windowsXP host.
But,i find there are different phenomena at the WindowsXP host
Both hosts are XP Service Pack2.Marked C1(computer 1) and
C2(computer 2).
1.
C1. When finish function of done() for "SETUP 80.06 v0300 i
l00ff"a
I find my flash's speed is slower than usb,so that's
the reason when it takes more time on vfs_write.
my usb controller is full speed device,the speed is 6.5Mbps or so
that speed is normal?or still can speed up?
When write-in my nand flash,the speed is only 4Mbps,is it too slow?
--
Hi,all
I met a problem,when i am using 2 LUNs at device,it needs to take
more time on write-in medium,which medium is latter,which takes more
time.
for example:insmod fsg.ko file=/dev/mtdblock3,/dev/mmcblk0 luns=2
stall=n transport=BBB protocol=SCSI buflen=65536 removable=y
vendor=0x0451 pr
>
> Sounds like you have bugs to fix in your controller driver.
>
> I advise folks to get g_zero working first; it's simpler, and unlike
> the file_storage gadget it doesn't use the deferred response mode.
> That way you can get the basic driver behavior to work correctly before
> going on to f
> > And i will recive get STRING descriptor many times(
> > especially STRING_MANUFACTURER),Is it normal?
>
> It is normal if the host runs Windows. It's not normal if the host runs
> Linux (there should be only 3 or 4 string descriptor fetches).
>
> Alan Stern
>
>
The order of my SETUP pa
Hi,all
When i develop udc driver,i can assign some values for the struct
of usb_request through fsg->setup(file_storage.c) at bus enumeration
But,as far as other ep's tx/rx are conterned,how to ensure the req
is not NULL when the other ep's interrupt comes.Usually,we see
req = list_entr
Hi,all
When i recive SET_CONFIGURATION at SETUP status,i enter
stardard_setup_req,but my return value is alway DELAYED_STATUS.
Is it normal?
And my udc is full speed device,but the host still send
get DEVICE_QUALIFIER descriptor.Is it right?
And i will recive get STRING descriptor many times(
Hi,all
When i develop udc driver,i can assign some values for the struct
of usb_request through fsg->setup(file_storage.c) at bus enumeration
But,as far as other ep's tx/rx are conterned,how to ensure the req
is not NULL when the other ep's interrupt comes.Usually,we see
req = list_entr
Thx,Dave,Alan for helping me this periods.
Now,my dm320_udc can finish get_descriptor and set_address.
I can say i finish the first step.
But today,i met another problem:
At the gadget side,I just finished
SETUP 80.06 v0305 i0409 l00ff(Descriptor type is STRING,the Index is 5
the language is 0x0
nding debug message from my pc?
thx:)
On Tue, 2006-04-18 at 10:08 -0400, Alan Stern wrote:
> On Tue, 18 Apr 2006, Peter Chen wrote:
>
> >
> > Hi,all
> > I have developed my udc driver at 2.6.14 kernel.
> > And I have two ko and need to insmod(dm32
Hi,all
I have developed my udc driver at 2.6.14 kernel.
And I have two ko and need to insmod(dm320_udc.ko and
g_file_storage.ko)
In order to get convinence,i compile my code outside the kernel
tree.(both udc and file_storage ko)
the dm320_udc locates at /work/driver/usb/gadget.
Hi,all
Now,i have developed dm320 udc,when i insmod dm320_udc.ko,
i get such oop errors:
Unable to handle kernel paging request at virtual address e603000f
pgd = c0ad
[e603000f] *pgd=00b9a051, *pte=, *ppte=
Internal error: Oops: 27 [#1]
Modules linked in: udc
CPU: 0
pc : []
there is not my chip in usb_ep_autoconfig function,
i still need to use it?
On Thu, 2006-03-23 at 10:24 -0500, Alan Stern wrote:
> On Thu, 23 Mar 2006, Peter Chen wrote:
>
> > Thx Alan.
> >
> > Maybe you misunderstood my meaning.
>
> I did understand.
>
&
est to myself?
On Wed, 2006-03-22 at 10:19 -0500, Alan Stern wrote:
> On Wed, 22 Mar 2006, Peter Chen wrote:
>
> >
> > Thx,Alan
> >
> > Follow your answers,I change my program.
> > I wonder there are right?
>
> No, they aren't. You should not need t
h=bh->outreq->length;
/***/
start_transfer(fsg, fsg->bulk_out, bh->outreq,
&bh->outreq_busy, &bh->state);
fsg->next_buffhd_to_fill = bh->next;
On Tue, 2006-03-21 at 12:31 -0500, Alan Stern wrote:
Hi,all
I am a newbie at USB development.
Now,i have developed a Mess Storage driver
for TI DM320,i find the file of file_storage.c
is very useful for me.
But i have some doubts.
1.In fsg_bind(),There is:
bh->buf = usb_ep_alloc_buffer(fsg->bulk_in, mod_data.buflen,
16 matches
Mail list logo