2003-01-26 22:41:56

by Daniel Ritz

[permalink] [raw]
Subject: [ALSA] opl3sa2 silence

hi

my toshiba tecra 8000 doesn't make a single beep when using the alsa opl3sa2
driver. the resources are forced by hand (since pnpc_ doesn't work here),
i also tried a quick pnp (no cards) hack, the chip is detected correctly,
but still doesn't make sound. the card shows up in /proc/asound/.
when 'playing' sound, /proc/asound/card0/pcm0p/sub0/status shows nice values.
i used alsamixer to give full volume to all channels, still no results...

OSS opl3sa2 driver is working fine.

thanx for any hints, patches, etc...
-daniel


2003-01-27 11:51:20

by Takashi Iwai

[permalink] [raw]
Subject: Re: [ALSA] opl3sa2 silence

At Sun, 26 Jan 2003 23:50:51 +0100,
Daniel Ritz wrote:
>
> hi
>
> my toshiba tecra 8000 doesn't make a single beep when using the alsa opl3sa2
> driver. the resources are forced by hand (since pnpc_ doesn't work here),
> i also tried a quick pnp (no cards) hack, the chip is detected correctly,
> but still doesn't make sound. the card shows up in /proc/asound/.
> when 'playing' sound, /proc/asound/card0/pcm0p/sub0/status shows nice values.
> i used alsamixer to give full volume to all channels, still no results...

please try to touch the PCM volume after playing the sound again.
it seems that there is a bug hidden in alsa opl3sa2 driver, occuring
on some notebooks. unfortunately, i cannot debug this due to lack of
hardware...


Takashi

2003-01-27 14:43:15

by Daniel Ritz

[permalink] [raw]
Subject: Re: [ALSA] opl3sa2 silence

ok, i tried that. unfortunately no results. what would you like me to do?
where to start debugging?

-daniel


On Monday 27 January 2003 13:00, Takashi Iwai wrote:
> At Sun, 26 Jan 2003 23:50:51 +0100,
>
> Daniel Ritz wrote:
> > hi
> >
> > my toshiba tecra 8000 doesn't make a single beep when using the alsa
> > opl3sa2 driver. the resources are forced by hand (since pnpc_ doesn't
> > work here), i also tried a quick pnp (no cards) hack, the chip is
> > detected correctly, but still doesn't make sound. the card shows up in
> > /proc/asound/. when 'playing' sound, /proc/asound/card0/pcm0p/sub0/status
> > shows nice values. i used alsamixer to give full volume to all channels,
> > still no results...
>
> please try to touch the PCM volume after playing the sound again.
> it seems that there is a bug hidden in alsa opl3sa2 driver, occuring
> on some notebooks. unfortunately, i cannot debug this due to lack of
> hardware...
>
>
> Takashi

2003-01-27 15:14:00

by Takashi Iwai

[permalink] [raw]
Subject: Re: [ALSA] opl3sa2 silence

At Mon, 27 Jan 2003 15:52:25 +0100,
Daniel Ritz wrote:
>
> ok, i tried that. unfortunately no results. what would you like me to do?
> where to start debugging?

hmm, are all the mixers configured properly, i.e. volume adjusted
_and_ unmuted? you need to set up at least "Master" and "PCM"
volumes...


ciao,

Takashi

>
> -daniel
>
>
> On Monday 27 January 2003 13:00, Takashi Iwai wrote:
> > At Sun, 26 Jan 2003 23:50:51 +0100,
> >
> > Daniel Ritz wrote:
> > > hi
> > >
> > > my toshiba tecra 8000 doesn't make a single beep when using the alsa
> > > opl3sa2 driver. the resources are forced by hand (since pnpc_ doesn't
> > > work here), i also tried a quick pnp (no cards) hack, the chip is
> > > detected correctly, but still doesn't make sound. the card shows up in
> > > /proc/asound/. when 'playing' sound, /proc/asound/card0/pcm0p/sub0/status
> > > shows nice values. i used alsamixer to give full volume to all channels,
> > > still no results...
> >
> > please try to touch the PCM volume after playing the sound again.
> > it seems that there is a bug hidden in alsa opl3sa2 driver, occuring
> > on some notebooks. unfortunately, i cannot debug this due to lack of
> > hardware...
> >
> >
> > Takashi
>

2003-01-27 17:45:47

by Daniel Ritz

[permalink] [raw]
Subject: Re: [ALSA] opl3sa2 silence

jup, switching mute on/off did the trick. (and i switched to self-compiled
alsa-utils since the last mail, not those binaries)
however the sound quality is miserable when PCM volume is more than 90%...
but what do i care? anyway thanx for the help.

now the question: is it possible to convert the driver to normal pnp, ie. no
pnp cards? (forcing the resources by hand is working but using pnp would be
much nicer, and since pnpc_ doesn't work for me...)

-daniel


On Monday 27 January 2003 16:23, Takashi Iwai wrote:
> At Mon, 27 Jan 2003 15:52:25 +0100,
>
> Daniel Ritz wrote:
> > ok, i tried that. unfortunately no results. what would you like me to do?
> > where to start debugging?
>
> hmm, are all the mixers configured properly, i.e. volume adjusted
> _and_ unmuted? you need to set up at least "Master" and "PCM"
> volumes...
>
>
> ciao,
>
> Takashi
>
> > -daniel
> >
> > On Monday 27 January 2003 13:00, Takashi Iwai wrote:
> > > At Sun, 26 Jan 2003 23:50:51 +0100,
> > >
> > > Daniel Ritz wrote:
> > > > hi
> > > >
> > > > my toshiba tecra 8000 doesn't make a single beep when using the alsa
> > > > opl3sa2 driver. the resources are forced by hand (since pnpc_
> > > > doesn't work here), i also tried a quick pnp (no cards) hack, the
> > > > chip is detected correctly, but still doesn't make sound. the card
> > > > shows up in /proc/asound/. when 'playing' sound,
> > > > /proc/asound/card0/pcm0p/sub0/status shows nice values. i used
> > > > alsamixer to give full volume to all channels, still no results...
> > >
> > > please try to touch the PCM volume after playing the sound again.
> > > it seems that there is a bug hidden in alsa opl3sa2 driver, occuring
> > > on some notebooks. unfortunately, i cannot debug this due to lack of
> > > hardware...
> > >
> > >
> > > Takashi

2003-01-27 18:24:01

by Jaroslav Kysela

[permalink] [raw]
Subject: Re: [ALSA] opl3sa2 silence

On Mon, 27 Jan 2003, Daniel Ritz wrote:

> jup, switching mute on/off did the trick. (and i switched to self-compiled
> alsa-utils since the last mail, not those binaries)
> however the sound quality is miserable when PCM volume is more than 90%...
> but what do i care? anyway thanx for the help.
>
> now the question: is it possible to convert the driver to normal pnp, ie. no
> pnp cards? (forcing the resources by hand is working but using pnp would be
> much nicer, and since pnpc_ doesn't work for me...)

Yes, this driver might be converted to pnp_device, but I don't like that
and I won't do that. I'm actually trying to make some consensus with Adam
to remove the whole broken pnpc stuff, because the current model is simply
bad and reintroduce something like enhanced pnp_device model when more pnp
devices can be probed and grabbed at once. When things are settled down,
I'll convert all ALSA drivers to new PnP interface immediately.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs