[mythtv-users] Anyone using an iMon LCD display

Ma Begaj derliebegott at gmail.com
Wed Mar 26 22:18:53 UTC 2008


2008/3/26, Ronald Frazier <ron at ronfrazier.net>:
> I've made some small bit of possible progress (though I'm not there
>  yet). Reading through codeka is painful at the minute, as it is VERY
>  slow for me. However, I did manage to find something:
>
> http://codeka.com/forums/viewtopic.php?f=3&t=23
>
>
> The last couple posts on the first page talk about the device being
>  grabbed by the usbhid driver to support the mouse/keyboard feature of
>  the included remote. I did a check, and indeed it had:
>
>  cat /proc/bus/usb/devices
>
>  T:  Bus=02 Lev=01 Prnt=01 Port=06 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
>  D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
>  P:  Vendor=15c2 ProdID=0038 Rev= 0.01
>  C:* #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=100mA
>  I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=02 Driver=usbhid
>  E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
>  I:* If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
>  E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
>
>
>
>  Notice the driver is usbhid. As a quick test, I did unloaded both the
>  lirc_imon and  usbhid modules, then reloaded lirc_imon and now I get
>
>  T:  Bus=02 Lev=01 Prnt=01 Port=06 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
>  D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
>  P:  Vendor=15c2 ProdID=0038 Rev= 0.01
>  C:* #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=100mA
>  I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=02 Driver=lirc_imon
>  E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
>  I:* If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=lirc_imon
>  E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
>
>
>  It's still not working, but I'm feeling a bit better, like I made some
>  progress. As far as why the patches work for others and not me? Well,
>  I am using 2.6.24, so maybe I'm a bit ahead of some of the other
>  people there. Maybe usbhid support for this device was added in recent
>  kernels.
>
>  At least now I have a direction to aim.

Hi,

I think that lirc (remote) device should be working without patching,
because codeka's patches change only the part for communication with
lcd. I am maybe wrong,  but you can check it.

compile fresh lirc and "modprobe lirc_imon". you should see something
like this when you run dmesg:

lirc_dev: IR Remote Control driver registered, major 61
/home/backup/lirc/lirc/drivers/lirc_imon/lirc_imon.c: Driver for
Soundgraph iMON MultiMedia IR/VFD, v0.3
/home/backup/lirc/lirc/drivers/lirc_imon/lirc_imon.c: Venky Raju <dev at venky.ws>


if you see the following, it should be even better:
lirc_imon 1-7:1.0: usb_probe_interface
lirc_imon 1-7:1.0: usb_probe_interface - got id
/home/backup/lirc/lirc/drivers/lirc_imon/lirc_imon.c: imon_probe:
found IMON device
lirc_dev: lirc_register_plugin: sample_rate: 0
/home/backup/lirc/lirc/drivers/lirc_imon/lirc_imon.c: imon_probe:
Registered iMON plugin(minor:0)
drivers/usb/core/file.c: looking for a minor, starting at 144
/home/backup/lirc/lirc/drivers/lirc_imon/lirc_imon.c: imon_probe: iMON
device on usb<1:3> initialized
usbcore: registered new interface driver lirc_imon
/home/backup/lirc/lirc/drivers/lirc_imon/lirc_imon.c: VFD port opened

(/home/backup/lirc/ was just a path to my lirc compile/source path)

if /dev/lirc or /dev/lirc0 is not available, create them with
following commands:
# mknod /dev/lirc0 c 61 0
# ln -s /dev/lirc0 /dev/lirc
# ln -s /dev/lirc0 /dev/lirc_imon
# mknod /dev/lircd p


Run lircd:
lircd --driver=default --device=/dev/lirc_imon --output=/dev/lircd

Test irrecord with your MCE or other compatible remote. I am using MCE
remote from Hauppauge PVR-500 package. If irrecord dies just after
starting, your device is probably not working OK. check
/var/log/messages and /var/log/system for debugging messages.


I have usbhid, ohci_hcd and uhci_hcd modules and these modules do not
affect lirc/iMon device at all.

Wish you luck.

M.


More information about the mythtv-users mailing list