Looking at setup.sh and configure.in I can see that REALmagic
uses the daemons/hw_pixelview.c code. This code gets compiled
into lircd.c and opens up the ttySx port at 1200 baud. A
button press should generate three bytes into the serial port.
Forget about the kernel modules/setserial stuff, thats for different
hardware that uses custom kernel modules. Your setup uses the stock
serial port driver. The lirc doc can
be confusing due to all the different hardware lirc supports.
Also ignore the mode2 tools, they don't apply to your hardware
lircd will see the three bytes on the tty port, and translate
them(based on lircd.conf file) into messages sent to programs
like "irexec" or "irw". Try "irw" first, it should just print
out the button presses to screen.
If it doesn't work, then run configure again and turn on debug,
then run lircd with debug turned on in non-daemon mode to see
what is going on. Or check that you have configured for the
right serial port.
On Wed, Sep 11, 2002 at 09:13:34PM -0500, Munir Nassar wrote:
> first off, please accept my appologies for the lengthy post,
> i am trying to setup a DVD playing box, so i installed RH7.3 on an older
> PPre200, and i put in a REALmagic dxr3 card for dvd decoding and TV
> i want to use the remote control that came with the realmagic card to
> control stuff like volume and mplayer/xine/ogle, it is connected to ttyS0
> i tried using the RH lirc rpms and i could not get them to work, so now i
> am just going to use the source tarball from lirc.org
> i followed the documentation, ran ./setup.sh and configured that card
> (ttys0, realmagic etc...)
> after it runs configure it says that it does not need to build kernel
> modules, which is fine by me
> i added the line "/usr/local/lib" to the /etc/ld.so.conf and "alias
> char-major-61 lirc_serial"
> i copied the sigma templace to /etc/lircd.conf
> and my .lircrc shows
> remote = REALMagic_SIR
> button = SELECT
> prog = irexec
> repeat = 0
> config = echo "Hello!"
> before i try to run lircd i execute: setserial /dev/ttyS0 uart none
> when i run lircd and press select on the remote nothing happens
> now my question is, am i overlooking something stupid? i was under the
> impression that some kernel module had to be loaded, which ones? and why
> isn't the Makefile creating them?
> thank you for your help
> Munir Nassar
> In remembrance