View previous topic :: View next topic |
Author |
Message |
whygentoo Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Jun 2004 Posts: 107 Location: Stockholm
|
Posted: Fri Aug 06, 2004 7:29 am Post subject: Lets hera about your LIRC success! |
|
|
I have tried several kernels to get LIRC up and running without success. Lets hear about your LIRC success. Wich kernel and version of LIRC have worked for you? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mglauche Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/d4cac7603db6b920987fd.gif)
Joined: 25 Apr 2002 Posts: 564 Location: Germany
|
Posted: Fri Aug 06, 2004 8:44 am Post subject: |
|
|
its working perfectly here on my home mp3 player running gentoo with:
mpd
lirc
and lcdproc of course
kernel is: 2.6.5-gentoo-r1
lirc is : lirc-0.7.0_pre3
modules loaded:
lirc_serial 11744 1
lirc_dev 11016 2 lirc_serial
dmegs:
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
you need to disable serial support in the kernel, or compile it as module, otherwise the kernel serial driver blocks the lirc serial one |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
whygentoo Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Jun 2004 Posts: 107 Location: Stockholm
|
Posted: Fri Aug 06, 2004 11:19 am Post subject: |
|
|
mglauche:
Thanks for the reply.
I´m now using 2.4.25-gentoo-r1 and lirc-0.7.0pre3. modprobe lirc_serial load the modules lirc_serial and lirc_dev. My dmesg output is the same as yours. I have tried this setup before with the sam result. Maybe it have worked all the time. But I have never managed to get mode2, irw or irrecord to work. I will try to install other hardware and then VDR. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mglauche Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/d4cac7603db6b920987fd.gif)
Joined: 25 Apr 2002 Posts: 564 Location: Germany
|
Posted: Fri Aug 06, 2004 11:48 am Post subject: |
|
|
I think i had to specify the lirc device directly, i.e. the lirc daemon is running like that:
/usr/sbin/lircd -d /dev/lirc/lirc0
mode2 -d /dev/lirc/lirc0 should work, maybe try some different remote control, and double check your reciever (I'm using a homebuild simple one with some special ir-transciever, and 2-3 additional parts) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
whygentoo Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Jun 2004 Posts: 107 Location: Stockholm
|
Posted: Thu Aug 12, 2004 7:36 am Post subject: |
|
|
Solved solved solved!
It turned out that the supply voltage was to low from the serial interface on the Via EPIA 5000 board. You who are familiar with the serial interface know that it´s possible to get a DC supply voltage around 8-12 volt by connecting to the serial interface pin 5 and 7, thats GND (Signal ground) and RTS (Request to send).
I activated the serial interface by modprobe lirc_serial and the messauring the ouput voltage. I got a 5 volt supply from my Via Epia 5000 board. I then switched board to my VIA ME6000 board. I did a modprobe lirc_serial an messaured the output voltage to my homebrew reciever. I got a 7.3 volt supply. And LIRC was up and running whitout any problem. I don´t know if it´s possble to recomstruct the serial reciver or if a parallell reciver would work with the Epia 5000 board. That is still to investigate. But it seems to me that the supply voltage is to low from the Via Epia 5000 serial interface. This is similar with the problem that some time happend to laptops: that the supply voltage is to low to operate the serial reciver, despite that it only consumes a few milliwatts. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
alkan Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_kif.gif)
Joined: 06 Aug 2004 Posts: 385 Location: kasimlar yaylasi
|
Posted: Thu Aug 12, 2004 4:19 pm Post subject: |
|
|
I am using gentoo-dev-sources (2.6.7-r13) with serial support as module. I compiled lirc (lirc-0.7.0_pre7) with keyword ~x86 since lirc-0.7.0_pre4 wouldn't compile. And it is working perfectly.
I only changed LIRC_OPTS="-d /dev/lirc/lirc0" to LIRC_OPTS="-d /dev/lirc/0" in /etc/conf.d/lircd. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|