Hauppage ir remote control doesn't work

Bug #1019494 reported by Brian May
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Hello,

None of the buttons on the remote control work. If I boot an older kernel it works fine.

root@oncilla:~# ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event5) with:
 Driver budget_ci, table rc-hauppauge
 Supported protocols:
 Enabled protocols:
 Repeat delay = 500 ms, repeat period = 125 ms

root@oncilla:~# ir-keytable -t
Testing events. Please, press CTRL-C to abort.
1341032922.353212: event MSC: scancode = 1f21
1341032922.353214: event sync
1341032924.165750: event MSC: scancode = 1f10
1341032924.165751: event sync
1341032924.280120: event MSC: scancode = 1f10
1341032924.280121: event sync
1341032928.544237: event MSC: scancode = 1f10
1341032928.544239: event sync
1341032928.658590: event MSC: scancode = 1f10
1341032928.658591: event sync
1341032929.266644: event MSC: scancode = 1f20
1341032929.266646: event sync
1341032929.894410: event MSC: scancode = 1f11
1341032929.894412: event sync
1341032930.008849: event MSC: scancode = 1f11
1341032930.008851: event sync
1341032930.741387: event MSC: scancode = 1f21
1341032930.741388: event sync
1341032930.855830: event MSC: scancode = 1f21
1341032930.855831: event sync

Note it is getting the scancodes, but it is not getting the translated key presses.

In Ubuntu 11.10 I had an issue that is exactly the same, and managed to get this patch to resolve it:

http://git.linuxtv.org/media_tree.git?a=commitdiff;h=5183c137974da0c8192fc4c5cc5cae5974125b06

Did this patch ever get into the kernel tree used by Ubuntu?

Unfortunately, my time is rather limited at present, so is my ability to chase this up again.

Thanks

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-26-generic 3.2.0-26.41
ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
Uname: Linux 3.2.0-26-generic x86_64
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
   Subdevices: 2/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/pcmC0D1p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfebdc000 irq 44'
   Mixer name : 'Analog Devices AD1984'
   Components : 'HDA:11d41984,10280211,00100400'
   Controls : 30
   Simple ctrls : 18
CurrentDmesg:

Date: Sat Jun 30 14:59:27 2012
HibernationDevice: RESUME=UUID=f5b413a1-0fb3-4b0b-9fda-7168ad44b952
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
MachineType: Dell Inc. OptiPlex 755
ProcEnviron:
 TERM=xterm
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-26-generic root=/dev/mapper/vg-root ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-26-generic N/A
 linux-backports-modules-3.2.0-26-generic N/A
 linux-firmware 1.79
RfKill: Error: [Errno 2] No such file or directory
SourcePackage: linux
StagingDrivers: mei
UpgradeStatus: Upgraded to precise on 2012-06-11 (19 days ago)
WpaSupplicantLog:

dmi.bios.date: 03/11/2008
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A09
dmi.board.name: 0GM819
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 6
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA09:bd03/11/2008:svnDellInc.:pnOptiPlex755:pvr:rvnDellInc.:rn0GM819:rvr:cvnDellInc.:ct6:cvr:
dmi.product.name: OptiPlex 755
dmi.sys.vendor: Dell Inc.

Revision history for this message
Brian May (brian-microcomaustralia) wrote :
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Brian May (brian-microcomaustralia) wrote :

Just recompiled the budget-ci module with the patch from http://git.linuxtv.org/media_tree.git?a=commitdiff;h=5183c137974da0c8192fc4c5cc5cae5974125b06 and now it works

Steps to do this (so I don't forgot for next time...)

apt-get install linux-source-3.2.0
cd /usr/src
tar -xvf linux-source-3.2.0.tar.bz2
cd /usr/src/linux-source-3.2.0
patch -p1 < ~/linux.patch (the patched referred to above)
cd drivers/media/dvb/ttpci
cp /usr/src/linux-source-3.2.0/drivers/media/common/tuners/tda827x.h .
make -C /lib/modules/$(uname -r)/build M=$(pwd) modules
cp budget-ci.ko /lib/modules/3.2.0-26-generic/kernel/drivers/media/dvb/ttpci/budget-ci.ko

Need to double check these steps.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.5kernel[0] (Not a kernel in the daily directory) and install both the linux-image and linux-image-extra .deb packages.

Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag(Only that one tag, please leave the other tags). This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.5-rc5-quantal/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
tags: added: kernel-da-key needs-upstream-testing
Revision history for this message
Brian May (brian-microcomaustralia) wrote :

Unfortunately the latest kernel headers seems to break nvidia builds ("fatal error: asm/system.h: No such file or directory").

Regardless, I should be able to test this issue without X Windows.
This will have to wait until when I get console access :-)

Revision history for this message
Brian May (brian-microcomaustralia) wrote :

Did the testing, IR in the latest kernel seems to work fine. Unfortunately, latest kernel seems to break nvidia closed source drivers, so I have since downgraded again.

tags: added: kernel-fixed-upstream
removed: needs-upstream-testing
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Changed in linux (Ubuntu):
status: Confirmed → Triaged
tags: added: needs-bisect
Revision history for this message
penalvch (penalvch) wrote :

Brian May, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, please just make a comment to this.

tags: added: bios-outdated-a22
Changed in linux (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Brian May (brian-microcomaustralia) wrote :

As far as I can tell, this is fixed in 14.04.

However, as networking in 14.04 using my e1000e base adaptor appears to be broken, my testing was restricted (appeared to receive packets but not send anything). I couldn't install the ir-keytable package required for testing.

I ended up booting 14.04, nightly build from about 29/1/2014, and chroot to my old 12.04 user tools. This odd configuration seemed to work fine. As the problem was in the kernel, not in user space, am assuming this means the user tools from 14.04 should also work fine.

penalvch (penalvch)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.