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

"Joseph Kim" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
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?

Joseph Kim.

2007/9/4, Alan Stern <[email protected]>:
> On Mon, 3 Sep 2007, Joseph Kim wrote:
>
> > Hi all
> >
> > 1. I made gadgetfs.ko on kernel 2.6.18.3
> > 2. done 'insmod gadgetfs.ko'. and found that module was alive.
> > 3. and made directory '/dev/gadget'
> >
> >    $mkdir /dev/gadget
> >
> > 4. and tryed to mount it on /dev/gadget
> >
> >    $mount -t gadgetfs gadgetfs /dev/gadget
> >
> > 5. then I found below error message
> >
> >    "mount: Mounting gadgetfs on /dev/gadget failed: No such device"
> >
> >
> > what can I do to resolve that problem??
>
> You have to build and insmod a device controller driver first.  See the
> information at
>
>        http://www.linux-usb.org/gadget/
>
> Why do you want to mount a gadgetfs filesystem anyway?
>
> 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.