Building and using dvb-1.1.1

Stefan-W. Hahn pkg-vdr-dvb-devel@lists.alioth.debian.org
Wed, 10 Nov 2004 19:32:22 +0100


Hi,

I'm running since Sep 2003 a Hauppage Nexus and Nova on an Leadtek Motherboard
with AmD processor. Using vdr from c't distribution. Because of problems after
switching to native debian vdr (which are not solved and not clear till now as
mentioned earlier on this list), I tried to switch my kernel and dvb-drivers to
newer ones.

I tried kernel 2.4.27 with linuxtv-dvb-1.1.1-4.


First problem
~~~~~~~~~~~~~

First problem is the compiling with make-kpkg. The packageing put the modules to
the wrong place /lib/modules/misc instead of /lib/modules/2.4.27/misc.

After replacing the folling line in modules/dvb-driver/build-2.4/Makefile this
problem was solved.

--- Makefile.org        Wed Nov 10 19:23:01 2004
+++ Makefile    Wed Nov 10 19:22:39 2004
@@ -64,7 +64,7 @@
 
 else
 # take version info from last module build if available
-KERNELRELEASE  := $(shell cat $(obj)/.version 2>/dev/null || echo $(KVERS))
+KERNELRELEASE  := $(KVERS)
 endif
 
 KDIR           := $(KSRC)


Second problem 
~~~~~~~~~~~~~~
After installing kernel and dvb-driver and rebooting only the Nexus was
detected.
What have I done wrong? 

This is my Hardware:

Hauppage Nexus R2.1, Nova:

lspci -v:
01:06.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
        Subsystem: Technotrend Systemtechnik GmbH: Unknown device 0003
        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 (3750ns min, 9500ns max)
        Interrupt: pin A routed to IRQ 3
        Region 0: Memory at e2000000 (32-bit, non-prefetchable) [size=512]

01:07.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
        Subsystem: Technotrend Systemtechnik GmbH: Unknown device 100f
        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 (3750ns min, 9500ns max)
        Interrupt: pin A routed to IRQ 5
        Region 0: Memory at e2001000 (32-bit, non-prefetchable) [size=512]


Excerpt from syslog when booting 2.4.22 with dvb-driver-2.4.22_1.0.1-4:
Nov  9 18:51:48 uhura kernel: Linux video capture interface: v1.00
Nov  9 18:51:49 uhura kernel: DVB: registering new adapter (Technotrend/Hauppauge PCI rev2.1 or 2.2).
Nov  9 18:51:50 uhura kernel: stv0299.c: setup for tuner BSRU6, TDQB-S00x
Nov  9 18:51:50 uhura kernel: DVB: registering frontend 0:0 (STV0299/TSA5059/SL1935 based)...
Nov  9 18:51:50 uhura kernel: DVB: registering new adapter (TT-Budget/WinTV-NOVA-CI PCI).
Nov  9 18:51:51 uhura kernel: stv0299.c: setup for tuner SU1278/SH
Nov  9 18:51:51 uhura kernel: DVB: registering frontend 1:0 (STV0299/TSA5059/SL1935 based)...
Nov  9 18:51:54 uhura kernel: DVB: AV7111(0) - firm f0240009, rtsl b0250018, vid 71010068, app 8000261b
Nov  9 18:51:54 uhura kernel: DVB: AV7111(0) - firmware supports CI link layer interface
Nov  9 18:51:54 uhura kernel: av7110(0): adac type set to 0
Nov  9 18:51:54 uhura kernel: Technotrend/Hauppauge PCI rev2.1 or 2.2 adapter 0 has MAC addr = 00:d0:5c:20:30:52
Nov  9 18:51:54 uhura kernel: TT-Budget/WinTV-NOVA-CI PCI adapter 1 has MAC addr = 00:d0:5c:21:fd:e0

and the lsmod from this:
dvb-ttpci             299956   4 
stv0299                 6488   0  (unused)
dmxdev                  7920  19  [dvb-ttpci]
dvb-core               36484   6  [dvb-ttpci stv0299 dmxdev]
compat                  1696   0  (unused)
videodev                3904   1  [dvb-ttpci]
nvnet                  25856   1  (autoclean)
ext3                   56804   2  (autoclean)
jbd                    36136   2  (autoclean) [ext3]
evdev                   3904   1 
input                   3328   0  [dvb-ttpci evdev]
rtc                     5660   0  (autoclean)


Excerpt from syslog after booting 2.4.27, 
 dvb-driver-2.4.27_1.1.1-3 (generated from source linuxtv-dvb-1.1.1-4):
Nov 10 19:06:44 uhura kernel: Linux video capture interface: v1.00
Nov 10 19:06:44 uhura kernel: saa7146: register extension 'dvb'.
Nov 10 19:06:44 uhura kernel: KBUILD_BASENAME: found saa7146 @ mem de8f4000 (revision 1, irq 3) (0x13c2,0x0003).
Nov 10 19:06:44 uhura kernel: DVB: registering new adapter (Technotrend/Hauppauge PCI rev2.1).
Nov 10 19:06:45 uhura kernel: probe_tuner: try to attach to Technotrend/Hauppauge PCI rev2.1
Nov 10 19:06:46 uhura kernel: stv0299.c: setup for tuner BSRU6, TDQB-S00x
Nov 10 19:06:46 uhura kernel: DVB: registering frontend 0:0 (STV0299/TSA5059/SL1935 based)...
Nov 10 19:06:47 uhura kernel: Technotrend/Hauppauge PCI rev2.1 adapter 0 has MAC addr = 00:d0:5c:20:30:52
Nov 10 19:06:49 uhura kernel: DVB: AV7111(0) - firm f0240009, rtsl b0250018, vid 71010068, app 8000261c
Nov 10 19:06:49 uhura kernel: DVB: AV7111(0) - firmware supports CI link layer interface
Nov 10 19:06:50 uhura kernel: av7110(0): adac type set to 0
Nov 10 19:06:50 uhura kernel: KBUILD_BASENAME: saa7146 (0): registered device video0 [v4l2]
Nov 10 19:06:50 uhura kernel: av7110: found av7110-0.

and the lsmod:
dvb-ttpci             281940   4 
ves1x93                 4244   0 
alps_tdmb7              3308   0 
alps_tdlb7              4948   0 
grundig_29504-401       3784   0 
grundig_29504-491       3188   0 
stv0299                 8616   0  (unused)
ves1820                 4456   0 
ttpci-eeprom            1280   0  [dvb-ttpci]
dvb-core               36332  14  [dvb-ttpci ves1x93 alps_tdmb7 alps_tdlb7 grundig_29504-401 grundig_29504-491 stv0299 ves1820]
saa7146_vv             32372   0  [dvb-ttpci]
saa7146                 9944   0  [dvb-ttpci saa7146_vv]
video-buf              10048   0  [saa7146_vv]
videodev                4160   1  [saa7146_vv]
v4l2-common             2912   0  [saa7146_vv]
v4l1-compat            12232   0  [saa7146_vv]
crc32                   2848   0  [dvb-ttpci]
nvnet                  26048   1  (autoclean)
ext3                   58240   2  (autoclean)
jbd                    37480   2  (autoclean) [ext3]
evdev                   4160   1 
input                   3424   0  [dvb-ttpci evdev]
rtc                     6012   0  (autoclean)


Is there any help/advice possible?

Stefan

-- 
Stefan-W. Hahn                          It is easy to make things.
/ mailto:stefan.hahn@s-hahn.de /        It is hard to make things simple.