LinHES Forums http://forums.linhes.org/ |
|
I broke my lircd config - SOLVED VIA CODE HACK http://forums.linhes.org/viewtopic.php?f=17&t=4743 |
Page 1 of 2 |
Author: | khrusher [ Mon May 30, 2005 7:11 pm ] |
Post subject: | I broke my lircd config - SOLVED VIA CODE HACK |
I've had a working lirc config for over a year. I have an RCA 6-in-1 remote and a homemade receiver. I have a custom lircd.config that was created via irrecord. I also have a custom keymap setup in mythweb with matching .mythtv/lircrd everything was working perfectly. I upgraded to the latest R5A release, installed lirc 0.7.1 and everything was still working perfectly.....but now nothing. I have 'touched' many things since the upgrade and since the remote was working so I dont know what I broke. I did play with mplayer (mythvideo) it was not recieving the IR signals. I played with many things included window manager focus. anything amiss below? any WM focus concerns? mode2 shows lots of output and irrecord seem happy. Code: dmesg | grep lirc lirc_dev: IR Remote Control driver registered, at major 61 caller is init_port+0xb1/0x290 [lirc_serial] [<e10b9a11>] init_port+0xb1/0x290 [lirc_serial] [<e10ba35a>] init_module+0x3a/0xa0 [lirc_serial] lirc_serial: auto-detected active low receiver lirc_dev: lirc_register_plugin: sample_rate: 0 lirc_i2c: chip found @ 0x18 (Hauppauge IR) lirc_dev: lirc_register_plugin: sample_rate: 10 Code: lsmod | grep lirc lirc_i2c 9348 0 lirc_serial 14080 0 lirc_dev 14852 2 lirc_i2c,lirc_serial i2c_core 20224 7 lirc_i2c,msp3400,saa7115,tuner,tveeprom,i2c_algo_bit,i2c_i801 Code: tail -4 /etc/init.d/bootmisc.sh
setserial /dev/ttyS0 uart none modprobe lirc_serial /usr/local/sbin/lircd /usr/local/sbin/lircmd |
Author: | khrusher [ Wed Jun 01, 2005 9:41 am ] |
Post subject: | |
can someone explain to me lirc_serial and lirc_i2c. within my dmesg I see this before ivtv loads: Code: lirc_dev: IR Remote Control driver registered, at major 61 BUG: using smp_processor_id() in preemptible [00000001] code: modprobe/2529 caller is init_port+0xb1/0x290 [lirc_serial] [<c028f15c>] smp_processor_id+0x8c/0xa0 [<e10b9a11>] init_port+0xb1/0x290 [lirc_serial] [<e10ba35a>] init_module+0x3a/0xa0 [lirc_serial] [<c01342a2>] sys_init_module+0x172/0x230 [<c0103017>] syscall_call+0x7/0xb lirc_serial: auto-detected active low receiver lirc_dev: lirc_register_plugin: sample_rate: 0 Linux video capture interface: v1.00 ivtv: ==================== START INIT IVTV ==================== then later I see Code: lirc_i2c: chip found @ 0x18 (Hauppauge IR) ivtv: i2c attach [client=Hauppauge IR,ok] lirc_dev: lirc_register_plugin: sample_rate: 10 The "Hauppauge IR" remote part bothers me. is lirc_i2c the Hauppauge module? do I need it if Im using a serial IR receiver. is this a Red herring? Are people truely not wearing enough hats? grasping at straws I have change /etc/mythtv/modules/ivtv from: Code: alias char-major-81 videodev alias char-major-61 lirc_i2c options msp3400 once=1 simple=1 to Code: alias char-major-81 videodev
alias char-major-61 lirc_serial options msp3400 once=1 simple=1 no joy |
Author: | khrusher [ Sun Jun 05, 2005 6:13 pm ] |
Post subject: | |
Ok, continueing the conversation with myself (fell free to join in) seems that mode2 and irrecord both capture IR signals. iwr doesnt report anything. I was convinced that the i2c stuff was cauisng my pain. I did a Code: apt-get remove lirc then a configure, make and make install of lirc 0.7.1. still no joy!
I'm stuck and I need some help. since lirc has always 'just worked' I dont fully understand how all of the pieces work. |
Author: | shplad [ Sun Jun 05, 2005 9:08 pm ] |
Post subject: | lirc problems |
I've been there. This will answer some (but not all) of your lirc questions. http://www.lirc.org/html/install.html#installing shplad khrusher wrote: Ok, continueing the conversation with myself (fell free to join in) seems that mode2 and irrecord both capture IR signals. iwr doesnt report anything. I was convinced that the i2c stuff was cauisng my pain. I did a
Code: apt-get remove lirc then a configure, make and make install of lirc 0.7.1. still no joy!I'm stuck and I need some help. since lirc has always 'just worked' I dont fully understand how all of the pieces work. |
Author: | nbdwt73 [ Mon Jun 06, 2005 7:45 pm ] |
Post subject: | |
For what it's worth, I had the exact same problem, researched for 4 days on several sites, tried reloading 8 times each with slightly different configurations all to no avail. The core lirc worked (irrecord did see the remote) but I could never get lircd to recognize the system... I also had an issue with mplayer (would not pass ac3 anymore to an external processor) even though I down-reved to mplayer-586 - same as my original R5A12. Finally I just went back to R5A12. I did discover that there seems to be a known issue with the 2.6.11 kernel and lirc 1.7.x (do a search on the error in your syslog (BUG: using smp_processor_id() in preemptible [00000001] code: modprobe). There seems to be a lot of people with serial IR receivers that are having problems getting them to work with this kernel. The following is from my last syslog before I went back to A12... lirc_dev: IR Remote Control driver registered, at major 61 BUG: using smp_processor_id() in preemptible [00000001] code: modprobe/2011 caller is init_port+0xb1/0x290 [lirc_serial] [smp_processor_id+140/160] smp_processor_id+0x8c/0xa0 [pg0+549513745/1067987968] init_port+0xb1/0x290 [lirc_serial] [pg0+549516122/1067987968] init_module+0x3a/0xa0 [lirc_serial] [sys_init_module+370/560] sys_init_module+0x172/0x230 [syscall_call+7/11] syscall_call+0x7/0xb lirc_serial: auto-detected active low receiver lirc_dev: lirc_register_plugin:sample_rate: 0 |
Author: | khrusher [ Tue Jun 07, 2005 5:20 am ] |
Post subject: | |
Thanx, that is my problem. did you downgrade lirc ot are there other fixes |
Author: | nbdwt73 [ Tue Jun 07, 2005 10:44 am ] |
Post subject: | |
I did try a downgrade of lirc but didn't help. I tried both 1.7.0 and 1.7.1 (as well as the flavor delivered in the build). I even found a comment somewhere that implied a problem because of mplayer - so I removed that - no good. I am convinced it is related to a kernel problem... With the number of people having this problem, I am sure there will be a solution soon. Right now I am running R5A12 with lirc 1.7.1, mplayer-586, and Alsa 1.0.8. It runs almost flawlessly (including AC3 passthru from mplayer without changes to my core configuration). |
Author: | khrusher [ Wed Jun 08, 2005 8:40 pm ] |
Post subject: | |
thanks for the posts, where did yo see others having issues, I dug though the lirc forums, not much there? where would /I watch of a solution? do you think the solution is a kernal patch otr a lirc patch? |
Author: | nbdwt73 [ Wed Jun 08, 2005 10:23 pm ] |
Post subject: | |
An error in my last post - I am running LIRC 1.7.0 with R12 - LIRC 1.7.1 has a bug in it - can't get it to work with a serial receiver. Sorry What release are you running? |
Author: | khrusher [ Thu Jun 09, 2005 4:42 am ] |
Post subject: | |
are tou sure those versions correct? im have 0.7.1 Code: root@mythtv:/usr/src # lircd -v
lircd 0.7.1 maybe ill try 0.7.0 cecil, which version do you use on the distro? |
Author: | khrusher [ Thu Jun 09, 2005 8:41 am ] |
Post subject: | |
tried 0.7.0...as nbdwt73 stated....no joy! ![]() |
Author: | khrusher [ Thu Jun 09, 2005 9:31 am ] |
Post subject: | |
should I be surprized that I'm getting SMP errors on a single cpu box? did I read somewhere that the kernel is compiled w/ smp support. is that causing my pain? |
Author: | Xsecrets [ Thu Jun 09, 2005 9:53 am ] |
Post subject: | |
an smp kernel on a single processor box will spit out one or two error messages on boot saying it only found one cpu, but other than that it should not cause any errors. |
Author: | khrusher [ Mon Jun 13, 2005 7:22 am ] |
Post subject: | |
Well, no help on the lirc lists, not much help of any kind over there...most posts remain without a single response. We knoppmythers are pertty lucky we have this active forum. my question is... what version do I need to rollback to to have a functioning remote via lirc_serial. I moved from R4V5 with a working remote to R5A16 badness. |
Author: | nbdwt73 [ Mon Jun 13, 2005 8:35 am ] |
Post subject: | |
Sorry for the delay khrusher - I took a few days off - no access (no TV, cable, email, Myth, etc...). I found a post somewhere about a problem with a serial IR Blaster that suggested something to try (in my office and don't have access to my box so I can't give you the specifics now). I am going to rebuild my test machine this week and try it. They, too, were having problems with 1.7.1 and down reved to an older LIRC release. They also tried a different sequence of events (and the moon was full and stood on one foot while chanting..). I will try it this week and report back. As posted earlier, I can attest to R5A12 working well and somewhat solid. Another requirement I have is mplayer passing AC3 thru spdif. I was never able to get that working with R5A16 either (one quirk is that I am using a SB 5.1 - that may be part of the problem with R5A16 since ALSA is somewhat particular with that card.). |
Page 1 of 2 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |