Author |
Message |
declanh
|
Posted: Sun Sep 18, 2005 4:55 am |
|
Joined: Wed Aug 24, 2005 3:44 am
Posts: 210
|
with knoppmyth r5a16 should this remote work without 'tweaks'
I've searched the forums so far and my conclusions lead me to belive i need to downgrade lircd ? (esp http://mysettopbox.tv/phpBB2/viewtopic. ... light=a415)
Is this correct ? Do I need to downgrade from 0.7.1 to 0.7.0
with the appropriate lirc.conf for this remote in getting the numeric keys, arrow keys and 'ok' button working.
By amazing fluke the volume buttons appear to control the volume on my phillips tv !
I really need to have an exit button at least to get reasonale functionality.
is this 'partial' working consistent with the need to downgrade lirc or is there something else i need to be looking at.
thanks in advance.
ps - I really appreciate the help i have recieved here and plan to write up my mistakes and solutions thus far hopefully to assist others.
|
|
Top |
|
 |
declanh
|
Posted: Mon Sep 19, 2005 5:04 pm |
|
Joined: Wed Aug 24, 2005 3:44 am
Posts: 210
|
Well, i had alot of fun  with this over the last two days....
I've uninstalled lirc 0.7.1
installed 0.7.0
No better
so i then installed lirc 0.7.2
no better either ...
it seems with any of these versions i get the same effect
I get a remote which works with the numeric and arrow keys but back button and others wont work!
I've tried just about every suggestion in the forums and still i cant get it working ..
I've used an a415 conf file an place it in /etc/lirc/lircd.conf
- are there more than one type of a415 (us and uk?)
id even have a bash at rolling my own file if i could get irrecord to work ..
its failing to open the device
|
|
Top |
|
 |
