Re: usb_f_fs (ffs) setup?

2018-11-27 Thread Takashi Matsuzawa
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. From: linux-usb-ow...@vger.kernel.org on behalf of Takashi Matsuz

Re: usb_f_fs (ffs) setup?

2018-11-27 Thread Takashi Matsuzawa
Where additional EPs appear? Are they going to apper in /dev/myffs1 where ep0 already is? (And they are availabe only while I keep open ep0?) From: linux-usb-ow...@vger.kernel.org on behalf of Takashi Matsuzawa Sent: Tuesday, November 27, 2018 11:16 AM To: linux-

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,

Re: musb_hdrc HNP?

2018-09-04 Thread Takashi Matsuzawa
eck mainline status when I need to support (or try) other boards as well. From: linux-usb-ow...@vger.kernel.org on behalf of Bin Liu Sent: Tuesday, September 4, 2018 11:00 PM To: Takashi Matsuzawa Cc: linux-usb@vger.kernel.org Subject: Re: musb_hdrc HNP?

Re: musb_hdrc HNP?

2018-08-31 Thread Takashi Matsuzawa
to enumerate USB device debian@beaglebone:~/wk-b$ === From: linux-usb-ow...@vger.kernel.org on behalf of Takashi Matsuzawa Sent: Friday, August 31, 2018 1:50 PM To: Bin Liu Cc: linux-usb@vger.kernel.org Subject: Re: musb_hdrc HNP? Hello. FYI. I ma

Re: musb_hdrc HNP?

2018-08-30 Thread Takashi Matsuzawa
tarting) having some problem. From: linux-usb-ow...@vger.kernel.org on behalf of Bin Liu Sent: Monday, August 27, 2018 10:33 PM To: Takashi Matsuzawa Cc: linux-usb@vger.kernel.org Subject: Re: musb_hdrc HNP? Hi, On Mon, Aug 27, 2018 at 12:57:55AM +, Takashi Matsuzawa wrote: >

musb_hdrc HNP?

2018-08-23 Thread Takashi Matsuzawa
Hello. I am trying HNP (host -> peripheral role change) using two PocketBeagles, but without success. If there any idea on where I, where should I ask this, or how can I debug / fix, I really appreciate. 1) What I did Two PocketBeagles (running the default Debian image). Both added 2nd USB

Re: Dual-role behavior with USB-C?

2017-12-13 Thread Takashi Matsuzawa
Hello. Now I am waiting for my USB-C breakout board to just re-using it for connecting to conventional micr-A/B receptacle. BTW, Looking into schematic, another board HiKey960 with USB-C receptacle seems to have USB-C controller in its circuit. >OK, from those schematics we can clearly see

Re: Dual-role behavior with USB-C?

2017-12-12 Thread Takashi Matsuzawa
Hello. >If you have a Type-C connector on your board, then you also should >have a USB Type-C PHY that takes care of CC logic. The host-to-device >relationship is determined using the Configuration Channel (CC) that >goes through the USB Type-C cable. Note that CC is not the same as ID! I am

Re: Dual-role behavior with USB-C?

2017-12-11 Thread Takashi Matsuzawa
Hello. Thank you very much for your comment. > Since USB OTG FSM has not been accepted by industry during last ten years, we > decide > to give up maintaining OTG FSM at Linux kernel. For role switch use case, > please use > /sys/../role instead, see below commit for detail: > > >

Dual-role behavior with USB-C?

2017-12-08 Thread Takashi Matsuzawa
Hello. Just in case if you already have pointer or experience with this, any suggestion is highly appreciated. Some of the recent i.MX boards has USB-C socket for USB-OTG port, and I wonder how I can try the following steps (Dual-role behavior testing) with USB-C sockets.