Author Topic: 0810 lirc_mce problem  (Read 2472 times)

rocketlynx

  • Veteran
  • ***
  • Posts: 136
    • View Profile
0810 lirc_mce problem
« on: May 14, 2009, 05:25:59 pm »
After a successful install of 810 alpha2.19 I've hit a glitch.

I'm installing an iOne Libra-Q11 IR remote and receiver made by Itron on a diskless MD.  It's supposedly supported in lirc_mceusb2. Here's the modinfo results:

root@moon32:~# modinfo lirc_mceusb2
filename:       /lib/modules/2.6.27-11-generic/kernel/ubuntu/lirc/lirc_mceusb2.ko
license:        GPL
author:         Daniel Melander <lirc@rajidae.se>, Martin Blatter <martin_a_blatter@yahoo.com>
description:    Philips eHome USB IR Transceiver and Microsoft MCE 2005 Remote Control driver for LIRC
srcversion:     C25EC95198EA9588DC14D17
alias:          usb:v1934p0602d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v147ApE018d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v147ApE017d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v147ApE015d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v045Ep00A0d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v043Ep9803d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1509p9242d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v195Dp7002d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v179Dp0010d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1784p0008d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1784p0007d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1784p0006d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1784p0001d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v03EEp2501d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v107Bp3009d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v051CpC001d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1308pC001d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1460p9150d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0609p0334d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0609p0322d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0609p031Dd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0471p060Dd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0471p060Cd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0471p0815d*dc*dsc*dp*ic*isc*ip*
depends:        usbcore,lirc_dev
vermagic:       2.6.27-11-generic SMP mod_unload modversions 586
parm:           debug:Debug enabled or not (bool)
root@moon32:~#

It's recognized by lsusb:

root@moon32:~# lsusb
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 195d:7002 Itron Technology iONE Libra-Q11 IR remote
Bus 001 Device 004: ID 046d:c016 Logitech, Inc. M-UV69a/HP M-UV96 Optical Wheel Mouse
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@moon32:~#

And here's the results after modifying Template #1862, as per the Wiki, and selecting mceusb2 as the IR Receiver for the MD:

root@moon32:~# sudo cat /proc/bus/usb/devices                                                                           

T:  Bus=01 Lev=01 Prnt=01 Port=03 Cnt=02 Dev#=  5 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs=  1
P:  Vendor=195d ProdID=7002 Rev= 0.00
S:  Manufacturer=?
S:  Product=Itron Infrared Transceiver
S:  SerialNumber=MI0007DX
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=01(O) Atr=02(Bulk) MxPS=  16 Ivl=0ms
E:  Ad=81(I) Atr=02(Bulk) MxPS=  16 Ivl=0ms
root@moon32:~#

On the MD, the software shows to be being installed in the upper left corner of the orbiter and after a router reload, the MD shows that the device #83/mceusb2 fails to start up.

The Bluetooth Dongle in the adjacent usb port starts correctly and a usb mouse also works.  I've double checked the template #1862 as follows:

From                          0
To                             0
Vendor Model ID          195d7002
PNP protocol               Xap
Serial Number       
Parms                        175|pci
PNP detection script    
Comment:                   Itron iONE Libra-Q11 IR Remote

NOTE: I tried this:
root@moon32:~# depmod -ae
root@moon32:~#
(Completed OK)

And then a modprobe of lirc_mceusb2:

root@moon32:~# modprobe lirc_mceusb2
FATAL: Error inserting lirc_mceusb2 (/lib/modules/2.6.27-11-generic/kernel/ubuntu/lirc/lirc_mceusb2.ko): Unknown symbol in module, or unknown parameter (see dmesg)
root@moon32:~#

After checking dmesg:
root@moon32:~# dmesg

It revealed the following: (unnecessary data output at top left off)

[/b]
[   22.839199] NET: Registered protocol family 31
[   22.839263] Bluetooth: HCI device and connection manager initialized
[   22.839337] Bluetooth: HCI socket layer initialized
[   22.848075] lirc_mceusb2: Unknown symbol lirc_get_pdata
[   22.848289] lirc_mceusb2: Unknown symbol lirc_unregister_plugin
[   22.848951] lirc_mceusb2: Unknown symbol lirc_register_plugin

