bttv on 2.1.113, no sound (other sound works fine)

Paul Wouters (paul@xtdnet.nl)
Sun, 2 Aug 1998 01:32:29 +0200 (MET DST)


It seems sound doesnt work with my bttv with xawtv-2.19. Tuner and video are
fine. Works with sound under win95. sound works in linux (tested with xwave and
mpg123)
The output of lsmod:

Module Size Used by
bttv 24468 0
msp3400 7780 1
saa5249 6104 0 (unused)
videodev 2244 3 [bttv saa5249]
tuner 1692 1
i2c 3140 4 [bttv msp3400 saa5249 tuner]
sb 22872 0
uart401 5660 0 [sb]
sound 56720 0 [msp3400 sb uart401]
soundlow 248 0 [sound]
soundcore 1868 6 [sb sound]
nls_iso8859-1 2012 1 (autoclean)
nls_cp437 3536 1 (autoclean)
vfat 13740 1 (autoclean)
fat 24436 1 (autoclean) [vfat]

Seems, kmod isn't doing its work yet, so I got this by doing:
/sbin/modprobe uart401
/sbin/modprobe sb io=0x220 irq=5 dma=1 dma16=5
/sbin/modprobe tuner type=5
/sbin/modprobe msp3400 debug=1
/sbin/modprobe bttv radio=1 vidmem=0xf80
/sbin/modprobe modprobe saa5249

Here's the modprobe for msp3400 debug=1 followed by a modprobe for bttv.

bttv: Host bridge 82437FX Triton PIIX
bttv: Brooktree Bt848 (rev 18) bus: 0, devfn: 72, irq: 10, memory: 0xffbde000.
bttv: 1 Bt848 card(s) found.
bttv: model: HAUPPAUGE
i2c: bus registered: bt848-0
i2c: device attached: tuner (addr=0xc2, bus=bt848-0, driver=tuner)
msp3400: init: chip=MSP3400C-C6, registered as sound mixer
i2c: device attached: MSP3400C-C6 (addr=0x80, bus=bt848-0, driver=msp3400)
bttv: PCI display adapter: S3.
bttv: Video memory override: 0xf8000000
bttv: PCI display adapter: S3.
bttv: Video memory override: 0xf8000000
bttv: PCI display adapter: S3.
bttv: Video memory override: 0xf8000000
bttv: PCI display adapter: S3.
bttv: Video memory override: 0xf8000000
bttv: PCI display adapter: S3.
bttv: Video memory override: 0xf8000000
bttv: PCI display adapter: S3.
bttv: Video memory override: 0xf8000000
bttv: PCI display adapter: S3.
bttv: Video memory override: 0xf8000000
bttv: PCI display adapter: S3.
bttv: Video memory override: 0xf8000000
bttv: PCI display adapter: S3.
bttv: Video memory override: 0xf8000000
bttv: PCI display adapter: S3.
bttv: Video memory override: 0xf8000000
bttv: PCI display adapter: S3.
bttv: Video memory override: 0xf8000000
bttv: PCI display adapter: S3.
bttv: Video memory override: 0xf8000000
bttv: PCI display adapter: S3.
bttv: Video memory override: 0xf8000000
bttv: PCI display adapter: S3.
bttv: Video memory override: 0xf8000000
i2c: device detached: tuner (addr=0xc2, bus=bt848-0, driver=tuner)
i2c: device detached: MSP3400C-C6 (addr=0x80, bus=bt848-0, driver=msp3400)
i2c: bus unregistered: bt848-0
i2c: driver unregistered: msp3400
i2c: driver registered: msp3400

[ modprobe bttv radio=1 vidmem=0xf80 ]

bttv: Host bridge 82437FX Triton PIIX
bttv: Brooktree Bt848 (rev 18) bus: 0, devfn: 72, irq: 10, memory: 0xffbde000.
bttv: 1 Bt848 card(s) found.
bttv: model: HAUPPAUGE
i2c: bus registered: bt848-0
i2c: device attached: tuner (addr=0xc2, bus=bt848-0, driver=tuner)
msp3400: setmode: 3
msp3400: setvolume: 65535:65535 0x73 0x00
msp3400: setbass: 32768 0x00
msp3400: settreble: 32768 0x00
msp3400: thread: start
msp3400: thread: sleep
msp3400: init: chip=MSP3400C-C6, registered as sound mixer
i2c: device attached: MSP3400C-C6 (addr=0x80, bus=bt848-0, driver=msp3400)
msp3400: thread: wakeup
msp3400: setvolume: 0:0 0x00 0x00
msp3400: setmode: 0
msp3400: carrier1 val: 2091 / 4.5 NTSC
msp3400: carrier1 val: 7133 / 5.5 PAL B/G
msp3400: carrier1 val: 2435 / 6.0 PAL I
msp3400: carrier1 val: 489 / 6.5 PAL SAT / SECAM
msp3400: carrier2 val: 3798 / 5.742 PAL B/G FM-stereo
msp3400: carrier2 val: 1615 / 5.85 PAL B/G NICAM
msp3400: setmode: 3
msp3400: B/G setstereo: 1
msp3400: setvolume: 65535:65535 0x73 0x00
msp3400: thread: sleep
msp3400: thread: wakeup
msp3400: stereo detect register: 17128
msp3400: watch: stereo 1 ==> 2
msp3400: B/G setstereo: 2
msp3400: thread: sleep
bttv: Video memory override: 0xf8000000
bttv: Video memory override: 0xf8000000
msp3400: setvolume: -2147418113:-2147418113 0xffff8073 0x00
msp3400: setbass: -2147450880 0x00
msp3400: settreble: 32768 0x00
msp3400: thread: wakeup
msp3400: setvolume: 0:0 0x00 0x00
msp3400: setmode: 0
msp3400: carrier1 val: 1868 / 4.5 NTSC
msp3400: carrier1 val: 7036 / 5.5 PAL B/G
msp3400: carrier1 val: 1967 / 6.0 PAL I
msp3400: carrier1 val: 450 / 6.5 PAL SAT / SECAM
msp3400: carrier2 val: 3773 / 5.742 PAL B/G FM-stereo
msp3400: carrier2 val: 1645 / 5.85 PAL B/G NICAM
msp3400: setmode: 3
msp3400: B/G setstereo: 1
msp3400: setvolume: -2147418113:-2147418113 0xffff8073 0x00
msp3400: thread: sleep
msp3400: thread: wakeup
msp3400: stereo detect register: 20053
msp3400: watch: stereo 1 ==> 2
msp3400: B/G setstereo: 2
msp3400: thread: sleep
msp3400: thread: wakeup
msp3400: stereo detect register: 23857
msp3400: thread: sleep

If anyone could pass me a cluon..... :)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html