Discussion:
[linux-dvb] help with Twinhan VisionPlus 1020A
(too old to reply)
Marc Dirix
2005-07-24 12:19:07 UTC
Permalink
You should be able to see dvb nodes in your /dev even if the module
isn't loaded. If you don't see them use

for most distro's :
# cd /dev
# ./MAKDEV dvb

This wil create an /dev/dvb directory with nodes inside for you.

If you don't have the /dev/MAKDEV either consult your distro how to do
this, or do it by hand:

# cd /dev
# mkdir -m 755 -p dvb/adapter0
# cd dvb/adapter0
The use mknod to make device nodes like this:

# mknod audio0 212 1

This is a list of the nodes:
crw-rw---- 1 root video 212, 1 Jul 24 14:14 audio0
crw-rw---- 1 root video 212, 6 Jul 24 14:14 ca0
crw-rw---- 1 root video 212, 4 Jul 24 14:14 demux0
crw-rw---- 1 root video 212, 5 Jul 24 14:14 dvr0
crw-rw---- 1 root video 212, 3 Jul 24 14:14 frontend0
crw-rw---- 1 root video 212, 7 Jul 24 14:14 net0
crw-rw---- 1 root video 212, 8 Jul 24 14:14 osd0
crw-rw---- 1 root video 212, 0 Jul 24 14:14 video0
For mplayer, you need to copy channels.conf from your ~/.szap dir to
your ~/.mplayer dir.


/Marc
Hello.
I recently purchased a Twinhan VP1020A card (DVB-S), and it is listed
as supported in the linuxtv site. However, I have not succeeded in
making it work.
I saw some posts on this list very similar to what I am experiencing,
but unfortunately I did not understood the proposed solutions. I will
---- dmesg reports: --------
bttv: driver version 0.9.15 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
ACPI: PCI interrupt 0000:02:02.0[A] -> GSI 17 (level, low) -> IRQ 185
bttv0: Bt878 (rev 17) at 0000:02:02.0, irq: 185, latency: 32, mmio: 0xf47fe000
bttv0: detected: Twinhan VisionPlus DVB-T [card=113], PCI subsystem ID is 1822:0
001
bttv0: using: Twinhan DST + clones [card=113,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=00f5ffff [init]
bttv0: using tuner=4
bttv0: add subdevice "dvb0"
---------------------------------------
but I cannot find any device dvb0 under /dev. Following the
instructions at http://www.tldp.org/HOWTO/BTTV.html, I created a
/dev/video0 device, but xawtv wont work with it (v4l: open
/dev/video0: No such device). On this list it is explained that's
because it is a 'budget' card without a decoder. One of the replies
suggested the use of mplayer to test it, but I could not find a way to
do it (mplayer dvb:// reports 'DVB CONFIGURATION IS EMPTY, exit').
Questions are, 1) how do I use it / test it? and 2) has anyone used it
with, for instance, MythTV?
Regards,
Luis Zarrabeitia.
_______________________________________________
linux-dvb mailing list
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Luis Alberto Zarrabeitia
2005-07-24 16:46:26 UTC
Permalink
udev is deprecated, I think the /dev system works better.
It is? I thought devfs was deprecated and udev was its replacement,
and both replacement for /dev. Aparently I was wrong. My bad.
please give me an output off
#ls -l /dev/dvb/adapter0
crw-rw-rw- 1 root video 212, 1 2005-07-24 10:30 audio0
crw-rw-rw- 1 root video 212, 6 2005-07-24 10:30 ca0
crw-rw-rw- 1 root video 212, 4 2005-07-24 10:30 demux0
crw-rw-rw- 1 root video 212, 5 2005-07-24 10:30 dvr0
crw-rw-rw- 1 root video 212, 3 2005-07-24 10:30 frontend0
crw-rw-rw- 1 root video 212, 7 2005-07-24 10:30 net0
crw-rw-rw- 1 root video 212, 8 2005-07-24 10:30 osd0
crw-rw-rw- 1 root video 212, 0 2005-07-24 10:30 video0
#cat /dev/dvb/adapter0/video0
cat: adapter0/video0: No such device

Regards,
Luis.
Hi. Thanks for your quick reply, however, the problem is not solved yet.
I did a modprobe dvb_bt8xx, and the module loaded.
I didn't have the devices in /dev (maybe because I use udev?), I
udev is deprecated, I think the /dev system works better.
created them manually.
--------------------
# util/scan/scan util/scan/dvb-s/Astra-19.2E
scanning util/scan/dvb-s/Astra-19.2E
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
main:1882: FATAL: failed to open '/dev/dvb/adapter0/frontend0': 19 No
such device
please give me an output off
#ls -l /dev/dvb/adapter0
and
#cat /dev/dvb/adapter0/video0
/Marc
--------------------
(frontend0 is c 212 3). On an italian forum is suggested that I should
load more modules, but I understand zero italian, so I couldn't
understand the message (other than a modprobe command).
The loaded modules look alright.
--------------------
# lsmod | grep dvb
dvb_bt8xx 10436 0
dvb_core 83848 1 dvb_bt8xx
nxt6000 7524 1 dvb_bt8xx
mt352 5764 1 dvb_bt8xx
dst 13320 1 dvb_bt8xx
bt878 11000 2 dvb_bt8xx,dst
sp887x 8196 1 dvb_bt8xx
bttv 155152 2 dvb_bt8xx,bt878
firmware_class 10144 3 dvb_bt8xx,sp887x,bttv
i2c_core 22736 10
mt312,dvb_bt8xx,nxt6000,mt352,dst,sp887x,tuner,bttv,i2c_algo_bit,i2c_i801
---------------------
I forgot to say it on my previous post, I'm using a 2.6.10-1-686
kernel from Debian Sarge (my last update was right before sarge was
frozen, but I cannot upgrade for a while).
Regards,
Luis.
Post by Marc Dirix
You should be able to see dvb nodes in your /dev even if the module
isn't loaded. If you don't see them use
# cd /dev
# ./MAKDEV dvb
This wil create an /dev/dvb directory with nodes inside for you.
If you don't have the /dev/MAKDEV either consult your distro how to do
# cd /dev
# mkdir -m 755 -p dvb/adapter0
# cd dvb/adapter0
# mknod audio0 212 1
crw-rw---- 1 root video 212, 1 Jul 24 14:14 audio0
crw-rw---- 1 root video 212, 6 Jul 24 14:14 ca0
crw-rw---- 1 root video 212, 4 Jul 24 14:14 demux0
crw-rw---- 1 root video 212, 5 Jul 24 14:14 dvr0
crw-rw---- 1 root video 212, 3 Jul 24 14:14 frontend0
crw-rw---- 1 root video 212, 7 Jul 24 14:14 net0
crw-rw---- 1 root video 212, 8 Jul 24 14:14 osd0
crw-rw---- 1 root video 212, 0 Jul 24 14:14 video0
For mplayer, you need to copy channels.conf from your ~/.szap dir to
your ~/.mplayer dir.
/Marc
Hello.
I recently purchased a Twinhan VP1020A card (DVB-S), and it is listed
as supported in the linuxtv site. However, I have not succeeded in
making it work.
I saw some posts on this list very similar to what I am experiencing,
but unfortunately I did not understood the proposed solutions. I will
---- dmesg reports: --------
bttv: driver version 0.9.15 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
ACPI: PCI interrupt 0000:02:02.0[A] -> GSI 17 (level, low) -> IRQ 185
bttv0: Bt878 (rev 17) at 0000:02:02.0, irq: 185, latency: 32, mmio: 0xf47fe000
bttv0: detected: Twinhan VisionPlus DVB-T [card=113], PCI subsystem ID is 1822:0
001
bttv0: using: Twinhan DST + clones [card=113,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=00f5ffff [init]
bttv0: using tuner=4
bttv0: add subdevice "dvb0"
---------------------------------------
but I cannot find any device dvb0 under /dev. Following the
instructions at http://www.tldp.org/HOWTO/BTTV.html, I created a
/dev/video0 device, but xawtv wont work with it (v4l: open
/dev/video0: No such device). On this list it is explained that's
because it is a 'budget' card without a decoder. One of the replies
suggested the use of mplayer to test it, but I could not find a way to
do it (mplayer dvb:// reports 'DVB CONFIGURATION IS EMPTY, exit').
Questions are, 1) how do I use it / test it? and 2) has anyone used it
with, for instance, MythTV?
Regards,
Luis Zarrabeitia.
_______________________________________________
linux-dvb mailing list
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Luis Alberto Zarrabeitia
2005-07-24 18:03:30 UTC
Permalink
After looking carefully at /var/log/syslog, I found that alsa was in
conflict with the bttv module.

I unloaded alsa, then reloaded dvb_bt8xx, and scan worked (didn't find
any channel, though, but that's another matter).

Thus, my solution was to load dvb_bt8xx at the begining of my
/etc/modules file and reboot. Udev created automatically the
/dev/dvb/adapter0 folder, with the devices demux0, dvr0, frontend0
and net0 (no video0 or audio0 - I hope that's not a problem)

I still don't have video or audio, but i hope I'll have after I get a
valid channels.conf file.

Now, where do I find/how do I generate a channels.conf file for
Echostar7/9? (DishNetwork)

Regards,
Luis.

Loading...