Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#27947 - [linux] lirc_atiusb after kernel 3.1.9 doesnt work anymore

Attached to Project: Arch Linux
Opened by crow (crow) - Sunday, 15 January 2012, 13:13 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 28 April 2012, 08:01 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas B├Ąchler (brain0)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
After upgrading kernel from 3.1.8 to 3.1.9 lirc_atiusb driver doesnt work.
3.1.8-1-ARCH
[ 5.514136] lirc_dev: IR Remote Control driver registered, major 251
[ 5.537746]
[ 5.537748] lirc_atiusb: USB remote driver for LIRC $Revision: 1.88 $
[ 5.537751] lirc_atiusb: Paul Miller <pmiller9@users.sourceforge.net>
[ 5.537871] lirc_atiusb 4-1.4:1.0: lirc_dev: driver lirc_atiusb registered at minor = 0
[ 5.540473] lirc_atiusb[3]: X10 Wireless Technology Inc USB Receiver on usb4:3
[ 5.551396] usbcore: registered new interface driver lirc_atiusb

3.1.9-1-ARCH
[ 399.534695] usb 4-1.4: USB disconnect, device number 3
[ 404.289876] usb 4-1.4: new low speed USB device number 4 using ehci_hcd
[ 404.381347] lirc_atiusb: disagrees about version of symbol usb_alloc_urb
[ 404.381353] lirc_atiusb: Unknown symbol usb_alloc_urb (err -22)
[ 404.381369] lirc_atiusb: disagrees about version of symbol usb_free_urb
[ 404.381372] lirc_atiusb: Unknown symbol usb_free_urb (err -22)
[ 404.381443] lirc_atiusb: disagrees about version of symbol usb_submit_urb
[ 404.381446] lirc_atiusb: Unknown symbol usb_submit_urb (err -22)
[ 404.381515] lirc_atiusb: disagrees about version of symbol usb_unlink_urb
[ 404.381518] lirc_atiusb: Unknown symbol usb_unlink_urb (err -22)
[ 404.381534] lirc_atiusb: disagrees about version of symbol usb_kill_urb
[ 404.381537] lirc_atiusb: Unknown symbol usb_kill_urb (err -22)

Additional info:
* package version(s)
* config and/or log files etc.
lirc and lirc utils from extra: lirc-utils-1:0.9.0-8 lirc-1:0.9.0-8

Steps to reproduce:
Upgrade from 3.1.8 to 3.1.9

Solution: manualy recompile lirc and lirc-utils packages:
pacman -S abs
abs extra/lirc
cd /var/abs/extra/lirc/
makepkg -s
pacman -U lirc- and lirc-utils-
-------------
[@myhost ~]$ uname -a
Linux myhost 3.1.9-2-ARCH #1 SMP PREEMPT Sat Jan 14 09:11:37 CET 2012 x86_64 Intel(R) Celeron(R) CPU G440 @ 1.60GHz GenuineIntel GNU/Linux
[@myhost ~]$ dmesg | grep lirc_atiusb
[ 5.556713] lirc_atiusb: USB remote driver for LIRC $Revision: 1.88 $
[ 5.556716] lirc_atiusb: Paul Miller <pmiller9@users.sourceforge.net>
[ 5.557030] lirc_atiusb 4-1.4:1.0: lirc_dev: driver lirc_atiusb registered at minor = 0
[ 5.559733] lirc_atiusb[3]: X10 Wireless Technology Inc USB Receiver on usb4:3
[ 5.568965] usbcore: registered new interface driver lirc_atiusb
[@myhost ~]$


This task depends upon

Closed by  Tobias Powalowski (tpowa)
Saturday, 28 April 2012, 08:01 GMT
Reason for closing:  Fixed
Comment by Jelle van der Waa (jelly) - Saturday, 21 January 2012, 11:42 GMT
and with 3.2?
Comment by crow (crow) - Saturday, 21 January 2012, 12:32 GMT
It was the same, I needed manualy to recompile lirc-1:0.9.0-10-x86_64 and lirc-utils-1:0.9.0-10, was this version compiled against 3.1.9 kernel maybe?

Edit: seems it isnt compiled agains 3.1.9 as posted in next comment :)
Comment by crow (crow) - Saturday, 21 January 2012, 12:41 GMT
When I compare .PKGINFO from withing .xz install packages I dont see much diff, then in size.

# Generated by makepkg 4.0.1
# using fakeroot version 1.18.2
# Fri Jan 6 12:01:29 UTC 2012
pkgname = lirc
pkgbase = lirc
pkgver = 1:0.9.0-10
pkgdesc = Linux Infrared Remote Control kernel modules for stock arch kernel
url = http://www.lirc.org/
builddate = 1325851289
packager = Ionut Biru <ibiru@archlinux.org>
size = 28672
arch = x86_64
license = GPL
replaces = lirc+pctv
depend = lirc-utils
depend = linux>=3.2
depend = linux<3.3
makepkgopt = !strip
makepkgopt = docs
makepkgopt = libtool
makepkgopt = emptydirs
makepkgopt = zipman
makepkgopt = purge
makepkgopt = !upx


# Generated by makepkg 4.0.1
# using fakeroot version 1.18.2
# Fri Jan 20 19:47:28 UTC 2012
pkgname = lirc
pkgbase = lirc
pkgver = 1:0.9.0-10
pkgdesc = Linux Infrared Remote Control kernel modules for stock arch kernel
url = http://www.lirc.org/
builddate = 1327088848
packager = Unknown Packager
size = 45056
arch = x86_64
license = GPL
replaces = lirc+pctv
depend = lirc-utils
depend = linux>=3.2
depend = linux<3.3
makepkgopt = !strip
makepkgopt = docs
makepkgopt = libtool
makepkgopt = emptydirs
makepkgopt = zipman
makepkgopt = purge
makepkgopt = !upx

Comment by Tobias Powalowski (tpowa) - Friday, 02 March 2012, 09:21 GMT
Status on latest kernel?
Comment by crow (crow) - Tuesday, 06 March 2012, 19:07 GMT
Seems still no go, even it isn't same error in dmesg:
[crow@vdrbox ~]$ dmesg | grep lirc
[ 5.745958] lirc_dev: IR Remote Control driver registered, major 252
[ 5.796211] lirc_atiusb: disagrees about version of symbol module_layout

Linux 3.2.8-1-ARCH #1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012 x86_64 Intel(R) Celeron(R) CPU G440 @ 1.60GHz GenuineIntel GNU/Linux


After these step and reboot all fine again:
[root@ ~]$ cd /var/abs/
[root@ abs]# rm -rf extra/
[root@ abs]# abs extra/lirc
.....
[root@ lirc]# makepkg --asroot -s
==> Making package: lirc 1:0.9.0-12 (Tue Mar 6 19:49:21 CET 2012)
....

[root@ lirc]# pacman -U lirc-utils-1\:0.9.0-12-x86_64.pkg.tar.xz lirc-1\:0.9.0-12-x86_64.pkg.tar.xz
loading packages...
warning: lirc-utils-1:0.9.0-12 is up to date -- reinstalling
warning: lirc-1:0.9.0-12 is up to date -- reinstalling
........
#reboot

[@ ~]$ dmesg | grep lirc
[ 6.101899] lirc_dev: IR Remote Control driver registered, major 251
[ 6.126794] lirc_atiusb: USB remote driver for LIRC $Revision: 1.88 $
[ 6.126797] lirc_atiusb: Paul Miller <pmiller9@users.sourceforge.net>
[ 6.126918] lirc_atiusb 4-1.4:1.0: lirc_dev: driver lirc_atiusb registered at minor = 0
[ 6.129388] lirc_atiusb[3]: X10 Wireless Technology Inc USB Receiver on usb4:3
[ 6.141966] usbcore: registered new interface driver lirc_atiusb
[@ ~]$ uname -a
Linux 3.2.8-1-ARCH #1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012 x86_64 Intel(R) Celeron(R) CPU G440 @ 1.60GHz GenuineIntel GNU/Linux
[@ ~]$
Comment by crow (crow) - Wednesday, 21 March 2012, 21:34 GMT
Same with: Linux vdrbox 3.2.12-1-ARCH (linux-3.2.12-1 linux-headers-3.2.12-1) even there was no lirc update awaiable..
This is from dmesg:
unplug/plug X10 IR device
[ 3013.932667] usb 4-1.4: USB disconnect, device number 3
[ 3017.954170] usb 4-1.4: new low-speed USB device number 9 using ehci_hcd
[ 3018.044894] lirc_atiusb: disagrees about version of symbol module_layout

after compiling lirc/lirc-utils i wrote in last comment and unplug/plug device:

[ 3265.400748] usb 4-1.4: USB disconnect, device number 9
[ 3267.887087] usb 4-1.4: new low-speed USB device number 10 using ehci_hcd
[ 3267.978660]
[ 3267.978662] lirc_atiusb: USB remote driver for LIRC $Revision: 1.88 $
[ 3267.978664] lirc_atiusb: Paul Miller <pmiller9@users.sourceforge.net>
[ 3267.978827] lirc_atiusb 4-1.4:1.0: lirc_dev: driver lirc_atiusb registered at minor = 0
[ 3267.981390] lirc_atiusb[10]: X10 Wireless Technology Inc USB Receiver on usb4:10
[ 3267.994028] usbcore: registered new interface driver lirc_atiusb

And after this i can use my remote again with VDR and XBMC.
Comment by crow (crow) - Monday, 09 April 2012, 12:49 GMT
I updated today my system to latest avaiable, and I dont need to recompile anymore lirc/lirc-utils after kernel/lirc updates.
After these are installed:
linux-3.3.1-1 linux-api-headers-3.3-1 linux-headers-3.3.1-1 lirc-1:0.9.0-15 lirc-utils-1:0.9.0-15
Remote is working fine and in dmesg is this:
[ 6.227156] lirc_atiusb: USB remote driver for LIRC $Revision: 1.88 $
[ 6.227159] lirc_atiusb: Paul Miller <pmiller9@users.sourceforge.net>
[ 6.227454] lirc_atiusb 4-1.4:1.0: lirc_dev: driver lirc_atiusb registered at minor = 0
[ 6.230200] lirc_atiusb[3]: X10 Wireless Technology Inc USB Receiver on usb4:3
[ 6.242669] usbcore: registered new interface driver lirc_atiusb

Loading...