LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices

Reply
 
Search this Thread
Old 01-07-2014, 02:52 AM   #1
tzippy
LQ Newbie
 
Registered: May 2013
Posts: 7

Rep: Reputation: Disabled
Gadgetfs with usb.c example on ARM Board not passing USB2 Command Verifier Tests


I'm running the gadgetfs module in a 3.6.9 kernel with an ARM Cortex A5 processor. With the user mode driver usb.c (www.linux-usb.org/gadget/usb.c) example.
On a connected Windows Machine I run the Chapter 9 Compliance Tests from the USB 2.0 Command Verifier (http://compliance.usb.org/index.asp?UpdateFile=USBCV).

All the tests are passed until the "Endpoint Descriptor Test - Confiured State". The "Suspend/Resume Test" is passed however and the board (started usb example with verbose) gives this output:

Code:
fd 5, unclaimed = 0
fd 4, unclaimed = 0
reset source fd: No such device
reset sink fd: Bad file descriptor
... protocol stall 01.0b
ep0 stall: Identifier removed
DISCONNECT
CONNECT high speed
The previous tests seem to fail because some endpoint is blocking.
All other tests are passing after that, allthough ep2 seems to be blocked.

Code:
simple_sink_thread open ep2 error 16 (Device or resource busy)
simple_source_thread start -1235237776 fd 5

Anyone else experienced this problem or knows a workaround how i can achieve Compliance?
Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB 3G on ARM board Debian - not loading ttyUSBx serials vitoacmm Linux - Embedded & Single-board computer 2 11-09-2012 08:37 PM
Kernel Testing using LTP on Beagle board (ARM based Embedded Dev Board) Rajender.G Linux - Newbie 0 07-27-2011 05:19 AM
USB gadgetfs: how to use interrupt endpoints BernardOfCA Linux - Software 0 12-01-2010 09:45 PM
arm board act as a usb mass storage scuyuzh Linux - Embedded & Single-board computer 3 09-09-2008 06:30 AM
USB mouse not working on the ARM board. manjunathk Linux - Hardware 1 07-12-2005 05:06 PM


All times are GMT -5. The time now is 07:26 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration