uinput broken for at least Mac mini
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lirc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Lucid |
Won't Fix
|
Undecided
|
Unassigned | ||
Maverick |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I have patched and tested the latest lirc packages from lucid. I have uploaded a bzr branch to Launchpad and requested a merge to lucid-proposed. The debdiff is also attached.
For the needs of the SRU:
- Impact of this bug: This bug renders the "--uinput" of lirc useless. This options allows remote controls to input commands like key strokes (as you would with a multimedia keyboard with "play", "next/previous", "volume up/down", etc buttons). This is obviously a very simple and attractive way to use a remote control with Ubuntu, and is recommended in many tutorials (including on help.ubuntu.com). Currently, in lucid, the buttons pressed on the remote have no effect (until the lircd daemon is stopped or restarted).
- Nominating for SRU, fulfills: (1) have an obviously safe patch (it only concerns the --uinput which is currently non-functional, and is tested by upstream and other distros) and (2) affect an application rather than critical infrastructure packages
- My proposed patch simply includes a patch from upstream (git commit d987ce9c68239f6
TEST CASE: A supported remote control and IR receiver are required.
Install the lirc package. Configure /etc/lirc/
REMOTE_
REMOTE_
Restart lirc.
Start rhythmbox and enable the "lirc" module. Restart rhythmbox and start playing a song.
Press pause key on the remote and notice that rhythmbox doesn't take any notice.
Stop lirc, and see that rhythmbox then pauses the song.
I see no regression potential for this patch, as it only affects users running lirc with the --uinput option, which is currently non-functional with an up-to-date Ubuntu lucid.
---
Architecture: i386
DistroRelease: Ubuntu 10.04
Package: lirc 0.8.6-0ubuntu4.2
PackageArchitec
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_GB.UTF-8
ProcVersionSign
Tags: lucid
Uname: Linux 2.6.32-25-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin netdev plugdev powerdev sambashare scanner src vboxusers video
Related branches
- Ubuntu Development Team: Pending requested
-
Diff: 56 lines (+36/-0)3 files modifieddebian/changelog (+11/-0)
debian/patches/series (+1/-0)
debian/patches/uinput-send-syn.patch (+24/-0)
Changed in lirc (Ubuntu): | |
status: | New → Fix Released |
description: | updated |
tags: |
added: pport-bug verification-done removed: apport-bug verification-needed |
tags: |
added: apport-bug removed: pport-bug |
I just played around with the source package a bit. I tried removing some Ubuntu patches, to see if it helped, specifically, lirc_dev- 2.6.33. patch and appleir_ repeat_ issue.patch. I removed first one and then the other, but installing the resultant packages did not fix the bug. Hence, it may be related to the kernel more than lirc. Note that the version of lirc shipped in Karmic is the same upstream, just with different patches, hence my hope that removing recently applied patches might help.