Skip to contentSkip to conversation

snd-powermac in CVS busted?

DISCUSSION Josh Huber 3 participants 5 messages Sep 20, 2002 – Sep 22, 2002

lore
Share & tools
lore

Josh Huber

author
#0 lore raw

I've finally decided to switch from using OSS to ALSA, and everything works great, except I don't get any sound output! I'm sending this to the devel list since I'm dealing with the CVS version of the driver.

Using alsamixer I tried setting the Master channel at 100% as well as the "PC Speaker" channel at 100%.

The detection of headphones seems to work, since the pc speaker channel gets auto-muted when headphones are plugged in. (but, still no sound is played out the headphone jack.

Using alsaplayer works great, and the visual plugins show that sound should be playing. xmms works with the OSS compatibility driver as well.

I built the drivers with --enable-debug=full, but I don't see any additional kernel messages from ALSA.

I'm running Debian unstable (sid), on a Powerbook G3 Lombard, which has the AWACS sound chip. I'm using the CVS version of the drivers, and the packages for libasound (0.9.0rc3), alsa-utils (0.9.0rc3), and alsaplayer (0.99.71).

Any ideas? What can I do to further debug this problem?

Here's the output from amixer:

Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined Playback channels: Front Left - Front Right
Capture channels: Mono
Limits: Playback 0 - 15
Mono: Capture [off]
Front Left: Playback 15 [100%] [on]
Front Right: Playback 15 [100%] [on]
Simple mixer control 'Headphone Detection',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Line',0
Capabilities: cswitch cswitch-joined
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'CD',0
Capabilities: cswitch cswitch-joined
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'Mic',0
Capabilities: cswitch cswitch-joined
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'Mic Boost',0
Capabilities: volume volume-joined
Playback channels: Mono
Limits: 0 - 2
Mono: 2 [100%]
Simple mixer control 'PC Speaker',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 15
Front Left: Playback 15 [100%] [on]
Front Right: Playback 15 [100%] [on]
Simple mixer control 'Capture',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 15 [100%]
Front Right: Capture 15 [100%]
Simple mixer control 'Auto Mute',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Beep',0
Capabilities: pvolume pvolume-joined
Playback channels: Mono
Limits: Playback 0 - 100
Mono: Playback 15 [15%]

I've seen mention of people wondering where the PCM slider is in the mixer, does this have anything to do with my problem? (perhaps?) Am I supposed to have a PCM channel?

Thanks in advance for the help,

Signature · 9 lines
Josh Huber




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
#1 lore raw

At Thu, 19 Sep 2002 23:06:13 -0400,

Quoted 7 lines · Josh Huber

I've finally decided to switch from using OSS to ALSA, and everything works great, except I don't get any sound output! I'm sending this to the devel list since I'm dealing with the CVS version of the driver.

Using alsamixer I tried setting the Master channel at 100% as well as the "PC Speaker" channel at 100%.

could you change 'Mic Boost' once to another value? i got reports that this affects even on the pcm playback...

ciao,

Takashi

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

author
#2 lore raw
Quoted 2 lines · Takashi Iwai

could you change 'Mic Boost' once to another value? i got reports that this affects even on the pcm playback...

Okay, thanks. I'll try this tonight after I get home from work!

Signature · 9 lines
Josh Huber




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
author
#3 lore raw
Quoted 6 lines · Josh Huber
Quoted 2 lines · Takashi Iwai

could you change 'Mic Boost' once to another value? i got reports that this affects even on the pcm playback...

Okay, thanks. I'll try this tonight after I get home from work!

It works after tweaking the Mic Boot settings, but there are some issues unfortunately :(

Things are close though!

1) The OSS emulation interface seems to be working very well -- xmms functions perfectly with it using the OSS output plugin.
2) alsaplayer generates static unless you turn the volume slider almost to 0, and even then the audio contains static during the loud parts of the music.
3) the xmms alsa output plugin always generates static
4) terminatorX does NOT generate static, and the audio sounds great...

I suspect there are some endian issues, eh? :) I wonder why the oss emulation layer works fine though.

As a review, I'm running the CVS versions of all the libraries and tools now as well as the drivers:

Module Size Used by Not tainted

snd-pcm-oss            45972   1
snd-mixer-oss          12960   0 [snd-pcm-oss]
snd-usb-midi            8208   0 (unused)
snd-seq-virmidi         3808   0 [snd-usb-midi]
snd-seq-midi-event      3888   0 [snd-usb-midi snd-seq-virmidi]
snd-seq                45560   1 [snd-usb-midi snd-seq-virmidi
snd-seq-midi-event]
snd-rawmidi            16048   0 [snd-seq-virmidi]
snd-seq-device          5012   0 [snd-usb-midi snd-seq snd-rawmidi]
snd-powermac           35508   2
snd-pcm                69296   0 [snd-pcm-oss snd-powermac]
snd-timer              12960   0 [snd-seq snd-pcm]
snd                    31452   1 [snd-pcm-oss snd-mixer-oss
snd-usb-midi snd-seq-virmidi snd-seq-midi-event snd-seq snd-rawmidi
snd-seq-device snd-powermac snd-pcm snd-timer]
soundcore               4616   3 [snd]
orinoco_cs              5336   1
orinoco                33408   0 [orinoco_cs]
hermes                  9632   0 [orinoco_cs orinoco]
i2c-core               14568   0 [snd-powermac]

All the fun applictions use the ALSA interface, which is what I really want to start using.

Signature · 9 lines
Josh Huber




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
#4 lore raw
Quoted 1 line · Josh Huber

3) the xmms alsa output plugin always generates static

There was an endianess issue with alsa-xmms but it was corrected today. Try updating your sources from CVS.

Signature · 9 lines
Ville Syrjälä
[email protected]
http://www.sci.fi/~syrjala/


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf