Getting a gadget serial device working on Atmel SAMA5D31

2016-03-28 Thread JB
Hello, I am trying to figure out how to get a g_serial device running on the Acme Acqua board built around the Atmel SAMA5D3. I am using an unmodified 4.5 kernel with a configuration and a dts file provided by Acme (originally for kernel version 4.4.5, but the problems I encountered appear to be t

Re: Getting a gadget serial device working on Atmel SAMA5D31

2016-03-28 Thread JB
out a problem on the host side. I have also tried it with the binary kernel the manufacturer provides, but I couldn't even replicate this limited success I had. I have not been able to figure out what I am doing wrong, so any help is appreciated. Thanks, Bálint 2016-03-29 5:12 GMT+02:00 JB : >

Re: Getting a gadget serial device working on Atmel SAMA5D31

2016-03-29 Thread JB
Hello, > 4.5.0+, which patches do you have on top of 4.5 vanilla ? No code patches, just the configuration and dts file for the board. > Also, can you try this patch: I tried it, but the result is the same. Sometimes I can see another entry in the log: g_serial gadget: suspend And there is a

Re: Getting a gadget serial device working on Atmel SAMA5D31

2016-03-30 Thread JB
> IIRC ACM will only do anything after you open /dev/ttyGS0 on the > peripheral side. Are you running getty on ttyGS0 ? I did try that, that would explain why it appears only once. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.ke

Re: Getting a gadget serial device working on Atmel SAMA5D31

2016-03-30 Thread JB
Hello, > did you check that getty is still running ? That "deactivated" message > means that whatever had /dev/ttyGS0 opened, decided to close it. This > could mean that getty got a SIGHUP and just decided to close that fd. I have only briefly experimented with getty (I also tried opening the por

Re: Getting a gadget serial device working on Atmel SAMA5D31

2016-03-30 Thread JB
Hello, >> To make sure, I have also performed some additional tests. The problem >> seems unrelated to the gadget being used: I have tried various >> combinations (zero, ethernet, etc.), even setting up an ACM device >> using configfs, and the result is the same: a host detects the device >> for a

[DRIVER][WIP] Playstation controllers (DualShock 3/4, Navigation/Motion Controller, ...)

2014-02-01 Thread jb b
Hello, I am a total newbie in Linux kernel development (but not in C programming), and I started to write a USB driver for the DualShock 4 (and also others controllers/equipments for the PlayStation 3/4 while I'm at it). My objective is to sanitize what is reported to the userspace (most games do

Re: [DRIVER][WIP] Playstation controllers (DualShock 3/4, Navigation/Motion Controller, ...)

2014-02-02 Thread jb b
re :-) I'll have to test the patches to be sure, but it might take a while for me to get the kernel rolling (I'm currently on the standard, comfy Debian testing 3.12 kernel)... Jean-Baptiste Boric 2014-02-02 Greg KH : > On Sat, Feb 01, 2014 at 07:38:09PM +0100, jb b wrote: >> H

Re: [DRIVER][WIP] Playstation controllers (DualShock 3/4, Navigation/Motion Controller, ...)

2014-02-03 Thread jb b
Great for me, I don't have to do any work then :-) As for the pre-built kernel, thanks but I REALLY should do it myself instead. For now I'm just hacking and learning my way through, but if I end up someday with something worth contributing back, I won't be able to just skip this step forever. I