mad_paddler
|
Posted: Tue Sep 20, 2005 10:03 am |
|
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location:
UK
|
Updated for R5A22
I had the same problem, iirc it registers the remote as an event thingy (keyboard), not a lirc thingy (sort of linux noob) Which is why some of the keys work. I got mine completely working like so:
Step 0 - Work out if your problem really was the same as mine!
1. as root run in a terminal: cat /dev/input/event0
2. press the back key on the remote and see if it displays any gibberish
3. repeat steps 1-2 for event1 - 3
4. remember which eventX came up with the gibberish when u pressed the back key! (if none of them do it may be because u have too many keyboard things plugged in and need to create an event4,5,6,...?
Step 1 - Setup lirc
vi /etc/lirc/lircd.conf
and replace it with this:
Code: # Please make this file available to others # by sending it to <lirc@bartelmus.de> # # this config file was automatically generated # using lirc-0.7.2pre1(devinput) on Sat Jun 18 13:18:13 2005 # # contributed by Paul Grigg (mad_paddler) # # brand: cx88.cfg # model no. of remote control: Hauppauge silver remote with # Connexant chipset Nova-T # devices being controlled by this remote: #
begin remote
name cx88.cfg bits 16 eps 30 aeps 100
one 0 0 zero 0 0 pre_data_bits 16 pre_data 0x8001 gap 132900 toggle_bit 0
begin codes Go 0x0161 Power 0x0074 TV 0x0179 Videos 0x0189 Music 0x0188 Pictures 0x016F Guide 0x016D Radio 0x0181 UP 0x0067 DOWN 0x006C LEFT 0x0069 RIGHT 0x006A OK 0x001C Back 0x00AE Menu 0x008B Vol+ 0x0073 Vol- 0x0072 CH+ 0x0192 CH- 0x0193 Prev-Ch 0x019C Mute 0x0071 Rec 0x00A7 Stop 0x0080 FRW 0x00A8 Play 0x00CF FFW 0x00D0 Skip-Back 0x00A5 Pause 0x0077 Skip-For 0x00A3 1 0x004F 2 0x0050 3 0x0051 4 0x004B 5 0x004C 6 0x004D 7 0x0047 8 0x0048 9 0x0049 0 0x0052 Star 0x0184 Hash 0x0172 Red 0x018E Green 0x018F Yellow 0x0190 Blue 0x0191 end codes
end remote
vi /etc/lirc/hardware.conf change the following lines: DEVICE="/dev/input/eventX" DRIVER="dev/input" Replace X with what you found out earlier in step 0 restart lirc /etc/init.d/lirc restart Step 2 - Testing! now, as root run irw in a terminal press some keys on the remote, it should come up what key you pressed!! Hopefully you can work the rest out  Applogies if some of this is incoherent, howto's are not my strong point  Step 3 - Get ALL the buttons working  replace /home/mythtv/.lircrc with the file below Through mythweb, setup the jumpoints with the F-keys from the file below. Code: # ~/.mythtv/lircrc # # MythTV native LIRC config file for # the Hauppauge PVR 150 silver remote # # Modified from Jarod Wilson's which came from Jeff Campbell's # and Brad Templeton's # Modified still further by Robert Jones
# Here we have the jump point commands. They only work if you have # defined function keys for these jump points. For me the most # common command is the menu of recordings, so I put that on "videos" # even though that's counter-intuitive
begin prog = mythtv button = TV repeat = 3 config = F1 end
begin prog = mythtv button = Videos repeat = 3 config = F2 end
# Not yet defined begin prog = mythtv button = Music repeat = 3 config = F3 end
begin prog = mythtv button = Pictures repeat = 3 config = F4 end
begin prog = mythtv button = Guide repeat = 3 config = F5 end
begin prog = mythtv button = Radio repeat = 3 config = F6 end
begin prog = mythtv button = UP repeat = 3 config = Up end
begin prog = mythtv button = DOWN repeat = 3 config = Down end
begin prog = mythtv button = LEFT repeat = 3 config = Left end
begin prog = mythtv button = RIGHT repeat = 3 config = Right end
# Channel Up begin prog = mythtv button = CH+ repeat = 3 config = Up end
# Channel Down begin prog = mythtv button = CH- repeat = 3 config = Down end
# OK/Select begin prog = mythtv button = OK config = Space end
# Play begin prog = mythtv button = Play config = Return end
# Stop begin prog = mythtv button = Stop config = I end
# Escape/Exit/Back begin prog = mythtv button = Back config = Esc end
# Power Off/Exit begin prog = mythtv button = Power config = Esc end
# Pause begin prog = mythtv button = Pause repeat = 3 config = P end
# Mute begin prog = mythtv button = Mute repeat = 3 config = | end
# Fast forward (30 sec default) begin prog = mythtv button = FFW repeat = 3 config = > end
# Rewind (10 sec default) begin prog = mythtv button = FRW repeat = 3 config = < end
# Skip forward (10 min default) begin prog = mythtv button = Skip-For repeat = 3 config = End end
# Skip backward (10 min default) begin prog = mythtv button = Skip-Back repeat = 3 config = Home end
# Record begin prog = mythtv button = Record repeat = 3 config = R end
# Delete begin prog = mythtv button = Red repeat = 3 config = D end
# Decrease play speed begin prog = mythtv button = Green repeat = 3 config = J end
# Display EPG while in live TV, # View selected show while in EPG begin prog = mythtv button = Menu repeat = 3 config = M end
# Scroll up begin prog = mythtv button = Vol+ repeat = 3 config = F11 end
# Scroll down begin prog = mythtv button = Vol- repeat = 3 config = F10 end
# Bring up OSD info begin prog = mythtv button = Go repeat = 3 config = I end
# Change display aspect ratio begin prog = mythtv button = Prev-Ch repeat = 3 config = W end
# double speed watch begin prog = mythtv button = Yellow repeat = 3 config = J end
# change tuners begin prog = mythtv button = Hash repeat = 3 config = Y end
# Bring up Time stretch begin prog = mythtv button = Blue repeat = 3 config = A end
# Numbers 0-9
begin prog = mythtv button = 0 repeat = 3 config = 0 end
begin prog = mythtv button = 1 repeat = 3 config = 1 end
begin prog = mythtv button = 2 repeat = 3 config = 2 end
begin prog = mythtv button = 3 repeat = 3 config = 3 end
begin prog = mythtv button = 4 repeat = 3 config = 4 end
begin prog = mythtv button = 5 repeat = 3 config = 5 end
begin prog = mythtv button = 6 repeat = 3 config = 6 end
begin prog = mythtv button = 7 repeat = 3 config = 7 end
begin prog = mythtv button = 8 repeat = 3 config = 8 end
begin prog = mythtv button = 9 repeat = 3 config = 9 end
### MPlayer lirc setup
# Show OSD begin prog = mplayer button = Menu repeat = 3 config = osd end
# Pause playback begin prog = mplayer button = Pause repeat = 3 config = pause end
# Skip ahead a minute if playing # If paused, resume playing begin prog = mplayer button = Play repeat = 3 config = seek +1 end
# Stop playback and exit begin prog = mplayer button = Stop repeat = 3 config = quit end
# Mute begin prog = mplayer button = Mute repeat = 3 config = mute end
# Seek back 10 seconds begin prog = mplayer button = FRW repeat = 3 config = seek -10 end
# Seek forward 30 seconds begin prog = mplayer button = FFW repeat = 3 config = seek +30 end
# Quit begin prog = mplayer button = Back repeat = 3 config = quit end
# Seek forward 10 minutes begin prog = mplayer button = Skip-For repeat = 3 config = seek +600 end
# Seek backward 10 minutes begin prog = mplayer button = Skip-Back repeat = 3 config = seek -600 end
# Toggle full-screen begin prog = mplayer button = FULL repeat = 3 config = vo_fullscreen end
### Xine lirc setup
begin prog = xine button = Play repeat = 3 config = Play end
begin prog = xine button = Stop repeat = 3 config = Stop end
begin prog = xine button = Power repeat = 3 config = Quit end
begin prog = xine button = Pause repeat = 3 config = Pause end
begin prog = xine button = CH+ repeat = 3 config = EventUp end
begin prog = xine button = CH- repeat = 3 config = EventDown end
begin prog = xine button = Vol- repeat = 3 config = EventLeft end
begin prog = xine button = Vol+ repeat = 3 config = EventRight end
begin prog = xine button = OK repeat = 3 config = EventSelect end
begin prog = xine button = Back repeat = 3 config = Menu end
begin prog = xine button = FFW repeat = 3 #config = SpeedFaster config = SeekRelative+60 end
begin prog = xine button = FRW repeat = 3 #config = SpeedSlower config = SeekRelative-60 end
begin prog = xine button = FULL repeat = 3 config = Volume+ end
begin prog = xine button = BLANK repeat = 3 config = Volume- end
begin prog = xine button = Mute repeat = 3 config = Mute end
begin prog = xine button = Menu repeat = 3 config = RootMenu end
begin prog = xine button = SKIP repeat = 3 config = EventNext end
begin prog = xine button = REPLAY repeat = 3 config = EventPrior end
begin prog = xine button = Go repeat = 3 config = OSDStreamInfos end
begin prog = xine button = Red repeat = 3 config = Quit end
Last edited by mad_paddler on Sun Oct 23, 2005 1:40 pm, edited 1 time in total.
|
|
Top |
|
 |
declanh
|
Posted: Tue Sep 20, 2005 3:30 pm |
|
Joined: Wed Aug 24, 2005 3:44 am
Posts: 210
|
holy moley mad_paddler -
not exactly a trivial fix then ... might leave that till the weekend when i can try it without rushing it... but its reassuring to know that i have a way forward
many thanks in advance mad_paddler - youre a star!
|
|
Top |
|
 |
declanh
|
Posted: Wed Sep 21, 2005 2:40 pm |
|
Joined: Wed Aug 24, 2005 3:44 am
Posts: 210
|
Great news to report Mad Paddler - I got it working...
I pretty much followed your instructions except i did not patch the kernel...
I looked at the file to be patched and it was clear the patch would fail as the line numbers did not match up - so i tried it without it
it was /dev/input/event2 also btw...
Small amount of editing to the lircrc file to comment out the volume keys (ironically the hauppauge remote seems to control the volume of my tv!)
Once again I'm dead chuffed and glad you took the time to post this... mythv is sooo much more pleasant to use with the remote.
|
|
Top |
|
 |
nermander
|
Posted: Sat Oct 01, 2005 11:29 am |
|
Joined: Tue Sep 27, 2005 12:32 pm
Posts: 104
|
I've been trying to follow this recepie but I'm stuck at the end of it...
Running irw as the mythtv user shows the correct keys, but in mythtv it still works as before (i.e. only some keys work).
I did NOT reinstall lirc, that seemed unecessary since I could run lirc-reconfig.sh (it listed Linux event device) and then change device in hardware.conf. But is that the problem? (I can't imagine how it could be since I get the right keys from irw?)
I did however have to stop lircmd from starting (when it was running the keys did not work).
I was a bit puzzled by the program name, because in /home/mythtv/.lircrc the program name is mythtv, but when running ps the only thing running is mythfrontend... But changing mythtv to mythfrontend did not change much.
(Note: The patch is not needed in kernel 2.6.13, all the keys are included there)
|
|
Top |
|
 |
nermander
|
Posted: Sun Oct 02, 2005 6:39 am |
|
Joined: Tue Sep 27, 2005 12:32 pm
Posts: 104
|
*hitting my head against the wall*
Make a huge note: When changing /home/mythtv/.lircrc, ALWAYS run myhtfronted from an Xterm to look for errors.
My mouse stopped working suddenly so I had hard problems getting en Xterm up, but after changing the mouse (physically) I got it working and could see that I hade made a typo in lircrc. (Obviously my mouse died for some reason.)
Now after correcting some typos the remote works fine.
|
|
Top |
|
 |
mad_paddler
|
Posted: Mon Oct 03, 2005 5:11 am |
|
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location:
UK
|
Glad it worked in the end
Just as a note, if you edit the lircrc file to add extra stuff please post it! I managed to get most of the stuff working for mythtv, but couldn't be arsed to do all of mplayer and xine 
|
|
Top |
|
 |
declanh
|
Posted: Mon Oct 03, 2005 5:37 am |
|
Joined: Wed Aug 24, 2005 3:44 am
Posts: 210
|
mad_paddler wrote: Glad it worked in the end  Just as a note, if you edit the lircrc file to add extra stuff please post it! I managed to get most of the stuff working for mythtv, but couldn't be arsed to do all of mplayer and xine 
That config file you posted seemed to work with Xine for me.
|
|
Top |
|
 |
mad_paddler
|
Posted: Mon Oct 03, 2005 8:07 am |
|
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location:
UK
|
Yeah it works in xine, but some buttons that do stuff in mythtv dont do anything in xine. I can't think of anything specific, but I sometimes press keys expecting them to do something, then realizing I'm using either Xine or mplayer 
|
|
Top |
|
 |
parkinpants
|
Posted: Wed Oct 12, 2005 9:54 am |
|
Joined: Sun Jul 24, 2005 4:15 pm
Posts: 170
|
Hi,
Ok I got the remote working using a new install - didn't try Nermanders reconfigure solution. I implemented the notes on here to the full guide as suggested:
http://mysettopbox.tv/phpBB2/viewtopic. ... 6007#36007
Any ideas on how to get these keys to work: POWER (sudo halt), MUSIC, VIDEO etc shortcuts. I can't think of any specific use for the colour keys at the moment.
|
|
Top |
|
 |
lookyh
|
Posted: Wed Nov 09, 2005 8:53 am |
|
Joined: Wed Nov 09, 2005 8:01 am
Posts: 4
|
Hi,
Im using a Pundit-S with 2X Nova-t cards (Conexant chip set) and have performed a clean install of R5A22 - everything work perfectly except for the remote - I have followed this guide but I don't really get passed square one as I receive nothing on the /dev/input/events 0 - 3
here is the output of
# cat /proc/bus/input/devices
I: Bus=0001 Vendor=0070 Product=9002 Version=0001
N: Name="cx88 IR (Hauppauge Nova-T DVB-T"
P: Phys=pci-0000:00:0e.2/ir0
H: Handlers=kbd event2
B: EV=100003
B: KEY=100fc312 214a802 0 0 0 0 18000 41a8 4801 9e1680 7bb80 0 10000000
I: Bus=0001 Vendor=0070 Product=9002 Version=0001
N: Name="cx88 IR (Hauppauge Nova-T DVB-T"
P: Phys=pci-0000:00:13.2/ir0
H: Handlers=kbd event3
B: EV=100003
B: KEY=100fc312 214a802 0 0 0 0 18000 41a8 4801 9e1680 7bb80 0 10000000
I have seen the remote work (limited buttons) on R5A16 but the DVB picture wasn't working hence the new install - so I know the various batteries and plugs and remotes are in working order
All I can assume is that there is some sort of module conflict which stops the events working
Any suggest as to the possible cause would be gratefully received
|
|
Top |
|
 |
mad_paddler
|
Posted: Wed Nov 09, 2005 11:21 am |
|
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location:
UK
|
What you've pasted looks like a better way of determining which event to use anyway. You could follow the rest of the guide using event2 and see if it works?
Have you got a reciever plugged into each card, or just one?
Silly question, but are you 100% sure the batteries are OK and the IR reciever is plugged in properly? On mine I only have to wiggle the IR reciever slightly and it pops out enough not to work.
|
|
Top |
|
 |
nermander
|
Posted: Thu Nov 10, 2005 1:26 am |
|
Joined: Tue Sep 27, 2005 12:32 pm
Posts: 104
|
One important addition to this thread: The eventX number will change depending on what things you have connected!
So if you set up your machine with the keyboard connected and then reboot without the keyboard you will get enother event number.
I've solved this by always booting with keyboard and mouse disconnected and connect them once the kernel has loaded the module.
|
|
Top |
|
 |
lookyh
|
Posted: Thu Nov 10, 2005 3:02 am |
|
Joined: Wed Nov 09, 2005 8:01 am
Posts: 4
|
Hi
Thanks for the replies
I have tried every combination - One IR receiver in one card then the other, obviously with a reboot in between. Both IR's in both cards. I have even removed one card and tried it that way - still no event traffic.
I have purchased new batteries this morning as a double check - but will be amazed if both sets of batteries supplied are flat !! the plug is in firmly the machine is on a desk at present so easy access to the rear to make sure its located correctly.
I have followed the guide to it's conclusion but with no success.
Im now pursuing a straight CX88 route and taking LIRC out of the equation this will require a kernel recompile as i believe the driver needs to be compiled into the Kernel for its built IR event mapping to work.
If any one has any other suggestions as to the cause I would be grateful
|
|
Top |
|
 |