Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Twinhan VP1020 and EM8300 (dxr3) under 2.6.3 ????
Hello everybody....
I have problems running my em8300 card TOGETHER with the twinhan DVB card
under kernel 2.6.3 ....
has anyone tried this?????
here are the details:
the em8300 card:
00:0d.0 Multimedia controller: Sigma Designs, Inc. REALmagic Hollywood Plus
DVD Decoder (rev 02)
Flags: bus master, medium devsel, latency 64, IRQ 12
Memory at cfe00000 (32-bit, non-prefetchable) [size=1M]
Capabilities: [40] Power Management version 1
the twinhand dvb card:
00:09.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (
rev 11)
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at cdbfe000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2
00:09.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11
)
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at cdbff000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2
here is my module load/unload script for dvb:
#!/bin/sh
case "$1" in
start)
modprobe bttv card=0x71 i2c_hw=1
## the 0x68er card does nt work for me, freezes the system.....
modprobe dvb_bt8xx
modprobe dst dst_type=0 dst_type_flags=1
# modprobe dst dst_type=0
;;
stop)
rmmod dst
rmmod dvb_bt8xx
rmmod dvb_core
rmmod bt878
rmmod tuner
rmmod bttv
rmmod i2c_algo_bit
rmmod video_buf
rmmod btcx_risc
rmmod i2c_core
rmmod videodev
rmmod v4l2_common
lsmod
;;
*)
echo "Use: dvb {start|stop}" >&2
exit 1
;;
esac
here is the dmesg output:
Linux video capture interface: v1.00
bttv: driver version 0.9.12 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
PCI: Found IRQ 11 for device 0000:00:09.0
PCI: Sharing IRQ 11 with 0000:00:09.1
bttv0: Bt878 (rev 17) at 0000:00:09.0, irq: 11, latency: 64, mmio: 0xcdbfe000
bttv0: using: Twinhan DST + clones [card=113,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=00fefffe [init]
bttv0: using tuner=4
bttv0: add subdevice "dvb0"
bt878: AUDIO driver version 0.0.0 loaded
bt878: Bt878 AUDIO function found (0).
PCI: Found IRQ 11 for device 0000:00:09.1
PCI: Sharing IRQ 11 with 0000:00:09.0
bt878(0): Bt878 (rev 17) at 00:09.1, irq: 11, latency: 64, memory: 0xcdbff000
attach: checking "bt878 #0 [hw]"
find by pci: checking "bt878 #0 [hw]"
attach: "bt878 #0 [hw]", to card 0
DVB: registering new adapter (DST).
bt878 find by dvb adap: checking "DST"
dst_check_ci: unable to recognize 200103A or 00103A
dst_check_ci please email linux-dvb@linuxtv.org with this type in
DST type : satellite
dst_check_ci: user override dst type flags 0x1
DST type flags : 0x1 newtuner
DVB: registering frontend 0:0 (DST SAT)...
took me quite a while to get that far....
...loading the bttv driver always froze the system....
until i made everything new from scratch with gcc 3.3 and kernel 2.6.3.
this part seemed (!) to be working fine....
watching tv with "xine dvb://" was possible.....
now to the em8300/dxr3
----------------------
to get my em8300/dxr3 card working i patched my kernel tree with
http://www.jburgess.uklinux.net/linux-2.6.0-test9-dxr3.patch.bz2
from Jon Burgess (thanks man) , and after a little tweaking it worked for my
card.....
...here ist the shellscript:
#!/bin/sh
case "$1" in
start)
/sbin/modprobe i2c-algo-bit
/sbin/modprobe adv717x pixelport_16bit=0
/sbin/modprobe em8300 dicom_control=0
em8300setup -f /usr/share/misc/em8300.uc
;;
stop)
fuser -k /dev/em8300-0
fuser -k /dev/em8300_mv-0
fuser -k /dev/em8300_ma-0
rmmod em8300
rmmod adv717x
#rmmod bt865
rmmod i2c-algo-bit
rmmod i2c-core
;;
*)
echo "Use: dxr3 {start|stop}" >&2
exit 1
;;
esac
here is the dmesg output:
PCI: Found IRQ 12 for device 0000:00:0d.0
em8300: EM8300 8300 (rev 2) bus: 0, devfn: 104, irq: 12, memory: 0xcfe000
em8300: mapped-memory at 0xe1df9000
em8300: using MTRR
em8300_main.o: Chip revision: 2
adv717x.o: ADV7170 chip detected
em8300: Microcode version 0x29 loaded
....i could play mpeg-files via "mplayer .vo dxr3"
except for this:
Debug: sleeping function called from invalid context at include/asm/uaccess.h:498
in_atomic():1, irqs_disabled():0
Call Trace:
[<c011b1db>] __might_sleep+0xab/0xd0
[<c02afc38>] snd_pcm_update_hw_ptr+0x138/0x1e0
[<e0ab9f5d>] em8300_fifo_write_nonblock+0x14d/0x1d0 [em8300]
[<e0aba0da>] em8300_fifo_writeblocking+0x4a/0xb0 [em8300]
[<e0aba1fc>] em8300_fifo_write+0xbc/0xc0 [em8300]
[<e0abad34>] em8300_video_write+0xe4/0x140 [em8300]
[<e0ab7475>] em8300_io_write+0x55/0x90 [em8300]
[<e0ab7420>] em8300_io_write+0x0/0x90 [em8300]
[<c0150eda>] vfs_write+0xaa/0x120
[<c010ea5a>] do_gettimeofday+0x1a/0xb0
[<c0150fef>] sys_write+0x3f/0x60
[<c010934f>] syscall_call+0x7/0xb
which is constantly repeated during playing... first i thought i uses the
wrong includes while compiling kernel 2.6.3 (i did!) but changin them to the
proper kernel tree and recompiling mplayer did`nt change anything......
despite the error the card is playing anything fine and responding to the
em8300setup program....
but when i load the dvb driver it freezes the system again.....
..funny thing is i have to switch of the computer after this for a few
minutes, cause otherwise it waits forever before bootin at: "Checking NVRAM.."
so i guess there is some serious irq routing problem involved....
...(desperately) i tried to change some cards around and diabled some irq
using stuff in the bios... but guess what.... no go...:(((
after using linuxtv-1.1.1 on the kernel and recompiling nothing works
anymore...(okay i had to copy some things aroung to get the em8300 driver into
the kernel again, i guess i should`nt have done that, or probably patched it
properly with jons patch again????)
i am downloading 2.6.4. at the moment.... and start clean over again....
unless someone has some hints for me.....
sorry if i forgot something or just asking stupid questions...
i am more or less just stumpling aroung......
any help would be appreciated
thanks
oli
--
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index