LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-02-2015, 07:05 AM   #1
ashwindeshpande
LQ Newbie
 
Registered: Dec 2014
Posts: 3

Rep: Reputation: Disabled
GADGETFS testing


Hello All,

I want to explore gadgetfs for file trasnfer, i have googled so many links but I am not clear about the exact procedure to follow.

All examples states, run usb.c, but how to make an executable for my target board (iMX6 SabreSD).

Also the controllers stated in autoconfig() functions doesnt match with the one used in SabreSD.

If i follow the procedure
1) mkdir /dev/gadget
2) modprobe gadgetfs
3) mount -t gadgetfs none /dev/gadget

I get an error "nop ci_hdrc.0: failed to start (null): -120"

If anybody can guide with step by step procedure, I would be thankful

Thanks and Regards
Ashwin Deshpande
 
Old 02-02-2015, 10:29 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 25,827

Rep: Reputation: 7761Reputation: 7761Reputation: 7761Reputation: 7761Reputation: 7761Reputation: 7761Reputation: 7761Reputation: 7761Reputation: 7761Reputation: 7761Reputation: 7761
Quote:
Originally Posted by ashwindeshpande View Post
Hello All,
I want to explore gadgetfs for file trasnfer, i have googled so many links but I am not clear about the exact procedure to follow. All examples states, run usb.c, but how to make an executable for my target board (iMX6 SabreSD). Also the controllers stated in autoconfig() functions doesnt match with the one used in SabreSD.
So, if the hardware/controllers don't match, then you will have to modify them, won't you??? If the devices aren't configured correctly, why would you think it would work?
Quote:
If i follow the procedure
1) mkdir /dev/gadget
2) modprobe gadgetfs
3) mount -t gadgetfs none /dev/gadget

I get an error "nop ci_hdrc.0: failed to start (null): -120" If anybody can guide with step by step procedure, I would be thankful
Please don't ask us to post the how-to guides for a product...you can find them on their website, and by reading their documentation. Also, if you had just tried putting that EXACT error message into Google, you would have found something from the SabreSD site that deals with this:
https://eewiki.net/display/linuxonar...+Lite_Comments

You don't say what version/distro of Linux you're using, what the "many links" you've looked at are, what you've done/tried, what you're trying to connect, or give us much in the way of details at all.
 
  


Reply

Tags
gadget


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
gadgetfs hangs ranji Linux - Newbie 4 05-26-2014 03:45 AM
usb.c user mode driver gadgetfs dmesg error code clsimmons@emtek.us Linux - Embedded & Single-board computer 2 02-11-2011 09:47 AM
USB gadgetfs: how to use interrupt endpoints BernardOfCA Linux - Software 0 12-01-2010 09:45 PM
Handling control out requests using gadgetfs API abhiruchid Linux - Newbie 0 05-21-2009 10:35 PM
USB gadget API framework with gadgetfs lqrk Programming 0 10-31-2008 05:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:17 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration