Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Sony PS3 BD remote - kernel autorepeat with LIRC, etc [BlueZ PATCH]

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


foceni at gmail

Feb 14, 2010, 6:26 AM

Post #1 of 1 (656 views)
Permalink
Sony PS3 BD remote - kernel autorepeat with LIRC, etc [BlueZ PATCH]

Hello,

some of you might find this patch useful, it's for the latest Bluetooth
driver (BlueZ 4.60) of the PS3 remote. This user-space driver is
reporting press/release events via uinput module into kernel. This works
fine, but there is no autorepeat.

Using the remote directly under X gets soft autorepeat from Xorg, but
what about console users and mouse emulation via lircmd and all users
with complex LIRC configurations? No, X autorepeat will not do. I needed
kernel-based autorepeat, which would work in every configuration and
would be tunable using standard tools. Xorg/evdev input is nice and easy
to set up, but extremely limited as to what can be done with it in a
"one remote, no mouse and a bunch of applications" scenario. :) I need
all features working independently of X (like under LIRC).

Luckily for us, the PS3 remote emits press/release events, much like a
regular keyboard, which means it's up to the OS to implement whatever
conventions exist with regard to input keyboard-like devices. One of the
conventions is autorepeat and its characteristics. We shouldn't rely on
3rd party applications (like Xorg) to make this work.

I'm attaching two patches for BlueZ. One for clean 4.60, the other is
for Kitlaan's version (deb repository with extra PS3 patches). Both
enable kernel-level autorepeat for fakehid.c devices.

Enjoy.

--
David Kubicek
Attachments: bluez-ps3-autorepeat-4.60.patch (0.50 KB)
  bluez-ps3-autorepeat-4.60+kitlaan.patch (0.50 KB)

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.