Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: nexus-s+debian unstable+kernel 2.6.6
Barry,
For kernel 2.6.X, you need to install the "module-init-tools" Debian package. Regarding your firmware, you need to download it and put it in "/usr/lib/hotplug/firmware/dvb-ttpci-01.fw". Here is a init script I'm using for loading the drivers (I quit trying to find a way to do it using aliases):
------------
#!/bin/sh
# /etc/init.d/dvb: start/setup the DVB drivers
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
loadDrivers () {
echo -n "Starting the DVB drivers:"
/sbin/modprobe dvb-ttpci
/sbin/modprobe stv0299
/sbin/modprobe ves1820
echo "."
}
unloadDrivers() {
echo -n "Stopping the DVB drivers:"
/sbin/rmmod dvb-ttpci 2> /dev/null || true
/sbin/rmmod stv0299 2> /dev/null || true
/sbin/rmmod ves1820 2> /dev/null || true
/sbin/rmmod saa7146 2> /dev/null || true
/sbin/rmmod dvb_core 2> /dev/null || true
/sbin/rmmod saa7146_vv 2> /dev/null || true
/sbin/rmmod v4l1_compat 2> /dev/null || true
/sbin/rmmod v4l2_common 2> /dev/null || true
/sbin/rmmod videodev 2> /dev/null || true
/sbin/rmmod firmware_class 2> /dev/null || true
/sbin/rmmod budget_ci 2> /dev/null || true
/sbin/rmmod budget_core 2> /dev/null || true
/sbin/rmmod dvb_core 2> /dev/null || true
/sbin/rmmod saa7146 2> /dev/null || true
/sbin/rmmod ttpci_eeprom 2> /dev/null || true
echo "."
}
case "$1" in
start)
loadDrivers
;;
stop)
unloadDrivers
;;
restart)
unloadDrivers
sleep 1
loadDrivers
;;
*)
echo "Usage: /etc/init.d/dvb [stop|start|restart]"
exit 1
;;
esac
exit 0
------------
After that, a "cd /dev; ./MAKEDEV dvb" will maybe help.
Good luck ;-)
> -----Original Message-----
> From: linux-dvb-bounce@linuxtv.org
> [mailto:linux-dvb-bounce@linuxtv.org]On Behalf Of Barry Smoke
> Sent: Monday, May 24, 2004 10:45 PM
> To: linux-dvb@linuxtv.org
> Subject: [linux-dvb] nexus-s+debian unstable+kernel 2.6.6
>
>
> I have a nexus-s(hauppauge wintv nexus-s) SAA7146 rev1 board(so the
> dvb-core module states.
> I see that the 2.6.6 kernel has dvb drivers in it,
> however I am unable to get them loaded, and working.
>
> I do a modprobe dvb-core, and it finds the card, and gives an
> error on
> loading firmware(is this really needed?)
> so, I downloaded the dvb-drivers package, and the dvb-apps
> package from
> the linuxtv.org site, and extracted it,
> I tried to use the insmod.sh script provided for the 2.6 kernel tree,
> even though I didn't actually try to patch the kernel with it,
> since dirvers are already there....
>
> I get a bunch of errors on the script,
> and nothing loads...
>
> so my first question, is there a insmod script that goes specifically
> for current 2.6.6 kernel?
>
> second, after modprobe dvb-core, I get the card recognized, yet I am
> unable to talk to it via the apps package,
> I am trying scan, with a -c, to simply scan the current freq/lnb,
> and I get no frontend0 found error.
>
> I can find no docs on getting the modules loaded in the right
> order with
> the right aliases,
>
> the closest I think I came, was by looking at the metzler
> brother driver,
> and the modules.conf additions they had in wiht the package,
> (it seemed to do more),
>
> but, does 2.6.6 even use modules.conf...?
>
> what is the correct way to get this card working, and what is
> the best
> utility(downloaded from where) to do a quick check of the card.
>
> I have the card connected to echostar7(119), which has NASA
> Free To Air,
> I get that to show, and I'll be happy!
>
> Barry Smoke
>
>
>
> --
> Info:
> To unsubscribe send a mail to ecartis@linuxtv.org with
> "unsubscribe linux-dvb" as subject.
>
>
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index