Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Lets hera about your LIRC success!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
whygentoo
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2004
Posts: 107
Location: Stockholm

PostPosted: Fri Aug 06, 2004 7:29 am    Post subject: Lets hera about your LIRC success! Reply with quote

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
View user's profile Send private message
mglauche
Retired Dev
Retired Dev


Joined: 25 Apr 2002
Posts: 564
Location: Germany

PostPosted: Fri Aug 06, 2004 8:44 am    Post subject: Reply with quote

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
View user's profile Send private message
whygentoo
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2004
Posts: 107
Location: Stockholm

PostPosted: Fri Aug 06, 2004 11:19 am    Post subject: Reply with quote

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
View user's profile Send private message
mglauche
Retired Dev
Retired Dev


Joined: 25 Apr 2002
Posts: 564
Location: Germany

PostPosted: Fri Aug 06, 2004 11:48 am    Post subject: Reply with quote

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
View user's profile Send private message
whygentoo
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2004
Posts: 107
Location: Stockholm

PostPosted: Thu Aug 12, 2004 7:36 am    Post subject: Reply with quote

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
View user's profile Send private message
alkan
Guru
Guru


Joined: 06 Aug 2004
Posts: 385
Location: kasimlar yaylasi

PostPosted: Thu Aug 12, 2004 4:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum