LinHES Forums http://forums.linhes.org/ |
|
Homebrew Lirc receiver. http://forums.linhes.org/viewtopic.php?f=5&t=2263 |
Page 1 of 1 |
Author: | gr8nash [ Fri Aug 27, 2004 5:56 pm ] |
Post subject: | Homebrew Lirc receiver. |
Ok i made a homebrew lirc receiver.. after some tinkering.. im on the finish-line.. but not quite done. i recompile lirc then Code: setserial /dev/ttyS0 UART none
now im able to modconf and add lirc_serial when i use mode2 it sees the remote keystrokes just fine. I even used irrecord to create a new .lirc file. the only thing that doesnt work is myth. do i have to recompile mythtv inorder to have the new lirc support.. When installed knoppmyth i chose the REMOTE install.. so my homebrew works great.. and lirc compiles fine... irrecord works.. so does mode2.. myth does not. =( |
Author: | cesman [ Fri Aug 27, 2004 6:17 pm ] |
Post subject: | |
irrecord isn't used to create .lircrc rather it is used to create /etc/lircd.conf. MythTV doesn't use ~/.lircrc but rather ~/.mythtv/lircrc. When it doubt, read the docs for the program you are trying to use, KnoppMyth in no way deviates from them. |
Author: | gr8nash [ Fri Aug 27, 2004 6:46 pm ] |
Post subject: | |
Quote: irrecord isn't used to create .lircrc rather it is used to create /etc/lircd.conf.
i miss-spoke, however that is what i meant. i created a lircd.conf file with irrecord. I used the names from the ./myth/lirc like BLANK and such. I in no way changed the .myth/lirc file, but myth still doesnt work... hmmm i must have missed something. |
Author: | gr8nash [ Mon Aug 30, 2004 2:46 pm ] |
Post subject: | |
I seem to have hit a roadblock. ![]() Code: mode2 it says cant run it becase \dev\lirc is being used. On my non working box it lets me run it, that tells me that lirc is not running. Here is how i buildt my box. I recompiled Lirc using these steps 1) untar the kernel source using walkthough on forum 2) ./configure choose homebrew lirc 3)make 4)make install 5) at this point i cant modconf the module lirc_serial (which im not sure, but i should load that right? so i have to run Code: setserial /dev/ttyS0 uart none
6) NOw because of the previous command "setseral /dev/ttyS0 uart none" it will let me load the lirc_serial, and it will install the module like i said input from the remote is working great using mode2. As near as i can tell lirc is NOT running .. I dont see it on TOP course i dont think top actualy shows everything, it seems to only show what the screen has room for.. I have read every howto i could get my hands on, including the FAQ on lirs website. I did the howto for the homebrew as well. Also my last thing.. i have read that people use modprobe ati_lirc (or something like that if you have an ati, what do i do if im not using an ati?) ![]() ps ![]() |
Author: | gr8nash [ Mon Aug 30, 2004 3:21 pm ] |
Post subject: | |
well small update.. in all my attempts.. it started working.. i was just typeing along.. and typed mode2 it regected me saying that /dev/licr is in use!!!!! YEAH so i started myth and bam!i could use the remote and the homebrew receiver fine.. I have no idea what i did though.. so after testing it, i held my breath.. and rebooted.. and what i thought happened.. it stoped working again. I read about howto update-modules. (or something like that.. ill look again when im closer) i just need to figure out why it started working to begin with?? |
Author: | Bad-Taste [ Mon Aug 30, 2004 3:29 pm ] |
Post subject: | |
try to write in /etc/init.d/local setserial /dev/ttyS0 uart none modprobe lirc_serial then as root chmod +x /etc/init.d/local update-rc.d local defaults 34 |
Author: | gr8nash [ Mon Aug 30, 2004 3:45 pm ] |
Post subject: | |
well i copied and pasted all the lines.. and rebooted.. umm here is what it says when i mode2 Quote: mode2: error opening /dev/lirc mode2: No such device here is what it says when i Code: irrecord a.txt Quote: irrecord - application for recording IR-codes for usage with lirc Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de) irrecord: could not open /dev/lirc irrecord: default_init(): No such device irrecord: could not init hardware (lircd running ? --> close it, check permissions) /dev/lirc no loger exits.. all the lines seem self explanitor except Quote: update-rc.d local defaults 34
i still have to run setserial and modconf to get /dev/lirc to appear |
Author: | gr8nash [ Mon Aug 30, 2004 4:20 pm ] |
Post subject: | |
*********************** SOLVED ********************* Wow good thing.. cause my computer was gonna grow wings and fly out a 2 story window.... (not that joking) i am going todo a complete howto in the howto section, so newbies dont have to go though what i just went though.. so coming soon. (but good side wow i learned alot) ![]() On bootup this needed to run Code: setserial /dev/ttyS0 uart none Code: modprobe lirc_serial Code: /usr/local/sbin/lircmd Code: /usr/local/sbin/lircd
the last two where the ones i was missing.. little thing like starting the program.. lol .. Weird as many howtos i read never saw that i was suppose to run those.. finally google'ing it i found alittle howto... Thanks for letting me vent here. ![]() <sighhhh of releif> |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |