Re: [PATCH v7 0/2] hid-steam driver with user mode client dection

2018-03-28 Thread Rodrigo Rivas Costa
On Wed, Mar 28, 2018 at 08:14:48PM +0200, Rodrigo Rivas Costa wrote: > On Mon, Mar 26, 2018 at 10:12:19AM +0200, Benjamin Tissoires wrote: > > Also, I think there will be races if a user changes the value of the > > parameter while running the system. You might want to add an > > additional patch

Re: [PATCH v7 0/2] hid-steam driver with user mode client dection

2018-03-28 Thread Rodrigo Rivas Costa
On Wed, Mar 28, 2018 at 08:14:48PM +0200, Rodrigo Rivas Costa wrote: > On Mon, Mar 26, 2018 at 10:12:19AM +0200, Benjamin Tissoires wrote: > > Also, I think there will be races if a user changes the value of the > > parameter while running the system. You might want to add an > > additional patch

Re: [PATCH v7 0/2] hid-steam driver with user mode client dection

2018-03-28 Thread Rodrigo Rivas Costa
On Mon, Mar 26, 2018 at 10:12:19AM +0200, Benjamin Tissoires wrote: > Hi Rodrigo, > > On Sun, Mar 25, 2018 at 6:07 PM, Rodrigo Rivas Costa > wrote: > > This is a reroll of the Steam Controller driver. > > > > This time the client usage is detected by using exposing a

Re: [PATCH v7 0/2] hid-steam driver with user mode client dection

2018-03-28 Thread Rodrigo Rivas Costa
On Mon, Mar 26, 2018 at 10:12:19AM +0200, Benjamin Tissoires wrote: > Hi Rodrigo, > > On Sun, Mar 25, 2018 at 6:07 PM, Rodrigo Rivas Costa > wrote: > > This is a reroll of the Steam Controller driver. > > > > This time the client usage is detected by using exposing a custom hidraw > > device

Re: [PATCH v7 0/2] hid-steam driver with user mode client dection

2018-03-26 Thread Benjamin Tissoires
Hi Rodrigo, On Sun, Mar 25, 2018 at 6:07 PM, Rodrigo Rivas Costa wrote: > This is a reroll of the Steam Controller driver. > > This time the client usage is detected by using exposing a custom hidraw > device (hid_ll_driver) to userland and forwarding that to the

Re: [PATCH v7 0/2] hid-steam driver with user mode client dection

2018-03-26 Thread Benjamin Tissoires
Hi Rodrigo, On Sun, Mar 25, 2018 at 6:07 PM, Rodrigo Rivas Costa wrote: > This is a reroll of the Steam Controller driver. > > This time the client usage is detected by using exposing a custom hidraw > device (hid_ll_driver) to userland and forwarding that to the real one. That is actually more

[PATCH v7 0/2] hid-steam driver with user mode client dection

2018-03-25 Thread Rodrigo Rivas Costa
This is a reroll of the Steam Controller driver. This time the client usage is detected by using exposing a custom hidraw device (hid_ll_driver) to userland and forwarding that to the real one. About how the lizard-mode/hidraw-client issue is handled, I have added a module parameter (I don't

[PATCH v7 0/2] hid-steam driver with user mode client dection

2018-03-25 Thread Rodrigo Rivas Costa
This is a reroll of the Steam Controller driver. This time the client usage is detected by using exposing a custom hidraw device (hid_ll_driver) to userland and forwarding that to the real one. About how the lizard-mode/hidraw-client issue is handled, I have added a module parameter (I don't