[linux-dvb] dvb devices
Da Munch
da.munch at gmail.com
Mon Dec 26 00:57:18 CET 2005
Just a simple question about how dvb sets up it's devices and why some seem
to have different setups (And yes I'd assume that this has been
discussed before but I can't seem to find anything on it, if it has can you
please point me in the right direction, Ta, Oh there also is the possibility
that I'm doing something rather dump).
Okay what do I have:
uname -a
Linux wood 2.6.13.3 #1 Sun Oct 9 23:49:34 EST 2005 i686 GNU/Linux
0000:01:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video
Capture (rev 11)
Subsystem: Avermedia Technologies Inc: Unknown device 0771
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (4000ns min, 10000ns max)
Interrupt: pin A routed to IRQ 5
Region 0: Memory at d4000000 (32-bit, prefetchable) [size=4K]
Capabilities: <available only to root>
0000:01:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio
Capture (rev 11)
Subsystem: Avermedia Technologies Inc: Unknown device 0771
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (1000ns min, 63750ns max)
Interrupt: pin A routed to IRQ 5
Region 0: Memory at d4001000 (32-bit, prefetchable) [size=4K]
Capabilities: <available only to root>
i.e. a avermedia 771 and yes it works and thanks to all the people who have
worked on the drivers for it
anyway I lost a bit of hair setting it up cause for some reason (and yes
this is this question) some cards have tuners attached to the video device
(/dev/video*) while others like mine don't, which means certain programs
don't work with some cards -> like I can't use tvtime/xawtv ..... but I can
use xine,......?
so, why is this so?
I can dump the whole straces for the startups for xine and tvtime if you
wish, but here's the pertanent bits;
for xine,
open("/dev/dvb/adapter0/frontend0", O_RDWR|O_LARGEFILE) = 7
ioctl(7, 0x80a86f3d, 0x8d46410) = 0
open("/dev/dvb/adapter0/demux0", O_RDWR|O_LARGEFILE) = 8
open("/dev/dvb/adapter0/demux0", O_RDWR|O_LARGEFILE) = 9
open("/dev/dvb/adapter0/demux0", O_RDWR|O_LARGEFILE) = 10
open("/dev/dvb/adapter0/demux0", O_RDWR|O_LARGEFILE) = 11
open("/dev/dvb/adapter0/demux0", O_RDWR|O_LARGEFILE) = 12
open("/dev/dvb/adapter0/demux0", O_RDWR|O_LARGEFILE) = 13
open("/dev/dvb/adapter0/demux0", O_RDWR|O_LARGEFILE) = 14
open("/dev/dvb/adapter0/demux0", O_RDWR|O_LARGEFILE) = 15
open("/dev/dvb/adapter0/demux0", O_RDWR|O_LARGEFILE) = 16
open("/dev/dvb/adapter0/demux0", O_RDWR|O_LARGEFILE) = 17
open("/dev/dvb/adapter0/demux0", O_RDWR|O_LARGEFILE) = 18
open("/dev/dvb/adapter0/demux0", O_RDWR|O_LARGEFILE) = 19
open("/dev/dvb/adapter0/demux0", O_RDWR|O_LARGEFILE) = 20
fcntl64(11, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl64(8, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl64(7, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
open("/dev/dvb/adapter0/video0", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such
file or directory)
open("/home/daveg/.xine/channels.conf", O_RDONLY|O_LARGEFILE) = 21
for tvtime,
open("/dev/video0", O_RDWR) = 3
ioctl(3, VIDIOC_QUERYCAP or VT_OPENQRY, 0xbf94f668) = 0
ioctl(3, VIDIOC_ENUMINPUT, 0xbf94f6d0) = 0
ioctl(3, VIDIOC_ENUMINPUT, 0xbf94f6d0) = 0
ioctl(3, VIDIOC_ENUMINPUT, 0xbf94f6d0) = -1 EINVAL (Invalid argument)
ioctl(3, 0x800476c6, 0xbf94f788) = 2320
ioctl(3, VIDIOC_S_INPUT, 0xbf94f4d4) = 0
ioctl(3, VIDIOC_G_INPUT, 0xbf94f444) = 0
ioctl(3, VIDIOC_ENUMINPUT, 0xbf94f444) = 0
ioctl(3, VIDIOC_G_STD, 0xbf94f4c8) = 0
ioctl(3, VIDIOC_S_STD, 0xbf94f4c8) = 0
ioctl(3, VIDIOC_G_TUNER, 0xbf94f444) = -1 EINVAL (Invalid argument)
write(2, "videoinput: Can\'t get tuner info"..., 51videoinput: Can't get
tuner info: Invalid argument
) = 51
and something else that may help;
xawtv -hwscan
This is xawtv-3.94, running on Linux/i686 (2.6.13.3)
looking for available devices
port 240-240 [ -xvport 240 ]
type : Xvideo, video overlay
name : video4linux
port 241-241
type : Xvideo, image scaler
name : NV17 Video Texture
port 242-273
type : Xvideo, image scaler
name : NV05 Video Blitter
/dev/video0: OK [ -device /dev/video0 ]
type : v4l2
name : BT878 video (AVerMedia AVerTV D
flags: overlay capture
whereas I seen some that have a video devices like (i.e they have a tuner
attached):
/dev/video0: OK [ -device /dev/video0 ]
type : v4l2
name : BT878 video (Hauppauge (bt878))
flags: overlay capture tuner
/dev/video1: OK [ -device /dev/video1 ]
type : v4l2
name : Proteus Pro [philips reference
flags: overlay capture tuner
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20051226/e6059459/attachment.htm
More information about the linux-dvb
mailing list