[mythtv-users] lirc + serial.o conflict?
David
myth at dgreaves.com
Fri Apr 9 09:13:05 EDT 2004
No that's right, read the lirc docs...
The serial port hardware is controlled by either lirc or serial - not
both :)
rather than remove serial you can:
setserial /dev/ttyS0 uart none
or
/etc/modules contains all the modules loaded automatically on my distro
(KnoppMyth)
David
Bill Oberman wrote:
>Hi,
>
>I have lirc working, but it doesn't seem right the way I made it work.
>I was wondering if anyone had any advice?
>
>Background: a red hat 9 machine, setup using Jarod's guide and Axel's
>rpms. I purchased an "el cheapo" Packard Bell remote (from
>tekgems.com). I hooked up the receiver to my serial port. Then I did:
># apt-get install lirc-kmdl-$MYKERNEL
># apt-get install lirc
>
>I copied:
>/usr/share/doc/lirc-0.7.0/remotes/packard_bell/lircd.conf.packard_bell
>to:
>/etc/lircd.conf
>
>I added this to /etc/modules.conf
>alias char-major-61 lirc_serial
>options lirc_serial irq=4 io=0x3f8
>
>I ran: /sbin/depmod -a
>
>But, when I went to /sbin/modprobe lirc_serial, I got a conflict error
>with serial.o. I can't figure out what module loaded this?? But, if I:
>/sbin/rmmod serial
>I can then modprobe successfully. Then everything works.
>
>On boot, I had the same issue, so I added this to rc.local:
>/sbin/rmmod serial
>/sbin/modprobe lirc_serial
>
>And, this seems to work, but seems like a hack to me. I'll put the
>complete contents of /etc/modules.conf at the end of this e-mail. My
>only guess right now is the kernel is loading serial?
>
>Thanks,
>
>William
>
>cat /etc/modules.conf
>path[toplevel]=/lib/modules/`uname -r`/updates
># default path
>path[toplevel]=/lib/modules/`uname -r`
>path[toplevel]=/lib/modules/`uname -r`/v4l2
>alias eth0 3c59x
># For lirc
>alias char-major-61 lirc_serial
>options lirc_serial irq=4 io=0x3f8
># For ivtv
>#path[toplevel]=/lib/modules/`uname -r`/drivers/media/video
>
># ivtv modules setup
>alias char-major-81 videodev
>alias char-major-81-0 ivtv
>#options ivtv debug=1
>options tuner type=2
>options msp3400 once=1 simple=1
>add below ivtv msp3400 saa7115 tuner
>
># For bttv and saa7134
>alias char-major-81-1 bttv
>#options tuner type=2
>
>alias usb-controller usb-uhci
>alias sound-slot-0 es1371
>post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L
>
>
>>/dev/null 2>&1 || :
>>
>>
>pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S
>
>
>>/dev/null 2>&1 || :
>>
>>
># nvidia kernel module
>alias char-major-195 nvidia-1.0-4363
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>mythtv-users mailing list
>mythtv-users at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
More information about the mythtv-users
mailing list