linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Simple approach to write PS3/PS4 usermode driver?
@ 2016-02-15 19:29 Manuel Reimer
  2016-02-15 21:34 ` Antonio Ospite
  0 siblings, 1 reply; 6+ messages in thread
From: Manuel Reimer @ 2016-02-15 19:29 UTC (permalink / raw)
  To: linux-input

Hello,

now I've been trying several things, but maybe I missed something.

- If I just blacklist "hid-sony", then everything is dead. No bluetooth 
binding, no "/dev/hidrawX".
- After some searching, I found out that the core reason for this is a 
"hid_have_special_driver" list in hid-core.c which contains the PS3/PS4 
controller.
- So I thought: Maybe I can keep "hid-sony" to keep "/dev/hidrawX" and 
somehow detach the generated eventX and jsX devices. I've been searching 
/sys for about half an hour but I didn't find any way to do this. Maybe 
impossible?

I know that libusb may be an option, but this way I also give up easy 
bluetooth binding. Especially the PS4 gamepad is easy to bind. If the 
resulting bluetooth device wouldn't be blacklisted in hid-core.c.

Maybe someone can give me a hint. Is there any easy way to get the HID 
to input device translation process ported into usermode without giving 
up all the things that work automatically if hid-sony is active?

Thank you very much for any information.

Best regards,

Manuel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-03-01 19:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-15 19:29 Simple approach to write PS3/PS4 usermode driver? Manuel Reimer
2016-02-15 21:34 ` Antonio Ospite
2016-02-16 19:45   ` Manuel Reimer
2016-02-16 20:56     ` Clément VUCHENER
2016-02-27 21:59       ` Bruno Prémont
2016-03-01 19:56         ` Manuel Reimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).