_Gothic_ n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 25 Mar 2005 Posts: 7 Location: Poland
|
Posted: Tue May 09, 2006 4:27 pm Post subject: [TIP] Lirc dont work -- no error, serial TSOP1738 receiver |
|
|
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 ![Smile :)](images/smiles/icon_smile.gif) |
|