LinHES Forums http://forum.linhes.org/ |
|
My iMon remotes are not working... http://forum.linhes.org/viewtopic.php?f=23&t=21908 |
Page 1 of 1 |
Author: | yaplej [ Sun Nov 28, 2010 5:21 pm ] |
Post subject: | My iMon remotes are not working... |
Hey everyone, I have two diskless FE units that each have an iMon remotes. One is the iMon PAD + VFD and the other is the iMon mini that I just got. I cannot get them to work though. I can see that the iMon PAD gets detected. Code: lirc_dev: IR Remote Control driver registered, major 61 lirc_imon: Driver for Soundgraph iMON MultiMedia IR/VFD, v0.4 lirc_imon: Venky Raju <dev@venky.ws> lirc_imon: imon_probe: found IMON device lirc_dev: lirc_register_plugin: sample_rate: 0 lirc_imon: imon_probe: Registered iMON plugin(minor:0) lirc_imon: imon_probe: iMON device on usb<3:2> initialized usbcore: registered new interface driver lirc_imon In /home/mythtv/.mythtv/lircrc I see the following. Code: include "/usr/MythVantage/templates/remotes/imon-pad/lircrc" In /home/mythtv/.mythtv/lircrc there is the following line. Code: include "/usr/MythVantage/templates/remotes/imon-pad/lircrc" I also have lirc, lirc0 and lircd in /dev. In /etc/lircd.conf there is the following. Code: include "/usr/MythVantage/templates/remotes/imon-pad/lircd.conf" Also in /etc/lircrc there is. Code: include "/usr/MythVantage/templates/remotes/imon-pad/lircrc" So it seems that everything is setup correctly but still no buttons are working. I tried running irw in a ssh session and got the following output. So the remote seems to be working just not in the frontend for whatever reason. Code: 00000000289395b7 00 Ch+ iMON-PAD
00000000289395b7 00 Ch+_UP iMON-PAD 00000000289395b7 00 Ch+ iMON-PAD 00000000289395b7 00 Ch+_UP iMON-PAD 00000000288795b7 00 Ch- iMON-PAD 00000000288795b7 00 Ch-_UP iMON-PAD 00000000288795b7 00 Ch- iMON-PAD 00000000288795b7 00 Ch-_UP iMON-PAD 0000000028a195b7 00 Enter iMON-PAD 0000000028a195b7 00 Enter_UP iMON-PAD Thanks for the help. |
Author: | yaplej [ Sun Nov 28, 2010 7:53 pm ] |
Post subject: | |
Well the iMon mini is being grabbed by the usbhid driver. Code: T: Bus=04 Lev=01 Prnt=01 Port=01 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=003d 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 So that explains why that one isnt working but the iMon PAD should work. Given that I am getting output from irw it seems like it is working except for in MythTV where it counts. |
Author: | christ [ Sun Nov 28, 2010 8:49 pm ] |
Post subject: | |
Hi yaplej, It seems you are linux literate so... For the imon being intercepted by the usbhid, this can happen. If you google around you will find a way to have this excluded using udev. For the other issue, if irw is working then the driver is doing its job. The most likely cause of your issue is that the key names in lircrc do not match those in your lirc?.conf files. I'm not sure what version of LinHES you are using or how you got the latest lirc so I'm not sure which config files you are using. The latest LinHES I believe includes all of this out of the box now (I think mihanson implemented the changes based on my NFR content). The codes irw is spitting out though do not match my submissions as identified in http://knoppmyth.net/phpBB2/viewtopic.p ... light=imon and http://linhes.org/bugs/issues/599 |
Author: | yaplej [ Sun Nov 28, 2010 11:33 pm ] |
Post subject: | |
"It seems you are linux literate so... " hahaha fooled you then I mostly just fumble my way around and working on my KnoppMyth/LinHES boxes for years LOL. I am running that latest R6.03 on all three of my systems. LinHES-BE, Diskless LinHES-MBR w/iMon mini, Diskless LinHES-LR w/iMon PAD + VRF. Thanks for the tip for the iMon mini and exluding it from usbhid with udev. I will have to take a look into that. The iMon PAD seemed to be working out of the box using irw just not in MythTV. It could be that my iMon PAD was an OEM for Cooler Master RC-250 case with VRF display. Maybe thats why the codes do not match. So I logged irw to a file and checked the codes in the lircd.conf file in /usr/MythVantage/templates/remotes/imon-pad/ they are similar but mine as you can see here have a lot more zeros if that makes a difference and the alpha characters are lowercase as apposed to uppercase like in the file. more irw.log Code: 00000000288195b7 00 AppExit iMON-PAD
00000000288195b7 00 AppExit_UP iMON-PAD 00000000289115b7 00 Power iMON-PAD 00000000289115b7 00 Power_UP iMON-PAD 00000000298115b7 00 Record iMON-PAD 00000000298115b7 00 Record_UP iMON-PAD 000000002a8115b7 00 Play iMON-PAD 000000002a8115b7 00 Play_UP iMON-PAD 0000000029b1d5b7 00 Open iMON-PAD 0000000029b1d5b7 00 Open_UP iMON-PAD 000000002a8195b7 00 Rewind iMON-PAD 000000002a8195b7 00 Rewind_UP iMON-PAD 000000002a9115b7 00 Pause iMON-PAD 000000002a9115b7 00 Pause_UP iMON-PAD 000000002b8115b7 00 FastForward iMON-PAD 000000002b8115b7 00 FastForward_UP iMON-PAD 000000002b9115b7 00 PrevChapter iMON-PAD 000000002b9115b7 00 PrevChapter_UP iMON-PAD 000000002b9715b7 00 Stop iMON-PAD 000000002b9715b7 00 Stop_UP iMON-PAD 00000000298195b7 00 NextChapter iMON-PAD 00000000298195b7 00 NextChapter_UP iMON-PAD 0000000028a115b7 00 Backspace iMON-PAD 0000000028a115b7 00 Backspace_UP iMON-PAD 00000000299115b7 00 MouseKeyboard iMON-PAD 00000000299115b7 00 MouseKeyboard_UP iMON-PAD 000000002a9315b7 00 SelectSpace iMON-PAD 000000002a9315b7 00 SelectSpace_UP iMON-PAD 000000002b8195b7 00 WindowsKey iMON-PAD 000000002b8195b7 00 WindowsKey_UP iMON-PAD 0000000028b715b7 00 MouseMenu iMON-PAD 0000000028b715b7 00 MouseMenu_UP iMON-PAD 00000000688301b7 00 MouseLeftClick iMON-PAD 00000000688301b7 00 MouseLeftClick_UP iMON-PAD 0000000028a195b7 00 Enter iMON-PAD 0000000028a195b7 00 Enter_UP iMON-PAD 00000000688481b7 00 MouseRightClick iMON-PAD 00000000688481b7 00 MouseRightClick_UP iMON-PAD 000000002bb715b7 00 Esc iMON-PAD 000000002bb715b7 00 Esc_UP iMON-PAD 00000000299395b7 00 Eject iMON-PAD 00000000299395b7 00 Eject_UP iMON-PAD 0000000029b715b7 00 AppLauncher iMON-PAD 0000000029b715b7 00 AppLauncher_UP iMON-PAD 000000002ab195b7 00 MultiMon iMON-PAD 000000002ab195b7 00 MultiMon_UP iMON-PAD 000000002a9395b7 00 TaskSwitcher iMON-PAD 000000002a9395b7 00 TaskSwitcher_UP iMON-PAD 000000002b9595b7 00 Mute iMON-PAD 000000002b9595b7 00 Mute_UP iMON-PAD 0000000028a395b7 00 Vol+ iMON-PAD 0000000028a395b7 00 Vol+_UP iMON-PAD 00000000289395b7 00 Ch+ iMON-PAD 00000000289395b7 00 Ch+_UP iMON-PAD 000000002b8395b7 00 Timer iMON-PAD 000000002b8395b7 00 Timer_UP iMON-PAD 0000000028a595b7 00 Vol- iMON-PAD 0000000028a595b7 00 Vol-_UP iMON-PAD 00000000288795b7 00 Ch- iMON-PAD 00000000288795b7 00 Ch-_UP iMON-PAD 0000000028b595b7 00 1 iMON-PAD 0000000028b595b7 00 1_UP iMON-PAD 000000002bb195b7 00 2 iMON-PAD 000000002bb195b7 00 2_UP iMON-PAD 0000000028b195b7 00 3 iMON-PAD 0000000028b195b7 00 3_UP iMON-PAD 000000002a8595b7 00 4 iMON-PAD 000000002a8595b7 00 4_UP iMON-PAD 00000000299595b7 00 5 iMON-PAD 00000000299595b7 00 5_UP iMON-PAD 000000002aa595b7 00 6 iMON-PAD 000000002aa595b7 00 6_UP iMON-PAD 000000002b9395b7 00 7 iMON-PAD 000000002b9395b7 00 7_UP iMON-PAD 000000002a8515b7 00 8 iMON-PAD 000000002a8515b7 00 8_UP iMON-PAD 000000002aa115b7 00 9 iMON-PAD 000000002aa115b7 00 9_UP iMON-PAD 0000000028b515b7 00 ShiftTab iMON-PAD 0000000028b515b7 00 ShiftTab_UP iMON-PAD 000000002ba595b7 00 0 iMON-PAD 000000002ba595b7 00 0_UP iMON-PAD 0000000029a115b7 00 Tab iMON-PAD 0000000029a115b7 00 Tab_UP iMON-PAD 000000002b8515b7 00 Red iMON-PAD 000000002b8515b7 00 Red_UP iMON-PAD 00000000299195b7 00 Green iMON-PAD 00000000299195b7 00 Green_UP iMON-PAD 000000002ba115b7 00 Blue iMON-PAD 000000002ba115b7 00 Blue_UP iMON-PAD 0000000028a515b7 00 Yellow iMON-PAD 0000000028a515b7 00 Yellow_UP iMON-PAD 00000000288515b7 00 Bookmark iMON-PAD 00000000288515b7 00 Bookmark_UP iMON-PAD 000000002ab715b7 00 Thumbnail iMON-PAD 000000002ab715b7 00 Thumbnail_UP iMON-PAD 0000000029a595b7 00 AspectRatio iMON-PAD 0000000029a595b7 00 AspectRatio_UP iMON-PAD 000000002aa395b7 00 FullScreen iMON-PAD 000000002aa395b7 00 FullScreen_UP iMON-PAD 0000000029a295b7 00 Purple iMON-PAD 0000000029a295b7 00 Purple_UP iMON-PAD 000000002ba385b7 00 Menu iMON-PAD 000000002ba385b7 00 Menu_UP iMON-PAD 00000000298595b7 00 Caption iMON-PAD 00000000298595b7 00 Caption_UP iMON-PAD 000000002b8595b7 00 Language iMON-PAD 000000002b8595b7 00 Language_UP iMON-PAD |
Author: | yaplej [ Sun Nov 28, 2010 11:56 pm ] |
Post subject: | |
Another odd thing is that I could only get an output from the PAD Mouse_S using irw with an output of 688291b7. The other PAD buttons didnt produce any output in irw but the remote seemed to be sending a signal or at least detect the keypress because the light on the remote would still luminate while pressing the PAD in the other directions N,E and W. Just to clarify this was a working setup using before using the patched version of lirc provided here. Just had not gotten a chance to try it in R6 until now. http://mysettopbox.tv/phpBB2/viewtopic. ... highlight= |
Author: | christ [ Mon Nov 29, 2010 7:36 pm ] |
Post subject: | |
the path for IR is as follows: 1) IR receiver 2) lirc?.conf (where ? is d, 0, or 1 depending on the hardware) 3) lircrc 4) mythtv and other apps mode2 will see the codes between (1) and (2) irw will see events between (2) and (3) As of lirc 0.8.6 iMon codes are now 64 bit hence the extra 0's. the lirc?.conf should have the mask already or you wouldn't see the events at all. I think too as of 0.8.6 iMon only needs lircd.conf now. See also my how-to at: http://knoppmyth.net/phpBB2/viewtopic.p ... light=imon The fact irw sees your events says you are ok to at least lircd.conf so the issue is likely the mapping of events in lircrc to those defined in lircd.conf For example, in lircd.conf you have a definition that maps: 000000002a8115b7 00 Play iMON-PAD (ie. in definition iMON-PAD you have Play mapped to some portion of 000000002a8115b7. Note it might be masked so it may not be literal.) in your lircrc in /home/mythtv/.mythtv/lircrc there should be "Play" associated with a mythtv command. It is case sensitive so it has to be spelled exactly the same way. Example from my lircd.conf for "Play" note this is a 64 code where 32bits is added with "post_data_bits": Code: begin remote name mceusb_antec_knob bits 32 eps 30 aeps 100 one 0 0 zero 0 0 post_data_bits 32 post_data 0x9FAE gap 103995 min_repeat 1 toggle_bit_mask 0x800000000000 begin codes Play 0x800F0416 The matching lircrc entry for mythtv is: Code: # Play
begin prog = mythtv button = Play config = L end |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |