Skip to contentSkip to conversation

OSS emulation, CS46xx, 2.6.12-rc2

DISCUSSION Andrew Morton 2 participants 7 messages Apr 11, 2005 – Apr 12, 2005

lore
Share & tools
lore
#0 lore raw

I fired up 2.6.12-rc2 on an IBM A21P laptop and cannot get any audio to come out of gmplayer, which appears to use the OSS APIs (?). `play' is also silent.

Killing off artsd didn't help. It all works OK if I use the kernel's OSS drivers.

I noticed that if I cranked up the "Mic" amplification in aumix, some white noise comes out.

ALSA device list:
#0: Sound Fusion CS46xx at 0xf0122000/0xf0000000, irq 11

00:05.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator] (rev 01)

dmesg and .config are attached.

#1 lore raw

At Mon, 11 Apr 2005 01:21:45 -0700,

Quoted 10 lines · Andrew Morton

I fired up 2.6.12-rc2 on an IBM A21P laptop and cannot get any audio to come out of gmplayer, which appears to use the OSS APIs (?). `play' is also silent.

Killing off artsd didn't help. It all works OK if I use the kernel's OSS drivers.

I noticed that if I cranked up the "Mic" amplification in aumix, some white noise comes out.

Could you check whether 'External Amplifier' is turned on? It seems that the recent change of the "reversed EAPD" hack sets this control off as default unexpectedly.

Anyway, /etc/asound.state (if you have) and /proc/asound/card0/codec97#0/* files would be helpful for debugging.

thanks,

Takashi

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#2 lore raw
Quoted 8 lines · Takashi Iwai

At Mon, 11 Apr 2005 01:21:45 -0700,

Quoted 5 lines · Andrew Morton

I fired up 2.6.12-rc2 on an IBM A21P laptop and cannot get any audio to come out of gmplayer, which appears to use the OSS APIs (?). `play' is also silent.

Quoted 7 lines
Quoted 5 lines

Killing off artsd didn't help. It all works OK if I use the kernel's OSS drivers.

I noticed that if I cranked up the "Mic" amplification in aumix, some white noise comes out.

Could you check whether 'External Amplifier' is turned on?

I don't know how to do that.

Quoted 4 lines

It seems that the recent change of the "reversed EAPD" hack sets this control off as default unexpectedly.

Anyway, /etc/asound.state (if you have) and

Attached

Quoted 1 line

/proc/asound/card0/codec97#0/* files would be helpful for debugging.

I don't seem to have such a thing. I tarred up /proc/asound. Also attached.

#3 lore raw

At Mon, 11 Apr 2005 17:59:57 -0700,

Quoted 13 lines · Andrew Morton
Quoted 11 lines · Takashi Iwai

At Mon, 11 Apr 2005 01:21:45 -0700,

Quoted 8 lines · Andrew Morton

I fired up 2.6.12-rc2 on an IBM A21P laptop and cannot get any audio to come out of gmplayer, which appears to use the OSS APIs (?). `play' is also silent.

Killing off artsd didn't help. It all works OK if I use the kernel's OSS drivers.

Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

I noticed that if I cranked up the "Mic" amplification in aumix, some white noise comes out.

Could you check whether 'External Amplifier' is turned on?

I don't know how to do that.

Start alsamixer (or aother "good" mixer app), scroll right with the cursor key, choose "External" (shown "External Amplifier" in the item line) then push 'M' to toggle on/off.

Anyway, according to the file you sent, it's already turned on.

Quoted 6 lines
Quoted 4 lines

It seems that the recent change of the "reversed EAPD" hack sets this control off as default unexpectedly.

Anyway, /etc/asound.state (if you have) and

Attached

The problem is that "DAC Volume" is set to 0 by any reason. I don't know how this happend. The driver default is 100%.

To fix this, again, start alsamixer, choose 'DAC', and raise with the up/down key.

Quoted 3 lines
Quoted 1 line

/proc/asound/card0/codec97#0/* files would be helpful for debugging.

I don't seem to have such a thing. I tarred up /proc/asound. Also attached.

Hmm, it's ridiculous. You don't have /proc/asound/card0 directory? (It should have nothing to do with the "silent" problem, though.)

Takashi

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#4 lore raw
Quoted 6 lines · Takashi Iwai
Quoted 6 lines
Quoted 5 lines

It seems that the recent change of the "reversed EAPD" hack sets this control off as default unexpectedly.

Anyway, /etc/asound.state (if you have) and

Quoted 8 lines
Quoted 1 line

Attached

The problem is that "DAC Volume" is set to 0 by any reason. I don't know how this happend. The driver default is 100%.

To fix this, again, start alsamixer, choose 'DAC', and raise with the up/down key.

well I went into alsamixer and increased everything to max and now sounds are coming out. I wonder what happened to my defaults? It's running FC3.

gmplayer is getting segv on startup now, and I didn't change anything :(

Quoted 5 lines
Quoted 3 lines
Quoted 1 line

/proc/asound/card0/codec97#0/* files would be helpful for debugging.

I don't seem to have such a thing. I tarred up /proc/asound. Also attached.

Hmm, it's ridiculous. You don't have /proc/asound/card0 directory?

Nope. Where did it go?

Quoted 1 line

(It should have nothing to do with the "silent" problem, though.)

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#5 lore raw
Quoted 3 lines · Andrew Morton

well I went into alsamixer and increased everything to max and now sounds are coming out. I wonder what happened to my defaults? It's running FC3.

I rebooted and sounds are coming out again. Looks like something was permanently wrong in asound.state, yes?

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#6 lore raw
In reply to Andrew Morton

At Tue, 12 Apr 2005 04:18:07 -0700,

Quoted 13 lines · Andrew Morton
Quoted 11 lines · Takashi Iwai
Quoted 7 lines
Quoted 5 lines

It seems that the recent change of the "reversed EAPD" hack sets this control off as default unexpectedly.

Anyway, /etc/asound.state (if you have) and

Attached

The problem is that "DAC Volume" is set to 0 by any reason. I don't know how this happend. The driver default is 100%.

Quoted 6 lines
Quoted 3 lines

To fix this, again, start alsamixer, choose 'DAC', and raise with the up/down key.

well I went into alsamixer and increased everything to max and now sounds are coming out. I wonder what happened to my defaults? It's running FC3.

My suspect is a mixer app on desktop. For example, kmix keeps the sound configuration by itself and saves/restores on ~/.kde/somewhere. If you have a NFS-home directory shared among different hardwares, the h/w configuration would be confused. (Also, kmix seems to have some odd side-effects to turn on/off automatically switches unexpectedly.)

Quoted 1 line

gmplayer is getting segv on startup now, and I didn't change anything :(

No idea about this. Is mplayer set up to use ALSA or OSS mode? Possible to get a backtrace?

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

/proc/asound/card0/codec97#0/* files would be helpful for debugging.

I don't seem to have such a thing. I tarred up /proc/asound. Also attached.

Hmm, it's ridiculous. You don't have /proc/asound/card0 directory?

Nope. Where did it go?

Could you check snd_info_card_create() in sound/info.c is called and returns successfully?

At Tue, 12 Apr 2005 04:21:23 -0700,

Quoted 8 lines · Andrew Morton
Quoted 3 lines · Andrew Morton

well I went into alsamixer and increased everything to max and now sounds are coming out. I wonder what happened to my defaults? It's running FC3.

I rebooted and sounds are coming out again. Looks like something was permanently wrong in asound.state, yes?

We need to check in which stage it's broken.
Login to console after reboot will use the sound h/w configuration which "alsactl restore" does (i.e. /etc/asound.state is used). You can check whether the sound works on it.

Then, try to login to a graphical desktop (KDE/GNOME). On this, the mixer state is restored again by the desktop system component (e.g. kmix). So, the h/w configuration changes from the system default. If the former console login worked and now it doesn't work, it implies that the configuration saved for the desktop is broken rather than /etc/asound.state.

Takashi

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click