logo       

Proposed module-support files for a lirc-package: msg#00029

hardware.lirc

Subject: Proposed module-support files for a lirc-package

Hi,

In a complete lirc-package for a 2.6.15+ kernel with udev on
a debian-like system I usually have the following files:

-- /etc/modutils/lirc_serial --
lirc_serial
--
=> "update-modules" will create /etc/modules, that will
automatically load lirc on boot


-- /lib/modules/2.6.15/modules.dep --
...
/lib/modules/2.6.15/lirc/lirc_serial.ko: /lib/modules/2.6.15/lirc/lirc_dev.ko
...
--
=> This is created by "depmod -a" (just check), and
cares for loading lirc_dev first.


-- /etc/modprobe.d/lirc_serial --
install lirc_serial /bin/setserial /dev/ttyS1 uart none; /sbin/modprobe
--ignore-install lirc_serial
alias char-major-61 lirc_serial
options lirc_serial irq=3 io=0x2f8
--
=> This will set the port and deactive the UART in linux
=> But /etc/modprobe.d/* is used only if there's NO /etc/modprobe.conf!


-- /etc/udev/rules.d/lirc.rules --
KERNEL="lirc0", SYMLINK="lirc"
--
=> This will create a /dev/lirc-link, so you don't need
to tell all programs that you have /dev/lirc0 or /dev/lirc/0


What files are missing for other systems?

Could it be possible to put together a reference set of module-support files
for all systems?

Yours,
Matthias


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise