Re: usb_f_fs (ffs) setup?

2018-11-27 Thread Felipe Balbi
Hi, Takashi Matsuzawa writes: > Sorry for excess message: > >>7) Where additional EPs appear? > > I tried, and they appear in /dev/myffs1 mountpoint alongside with ep0, > and they are there only while I keep opening ep0. that's correct. As soon as ep0 is closed, we assume application is

Re: usb_f_fs (ffs) setup?

2018-11-27 Thread Takashi Matsuzawa
awa Sent: Tuesday, November 27, 2018 5:56:10 PM To: linux-usb@vger.kernel.org Subject: Re: usb_f_fs (ffs) setup? Hello. I further debugged, and may I an a couple of questions to my list. 5) In the following steps, must I keep ep0 open until I successfully write controller name to UDC file? >ii

Re: usb_f_fs (ffs) setup?

2018-11-27 Thread Takashi Matsuzawa
usb@vger.kernel.org Subject: usb_f_fs (ffs) setup? Hello. I am trying to use configfs I/F of compsite gadget to add my additional EPs. The EPs (multiple) are simple IN and OUT pipes which I intend to write/read on peripheral (gadget) side user-mode application. I intend to use file read/write

usb_f_fs (ffs) setup?

2018-11-26 Thread Takashi Matsuzawa
Hello. I am trying to use configfs I/F of compsite gadget to add my additional EPs. The EPs (multiple) are simple IN and OUT pipes which I intend to write/read on peripheral (gadget) side user-mode application. I intend to use file read/write. As I look into the memos and driver source code,