From: James Courtier-Dutton <James@superbug.demon.co.uk>
To: Thorsten Knabe <linux@thorsten-knabe.de>
Cc: Andrew Haninger <ahaning@gmail.com>, Adrian Bunk <bunk@stusta.de>,
Jaroslav Kysela <perex@suse.cz>,
linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org
Subject: Re: Re: [2.6 patch] schedule obsolete OSS drivers for removal
Date: Tue, 02 Aug 2005 13:59:42 +0100 [thread overview]
Message-ID: <42EF6E3E.4060206@superbug.demon.co.uk> (raw)
In-Reply-To: <Pine.LNX.4.61.0508020110050.13611@tek01.intern.thorsten-knabe.de>
Thorsten Knabe wrote:
> On Mon, 1 Aug 2005, Andrew Haninger wrote:
>
>> Thorsten: Please remember to include the list(s) when emailing those
>> links/numbers. I'd like to be able to watch it, too, and add any
>> information that I can, rather than entering a duplicate bug.
>
>
> Hello.
>
> I have taken a closer look at the ALSA AD1816 sound driver during the
> last weekend. Here are my findings:
>
> On vanilla Linux 2.6.12.3 and 2.6.13-rc4 modprobe hangs in D-state
> when loading the snd-ad1816a module. No messages have been logged to
> the syslog and the system is otherwise stable. Of course the sound
> card is unusable.
> On Linux 2.6.8 (as shipped with current Debian Sarge), vanilla Linux
> 2.6.10 and Linux 2.6.11.12 the module loads fine.
>
> I have done some tests with xmms(Debian), kphone(VoIP-Phone/Debian)
> and iaxcomm(VoIP-Phone/self-made). Audio playback with xmms is always
> fine using either ALSA or OSS emulation. Using OSS emulation with one
> of the VoIP phones, playback and recording stop a few seconds after
> the call is started. Using the ALSA interface with kphone works, but
> there is a continuous clicking approximately 3 times per second. Also
> audio latency is poor compared to the OSS driver. iaxcomm does not
> support the ALSA audio interface, thus no problems here. :-)
> The native OSS driver is fine on all kernels with all tested
> applications.
>
> Also the ALSA driver does not have an equivalent for the
> "ad1816_clockfreq" option of the OSS driver. The AD1816 chip requires
> a 33MHz reference clock, however some cards use a different (mostly
> 32.125MHz) clock, thus the audio sample rate has to be corrected
> before it is written to the hardware registers for proper playback and
> recording speed.
>
> I have not filed any bug reports to the ALSA bug tracking system so
> far, but will do so tomorrow and add the corresponding bug numbers to
> this thread.
>
> Thorsten
>
It sounds to me that the best way to fix this is either:
a) Detect sound card subversion number and select different clock based
on that.
b) Some how auto detect the clock, much like the intel8x0 driver does.
c) Provide a manual option like the OSS driver. (We should probably have
this as well as (a) for the cases where (a) does not know about
particular soundcard X yet.
James
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
next prev parent reply other threads:[~2005-08-02 12:59 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20050726150837.GT3160@stusta.de>
2005-07-28 15:04 ` [2.6 patch] schedule obsolete OSS drivers for removal Thorsten Knabe
[not found] ` <Pine.LNX.4.61.0507281636040.20815@tek01.intern.thorsten-knabe.de>
2005-07-28 15:46 ` Adrian Bunk
2005-07-28 18:33 ` Lee Revell
2005-07-29 6:52 ` Jaroslav Kysela
[not found] ` <Pine.LNX.4.61.0507290849050.8400@tm8103.perex-int.cz>
2005-07-29 15:16 ` Adrian Bunk
2005-07-29 15:58 ` Thorsten Knabe
[not found] ` <Pine.LNX.4.61.0507291735500.31150@tek01.intern.thorsten-knabe.de>
2005-07-31 19:39 ` Adrian Bunk
[not found] ` <20050731193922.GI3608@stusta.de>
2005-08-01 14:26 ` Andrew Haninger
[not found] ` <105c793f0508010726dc12bc7@mail.gmail.com>
[not found] ` <Pine.LNX.4.61.0508020110050.13611@tek01.intern.thorsten-knabe.de>
2005-08-02 12:59 ` James Courtier-Dutton [this message]
2005-08-02 15:55 ` Thorsten Knabe
2005-07-31 13:50 ` James Courtier-Dutton
[not found] ` <1122393073.18884.29.camel@mindpipe>
[not found] ` <42E65D50.3040808@pobox.com>
[not found] ` <20050727182427.GH3160@stusta.de>
[not found] ` <20050727203150.GF22686@tuxdriver.com>
[not found] ` <42E7F1F9.2050105@pobox.com>
[not found] ` <1122559208.32126.8.camel@localhost.localdomain>
[not found] ` <Pine.LNX.4.61.0507281542420.8458@tm8103.perex-int.cz>
2006-01-03 13:14 ` Adrian Bunk
[not found] ` <200601031629.21765.s0348365@sms.ed.ac.uk>
[not found] ` <20060103170316.GA12249@dspnet.fr.eu.org>
[not found] ` <200601031716.13409.s0348365@sms.ed.ac.uk>
[not found] ` <20060103192449.GA26030@dspnet.fr.eu.org>
2006-01-03 22:33 ` James Courtier-Dutton
2006-01-03 23:41 ` Hannu Savolainen
2006-01-04 1:28 ` Olivier Galibert
[not found] ` <20060103193736.GG3831@stusta.de>
[not found] ` <Pine.BSO.4.63.0601032210380.29027@rudy.mif.pg.gda.pl>
[not found] ` <mailman.1136368805.14661.linux-kernel2news@redhat.com>
[not found] ` <20060104030034.6b780485.zaitcev@redhat.com>
[not found] ` <Pine.LNX.4.61.0601041220450.9321@tm8103.perex-int.cz>
[not found] ` <Pine.BSO.4.63.0601051253550.17086@rudy.mif.pg.gda.pl>
[not found] ` <Pine.LNX.4.61.0601051305240.10350@tm8103.perex-int.cz>
[not found] ` <Pine.BSO.4.63.0601051345100.17086@rudy.mif.pg.gda.pl>
[not found] ` <s5hmziaird8.wl%tiwai@suse.de>
[not found] ` <Pine.LNX.4.61.0601060028310.27932@zeus.compusonic.fi>
[not found] ` <s5h7j9chzat.wl%tiwai@suse.de>
2006-01-08 1:30 ` [OT] ALSA userspace API complexity Hannu Savolainen
[not found] ` <Pine.LNX.4.61.0601080225500.17252@zeus.compusonic.fi>
2006-01-08 9:24 ` Jaroslav Kysela
2006-01-08 22:47 ` Hannu Savolainen
2006-01-09 13:05 ` René Rebe
[not found] ` <200601091405.23939.rene@exactcode.de>
2006-01-09 15:10 ` Hannu Savolainen
[not found] ` <Pine.LNX.4.61.0601091637570.21552@zeus.compusonic.fi>
2006-01-09 17:12 ` René Rebe
[not found] ` <200601091812.55943.rene@exactcode.de>
2006-01-09 21:58 ` David Lang
2006-01-09 23:20 ` John Rigg
[not found] ` <20060109232043.GA5013@localhost.localdomain>
2006-01-09 23:21 ` David Lang
[not found] ` <Pine.LNX.4.62.0601091515570.4005@qynat.qvtvafvgr.pbz>
2006-01-10 0:16 ` John Rigg
[not found] ` <20060110001617.GA5154@localhost.localdomain>
2006-01-10 0:29 ` David Lang
2006-01-10 1:02 ` John Rigg
[not found] ` <Pine.LNX.4.62.0601091628340.4005@qynat.qvtvafvgr.pbz>
2006-01-10 0:44 ` Alan Cox
2006-01-10 1:56 ` Lee Revell
2006-01-10 1:27 ` John Rigg
2006-01-10 0:48 ` Hannu Savolainen
[not found] ` <Pine.LNX.4.61.0601100212290.26233@zeus.compusonic.fi>
2006-01-10 2:00 ` John Rigg
[not found] ` <20060110020017.GB5375@localhost.localdomain>
2006-01-10 2:17 ` Hannu Savolainen
[not found] ` <Pine.LNX.4.61.0601090010090.31763@zeus.compusonic.fi>
2006-01-10 10:51 ` Jaroslav Kysela
[not found] ` <Pine.LNX.4.61.0601101144130.10330@tm8103.perex-int.cz>
2006-01-10 14:05 ` Hannu Savolainen
[not found] ` <Pine.LNX.4.61.0601101550390.24146@zeus.compusonic.fi>
2006-01-10 14:17 ` Jaroslav Kysela
[not found] ` <Pine.LNX.4.61.0601101508560.10330@tm8103.perex-in t.cz>
[not found] ` <Pine.LNX.4.61.0601101508560.10330@tm8103.perex-int.cz>
2006-01-10 14:39 ` Adam Tlałka
[not found] ` <Pine.BSO.4.63.0601052022560.15077@rudy.mif.pg.gda.pl>
[not found] ` <s5h8xtshzwk.wl%tiwai@suse.de>
2006-01-08 2:03 ` Olivier Galibert
[not found] ` <20060108020335.GA26114@dspnet.fr.eu.org>
2006-01-08 2:26 ` Martin Drab
2006-01-08 13:21 ` Olivier Galibert
[not found] ` <20060108132122.GB96834@dspnet.fr.eu.org>
2006-01-08 13:32 ` Jaroslav Kysela
[not found] ` <Pine.LNX.4.61.0601081424560.10981@tm8103.perex-int.cz>
2006-01-08 23:18 ` Pavel Machek
2006-01-09 0:33 ` Hannu Savolainen
2006-01-09 12:24 ` Takashi Iwai
2006-01-09 17:49 ` Thierry Vignaud
2006-01-08 9:42 ` Jaroslav Kysela
[not found] ` <Pine.LNX.4.61.0601081039520.9470@tm8103.perex-int.cz>
2006-01-08 13:04 ` Olivier Galibert
[not found] ` <20060108130447.GA96834@dspnet.fr.eu.org>
2006-01-08 13:23 ` Jaroslav Kysela
2006-01-08 13:38 ` Marcin Dalecki
2006-01-09 0:30 ` Hannu Savolainen
2005-07-31 14:33 [2.6 patch] schedule obsolete OSS drivers for removal Peter Zubaj
2005-07-31 14:41 ` James Courtier-Dutton
-- strict thread matches above, loose matches on Subject: below --
2005-07-31 15:09 Peter Zubaj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42EF6E3E.4060206@superbug.demon.co.uk \
--to=james@superbug.demon.co.uk \
--cc=ahaning@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@thorsten-knabe.de \
--cc=perex@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox