Author |
Message |
khrusher
|
Posted: Mon May 30, 2005 7:11 pm |
|
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location:
Groton, MA
|
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
_________________ R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA
Last edited by khrusher on Thu Jun 16, 2005 6:45 pm, edited 1 time in total.
|
|
Top |
|
 |
khrusher
|
Posted: Wed Jun 01, 2005 9:41 am |
|
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location:
Groton, MA
|
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
_________________ R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA
|
|
Top |
|
 |
khrusher
|
Posted: Sun Jun 05, 2005 6:13 pm |
|
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location:
Groton, MA
|
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.
_________________ R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA
|
|
Top |
|
 |
shplad
|
Posted: Sun Jun 05, 2005 9:08 pm |
|
Joined: Sun Nov 14, 2004 10:04 am
Posts: 263
Location:
Toronto, Canada
|
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.
_________________ KnoppMyth R5C7
Abit NF7-S
Athlon XP Mobile 2500+
Hauppauge PVR-150 + PVR-150MCE
nVidia Geforce 6600GT
Samsung Spinpoint SATA 120GB
NEC ND-3520A DVD
Seasonic Super Tornado 350
BTC 9019URF Wireless Kbd. w. Joystick
|
|
Top |
|
 |
nbdwt73
|
Posted: Mon Jun 06, 2005 7:45 pm |
|
Joined: Wed Jan 07, 2004 12:14 pm
Posts: 434
Location:
Charlotte, NC
|
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
|
|
Top |
|
 |
khrusher
|
Posted: Tue Jun 07, 2005 5:20 am |
|
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location:
Groton, MA
|
Thanx, that is my problem. did you downgrade lirc ot are there other fixes
_________________ R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA
|
|
Top |
|
 |
nbdwt73
|
Posted: Tue Jun 07, 2005 10:44 am |
|
Joined: Wed Jan 07, 2004 12:14 pm
Posts: 434
Location:
Charlotte, NC
|
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).
|
|
Top |
|
 |
khrusher
|
Posted: Wed Jun 08, 2005 8:40 pm |
|
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location:
Groton, MA
|
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?
_________________ R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA
|
|
Top |
|
 |
nbdwt73
|
Posted: Wed Jun 08, 2005 10:23 pm |
|
Joined: Wed Jan 07, 2004 12:14 pm
Posts: 434
Location:
Charlotte, NC
|
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?
|
|
Top |
|
 |
khrusher
|
Posted: Thu Jun 09, 2005 4:42 am |
|
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location:
Groton, MA
|
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?
_________________ R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA
|
|
Top |
|
 |
khrusher
|
Posted: Thu Jun 09, 2005 8:41 am |
|
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location:
Groton, MA
|
tried 0.7.0...as nbdwt73 stated....no joy! 
_________________ R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA
|
|
Top |
|
 |
khrusher
|
Posted: Thu Jun 09, 2005 9:31 am |
|
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location:
Groton, MA
|
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?
_________________ R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA
|
|
Top |
|
 |
Xsecrets
|
Posted: Thu Jun 09, 2005 9:53 am |
|
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location:
Nashville, TN
|
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.
_________________ Have a question search the forum and have a look at the KnoppMythWiki.
Xsecrets
|
|
Top |
|
 |
khrusher
|
Posted: Mon Jun 13, 2005 7:22 am |
|
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location:
Groton, MA
|
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.
_________________ R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA
|
|
Top |
|
 |
nbdwt73
|
Posted: Mon Jun 13, 2005 8:35 am |
|
Joined: Wed Jan 07, 2004 12:14 pm
Posts: 434
Location:
Charlotte, NC
|
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.).
|
|
Top |
|
 |