Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] how to build a very slim and powersaving linux VDR?



hi,
iam new here - so - its fine to be in here!
i started to work with linux only some month ago and i love this system! u
can do nearly everything with it - if u are good enough. i am not very good
so far, but i try to learn a lot.

last week i found this great tool "vdr" and it was great to find it -
because i had already a hauppauge dvb-s and a ci adapter with an irdeto
allcam. so i decided to build a digital video recorder based on linux and
vdr.
my system is a asus p2b-b (in an ATX case) with a p2-350, 64 MB ram, a
SBlive!, an ati rage fury pro (so i can see my linux on tv...), a intel pro
100 ethernet nic, a pioneer 104sz dvd and a ibm 30 GB hdd. i have also
bought a tekram irman210b (IrDA) to run lirc with vdr.
i installed mandrake 7.2 on this system and installed lirc on it (works
fine). then dvb (opt/DVB/driver/make and make insmod) and vdr. all was
running (after 15 hours hard brainwork) fine. now i wanted to make these
three "tools" (lirc,dvb,vdr) to start on bootup. i wrote some initscipts to
do so, all worked fine only the dvb startupscript toled me something about
"unsolved symbols in dvb_demux.o"?
my script (/etc/init.d/dvbvid) looked like this:
--------------------------------------------------------
#!/bin/sh
# Source function library.
. /etc/rc.d/init.d/functions


# See how we were called.
case "$1" in
  start)
	echo -n "Starting DVB Video4Linux: "
	insmod i2c-core
	insmod videodev
	insmod saa7146_core mode=0
	insmod saa7146_v4l
	insmod VES1893
	insmod VES1820
	insmod dmxdev
	insmod dvb_demux
	insmod dvb init_chan=2
	insmod tuner
	echo
	touch /var/lock/subsys/dvbvid
	;;
  stop)
	echo -n "Shutting down DVB Video4Linux: "
	rmmod tuner
	rmmod dvb
	rmmod dvb_demux
	rmmod dmxdev
	rmmod VES1893
	rmmod VES1820
	rmmod saa7146_v4l
	rmmod saa7146_core
	rmmod videodev
	rmmod i2c-core
	echo
	rm -f /var/lock/subsys/dvbvid
	;;
     restart)
	$0 stop
	$0 start
	;;
  *)
	echo "Usage: dvbvid {start|stop|restart}"
	exit 1
esac

exit 0
---------------------------------------------------------
that didn't work so i changed it to:
---------------------------------------------------------
#!/bin/sh
# Source function library.
. /etc/rc.d/init.d/functions


# See how we were called.
case "$1" in
  start)
	echo -n "Starting DVB Video4Linux: "
#	insmod i2c-core
#	insmod videodev
#	insmod saa7146_core mode=0
#	insmod saa7146_v4l
#	insmod VES1893
#	insmod VES1820
#	insmod dmxdev
#	insmod dvb_demux
#	insmod dvb init_chan=2
#	insmod tuner
	cd /opt/DVB/driver/
	make insmod
	cd /
	echo
	touch /var/lock/subsys/dvbvid
	;;
  stop)
	echo -n "Shutting down DVB Video4Linux: "
#	rmmod tuner
#	rmmod dvb
#	rmmod dvb_demux
#	rmmod dmxdev
#	rmmod VES1893
#	rmmod VES1820
#	rmmod saa7146_v4l
#	rmmod saa7146_core
#	rmmod videodev
#	rmmod i2c-core
	cd /opt/DVB/driver/
	make rmmod
	cd /
	echo
	rm -f /var/lock/subsys/dvbvid
	;;
     restart)
	$0 stop
	$0 start
	;;
  *)
	echo "Usage: dvbvid {start|stop|restart}"
	exit 1
esac

exit 0
------------------------------------------------------

this works but it takes long on every bootup! does anyone have an solution
for that?

so my vdr seems to work almost fine - now i want more!
i want a kernel 2.4 based system with reiserfs (so i could powerdown without
shutdown - is thst right?), automated power off after shutdown, fast bootup,
great powermanagement (suspend to ram...).
so i need some tips:
- wich distribution should i use (kernel 2.4 and reiserfs)?
- how to get a very small installation (wich packages does vdr,dvb and lirc
need [it needs some libxxx-devel?!]?)?
- which services can i stop to start at bootup (cron, atp, syslog...)?
- how to get powermanagement working (doesn't linux always write in the log
files so powermanagement does not work)?
- what do i need to compile in the kernel?

thx for any help!

cu engelmann



--- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index