Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
devfs, bttv and dvb ?
Hello,
I am playing with 2.4.0-test8 and got devfs working ;-)
I have set the full path of Boot_up.axf,Dpram and Root in dvb.c
Renamed tuner in dvb-tuner and replaced tuner by dvb-tuner in Makefile.
And in my /etc/modules.conf:
dvb
alias char-major-81 dvb
alias char-major-81-0 dvb
options saa7146_core mode=0
pre-install dvb modprobe i2c-core; modprobe videodev; modprobe saa7146_core; modprobe saa7146_v4l
post-install dvb modprobe VES1893; modprobe dvb-tuner; modprobe msp3400
# bttv
alias char-major-81-1 bttv
pre-install bttv modprobe msp3400; modprobe tuner
options bttv radio=1 card=10
options tuner debug=1 type=5
Witout doing anything, I have ls -al /dev/vid* gave me:
lr-xr-xr-x 1 root root 11 Sep 23 17:47 /dev/video -> /dev/video0
and lsmod:
Module Size Used by
bttv 52548 0 (autoclean) (unused)
i2c-algo-bit 7240 1 (autoclean) [bttv]
videodev 4576 3 (autoclean) [bttv]
tuner 3076 1
msp3400 12328 1
i2c-core 12172 0 (autoclean) [bttv i2c-algo-bit tuner msp3400]
nls_iso8859-1 2840 1 (autoclean)
nls_cp437 4352 1 (autoclean)
And if I run the following script with 0 as argument:
#!/bin/tcsh
cd /tmp
tstdvd /dev/sr0
mount /dvd
foreach x (/dvd/video_ts/vts_*.vob)
tstdvd /dev/sr0 $x
dvdplayer -a $1 -c -f $x
end
lsmod give:
Module Size Used by
serial 41060 0 (autoclean)
bttv 52548 1 (autoclean)
i2c-algo-bit 7240 1 (autoclean) [bttv]
videodev 4576 4 (autoclean) [bttv]
tuner 3076 1
msp3400 12328 1
i2c-core 12172 0 (autoclean) [bttv i2c-algo-bit tuner msp3400]
nls_iso8859-1 2840 1 (autoclean)
nls_cp437 4352 1 (autoclean)
And ls -al /dev/vid* gave me:
lr-xr-xr-x 1 root root 11 Sep 23 20:56 /dev/video -> /dev/video0
lr-xr-xr-x 1 root root 10 Sep 23 20:56 /dev/video0 -> v4l/video0
I can hear the sound, great, but...
No image on my TV... And I cannot lauch xawtv, with any -c /dev/video[012]
Now, I go to the /usr/src/DVB/drive and make insmod (after stooping my tcsh script):
lsmod:
odule Size Used by
dvb-tuner 3816 0 (unused)
dvb 1340076 1
VES1820 3296 0 (unused)
VES1893 3476 0 (unused)
saa7146_v4l 15804 0 (unused)
saa7146_core 13788 0 [dvb saa7146_v4l]
serial 41060 0 (autoclean)
bttv 52548 0 (autoclean)
i2c-algo-bit 7240 1 (autoclean) [bttv]
videodev 4576 5 (autoclean) [dvb bttv]
tuner 3076 1
msp3400 12328 1
i2c-core 12172 0 (autoclean) [dvb-tuner dvb VES1820 VES1893 saa7146_core bttv i2c-algo-bit tuner msp3400]
nls_iso8859-1 2840 1 (autoclean)
nls_cp437 4352 1 (autoclean)
ls -al /dev/vide*
lr-xr-xr-x 1 root root 11 Sep 23 20:56 /dev/video -> /dev/video0
lr-xr-xr-x 1 root root 10 Sep 23 20:56 /dev/video0 -> v4l/video0
lr-xr-xr-x 1 root root 10 Sep 23 21:08 /dev/video1 -> v4l/video1
I can start xawtv, with sudo xawtv -c /dev/video1 -noxv
But still no image on TV (and under xawtv, only choice is DVB, so no image), and yes, I have plugged the right cable in...).
Any idea on how I could solve this? I have to try to reboot andhave to first insmod the dvb and then the bttv, but what I want
is automatgically loading of the modules...
Thanks for your help,
Greg
________________________________________________________________
http://ulima.unil.ch/greg ICQ:16624071 mailto:greg@ulima.unil.ch
Home |
Main Index |
Thread Index