|
Home > Archive > Debian Developers > December 2004 > Sarge and bttv-alsa-artsd problem
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Sarge and bttv-alsa-artsd problem
|
|
| Marios K. 2004-12-18, 5:49 pm |
|
I just installed debian sarge. My system has onboard via8233 sound card
and one pci tv card (Pixelview Playtv). With the default kernel 2.4.27
(i386,686,k7 versions) everything works fine and i have sound
everywhere. With apt-get install, i installed alsa-base and kernel
2.6.8-k7
When i boot with kernel 2.6.8 and kde starts this message appears
Sound server informational message:
Error while initializing the sound driver:
device: default can't be opened for playback (No such device)
The sound server will continue, using the null output device.
Playing a little with xmms, i forced it to use the hw(1,0) card so i can
hear sound in xmms, but no sound at all at kde.
If i write alsamixer -c 0 comes the mixewr for the bttv card, and if i
write alsamixer -c 1 the mixer for the via 8233.
Here is my lsmod
lsmod
Module Size Used by
ipv6 264612 8
appletalk 36628 20
lp 11176 0
snd_via82xx 29540 0
snd_ac97_codec 70020 1 snd_via82xx
snd_mpu401_uart 7968 1 snd_via82xx
snd_rawmidi 25156 1 snd_mpu401_uart
snd_seq_device 8200 1 snd_rawmidi
usblp 13088 0
uhci_hcd 33136 0
ohci_hcd 21764 0
snd_bt87x 14280 0
snd_pcm_oss 55048 0
snd_mixer_oss 20096 1 snd_pcm_oss
snd_pcm 98728 3 snd_via82xx,snd_bt87x,snd_pcm_oss
snd_timer 25668 1 snd_pcm
snd 57156 10
snd_via82xx,snd_ac97_codec,snd_mpu401_ua
rt,snd_
rawmidi,snd_seq_device,snd_bt87x,snd_pcm
_oss,snd_mixer_oss,snd_pcm,snd_timer
snd_page_alloc 11752 3 snd_via82xx,snd_bt87x,snd_pcm
bttv 155276 0
video_buf 22180 1 bttv
i2c_algo_bit 9832 1 bttv
v4l2_common 6144 1 bttv
btcx_risc 4808 1 bttv
i2c_core 24176 2 bttv,i2c_algo_bit
videodev 10016 1 bttv
soundcore 10336 2 snd,bttv
8139cp 20672 0
shpchp 101996 0
pciehp 99084 0
pci_hotplug 34640 2 shpchp,pciehp
via_agp 9056 1
agpgart 34696 1 via_agp
tsdev 7392 0
mousedev 10476 2
psmouse 20360 0
floppy 61200 0
analog 11968 0
gameport 4704 2 snd_via82xx,analog
parport_pc 35392 1
parport 41832 2 lp,parport_pc
pcspkr 3592 0
evdev 9600 0
ehci_hcd 32004 0
usbcore 119012 6 usblp,uhci_hcd,ohci_hcd,ehci_hcd
8139too 26112 0
mii 5120 2 8139cp,8139too
crc32 4320 2 8139cp,8139too
via_ircc 26416 0
irda 197120 1 via_ircc
crc_ccitt 2144 1 irda
capability 4520 0
commoncap 7232 1 capability
ide_cd 42656 0
cdrom 40732 1 ide_cd
rtc 12760 0
isofs 37240 0
ext2 71848 0
ext3 127240 3
jbd 62616 1 ext3
mbcache 9348 2 ext2,ext3
ide_generic 1408 0
via82cxxx 14332 1
ide_disk 19296 5
ide_core 139940 4 ide_cd,ide_generic,via82cxxx,ide_disk
sd_mod 21696 0
ata_piix 8164 0
libata 41604 1 ata_piix
scsi_mod 125196 2 sd_mod,libata
unix 28692 255
font 8320 0
vesafb 6656 0
cfbcopyarea 3840 1 vesafb
cfbimgblt 3040 1 vesafb
cfbfillrect 3776 1 vesafb
And my dmesg
....
VP_IDE: IDE controller at PCI slot 0000:00:11.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8233 (rev 00) IDE UDMA100 controller on pci0000:00:11.1
.....
.....
via82xx: Assuming DXS channels with 48k fixed sample rate.
Please try dxs_support=1 or dxs_support=4 option
and report if it works on your machine.
If i write artsd
ALSA lib pcm_hw.c:1155 snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed:
No such device
Error while initializing the sound driver:
device: default can't be opened for playback (No such device)
If i remove the tv card from the pc, amd boot without it then sound
returns and kde starts without problem.
It is probably confilct with tv card and sound card with default sound,
but i can't figure it out. Any ideas?
--
Marios K. <marios_hellas_23@yahoo.gr>
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Andreas Metzler 2004-12-18, 5:49 pm |
| On 2004-12-18 "Marios K." <marios_hellas_23@yahoo.gr> wrote:
> I just installed debian sarge. My system has onboard via8233 sound card
> and one pci tv card (Pixelview Playtv). With the default kernel 2.4.27
> (i386,686,k7 versions) everything works fine and i have sound
> everywhere. With apt-get install, i installed alsa-base and kernel
> 2.6.8-k7
> When i boot with kernel 2.6.8 and kde starts this message appears
> Sound server informational message:
> Error while initializing the sound driver:
> device: default can't be opened for playback (No such device)
> The sound server will continue, using the null output device.
> Playing a little with xmms, i forced it to use the hw(1,0) card so i can
> hear sound in xmms, but no sound at all at kde.
> If i write alsamixer -c 0 comes the mixewr for the bttv card, and if i
> write alsamixer -c 1 the mixer for the via 8233.
[...]
> It is probably confilct with tv card and sound card with default sound,
> but i can't figure it out. Any ideas?
Hello,
That is simply caused by the fact that the driver for the sound-device
on the TV-card is loaded first, but you can tell alsa to make the TV
card the secondary device.
echo 'options snd-bt87x index=1' > /etc/modprobe.d/tvis2ndary
update-modules
cu andreas
--
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"
http://downhill.aus.cc/
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Thomas Hood 2004-12-18, 5:49 pm |
| On Sat, 18 Dec 2004 18:10:13 +0100, Andreas Metzler wrote:
> That is simply caused by the fact that the driver for the sound-device
> on the TV-card is loaded first, but you can tell alsa to make the TV
> card the secondary device.
>
> echo 'options snd-bt87x index=1' > /etc/modprobe.d/tvis2ndary
Right.
This is becoming a FAQ. We will add this information to the ALSA
documentation somewhere.
> update-modules
Note that update-modules is not necessary with 2.6 kernels.
--
Thomas Hood
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Marios K. 2004-12-18, 5:49 pm |
| I will give it a shot, but i am pretty sure that i don't have anywhere
the snd-bt87x option.
On Sat, 2004-12-18 at 19:23 +0100, Thomas Hood wrote:
> On Sat, 18 Dec 2004 18:10:13 +0100, Andreas Metzler wrote:
>
>
> Right.
>
> This is becoming a FAQ. We will add this information to the ALSA
> documentation somewhere.
>
>
>
> Note that update-modules is not necessary with 2.6 kernels.
>
> --
> Thomas Hood
>
>
--
Marios K. <marios_hellas_23@yahoo.gr>
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Marios K. 2004-12-22, 7:47 am |
| > > >[vbcol=seagreen]
Nope. That didn't workded.
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Stephen Kitt 2004-12-23, 2:47 am |
| On Wed, 22 Dec 2004 13:35:45 +0200, "Marios K." <marios_hellas_23@yahoo.gr>
wrote:
>
> Nope. That didn't workded.
What does /proc/asound/cards say? Did you reload the modules in question after
adding the above option? The complete set of steps is:
echo 'options snd-bt87x index=1' > /etc/modprobe.d/tvis2ndary
(Stop all programs with a sound-related /dev file open.)
rmmod snd_via82xx snd_bt87x
modprobe snd_bt87x
modprobe snd_via82xx
Regards,
Stephen
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Marios K. 2004-12-28, 6:07 pm |
| Thanks. That workded. Basically i mistyped the snd-bt87x with snd-bt878x, so that's why it didn't workded.
Thanks a lot Stephen
>echo 'options snd-bt87x index=1' > /etc/modprobe.d/tvis2ndary
>(Stop all programs with a sound-related /dev file open.)
>rmmod snd_via82xx snd_bt87x
>modprobe snd_bt87x
>modprobe snd_via82xx
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
|
|
|
|
|