[#4560] In gadgetfs test for 548, an error message comes out saying "Invalid argument"

Document created by Aaronwu Employee on Aug 29, 2013
Version 1Show Document
  • View in full screen mode

[#4560] In gadgetfs test for 548, an error message comes out saying "Invalid argument"

Submitted By: Vivi Li

Open Date

2008-10-22 06:24:35     Close Date

2009-02-18 03:32:39

Priority:

Medium     Assignee:

Bryan Wu

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

Tests     Board:

EZKIT Lite

Processor:

BF548     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

toolchain-2008_Oct_10

App binary format:

N/A     

Summary: In gadgetfs test for 548, an error message comes out saying "Invalid argument"

Details:

 

In gadgetfs test for 548, an error message comes out saying "Invalid argument" when connecting to PC with Suse 11.

 

--

root:/> mkdir /dev/gadget/

root:/> mount -t gadgetfs gadgetfs /dev/gadget

gadgetfs: USB Gadget filesystem, version 24 Aug 2004

root:/> lsmod

Module                  Size  Used by

gadgetfs               12752  1

root:/> ls -l /dev/gadget/

-rw-------    1 root     root            0 Oct 28 01:00 musb_hdrc

root:/> ./usb -r "1.3" -v

gadgetfs: bound to musb_hdrc driver

/dev/gadget/musb_hdrc ep0 configured

serial="1.3"

gadgetfs: connected

 

** Thu Oct 28 01:00:28 g97a

dgNNetT fsgh: pedi

sconnected 

DISCONNECT 

gadgetfs: connected

read 2 ep0 evgnta

dgNNetT fsgh: peco

nfTUig80ur6 at30ioi0n 0 #35

SETUP 80.06 v0302 i0409 255

SETUP 80.06 v0301 i0409 255

SETUP 80.06 v0303 i0409 255

SETUP 00.09 v0003 i0000 0

CONFIG #3

simple_source_thread config ep1in error 22 (Invalid argument)

simple_sink_thread config ep1out error 22 (Invalid argument)

SETUP 80.06 v0304 i0409 255

SETUP 80.06 v0305 i0409 255

--

 

Follow-ups

 

--- Vivi Li                                                  2008-10-23 00:40:51

Error message comes from testsuites/usbdev/src/usb.c:756.

 

--- Bryan Wu                                                 2009-02-11 03:29:37

It's fixed in usb.c here, because usb.c try to hook up the wrong endpoint to do

test.

 

-Bryan

 

--- Bryan Wu                                                 2009-02-11 03:37:40

I also updated the test scripts to check the product information string from

kernel common code.

 

-Bryan

 

--- Vivi Li                                                  2009-02-18 03:32:39

OK now. Close this bug.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes