leeko |
08-13-2008 12:22 AM |
Slight problem - irw doesn't register anything
Hi all,
I also have the rc-2400, and am trying to get it working using frenchnoob's autoinstaller. I'm running Kubuntu 8.04.
Steps taken so far:
> sudo apt-get install lirc
downloaded the autoinstaller, untarred and ran the .sh script.
The message suggested that the installer completed successfully, but looking back through the progress, it shows:
> gcc rc2400.o -lusb -o rc2400 [: 49: ==: unexpected operator
Now, when I boot up the light on the receiver does not come on. Pressing buttons on the remote causes the receiver to light up briefly, and all looks good.
However, running "irw" does not work as expected. The program runs, and expects input but pressing the buttons on the remote does not produce any results. I have to press ctrl+c to quit irw.
Here are the outputs of various files that will hopefully help:
Code:
leeko@leeko-desktop:~$ ps -ef|grep lirc
root 5740 1 0 21:55 ? 00:00:00 lircd -n -H udp /etc/lirc/rc2400.conf
leeko 7054 6940 0 22:14 pts/0 00:00:00 grep lirc
Code:
leeko@leeko-desktop:~$ cat /proc/bus/input/devices
I: Bus=0017 Vendor=0001 Product=0001 Version=0100
N: Name="Macintosh mouse button emulation"
P: Phys=
S: Sysfs=/devices/virtual/input/input0
U: Uniq=
H: Handlers=mouse0 event0
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input1
U: Uniq=
H: Handlers=kbd event1
B: EV=120013
B: KEY=4 2000000 3803078 f800d001 feffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7
I: Bus=0003 Vendor=09da Product=001a Version=0110
N: Name="A4Tech RF USB Mouse"
P: Phys=usb-0000:00:0b.0-1/input0
S: Sysfs=/devices/pci0000:00/0000:00:0b.0/usb2/2-1/2-1:1.0/input/input2
U: Uniq=
H: Handlers=mouse1 event2
B: EV=17
B: KEY=ff0000 0 0 0 0 0 0 0 0
B: REL=303
B: MSC=10
I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/devices/platform/pcspkr/input/input3
U: Uniq=
H: Handlers=kbd event3
B: EV=40001
B: SND=6
I: Bus=0019 Vendor=0000 Product=0002 Version=0000
N: Name="Power Button (FF)"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/virtual/input/input4
U: Uniq=
H: Handlers=kbd event4
B: EV=3
B: KEY=100000 0 0 0
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button (CM)"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/virtual/input/input5
U: Uniq=
H: Handlers=kbd event5
B: EV=3
B: KEY=100000 0 0 0
I: Bus=0011 Vendor=0002 Product=0005 Version=0000
N: Name="ImPS/2 Generic Wheel Mouse"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input6
U: Uniq=
H: Handlers=mouse2 event6
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103
Code:
leeko@leeko-desktop:~$ sudo dmesg|grep -i ir
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 14 global_irq 14 high edge)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 15 global_irq 15 high edge)
[ 0.000000] ACPI: IRQ0 used by override.
[ 0.000000] ACPI: IRQ2 used by override.
[ 0.000000] ACPI: IRQ9 used by override.
[ 0.000000] ACPI: IRQ14 used by override.
[ 0.000000] ACPI: IRQ15 used by override.
[ 39.220058] spurious 8259A interrupt: IRQ7.
[ 39.371704] virtual kernel memory layout:
[ 39.884112] ENABLING IO-APIC IRQs
[ 40.051573] Booting paravirtualized kernel on bare hardware
[ 40.189874] ACPI: PCI Interrupt Link [LNK1] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[ 40.190051] ACPI: PCI Interrupt Link [LNK2] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[ 40.190226] ACPI: PCI Interrupt Link [LNK3] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[ 40.190400] ACPI: PCI Interrupt Link [LNK4] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[ 40.190575] ACPI: PCI Interrupt Link [LNK5] (IRQs 5 7 9 *10 11 14 15)
[ 40.190750] ACPI: PCI Interrupt Link [LNK6] (IRQs 5 7 9 10 *11 14 15)
[ 40.190923] ACPI: PCI Interrupt Link [LNK7] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[ 40.191100] ACPI: PCI Interrupt Link [LNK8] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[ 40.191275] ACPI: PCI Interrupt Link [LUBA] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[ 40.191449] ACPI: PCI Interrupt Link [LUBB] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[ 40.191624] ACPI: PCI Interrupt Link [LMAC] (IRQs *5 7 9 10 11 14 15)
[ 40.191800] ACPI: PCI Interrupt Link [LACI] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[ 40.191975] ACPI: PCI Interrupt Link [LAZA] (IRQs 5 7 9 10 *11 14 15)
[ 40.192148] ACPI: PCI Interrupt Link [LPMU] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[ 40.192321] ACPI: PCI Interrupt Link [LMCI] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[ 40.192494] ACPI: PCI Interrupt Link [LSMB] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[ 40.192667] ACPI: PCI Interrupt Link [LUB2] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[ 40.192840] ACPI: PCI Interrupt Link [LIDE] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[ 40.193015] ACPI: PCI Interrupt Link [LSID] (IRQs 5 7 9 *10 11 14 15)
[ 40.193192] ACPI: PCI Interrupt Link [LFID] (IRQs 5 7 9 10 *11 14 15)
[ 40.193399] ACPI: PCI Interrupt Link [APC1] (IRQs 16) *0, disabled.
[ 40.193600] ACPI: PCI Interrupt Link [APC2] (IRQs 17) *0, disabled.
[ 40.193800] ACPI: PCI Interrupt Link [APC3] (IRQs 18) *0, disabled.
[ 40.193999] ACPI: PCI Interrupt Link [APC4] (IRQs 19) *0, disabled.
[ 40.194198] ACPI: PCI Interrupt Link [APC5] (IRQs 16) *0
[ 40.194400] ACPI: PCI Interrupt Link [APC6] (IRQs 16) *0
[ 40.194598] ACPI: PCI Interrupt Link [APC7] (IRQs 16) *0, disabled.
[ 40.194797] ACPI: PCI Interrupt Link [APC8] (IRQs 16) *0, disabled.
[ 40.194997] ACPI: PCI Interrupt Link [APCF] (IRQs 20 21 22 23) *0, disabled.
[ 40.195201] ACPI: PCI Interrupt Link [APCG] (IRQs 20 21 22 23) *0, disabled.
[ 40.195402] ACPI: PCI Interrupt Link [APCH] (IRQs 20 21 22 23) *0
[ 40.195602] ACPI: PCI Interrupt Link [APCJ] (IRQs 20 21 22 23) *0, disabled.
[ 40.195802] ACPI: PCI Interrupt Link [APMU] (IRQs 20 21 22 23) *0, disabled.
[ 40.196002] ACPI: PCI Interrupt Link [AAZA] (IRQs 20 21 22 23) *0
[ 40.196202] ACPI: PCI Interrupt Link [APCK] (IRQs 20 21 22 23) *0, disabled.
[ 40.196402] ACPI: PCI Interrupt Link [APCS] (IRQs 20 21 22 23) *0, disabled.
[ 40.196603] ACPI: PCI Interrupt Link [APCL] (IRQs 20 21 22 23) *0, disabled.
[ 40.196803] ACPI: PCI Interrupt Link [APCM] (IRQs 20 21 22 23) *0, disabled.
[ 40.197004] ACPI: PCI Interrupt Link [APCZ] (IRQs 20 21 22 23) *0, disabled.
[ 40.197204] ACPI: PCI Interrupt Link [APSI] (IRQs 20 21 22 23) *0
[ 40.197405] ACPI: PCI Interrupt Link [APSJ] (IRQs 20 21 22 23) *0
[ 40.202741] PCI: Using ACPI for IRQ routing
[ 40.202744] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
[ 40.299078] hpet0: at MMIO 0xfeff0000, IRQs 2, 8, 31
[ 41.036658] pci 0000:00:03.0: Quirk disabling HT MSI mapping<6>pci 0000:00:05.0: Quirk disabling HT MSI mapping<6>pci 0000:00:06.0: Quirk disabling HT MSI mapping<6>pci 0000:00:07.0: Quirk disabling HT MSI mapping<6>pci 0000:00:09.0: Quirk disabling HT MSI mapping<6>pci 0000:00:0e.0: Quirk disabling HT MSI mapping<6>pci 0000:00:0f.0: Quirk disabling HT MSI mapping<6>pci 0000:00:10.0: Quirk disabling HT MSI mapping<6>pci 0000:00:10.1: Quirk disabling HT MSI mapping<7>Boot video device is 0000:01:00.0
[ 41.428942] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[ 41.429066] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 41.429696] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 41.430558] input: Macintosh mouse button emulation as /devices/virtual/input/input0
[ 41.430663] PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[ 41.431009] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 41.431014] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 43.222961] ACPI: PCI Interrupt Link [APC6] enabled at IRQ 16
[ 43.222968] ACPI: PCI Interrupt 0000:04:00.0[A] -> Link [APC6] -> GSI 16 (level, low) -> IRQ 16
[ 44.222781] ata1: SATA max UDMA/133 abar m8192@0xfd9fe000 port 0xfd9fe100 irq 16
[ 44.542712] ACPI: PCI Interrupt Link [APSI] enabled at IRQ 23
[ 44.542718] ACPI: PCI Interrupt 0000:00:0e.0[A] -> Link [APSI] -> GSI 23 (level, low) -> IRQ 17
[ 44.543047] ACPI: PCI Interrupt Link [APSJ] enabled at IRQ 22
[ 44.543050] ACPI: PCI Interrupt 0000:00:0f.0[A] -> Link [APSJ] -> GSI 22 (level, low) -> IRQ 18
[ 44.544012] ACPI: PCI Interrupt Link [APCL] enabled at IRQ 21
[ 44.544016] ACPI: PCI Interrupt 0000:00:0b.1[B] -> Link [APCL] -> GSI 21 (level, low) -> IRQ 19
[ 44.544337] ehci_hcd 0000:00:0b.1: irq 19, io mem 0xfe02e000
[ 44.659542] ACPI: PCI Interrupt Link [APCF] enabled at IRQ 20
[ 44.659548] ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [APCF] -> GSI 20 (level, low) -> IRQ 20
[ 44.659598] ohci_hcd 0000:00:0b.0: irq 20, io mem 0xfe02f000
[ 44.818876] ata2: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xfd00 irq 14
[ 44.818878] ata3: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xfd08 irq 15
[ 45.153854] ata2.00: limited to UDMA/33 due to 40-wire cable
[ 45.835543] ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18
[ 45.835549] ACPI: PCI Interrupt 0000:05:08.0[A] -> Link [APC3] -> GSI 18 (level, low) -> IRQ 21
[ 45.888191] ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[21] MMIO=[fdbff000-fdbff7ff] Max Packet=[2048] IR/IT contexts=[4/8]
[ 45.894504] ACPI: PCI Interrupt Link [APCH] enabled at IRQ 23
[ 45.894507] ACPI: PCI Interrupt 0000:00:14.0[A] -> Link [APCH] -> GSI 23 (level, low) -> IRQ 17
[ 46.416602] forcedeth 0000:00:14.0: highdma pwrctl timirq gbit lnktim desc-v3
[ 46.416660] ACPI: PCI Interrupt 0000:00:0e.0[A] -> Link [APSI] -> GSI 23 (level, low) -> IRQ 17
[ 46.417507] ata4: SATA max UDMA/133 cmd 0x9f0 ctl 0xbf0 bmdma 0xf800 irq 17
[ 46.417510] ata5: SATA max UDMA/133 cmd 0x970 ctl 0xb70 bmdma 0xf808 irq 17
[ 47.601229] scsi 3:0:0:0: Direct-Access ATA ST3500641AS 3.AA PQ: 0 ANSI: 5
[ 47.601363] scsi 4:0:0:0: Direct-Access ATA MAXTOR STM332082 3.AA PQ: 0 ANSI: 5
[ 47.601432] ACPI: PCI Interrupt 0000:00:0f.0[A] -> Link [APSJ] -> GSI 22 (level, low) -> IRQ 18
[ 47.602032] ata6: SATA max UDMA/133 cmd 0x9e0 ctl 0xbe0 bmdma 0xf300 irq 18
[ 47.602035] ata7: SATA max UDMA/133 cmd 0x960 ctl 0xb60 bmdma 0xf308 irq 18
[ 52.739123] scsi 7:0:0:0: Direct-Access Generic USB SD Reader 1.00 PQ: 0 ANSI: 0
[ 52.741083] scsi 7:0:0:1: Direct-Access Generic USB CF Reader 1.01 PQ: 0 ANSI: 0
[ 52.743080] scsi 7:0:0:2: Direct-Access Generic USB SM Reader 1.02 PQ: 0 ANSI: 0
[ 52.745078] scsi 7:0:0:3: Direct-Access Generic USB MS Reader 1.03 PQ: 0 ANSI: 0
[ 52.760054] scsi 8:0:0:0: Direct-Access Generic 6000 PQ: 0 ANSI: 0 CCS
[ 56.357356] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
[ 56.459019] input: Power Button (FF) as /devices/virtual/input/input4
[ 56.489113] input: Power Button (CM) as /devices/virtual/input/input5
[ 57.468924] ACPI: PCI Interrupt Link [AAZA] enabled at IRQ 22
[ 57.468928] ACPI: PCI Interrupt 0000:00:10.1[B] -> Link [AAZA] -> GSI 22 (level, low) -> IRQ 18
[ 58.374550] ACPI: PCI Interrupt Link [APC5] enabled at IRQ 16
[ 58.374555] ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [APC5] -> GSI 16 (level, low) -> IRQ 16
[ 69.255376] lirc_dev: IR Remote Control driver registered, major 61
[ 69.275590] lirc_mceusb2: no version for "lirc_get_pdata" found: kernel tainted.
[ 69.276255] lirc_mceusb2: Philips eHome USB IR Transciever and Microsoft MCE 2005 Remote Control driver for LIRC $Revision: 1.36 $
[ 69.276258] lirc_mceusb2: Daniel Melander <lirc@rajidae.se>, Martin Blatter <martin_a_blatter@yahoo.com>
[ 69.297229] usbcore: registered new interface driver lirc_mceusb2
Code:
leeko@leeko-desktop:~$ sudo dmesg|grep -i input
[ 41.430558] input: Macintosh mouse button emulation as /devices/virtual/input/input0
[ 41.470225] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[ 47.743070] input: A4Tech RF USB Mouse as /devices/pci0000:00/0000:00:0b.0/usb2/2-1/2-1:1.0/input/input2
[ 47.762739] input,hidraw0: USB HID v1.10 Mouse [A4Tech RF USB Mouse] on usb-0000:00:0b.0-1
[ 56.055306] input: PC Speaker as /devices/platform/pcspkr/input/input3
[ 56.459019] input: Power Button (FF) as /devices/virtual/input/input4
[ 56.489113] input: Power Button (CM) as /devices/virtual/input/input5
[ 56.948600] input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input6
Code:
leeko@leeko-desktop:~$ lsusb
Bus 002 Device 003: ID 0553:0002 STMicroelectronics Imaging Division (VLSI Vision) CPiA WebCam
Bus 002 Device 002: ID 09da:001a A4 Tech Co., Ltd Wireless Mouse & RXM-15 Receiver
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 007: ID 147a:e017 Formosa Industrial Computing, Inc.
Bus 001 Device 006: ID 090c:6000 Feiya Technology Corp.
Bus 001 Device 005: ID 058f:6362 Alcor Micro Corp. Hi-Speed 21-in-1 Flash Card Reader/Writer (Internal/External)
Bus 001 Device 004: ID 058f:6254 Alcor Micro Corp.
Bus 001 Device 001: ID 0000:0000
On unplugging/replugging in the receiver, dmesg|tail gives me:
Code:
leeko@leeko-desktop:~$ sudo dmesg|tail
[ 69.275590] lirc_mceusb2: no version for "lirc_get_pdata" found: kernel tainted.
[ 69.276251]
[ 69.276255] lirc_mceusb2: Philips eHome USB IR Transciever and Microsoft MCE 2005 Remote Control driver for LIRC $Revision: 1.36 $
[ 69.276258] lirc_mceusb2: Daniel Melander <lirc@rajidae.se>, Martin Blatter <martin_a_blatter@yahoo.com>
[ 69.297229] usbcore: registered new interface driver lirc_mceusb2
[ 71.442645] NET: Registered protocol family 17
[ 86.831478] eth0: no IPv6 routers present
[ 1447.752659] usb 1-5.4: USB disconnect, address 7
[ 1456.405761] usb 1-5.4: new low speed USB device using ehci_hcd and address 8
[ 1456.519486] usb 1-5.4: configuration #1 chosen from 1 choice
and finally:
Code:
leeko@leeko-desktop:~$ cat /proc/bus/usb/devices
cat: /proc/bus/usb/devices: No such file or directory
Sorry for the long post. I've been trying to get this working for hours now, and I'm very hopeful that someone else will point out what silly error I've made (and how to fix it!).
Thanks in advance for any help you can offer,
Lee
|