Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] load module & firmaware without hotplug ;)
hi
i have slackware with kernel-2.6.3
i use this script for load modules and firmaware.
is work perfect ;)
#!/bin/sh
#
case "$1" in
'start')
/sbin/modprobe dvb-ttpci & sleep 2 &&
echo 180 > /sys/class/firmware/timeout
export DEVDIR=/sys/class/firmware/0000\:00\:0b.0
echo 1 > $DEVDIR/loading
cat /usr/local/dvb/lib/dvb-ttpci-01.fw >
$DEVDIR/data
echo 0 > $DEVDIR/loading
;;
'stop')
/sbin/modprobe -r dvb-ttpci
;;
*)
echo "usage $0 start|stop" ;;
esac
## end script
my modules.conf
alias char-major-81 dvb-ttpci
alias char-major-250 dvb-ttpci
alias /dev/dvb/* dvb-ttpci
add below dvb-ttpci ves1x93
post-remove dvb-ttpci rmmod ves1x93
but you need to generate modprobe.conf with modutils
!!
like $generate-modprobe.conf /etc/modprobe.conf
sory for my bad englich i m french ;)
http://l1nux.free.fr
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index