Author |
Message |
yaplej
|
Posted: Wed Sep 19, 2007 4:50 pm |
|
Joined: Tue Feb 14, 2006 12:07 am
Posts: 132
Location:
White City OR
|
I just found out the remote I have is actually an imon. I was under the impression that it would never be supported. I however cannot find anything on how to download the configure lirc for the imon PAD remote withing knoppmyth.
Im still learning Linux actually I dont know much of what I'm doing, but I can follow instructions well enough to fumble around.
Thanks.
|
|
Top |
|
 |
slowtolearn
|
Posted: Wed Sep 19, 2007 5:36 pm |
|
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location:
Farmington, MI USA
|
yaplej wrote: I just found out the remote I have is actually an imon. I was under the impression that it would never be supported. I however cannot find anything on how to download the configure lirc for the imon PAD remote withing knoppmyth.
Im still learning Linux actually I dont know much of what I'm doing, but I can follow instructions well enough to fumble around.
Thanks. If you have installed R5F27 you can run /usr/local/bin/vfd_install.sh to setup your VFD (if it truly is the VFD and not the iMON LCD)
I don't have any ideas on how to get the remote working, but searching the forums for "iMON remote" should get you going...
|
|
Top |
|
 |
yaplej
|
Posted: Wed Sep 19, 2007 5:47 pm |
|
Joined: Tue Feb 14, 2006 12:07 am
Posts: 132
Location:
White City OR
|
It is the imon VFD, and imon PAD remote. I ran that script, and the display started working right away. Still not sure how to get the imon remote working.
|
|
Top |
|
 |
larrybpsu
|
Posted: Wed Sep 19, 2007 7:20 pm |
|
Joined: Wed Mar 07, 2007 9:51 am
Posts: 173
Location:
Uniontown, PA
|
I'm at the same spot as you, and I'm working with some patches to get the 'pad' working with lirc 0.8.2.
Once I get it all working to MY satisfaction, I'll post what's needed.
So far, I can get all the remote buttons to work, but the pad is being a royal PITA!
|
|
Top |
|
 |
yaplej
|
Posted: Wed Sep 19, 2007 7:30 pm |
|
Joined: Tue Feb 14, 2006 12:07 am
Posts: 132
Location:
White City OR
|
I dont have any buttons working. Everything Iv found says to download lirc, and patch something. So that leaves me out of it. I dont know much about linux other than follow the instructions written for a drunken monkey.
Of course this is one of the few exceptions where drunken monkey instructions are not avaliable. Maybe scripted support for the imon PAD remote will be in the next version. I am totaly supprised that the display is working before the remote.
|
|
Top |
|
 |
slowtolearn
|
Posted: Wed Sep 19, 2007 7:36 pm |
|
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location:
Farmington, MI USA
|
larrybpsu wrote: So far, I can get all the remote buttons to work, but the pad is being a royal PITA! So it doesn't appear that there has been much progress on this since I tried to get it working ~1.5 years ago  That's unfortunate, as the iMON remote seems a perfect fit for MythTV and the plugins... yaplej wrote: I dont have any buttons working. Everything Iv found says to download lirc, and patch something. So that leaves me out of it. I dont know much about linux other than follow the instructions written for a drunken monkey. Unfortunately a "drunken monkey" writeup would require working drivers, which apparently don't exist yet...
|
|
Top |
|
 |
yaplej
|
Posted: Wed Sep 19, 2007 8:07 pm |
|
Joined: Tue Feb 14, 2006 12:07 am
Posts: 132
Location:
White City OR
|
That is quite disappointing. I really like the remote/display.
|
|
Top |
|
 |
