lkml.org 
[lkml]   [2008]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.26-rc1 regression: e5e1d3cb20034a3cbcfff1f0bae12201aa2ce17e breaks artsd
Hello.

Roberto Oppedisano wrote:
>> cat /proc/asound/cards
>>
> 0 [pcsp ]: PC-Speaker - pcsp
> Internal PC-Speaker at port 0x61
> 1 [I82801DBICH4 ]: ICH4 - Intel 82801DB-ICH4
> Intel 82801DB-ICH4 with AD1981B at irq 10
> 2 [Modem ]: ICH-MODEM - Intel 82801DB-ICH4 Modem
> Intel 82801DB-ICH4 Modem at irq 10
>> I guess you simply got the pc-speaker driver
>> loaded first and became your primary sound
>> driver, which is not what you want.
> yes, that's true. Anyway in this case the sound server crashes with a
> signal 6.
I can't say for sure why does the
crash happen, but what is known is
that you need a very recent alsa-lib
to get pc-speaker working properly.
And even 1.0.16 is not modern enough
for that. :(
But that's not a big deal.
The attached config is only what's
needed. Put it into /usr/share/alsa/cards
and /etc/alsa/cards and maybe that
will help. There should be already
the file with that name - overwrite it.

> Passing -D dsp1 to artsd avoids the crash,
The easiest solution is
---
options snd-pcsp index=2
---
into /etc/modprobe.conf. It will
then not go ahead of 2 other drivers
of yours.
#
# Configuration for PC-Speaker driver
#

<confdir:pcm/front.conf>

PC-Speaker.pcm.front.0 {
@args [ CARD ]
@args.CARD {
type string
}
type softvol
slave.pcm {
type hw
card $CARD
}
control {
name "Master Playback Volume"
card $CARD
}
min_dB -10.0
max_dB 20.0
}

# default with dmix & null
PC-Speaker.pcm.default {
@args [ CARD ]
@args.CARD {
type string
}
type asym
playback.pcm {
type softvol
control {
name "Master Playback Volume"
card $CARD
}
min_dB -10.0
max_dB 20.0
slave.pcm {
type plug
slave.pcm {
@func concat
strings [ "dmix:" $CARD ]
}
}
}
capture.pcm {
type null
}
}

\
 
 \ /
  Last update: 2008-05-11 22:59    [W:0.082 / U:0.712 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site