Mailing List archive

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

[linux-dvb] DST driver first try



Hardware: Pinnacle PCTV Sat CI (=Twinhan VP-1030)
Kernel: 2.6.0-test7
dvb-kernel: cvs as of 20031015 15:00 +0200

First I had to correct some C syntax errors in dvb_functions.c and dvb_net.c
(diffs below). Then makelinks, built kernel, reboot, makedev.napi from DVB.

Using module load order from build-2.4/insmod-bt8xx.sh (text after "-->" is
dmesg output):

# modprobe videodev
--> Linux video capture interface: v1.00

# modprobe bttv bttv_verbose=1 bttv_gpio=1 bttv_debug=1 irq_debug=1 card=0x68 i2c_hw=1
--> bttv: driver version 0.9.12 loaded
    bttv: using 8 buffers with 2080k (520 pages) each for capture
    bttv: Bt8xx card found (0).
    bttv0: Bt878 (rev 17) at 0000:00:0c.0, irq: 7, latency: 32, mmio: 0xe2011000
    bttv0: subsystem: 11bd:0026 (UNKNOWN)
    please mail id, board name and the correct card= insmod option to kraxel@bytesex.org
    bttv0: using: Nebula Electronics DigiTV [card=104,insmod option]
    bttv0: gpio: en=00000000, out=00000000 in=00fd00fd [pre-init]
    bttv0: risc main @ 0466a000
    bttv0: gpio: en=00000000, out=00000000 in=00fd00fd [init]
    bttv0: using tuner=-1

# modprobe dvb-core dvbdev_debug=1 dvb_frontend_debug=1
--> (nothing)

# modprobe v4l1-compat debug=1
--> (nothing)

# modprobe v4l2-common
FATAL: Module v4l2_common already in kernel.

# modprobe video-buf
FATAL: Module video_buf already in kernel.

# modprobe dst dst_verbose=1 dst_debug=1
--> (nothing)

# modprobe bt878 bt878_verbose=1 bt878_debug=1
--> bt878: AUDIO driver version 0.0.0 loaded
    bt878: Bt878 AUDIO function found (0).
    bt878(0): Bt878 (rev 17) at 00:0c.1, irq: 7, latency: 32, memory: 0xe2012000

# modprobe dvb-bt8xx
--> attach: checking "bt878 #0 [hw]"
    find by pci: checking "bt878 #0 [hw]"

When trying to talk to the frontend:

# ./szap BBC1
reading channels from file '/home/koef/.szap/channels.conf'
zapping to 'BBC1':
sat 0, frequency = 10773 MHz H, symbolrate 22000000, vpid = 0x0900, apid =
0x0902
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
opening frontend failed: No such device

Card works under Windows with stock Twinhan driver.

Thanks,

-- 
Koef.


--- dvb_functions.c     14 Oct 2003 08:11:03 -0000      1.4
+++ dvb_functions.c     15 Oct 2003 14:40:58 -0000
@@ -7,6 +7,8 @@
 #include <linux/smp_lock.h>
 #include <asm/uaccess.h>
 
+#include "dvb_functions.h"
+
 void dvb_kernel_thread_setup (const char *thread_name)
 {
         lock_kernel ();


--- dvb_net.c   14 Oct 2003 09:23:17 -0000      1.33
+++ dvb_net.c   15 Oct 2003 14:41:38 -0000
@@ -477,8 +477,8 @@
        dev->flags |= IFF_NOARP;
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
        return 0;
-}
 #endif
+}
 
 static int get_if(struct dvb_net *dvbnet)
 {


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



Home | Main Index | Thread Index