Author |
Message |
tophee
|
Posted: Fri Oct 06, 2006 11:20 am |
|
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location:
London, UK
|
Hi,
I had some issues with getting my remote control to work with KnoppMyth some time ago and I solved them. And was very pleased. (see here: http://mysettopbox.tv/phpBB2/viewtopic.php?t=10066&highlight= )
Now, after a recent clean install, I put R5D1 on my media centre and didn't bother with the remote, as I was intending to upgrade to .20 (following cecil's instructions). Which I duely did and was very pleased with that.
Now, I decided to get my remote working. I copied all the relevent files over into the relevent places. (See the end of my post I've linked to above.)
As I did this, I modified my lircrc to change the functionality of the coloured keys to use the interactive TV.
I cannot get the remote control to work.
From an X-term window (ALT-X) I can su, type
modprobe lirc_12c lircd irw
and each button press tells me that they are the correct codes (I press the red button and I get a little message telling me I've pressed RED).
In live TV nothing else works. I tried modifying my hardware.conf to Code: LOAD_MODULES=true but this didn't improve anything. So I changed it back.
Anyone know what else should I do to get this to work again?
Thanks in advance.
_________________ Version:R8 Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)
|
|
Top |
|
 |
mad_paddler
|
Posted: Tue Oct 10, 2006 7:58 am |
|
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location:
UK
|
I guess its just a typo in your post, but shouldn't it be modprobe lirc_i2c ?
Lirc seems to be very picky with mythfrontend, might be best to start lirc on boot, run: update-rc.d lirc defaults
then reboot and see if the remote works properly
How did you edit your lircrc file? did you use a windows machine?
|
|
Top |
|
 |
Jynxeh
|
Posted: Thu Oct 12, 2006 4:57 pm |
|
Joined: Thu Feb 16, 2006 11:10 am
Posts: 4
Location:
Southampton, UK
|
I also have the same issue, I think its a new version of lirc thats causing the problem but I haven't had time to investigate.
Any thoughts greatly appreciated.
Its worth noting that the remote does work, just the buttom mapping is wrong, perhaps its looking somewhere else for lircrc?
EDIT:
root@falcon:~# lircd -v
lircd 0.8.1-CVS-pvr150
|
|
Top |
|
 |
tophee
|
Posted: Fri Oct 13, 2006 2:13 am |
|
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location:
London, UK
|
Since I posted this, I haven't had a chance to do anything about it. Won't this weekend - have a wedding to go to. The weekend after is the start of half term (I'm the teacher btw) and I'll sitdown and have a good go at it then. If you get anywhere in the mean time, let me know!
- Comforting to know I'm not the only one.
_________________ Version:R8 Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)
|
|
Top |
|
 |
Jynxeh
|
Posted: Fri Oct 13, 2006 3:24 pm |
|
Joined: Thu Feb 16, 2006 11:10 am
Posts: 4
Location:
Southampton, UK
|
Having checked the version of lirc hasn't changed.
Whats most interesting is all my mplayer mappings work and I can change them to prove it.
Also using irw I can confirm the lirc.conf is being used.
This makes me think the process name 'mythtv' is no longer applicable...
Anyone have any ideas why that might have happened or, even better, what it may have changed to 
|
|
Top |
|
 |
Jynxeh
|
Posted: Wed Oct 18, 2006 3:10 pm |
|
Joined: Thu Feb 16, 2006 11:10 am
Posts: 4
Location:
Southampton, UK
|
FIXT!
Well after some playing I noticed the modules in hardware.conf had changed. I removed the new lirc_pvr_150 module and rebooted (as restarting lirc doesn't seem to yeld good results for me) instantly my back buttons and the reset of my mappings worked! Wonderful I thought - until I realised the number buttons were not working :/
I used irw to check if they were being decoded, but they weren't.
I quit the mythfrontend and did a cat of /dev/input/event1 (your event number maybe different) and piped it to tee and saved the results of a few button presses into different files. I then did a hexdump of each of the files that looks like this :-
root@falcon:~# hexdump remote6.out
0000000 9a5a 4536 ee2c 000b 0001 0004 0001 0000
0000010 9a5a 4536 ee2f 000b 0000 0000 0000 0000
0000020 9a5b 4536 4f3a 0000 0001 0004 0000 0000
0000030 9a5b 4536 4f3c 0000 0000 0000 0000 0000
0000040
root@falcon:~#
I soon worked out that the highlighted section is the remote button code. I then created a new lircd.conf using the new values I found, rebooted, and all was good
Remember you have to follow the steps listed in the guide @ http://mysettopbox.tv/phpBB2/viewtopic.php?t=6089 then just change the modules line in /etc/lirc/hardware.conf to :-
Code: MODULES="lirc_dev" Then replace the lircd.conf with this one:- 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) # # modified by James Taylor (Jynx) # # 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 0x0002 2 0x0003 3 0x0004 4 0x0005 5 0x0006 6 0x0007 7 0x0008 8 0x0009 9 0x000A 0 0x000B Star 0x0184 Hash 0x0172 Red 0x018E Green 0x018F Yellow 0x0190 Blue 0x0191 end codes
end remote
Hope it works for you tophee!
|
|
Top |
|
 |
tophee
|
Posted: Wed Oct 18, 2006 3:24 pm |
|
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location:
London, UK
|
Looks promising. I'll have a look at that this weekend, or early next week.
I'll post how I get on.
Cheers Jynxeh!
_________________ Version:R8 Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)
|
|
Top |
|
 |
mad_paddler
|
Posted: Thu Oct 19, 2006 2:16 am |
|
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location:
UK
|
Nice1 Jynxeh  I'll bookmark this thread ready for when I finally upgrade past R5B7!
Does any1 know why periodically the lircd codes keep changing? Is it different kernel versions?
|
|
Top |
|
 |
mogwa_
|
Posted: Sat Oct 28, 2006 7:59 am |
|
Joined: Mon Mar 20, 2006 9:03 am
Posts: 17
|
Hi,
Im trying to get the same remote working with R5D1 and having a fre issues.
I have setup the remote as per the instructions etc.
when running irw i get all the button presses correctly but when in mythtv i can not get the back button to work.
Please could you help me with this.
thanks
|
|
Top |
|
 |
mogwa_
|
Posted: Sat Oct 28, 2006 8:19 am |
|
Joined: Mon Mar 20, 2006 9:03 am
Posts: 17
|
AAAARRRRRRRRRRRRHHHHHHHHHHHHHHHHH
Annoying!!!
found out that the lircrc file was in the wrong place possibly.
fixed this problem by
linking a few files.
/home/mythtv
lircrc -> /home/mythtv/.lircrc
/home.mythtv/.mythtv/
.lircrc -> /home/mythtv/.lircrc
lircrc -> /home/mythtv/.lircrc
after reading a few things i foind the the .lircrc file can be located in a few places.
I deleted it from all of there places execpt one then linked them all to this one.
|
|
Top |
|
 |