[   22.862784] Bluetooth: Generic Bluetooth USB driver ver 0.3
[   22.862935] usbcore: registered new interface driver btusb
[   23.299760] HDA Intel 0000:00:07.0: power state changed by ACPI to D0
[   23.300282] ACPI: PCI Interrupt Link [LAZA] enabled at IRQ 20
[   23.300353] HDA Intel 0000:00:07.0: PCI INT A -> Link[LAZA] -> GSI 20 (level, low) -> IRQ 20
[   23.300451] HDA Intel 0000:00:07.0: setting latency timer to 64
[   23.334875] hda_codec: Unknown model for ALC883, trying auto-probe from BIOS...
[   32.633110] NET: Registered protocol family 10
[   32.633547] lo: Disabled Privacy Extensions
[   33.607884] warning: `ntpd' uses 32-bit capabilities (legacy support in use)
[   37.965963] powernow-k8: Found 1 AMD Athlon(tm) 7750 Dual-Core Processor processors (2 cpu cores) (version 2.20.00)
[   37.965997] powernow-k8:    0 : pstate 0 (2700 MHz)
[   37.966000] powernow-k8:    1 : pstate 1 (1400 MHz)
[   40.970899] apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
[   40.970904] apm: disabled - APM is not SMP safe.
[   41.110424] lp0: using parport0 (interrupt-driven).
[   41.156991] ppdev: user-space parallel port driver
[   43.108100] eth0: no IPv6 routers present
[   79.194649] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   79.855420] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[   79.856303] NFSD: starting 90-second grace period
[   88.066514] Bluetooth: L2CAP ver 2.11
[   88.066521] Bluetooth: L2CAP socket layer initialized
[   88.102513] Bluetooth: RFCOMM socket layer initialized
[   88.102530] Bluetooth: RFCOMM TTY layer initialized
[   88.102533] Bluetooth: RFCOMM ver 1.10
[   88.143992] Bluetooth: SCO (Voice Link) ver 0.6
[   88.143999] Bluetooth: SCO socket layer initialized
[   88.184590] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   88.184598] Bluetooth: BNEP filters: protocol multicast
[   88.313956] Bridge firewalling registered
[  345.528890] ppdev0: registered pardevice
[  345.576541] ppdev0: unregistered pardevice
[  347.081260] ppdev0: registered pardevice
[  347.128600] ppdev0: unregistered pardevice
[  347.164164] ppdev0: registered pardevice
[  347.212488] ppdev0: unregistered pardevice
[12356.112502] CE: hpet increasing min_delta_ns to 15000 nsec
[17700.112269] CE: hpet increasing min_delta_ns to 22500 nsec
[22315.058388] lirc_mceusb2: Unknown symbol lirc_get_pdata
[22315.058667] lirc_mceusb2: Unknown symbol lirc_unregister_plugin
[22315.059854] lirc_mceusb2: Unknown symbol lirc_register_plugin
[23012.469826] lirc_mceusb2: Unknown symbol lirc_get_pdata
[23012.470106] lirc_mceusb2: Unknown symbol lirc_unregister_plugin
[23012.471200] lirc_mceusb2: Unknown symbol lirc_register_plugin
[24577.206799] lirc_mceusb2: Unknown symbol lirc_get_pdata
[24577.207081] lirc_mceusb2: Unknown symbol lirc_unregister_plugin
[24577.208170] lirc_mceusb2: Unknown symbol lirc_register_plugin

root@moon32:~#

Looking at the lirc_mceusb2.c source code, the three functions in question, lirc_get_pdata, lirc_unregister_plugin and lirc_register_plugin of which modprobe can't process, probably needs to be declared somewhere else and is missing.

The result is there's no driver being linked to the usb device (see above) but I'm not sure if this is something I've missed or an LinuxMCE 810 Alpha2 problem.

Any help would be greatly appreciated.

Charles