LinHES Forums http://forum.linhes.org/ |
|
lirc works, but not with knoppmyth R5E50? {FINALLY FIXED} http://forum.linhes.org/viewtopic.php?f=2&t=13852 |
Page 1 of 2 |
Author: | kfrancek [ Fri Jan 26, 2007 11:49 am ] |
Post subject: | lirc works, but not with knoppmyth R5E50? {FINALLY FIXED} |
I have setup a homebrew ir reciever and completed the lircrc file and lircd.conf and nothing works with myth. I have also made sure that the hardware.conf file is correct. I have ran irw and it works as it is supposed to. I have used mode2 and it also spits out code. For some reason it works as lirc, but nothing when it comes to knoppmyth. Anyone else seen this. I have tried everything. Please help ![]() |
Author: | kfrancek [ Sat Jan 27, 2007 9:06 am ] |
Post subject: | |
anyone? I have tried and tried. This has to be something simple. Does anyone have a remote working with R5E50? |
Author: | neutron68 [ Sat Jan 27, 2007 9:32 am ] |
Post subject: | I got it working |
kfrancek wrote: anyone? I have tried and tried. This has to be something simple. Does anyone have a remote working with R5E50?
I've got the same setup working with R5E50. I had the remote working fine in the previous 2 releases of Knoppmyth and then after my upgrade to R5E50, it stopped. I think it was because I restored a system file I shouldn't have during the upgrade. Are you doing a new install from a blank hard drive or an upgrade? That will determine what direction to send you. During my fix process, several KnoppMyth gurus gave me ideas to try to troubleshoot the problems. You can try them too. You can read my saga of getting it fixed in this thread: edit: fixed link http://mysettopbox.tv/phpBB2/viewtopic.php?t=13455&start=0&postdays=0&postorder=asc&highlight= Eric |
Author: | bruce_s01 [ Sat Jan 27, 2007 9:54 am ] |
Post subject: | |
If mode2 is working OK, irw is returning the labels for your remote and you've set up your hardware .conf file, it sounds like some kind mismatch between your /etc/lircd.conf and your /home/mythtv/.mythtv/lircrc. For instance, from my system, some key definitions from lircd.conf: Code: OK 0x001C and from lircrc:Back 0x00AE Menu 0x008B VolumeUp 0x0073 VolumeDown 0x0072 Code: begin
prog = mythtv # Middle button on the diamond button = OK config = Return end begin prog = mythtv button = Back config = Esc end begin prog = mythtv button = Menu config = M end begin prog = mythtv button = VolumeUp repeat = 3 config = F11 end begin prog = mythtv # Use it as a volume key button = VolumeDown repeat = 3 config = F10 end These, of course, are not the full files. Bruce S. |
Author: | kfrancek [ Sat Jan 27, 2007 10:48 am ] |
Post subject: | |
irw does return the proper file references Code: 0000000000f310ce 00 1 RCA-DSS 0000000000f320cd 00 2 RCA-DSS 0000000000f330cc 00 3 RCA-DSS 0000000000f330cc 01 3 RCA-DSS 0000000000f340cb 00 4 RCA-DSS 0000000000f350ca 00 5 RCA-DSS 0000000000f350ca 01 5 RCA-DSS 0000000000f360c9 00 6 RCA-DSS 0000000000f360c9 01 6 RCA-DSS and some of the the lircrc file Code: 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 the lircd.conf file Code: begin remote name RCA-DSS bits 24 flags SPACE_ENC|CONST_LENGTH eps 30 aeps 100 header 4002 4009 one 470 2018 zero 470 1031 ptrail 466 gap 65886 toggle_bit 0 begin codes CH+ 0x0000000000F2D0D2 CH- 0x0000000000F2C0D3 Vol+ 0x0000000000F2F0D0 Vol- 0x0000000000F2E0D1 Up 0x0000000000F590A6 Down 0x0000000000F580A7 Left 0x0000000000F560A9 Right 0x0000000000F570A8 Enter 0x0000000000FF400B GoBack 0x0000000000F060F9 Menu 0x0000000000F080F7 1 0x0000000000F310CE 2 0x0000000000F320CD 3 0x0000000000F330CC 4 0x0000000000F340CB 5 0x0000000000F350CA 6 0x0000000000F360C9 7 0x0000000000F370C8 8 0x0000000000F380C7 9 0x0000000000F390C6 0 0x0000000000F300CF Reverse 0x0000000000F1D0E2 Play 0x0000000000F150EA Forward 0x0000000000F1C0E3 Stop 0x0000000000F1F0E0 Record 0x0000000000F170E8 Pause 0x0000000000F190E6 Mute 0x0000000000F3F0C0 Guide 0x0000000000F1A0E5 Info 0x0000000000F3C0C3 end codes end remote Code: lsmod root@mythtv:~# lsmod | grep lirc lirc_serial 16128 0 lirc_dev 16628 1 lirc_serial root@mythtv:~# dmesg Code: root@mythtv:/etc# dmesg | grep lirc
lirc_dev: IR Remote Control driver registered, at major 61 lirc_serial: auto-detected active low receiver lirc_dev: lirc_register_plugin: sample_rate: 0 root@mythtv:/etc# This is driving me crazy. It is a fresh install and I cannot get this to interact with mythtv. please,please someone. |
Author: | hurnik [ Sat Jan 27, 2007 8:01 pm ] |
Post subject: | |
You and me both. And I even got a Tier1 streamzap remote just for this. I think I'm going to pull the hard drive tonight and put a new one in and try Mythdora at this point. |
Author: | kfrancek [ Sun Jan 28, 2007 9:13 am ] |
Post subject: | |
I tried mythdora and had issues with sound and I use a pchdtv5500 and it would not allow me to use both analog and hd. This is driving me crazy too. Mythdora has a better GUI though. I really tried to get that to work too. |
Author: | tjc [ Sun Jan 28, 2007 10:32 am ] |
Post subject: | |
If irw is working with no arguments and seeing all the button presses, then mythfrontend really ought to be working. Check your settings table and make sure that LircKeyPressedApp is not set (i.e is empty). Are you restarting the frontend after making changes and restarting the lircd daemon? If you do: Code: tail -f /var/log/syslog while restarting the frontend do you see messages like this? Code: Jan 27 11:12:07 black2 lircd-0.8.1-CVS-pvr150[2836]: accepted new client on /dev/lircd
You should also see a message like that when you start up irw... OBTW - If you've edited either of those files from MS-Windows it can do bad things to them. You may need to filter extra whitespace characters (especially CR, VT, and SUB) out of them before they're usable. I posted a bit of shell script to do that quite a while back... |
Author: | hurnik [ Sun Jan 28, 2007 8:55 pm ] |
Post subject: | |
I got it to work! Basically because of the myth database errors I was getting, I figured might as well reinstall. And it worked. The only thing I can think of is that I had installed Myth originally with the PVR-150 MCE remote. I'm not sure why the reconfig script does not properly set things up? Or for some really odd and bizarre reason you have to have the Streamzap connected at the time you INSTALL Myth? But that seems to have fixed it. But not sure how will this bodes if I need to ever change it again and re-run the config script. |
Author: | kfrancek [ Mon Jan 29, 2007 6:47 am ] |
Post subject: | |
Thanks everyone. I really dont want to re-install everything as I have QAM channels.conf and so many other things that took me weeks to do. I may have to just go ahead and do this though. I thought that I chose the 6-in-1 remote which should be homebrew serial, but that was some time ago. Thanks again everyone, I will keep trying. |
Author: | hurnik [ Mon Jan 29, 2007 5:28 pm ] |
Post subject: | |
That's one thing I've been trying to get from eveyone is how to backup the channels.conf It seems that once you scan for channels it goes into the database, so I have no idea how to then export that information into JUST a channels.conf file |
Author: | tjc [ Mon Jan 29, 2007 7:51 pm ] |
Post subject: | |
I think that the contents of the channel, dtv_multiplex, and dtv_privatetypes tables should do it, but that's just a SWAG. |
Author: | lsteingr [ Tue Jan 30, 2007 3:58 pm ] |
Post subject: | homebrew ir reciever on the com1-resolved |
I have the same problem with the homebrew ir reciever on the com1-port , but after reading this post i can fix the problem. I my case the problem is a bad file "lircr" in /home/mythtv/.mythtv In the past I use the WinSCP-program on a WinXP-client to view/edit the files - maybe i get same file corruptions. The error shows in the line "removed client" after starting the mythfronted in /var/log/syslog Jan 30 19:25:40 v4fe1 lircd-0.8.1-CVS-pvr150[2729]: removed client Jan 30 19:26:46 v4fe1 lircd-0.8.1-CVS-pvr150[2729]: caught signal Jan 30 19:26:51 v4fe1 lircd-0.8.1-CVS-pvr150[2747]: lircd(all) ready Jan 30 19:32:15 v4fe1 lircd-0.8.1-CVS-pvr150[2747]: accepted new client on /dev/lircd Jan 30 19:32:15 v4fe1 lircd-0.8.1-CVS-pvr150[2747]: removed client The irw and irrecord running fine - but the frontend cannot use the ir-port. The main point for use the knoppmyth R5E50 with the homebrew-ir on com1-port in a frontend-only installation, is 1) to select the option 34)rca-6n1 in the lirc-reconfig.sh 2) copy your lircd.conf for you hardware modell to /etc/lirc/ 3) make sure, that the key names in /etc/lirc/lircd.conf and /home/mythtv/.mythtv/lircr are the same (Case Sensitive) 4) NO kernel compilation need, the lirc_serial is in R5E50 already included |
Author: | lsteingr [ Wed Jan 31, 2007 3:12 pm ] |
Post subject: | software bug? in /usr/local/share/knoppmyth/remotes/rca-6n1/ |
Hi, I found that the file lircrc in the directory of R5E50 /usr/local/share/knoppmyth/remotes/rca-6n1/etc have a DOS format, thats why the frontend CANNOT USE this file! If i open the file in nano editor i get a message Read 440 lines (Converted from DOS format). Thats why the /usr/local/bin# lirc-reconfig.sh for a homebrew ir on com1 NOT work. The fix is to use a different file and edit this file for you ir-hardware. |
Author: | kfrancek [ Thu Feb 01, 2007 8:27 am ] |
Post subject: | |
I used irrecord to make the lircd.conf file. so there was not any dos problems. believe me I wish it was. I cannot figure this out. Oh and i tried to install a fresh copy and it did not work either, so this rules out if i picked the 6-in-1 in the begining. Well i have web remote for now. |
Page 1 of 2 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |