lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070322233210.GA31582@rhlx01.hs-esslingen.de>
Date:	Fri, 23 Mar 2007 00:32:10 +0100
From:	Andreas Mohr <andi@...x01.fht-esslingen.de>
To:	Timur Tabi <timur@...escale.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Confused about audio drivers - where do I start?

Hi,

On Thu, Mar 22, 2007 at 06:01:01PM -0500, Timur Tabi wrote:
> If I were to write a non-USB audio device driver from scratch (for new 
> hardware), what interface would I use?  Has ALSA become the official Linux 
> kernel audio subsystem?  Is there a specific device driver I should use as 
> a sample?

Yes, a driver should definitely be written against ALSA.

It's probably a good idea to use the most wide-spread card/driver close to the
hardware/functionality area of your new card as a sample driver,
the reasoning being that due to that card's wide use it's most likely that
all features are implemented as expected there.

And make sure to examine your new hardware about which sound card standards
it supports (AC-97, ...) which already have good generic support in ALSA.

When designing the mixer interface, definitely read ControlNames.txt and
name all mixer controls properly, since mixer apps have strongly differing
behaviour and may not work correctly without very strict and verbose control
naming. This implies wide testing with different mixer apps, too (gamix,
alsamixer, alsamixergui, gnome-alsamixer, kmix, aumix, ...).
Why I'm saying this? Because the first user report about my azt3328 driver
let me realize that some controls' naming was still broken despite having fixed
most of those a while ago...

Andreas Mohr
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