Re: how to mount gadgetfs?? please help me..

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Tue, 4 Sep 2007, Joseph Kim wrote:

> thanks for the reply.
> 
> Actually, the device controller driver works already.
> It's pxa27x_udc.
> 
> I have to controll the chip pxa27x. I'm making a device agent that
> works like another device.
> 
> Don't I have to mount gadgetfs for using?
> 
> I found some informations how to use gadgetfs from internet.
> 
> It's the step :
>    insert module -> mount gadgetfs on '/dev/gadget' -> run application.
> 
> Isn't it correct? if not, how can I use gadgetfs with pxa27x_udc?

That is correct.  All you should have to do is:

	mkdir /dev/gadget
	modprobe gadgetfs
	mount -t gadgetfs none /dev/gadget

I just tried the same thing on my system (except that I use the net2280 
driver instead of pxa27x_udc), and it worked.

Maybe you should start out with something easier.  Can you build and 
load the g_zero driver?  That's a good first test.

Alan Stern


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.