Mailing List archive

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

[vdr] Re: using linux-2.6 there's no osd anymore



daniel peess a écrit :
On Sat, Sep 04, 2004 at 09:53:00PM +0200, daniel peess wrote:

i did the same on kernel-2.6 as with linux-2.4, but probably that changed
due to hotplug.

$ cd /opt/dvb-kernel-20040829-2.6/build-2.6/
$ ./getlinks
...
$ make
[ -L saa7146_video.c ] || ./getlinks
make -C /lib/modules/2.6.7-1-686/build
SUBDIRS=/opt/dvb-kernel-20040829-2.6/build-2.6 AV7110_FIRMWARE= AV7110_OSD=

i even copied the firmware into the build directory, as the makefile seems
to check for its presence, but still doesn't work.

loading the driver with hotplug does work, but how to force the OSD support?



the debian sarge kernel already got dvb drivers included,
but i want to use the cvs ones, that's why the makefile behaves different.
( mention: i do unload all drivers of the sarge kernel first )

i forced 'AV7110_OSD=y' by making these changes:

cvs diff: Diffing .
Index: Makefile
===================================================================
RCS file: /cvs/linuxtv/dvb-kernel/build-2.6/Makefile,v
retrieving revision 1.26
diff -r1.26 Makefile
19c19
< ifndef CONFIG_DVB
---

#ifndef CONFIG_DVB
21c21
< ifneq ($(CONFIG_DVB_AV7110_FIRMWARE_FILE),)
---

#ifneq ($(CONFIG_DVB_AV7110_FIRMWARE_FILE),)
25,27c25,27
< endif
< else
< ifdef CONFIG_DVB_AV7110_FIRMWARE
---

#endif
#else
#ifdef CONFIG_DVB_AV7110_FIRMWARE
29,30c29,30
< endif
< endif
---

#endif
#endif
Index: insmod.sh

then the compilation starts like this:
cc -o fdump fdump.c
./fdump dvb-ttpci-01.fw dvb_ttpci_fw av7110_firm.h
make -C /lib/modules/2.6.7-1-686/build \
        SUBDIRS=/opt/dvb-kernel-20040829-2.6/build-2.6 \
        AV7110_FIRMWARE=dvb-ttpci-01.fw AV7110_OSD=y
make[1]: Entering directory `/usr/src/kernel-headers-2.6.7-1-686'
...

# dmesg
saa7146: found saa7146 @ mem c9aef000 (revision 1, irq 9) (0x13c2,0x0000).
DVB: registering new adapter (Siemens/Technotrend/Hauppauge PCI rev1.3).
ves1x93: Detected ves1893a rev2
DVB: registering frontend 0 (VES1893)...
mt312_read: ret == -121
adapter has MAC addr = 00:d0:5c:5b:af:ff
gpioirq unknown type=0 len=0
DVB: AV7111(0) - firm f0240009, rtsl b0250018, vid 71010068, app 8000261c
DVB: AV7111(0) - firmware supports CI link layer interface
av7110(0): adac type set to 0
saa7146_vv: saa7146 (0): registered device video0 [v4l2]
av7110: found av7110-0.
saa7146: register extension 'budget dvb'.
saa7146: register extension 'budget_ci dvb'.
saa7146: register extension 'budget dvb /w video in'.
usbcore: registered new driver Technotrend/Hauppauge USB-Nova
usbcore: registered new driver ttusb-dec
usbcore: registered new driver vp7041

but still no osd... strange, isn't it?

I had the same pb here. The only solution I found was to recompile my Kernel to add OSD Support...
If someone was able to contact the Debian Kernel Team, that would be great to convince them to change that detail in their binaries !

Regards,

Trois Six




Home | Main Index | Thread Index