slowtolearn
|
Posted: Wed Sep 19, 2007 8:18 pm |
|
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location:
Farmington, MI USA
|
yaplej wrote: That is quite disappointing. I really like the remote/display. Agreed. I took another quick look around, doesn't seem like there's been any new developments since Nov 2004 ( http://sourceforge.net/project/showfile ... p_id=92298) yaplej wrote: It is the imon VFD, and imon PAD remote. I ran that script, and the display started working right away. I'm glad to hear that! 
|
|
Top |
|
 |
larrybpsu
|
Posted: Wed Sep 19, 2007 10:18 pm |
|
Joined: Wed Mar 07, 2007 9:51 am
Posts: 173
Location:
Uniontown, PA
|
I'm pretty disappointed, too. I'll buy no more iMON equipment.
So far, I can get the 'mouse' portion of the driver to work, but that has no value while you're in MythTV itself. It needs the arrow key functions to work, and I'm trying my best to get it working.
For the 'tech folks:' There's a patch for the 0.8.0 driver and it merged fairly well into the 0.8.2 code, but now I get no response from 'irw' for the cursor codes. The 'mode2' command shows the flow of data for the cursor keys, but something is getting lost on the way.  I'm thinking it's a function call that's not passing the correct data. The logic of the patch looks ok, but I'm still working on it.
|
|
Top |
|
 |
yaplej
|
Posted: Wed Sep 19, 2007 10:37 pm |
|
Joined: Tue Feb 14, 2006 12:07 am
Posts: 132
Location:
White City OR
|
Well your a better man than I.
I cannot even get lirc 0.8.2 to make. I dowloaded the 0.8.2 from www.lirc.org, and was able to untar it to /usr/src/lirc-0.8.2 after that
I ran ./setup.sh
and selected Imon pad
then selected save, and exit.
After than I added "--prefix=/usr \" to the end of configure.sh
I then ran sh configure.sh
but when I try to make I get these errors.
Code: include/linux/i2c.h:32:26: error: linux/i2c-id.h: No such file or directory make[5]: *** [/usr/src/lirc-0.8.2/drivers/lirc_dev/lirc_dev.o] Error 1 make[4]: *** [_module_/usr/src/lirc-0.8.2/drivers/lirc_dev] Error 2 make[4]: Leaving directory `/usr/src/linux-headers-2.6.18-chw-13' make[3]: *** [lirc_dev.o] Error 2 make[3]: Leaving directory `/usr/src/lirc-0.8.2/drivers/lirc_dev' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/lirc-0.8.2/drivers' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/lirc-0.8.2' make: *** [all] Error 2
I guess that header file is missing. I think I saw something about that somwhere else in the forum, but I dont know if thats all the problems.
I was able to figure that much out from this in the wiki.
http://knoppmythwiki.org/index.php?page=LIRCHowTo
|
|
Top |
|
 |
Kirk
|
Posted: Thu Sep 20, 2007 1:25 am |
|
Joined: Mon Mar 13, 2006 2:28 am
Posts: 143
Location:
Brisbane, Australia
|
Here is how to get the remote working WITHOUT the pad in R5F27.
Do some backing up;
Code: # cp /etc/lirc/lircd.conf /etc/lirc/lircd.conf.orig # cp /etc/lirc/hardware.conf /etc/lirc/hardware.conf # cp /home/mythtv/.mythtv/lircrc /home/mythtv/.mythtv/lircrc.orig
Copy the remote specifics over; Code: # cp /usr/share/lirc/remotes/imon/lircd.conf.imon-pad /etc/lirc/lircd.conf
Modify the DEVICE line in /etc/lirc/hardware.conf to represent your device. Mine looks like this; Code: DEVICE="/dev/lirc0"
To find it yours do; Code: # ls -al /dev/lirc* # ls -al /dev/input/lirc*
Looks for the lirc line, that's where your DEVICE is. Modify the MODULES line in /etc/lirc/hardware.conf; Code: MODULES="lirc_dev lirc_i2c"
Reboot. Now check your remote works with the irw command. Code: # irw
Press some buttons on your remote and you'll see it outputting stuff to the screen. If irw command returns to a prompt straightaway something is wrong, check /var/log/syslog for details. You're remote now works, but it won't work in myth until you create a decent /home/mythtv/.mythtv/lircrc file. This file maps your button presses to actions within mythtv/xine/etc.. Here is MY lircrc file - it works for me atm. I've also created JUMPPOINTS in Mythtv so I can use the Movie, Music, Photo, etc buttons properly. If a button doesn't do what you expect it to do, this is the file you change to make it do what you want. Code: ###### CUSTOM MYTHTV - By Kirk ###### begin prog = mythtv button = AppExit config = Esc end begin prog = mythtv button = Record config = R end begin prog = mythtv button = Play config = L end begin prog = mythtv button = SlowMotion config = J end begin prog = mythtv button = Rewind config = < end begin prog = mythtv button = Pause config = P end begin prog = mythtv button = FastForward config = > end begin prog = mythtv button = PrevChapter config = PgUp end begin prog = mythtv button = NextChapter config = PgDown end begin prog = mythtv button = Stop config = O end begin prog = mythtv button = MouseKeyboard config = Up repeat = 3 end #begin # prog = mythtv # button = SelectSpace # config = #end #begin # prog = mythtv # button = Backspace # config = #end begin prog = mythtv button = WindowsKey config = Left repeat = 3 end #begin # prog = mythtv # button = MouseLeftClick # config = #end begin prog = mythtv button = Enter config = Down repeat = 3 end #begin # prog = mythtv # button = MouseRightClick # config = #end begin prog = mythtv button = MouseMenu config = Right repeat = 3 end begin prog = mythtv button = Eject config = Ctrl+E end #begin # prog = mythtv # button = TaskSwitcher # config = #end begin prog = mythtv button = Esc config = Esc end #begin # prog = mythtv # button = AppLauncher # config = #end begin prog = mythtv button = MultiMon config = Enter end begin prog = mythtv button = Mute config = | end begin prog = mythtv button = Vol+ config = ] repeat = 3 end begin prog = mythtv button = Vol- config = [ repeat = 3 end begin prog = mythtv button = Ch+ config = Up repeat = 3 end begin prog = mythtv button = Ch- config = Down repeat = 3
end begin prog = mythtv button = Timer config = F8 end begin prog = mythtv button = 1 config = 1 end begin prog = mythtv button = 2 config = 2 end begin prog = mythtv button = 3 config = 3 end begin prog = mythtv button = 4 config = 4 end begin prog = mythtv button = 5 config = 5 end begin prog = mythtv button = 6 config = 6 end begin prog = mythtv button = 7 config = 7 end begin prog = mythtv button = 8 config = 8 end begin prog = mythtv button = 9 config = 9 end begin prog = mythtv button = 0 config = 0 end begin prog = mythtv button = ShiftTab config = PgUp repeat = 3 end begin prog = mythtv button = Tab config = PgDown repeat = 3
end begin prog = mythtv button = MyMovie config = Ctrl+V end begin prog = mythtv button = MyMusic config = Ctrl+T end begin prog = mythtv button = MyPhoto config = Ctrl+G end begin prog = mythtv button = MyTV config = Ctrl+S end #begin # prog = mythtv # button = Bookmark # config = #end begin prog = mythtv button = Thumbnail config = V end begin prog = mythtv button = AspectRatio config = W end #begin # prog = mythtv # button = FullScreen # config = #end begin prog = mythtv button = MyDVD config = Ctrl+D end begin prog = mythtv button = Menu config = M end begin prog = mythtv button = Caption config = I end #begin # prog = mythtv # button = Language # config = #end
###### END CUSTOM MYTHTV ######
###### BEGIN CUSTOM MPLAYER ######
begin prog = mplayer button = AppExit config = quit end begin prog = mplayer button = Rewind config = seek -10 repeat = 3 end begin prog = mplayer button = FastForward config = seek +10 repeat = 3 end begin prog = mplayer button = PrevChapter config = seek -60 repeat = 3 end begin prog = mplayer button = NextChapter config = seek +60 repeat = 3 end begin prog = mplayer button = Play config = pause end begin prog = mplayer button = Pause config = pause end begin prog = mplayer button = Vol- config = volume -1 repeat = 3 end begin prog = mplayer button = Vol+ config = volume +1 repeat = 3 end begin prog = mplayer button = Mute config = mute end begin prog = mplayer button = SlowMotion config = frame_step repeat = 3 end begin prog = mplayer button = Caption config = osd end
###### END CUSTOM MPLAYER ######
###### BEGIN CUSTOM XINE ###### begin prog = xine button = AppExit config = Quit end begin prog = xine button = Play config = Play end begin prog = xine button = Pause config = Pause end begin prog = xine button = Stop config = Stop end begin prog = xine button = Rewind config = SeekRelative-10 repeat = 3 end begin prog = xine button = FastFoward config = SeekRelative+10 repeat = 3 end begin prog = xine button = PrevChapter config = SeekRelative-60 repeat = 3 end begin prog = xine button = NextChapter config = SeekRelative+60 repeat = 3 end begin prog = xine button = Vol- config = Volume- repeat = 3 end begin prog = xine button = Vol+ config = Volume+ repeat = 3 end begin prog = xine button = Mute config = Mute end begin prog = xine button = AspectRatio config = ToggeAspectRatio end begin prog = xine button = FullScreen config = ToggleFullScreen end begin prog = xine button = Menu config = Menu end begin prog = xine button = MouseKeyboard config = EventUp repeat = 3 end begin prog = xine button = Enter config = EventDown repeat = 3 end begin prog = xine button = WindowsKey config = EventLeft repeat = 3 end begin prog = xine button = MouseMenu config = EventRight repeat = 3 end begin prog = xine button = MultiMon config = EventSelect end begin prog = xine button = Caption config = OSDStreamInfos end begin prog = xine button = 0 config = Number0 end begin prog = xine button = 1 config = Number1 end begin prog = xine button = 2 config = Number2 end begin prog = xine button = 3 config = Number3 end begin prog = xine button = 4 config = Number4 end begin prog = xine button = 5 config = Number5 end begin prog = xine button = 6 config = Number6 end begin prog = xine button = 7 config = Number7 end begin prog = xine button = 8 config = Number8 end begin prog = xine button = 9 config = Number9 end
###### END CUSTOM XINE ######
Hope that gets you started. Enjoy!
|
|
Top |
|
 |
yaplej
|
Posted: Thu Sep 20, 2007 11:01 am |
|
Joined: Tue Feb 14, 2006 12:07 am
Posts: 132
Location:
White City OR
|
Hey this is great I can now get input from the remote! I noticed that in in /etc/lirc/lircd.conf does not have codes for moving north,south,east,west. Take a look at this link if you have not already seen it. I noticed there are codes for InteliMouse
"
Mouse_N 0x690281B7
Mouse_S 0x688291B7
Mouse_W 0x6A8281B7
Mouse_E 0x688A81B7
"
If those existed could they be changed to match the up/down/left/right codes?
"
Up 0x290281B7
Down 0x288291B7
Left 0x2A8281B7
Right 0x288A81B7
"
http://mythtv.org/pipermail/mythtv-user ... 98417.html
|
|
Top |
|
 |
yaplej
|
Posted: Thu Sep 20, 2007 12:05 pm |
|
Joined: Tue Feb 14, 2006 12:07 am
Posts: 132
Location:
White City OR
|
|
Top |
|
 |
larrybpsu
|
Posted: Thu Sep 20, 2007 12:08 pm |
|
Joined: Wed Mar 07, 2007 9:51 am
Posts: 173
Location:
Uniontown, PA
|
yaplej wrote: http://mythtv.org/pipermail/mythtv-users/2005-August/098417.html
That's an interesting patch that I haven't seen on my searches....
I'll see what it's up to, and see if I can integrate it into what I'm working on.
FYI: It's that PATCH that generates those codes, NOT the IR system itself. That's why there's no standard output that lircd.conf can use across the borad.
|
|
Top |
|
 |
yaplej
|
Posted: Thu Sep 20, 2007 4:48 pm |
|
Joined: Tue Feb 14, 2006 12:07 am
Posts: 132
Location:
White City OR
|
|
Top |
|
 |