Re: ALSA Driver for Sparc DBRI chips
Am Dienstag, 7. Dezember 2004 18:39 schrieb Takashi Iwai:
> At Tue, 7 Dec 2004 17:54:41 +0100,
>
> Hendrik Sattler wrote:
> > Am Montag, 6. Dezember 2004 20:17 schrieb Hendrik Sattler:
> > > Am Sonntag, 21. November 2004 12:34 schrieb Martin Habets:
> > > > I have been working on an ALSA driver for the DBRI/CS4215 chip
> > > > combo found in Sparc machines. It is a port of the 2.5 OSS driver.
> > >
> > > After setting the defines from pci_* to NULL and recompiling, it now
> > > loads. I try playback later and capture later, any suggestion for good
> > > console alsa applications? How do I toggle switches with alsamixer,
> > > same as muting?
> >
> > I used alsamixer to set the volume and tried aplay to play a WAV file.
> > However, no success: nothing can be heard, neither with snd-sun-amd7930
> > nor with snd-sun-dbri. Maybe assigning NULL causes this? I really have no
> > idea about kernel or sound programming...
>
> I guess, no. If NULL change were the culprit, it should result in an
> error instead of silence. If the sound looks as if working
> (e.g. aplay -vv shows the meters), the problem is likely the mixer
> configuration.
>
> Please attach /etc/asound.state (saved by "alsactl store") to check
> the mixer status.
Here's the file (stored als /var/lib/alsa/asound.state in Debian):
state.AMD7930 {
control.1 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 255'
iface MIXER
name 'Monitor Volume'
value 0
}
control.2 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 255'
iface MIXER
name 'Capture Volume'
value 128
}
control.3 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 255'
iface MIXER
name 'Playback Volume'
value 200
}
}
state.DBRI {
control.1 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 63'
iface MIXER
name 'Playback Volume'
value.0 48
value.1 48
}
control.2 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Headphone switch'
value true
}
control.3 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Line out switch'
value true
}
control.4 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Speaker switch'
value true
}
control.5 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 15'
iface MIXER
name 'Capture Volume'
value.0 11
value.1 11
}
control.6 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Line in switch'
value true
}
control.7 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'High Pass Filter switch'
value false
}
control.8 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 15'
iface MIXER
name 'Monitor Volume'
value 11
}
control.9 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Mic boost'
value false
}
}
Looks good to me but no output at all.
HS
--
Mein GPG-Key ist auf meiner Homepage verfügbar: http://www.hendrik-sattler.de
oder über pgp.net
PingoS - Linux-User helfen Schulen: http://www.pingos.org
Reply to: