Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[TIP] Lirc dont work -- no error, serial TSOP1738 receiver
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
_Gothic_
n00b
n00b


Joined: 25 Mar 2005
Posts: 7
Location: Poland

PostPosted: Tue May 09, 2006 4:27 pm    Post subject: [TIP] Lirc dont work -- no error, serial TSOP1738 receiver Reply with quote

Hello, I would like to share with you my tip to make IR lirc receiver working...
ok...about yesterday I made simple COM receiver based on this project:
http://priv.twoje-sudety.pl/~ulisses32/strona/ircom.png
this project is aimed at using it on Win32 with aplication called Grider (www.girder.nl) and "Igor" plugin for Grider, this information is very impotrant! (I didnt know that)

after few tests on Windows I was sure that receiver is ok, so I booted Gentoo and emerged lirc 0.8.0, after that I recompiled kernel (2.6.14) and throw away serial port support from my kernel, that prevent taking serial port resources by kernel

everything seemed to be fine, "modprobe lirc_serial irq=3 io=0x2f8" gave me no error, "/dev/lirc/0" was created, and "mode 2 -d /dev/lirc/0" worked with no error too, but still didnt show any codes when I was pressing buttons on my RC unit (philips 7507)

whole night of tries, reading web, faqs, forums, HOWTOs and suddenly I hit on this page
http://svn.wilsonet.com/projects/mythtvology/ticket/12
the most important information is on the bottom of page:
Quote:
One other thing I found (and really had to hunt for) is that it so happens that the serial cable I bought is the "Igor" style, which uses a slightly different chip, so you have to manually set the type in the module options.

Options lirc_serial irq=4 io=0x3f8 type=4

The only way I found this was by examining the source code. It works great though.


this small option "type=4" solved my problem too, mode 2 gives me finally some output :)
this option isnt documented on any docs or howtos/faqs... well I havent seen it on any other site...
I think this option is very impotrant for people who use homebrew receivers, so its worth to mention abotu it.

I hope this information will be helpful for somebody :)
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