LinHES Forums
http://forum.linhes.org/

AverTV Studio Remote
http://forum.linhes.org/viewtopic.php?f=2&t=4478
Page 1 of 2

Author:  bburd [ Sat May 07, 2005 12:57 pm ]
Post subject:  AverTV Studio Remote

I have an AverTV Studio card - one in which the remote control plugs into the S-Video input. I've found a few sets of instructions on setting this up in MythTV, but I haven't tried them all. (Some refer to directories and files that I don't seem to have.) All I did was to copy

lircd.conf.avermedia98

from a doc directory to my /etc/lirc directory. Then I rebooted. When I got no response I did the same with the doc directory's

lircd.conf.avermedia

file. After rebooting, that didn't work either. With both I tried punching buttons while in MythTV. I also opened up a shell, typed

lircd

at the prompt, and then typed

/usr/bin/irw

Still no response.
Can anyone tell me what to try next? I'm working with a very recent version of KnoppMyth (a very new release that I downloaded a week or two ago).
Thanks.

Author:  Xsecrets [ Sat May 07, 2005 1:21 pm ]
Post subject: 

you will have to reconfigure lirc to load the proper modules for your card. by default it loads the module for the hauppage card. if you are running a very new version there is a script to do this for you called lirc-reconfig.sh this script should take card of the modules for you, but you will still have to get or make a working lircd.conf file. Also you will most likely have to edit the /home/mythtv/.mythtv/lircrc file so that the buttons match the lircd.conf file you used.

Author:  bburd [ Sat May 07, 2005 2:51 pm ]
Post subject: 

Okay, here's what happened.
I ran lirc-reconfig.sh
It presented me a menu of ir types. I chose TV card because my remote sensor connects to the S-Video in of the AverTV Studio card.
It presented me a menu of TV card types. There were three avermedia types and I didn't know which one to choose, so I chose avermedia98. (Later I tried going through the whole process again, each time choosing a different of the three avermedias.)
It asked if I wanted to replace stuff and I said OK.
It told me to rebuild kernel modules and I became nervous, but I printed the instructions and pressed OK.
It asked if it wanted me to try to rebuild the kernel modules. Overjoyed, I said OK and it seemed to do the rebuild successfully (but it told me I should do some manual rebuild so that something else is aware of the rebuild, and I ignored this for the time being).
It plopped me back to the shell prompt.
I ran irw and started pressing remote control keys - no response.
I ran MythTV and started pressing remote control keys - no response.
I rebooted and tried irw and MythTV again.
I'm assuming that (a) I don't have to manually rebuild kernel modules if lirc-reconfig.sh thinks it did so, and (b) I don't have to modify the /home/mythtv/.mythtv/lircrc file until I'm ready to say which key performs which function. (That is, I should be getting a response even though I haven't assigned keys to sensible functions yet.) Either of these assumptions, or some other assumptions that I made, could be wrong, because I get no response by pressing the remote control buttons.
A few weeks ago I was getting a response from that remote with a W*nd*ws system, so I'm pretty sure that the remote can work.
What next?
(And, thanks again.)
P.S. Remember, I've been tinkering on and off with Linux for several years, but it's been mostly "off" so I still know very little about it.

Author:  Xsecrets [ Sat May 07, 2005 4:07 pm ]
Post subject: 

well in the builds that have that script the kernel modules are all precompiled. so no compiling is neccessary, the script just says that, because it was basically ripped from the lirc setup script. Once you have the right kernel modules loaded you still need to get the right lircd.conf file in place. then irw should work and you can work on modifying lircrc.

Author:  bburd [ Sat May 07, 2005 4:35 pm ]
Post subject: 

I must be getting closer...
I downloaded lircd.conf.tvstudio from http://lirc.sourceforge.net/remotes/avermedia/. Then I copied lircd.conf.tvstudio to /etc/lirc/lircd.conf.
Then I rebooted and tried irw again. No luck yet.
Did I forget to do anything?
What to try next?

Author:  Xsecrets [ Sat May 07, 2005 6:32 pm ]
Post subject: 

run

ps -ae | grep lirc

see if lirc_gpio is listed. if not then run

modprobe lirc_gpio

and try irw again

Author:  bburd [ Sat May 07, 2005 6:50 pm ]
Post subject: 

There was no lirc_gpio listed in my ps listing. So I typed modprobe lirc_gpio and I got a root shell prompt back (no messages resulting from the modprobe). Then I tried irw, rebooted, tried irw again, and nothing.
???

Author:  bburd [ Sat May 07, 2005 6:56 pm ]
Post subject: 

By the way, I **do** see lirc_gpio.ko if I issue the command

modprobe -l

(That modprobe switch is a lowercase letter "L".)

Author:  Xsecrets [ Sat May 07, 2005 8:10 pm ]
Post subject: 

ooops brainfart. the command should have been

lsmod | grep lirc

Author:  bburd [ Sat May 07, 2005 9:57 pm ]
Post subject: 

Yes, lirc_gpio shows up on three lines in the listing when I do lsmod.
What next?

Author:  Xsecrets [ Sat May 07, 2005 10:11 pm ]
Post subject: 

make sure lircd is running using the first command that I gave you if not run

update-rc.d lirc defaults

Author:  bburd [ Sun May 08, 2005 9:22 am ]
Post subject: 

I checked with the ps command, and lircd is running. So I didn't try the update command. No response yet from irw, and I double-checked the remote with the official windows software from the manufacturer -- it works with that.
It may help me to know how lirc is told to look at the S-Video input instead of the usual serial port. My general sense is that this is the stumbling block (although I can't be sure about that).

Author:  bburd [ Sat May 14, 2005 9:21 pm ]
Post subject: 

Xsecrets - Did you take the week off?

Author:  Greg Frost [ Sat May 14, 2005 10:05 pm ]
Post subject: 

With my remote, when I start lircd (which I needed to re-compile after patching to add DVICO remote support), I need to use the command:
Code:
/usr/sbin/lircd --driver=dvico --device=/dev/usb/hiddev0

My remote has a usb style connected receiver, so this is certainly not what you need to do but perhaps you need to pass some arguments to lircd so that it knows to look for your tvcard remote??

Author:  bburd [ Fri May 27, 2005 6:12 am ]
Post subject: 

Greg, The parameters you suggest are for USB input. Where can I look for the parameters I might use with the AverMedia S-Video input?

Page 1 of 2 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/