Skip to contentSkip to conversation

Zero-conf ALSA

RFC Gerard Bras 2 participants 2 messages Nov 28, 2005

lore
Share & tools
lore
#0 lore raw

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Lee Revell
Sent: Wednesday, November 23, 2005 11:04 PM
To: alsa-devel
Cc: ALSA user list
Subject: [Alsa-user] [RFC] Zero-conf ALSA

I would like to gather a list of the work remaining to be done to achieve "zero-conf" ALSA. With the increasing maturity of dmix and softvol we are very close to this goal, and should be able to provide basic soundcard functionality that users expect (mixing, volume control, and OSS emulation) without requiring them to delve into cryptic config files.

I propose to open a tracking bug in the ALSA BTS to gather all reports of end users having to modify the config to get a working setup. AFAICT the remaining problems are:

1. Devices which require dmix and/or softvol but are lacking the
required
entries in the /usr/share/alsa/cards/ file.
2. User-space OSS emulation over dmix requires period and the buffer
sizes
to be set to powers of two.

#1 can only be solved by gathering user reports.

Can #2 be solved by having dmix prefer power of two period/buffer sizes for the slave hw PCM by default? AFAICT this should work unless an ALSA app has opened the device first and set an incompatible buffer size.

Are there currently any other cases where an end user would have to create a custom ALSA config to enable basic functionality?

Greetings Lee,

In the first category, support for iCE1724 boards is barely functional. I know they are oddballs with no master gain control, They have some other oddities/capabilities too, but that's another issue. I've yet to see a release of alsa or applications based on it work right with this board. Even in the brand, spanny, new SuSE 10.0 it give me errors when I try to start alsa, though it seems to work just the same. In prior releases I had to chuck and just use OSS, in spite of all its limitations, jeust to be able to listen to all those CPs I ripped one by one.

If there is anything I can do to help straighten this situation out, I'd be more than happy to do so, but I prorbely need a poiter in the right direction. I'm a professional programmer, but sork so many hours these days that I really haven't had the time (or the urge) to go diving into the alsacode by nyself. And yet I'd rather light a candle than curse the darkness.

Cheers,
Gerard

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click

#1 lore raw
Quoted 12 lines · Gerard Bras

Greetings Lee,

In the first category, support for iCE1724 boards is barely functional. I know they are oddballs with no master gain control, They have some other oddities/capabilities too, but that's another issue. I've yet to see a release of alsa or applications based on it work right with this board. Even in the brand, spanny, new SuSE 10.0 it give me errors when I try to start alsa, though it seems to work just the same. In prior releases I had to chuck and just use OSS, in spite of all its limitations, jeust to be able to listen to all those CPs I ripped one by one.

Quoted 6 lines

If there is anything I can do to help straighten this situation out, I'd be more than happy to do so, but I prorbely need a poiter in the right direction. I'm a professional programmer, but sork so many hours these days that I really haven't had the time (or the urge) to go diving into the alsacode by nyself. And yet I'd rather light a candle than curse the darkness.

I was not really referring to poorly supported hardware, that's a separate issue; my post was more about things requiring configuration that should work OOTB.

Please provide some bug reference numbers for the problems you are referring to, or explain the errors you are seeing.

Lee

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click