Re: [Alsa-devel] RFC: OSS driver removal, a slightly different approach

7 messages, 5 authors, 2006-01-23 · open the first message on its own page

Re: [Alsa-devel] RFC: OSS driver removal, a slightly different approach

From: Adrian Bunk <hidden>
Date: 2006-01-20 19:04:17

On Fri, Jan 20, 2006 at 11:54:43AM +0000, Martin Habets wrote:
It seems to me we can already get rid of sound/oss/dmasound now.
I cannot find anything refering to it anymore, and the ALSA powermac
driver is being maintained.
You are correct that I forgot to add the dmasound drivers to my list, 
but I don't think we can get rid of all of them since I doubt the ALSA 
powermac driver was able to drive m68k hardware.

Can someone from the ppc developers drop me a small note whether 
SND_POWERMAC completely replaces DMASOUND_PMAC?
Martin
TIA
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

Re: [Alsa-devel] RFC: OSS driver removal, a slightly different approach

From: Olaf Hering <hidden>
Date: 2006-01-20 21:29:21

 On Fri, Jan 20, Adrian Bunk wrote:

 
Can someone from the ppc developers drop me a small note whether 
SND_POWERMAC completely replaces DMASOUND_PMAC?
It doesnt. Some tumbler models work only after one plug/unplug cycle of
the headphone. early powerbooks report/handle the mute settings
incorrectly. there are likely more bugs.

-- 
short story of a lazy sysadmin:
 alias appserv=wotan

Re: [Alsa-devel] RFC: OSS driver removal, a slightly different approach

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2006-01-20 23:17:52

On Fri, 2006-01-20 at 20:04 +0100, Adrian Bunk wrote:
On Fri, Jan 20, 2006 at 11:54:43AM +0000, Martin Habets wrote:
quoted
It seems to me we can already get rid of sound/oss/dmasound now.
I cannot find anything refering to it anymore, and the ALSA powermac
driver is being maintained.
You are correct that I forgot to add the dmasound drivers to my list, 
but I don't think we can get rid of all of them since I doubt the ALSA 
powermac driver was able to drive m68k hardware.

Can someone from the ppc developers drop me a small note whether 
SND_POWERMAC completely replaces DMASOUND_PMAC?
It should...

Ben.

Re: [Alsa-devel] RFC: OSS driver removal, a slightly different approach

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2006-01-20 23:19:15

On Fri, 2006-01-20 at 22:29 +0100, Olaf Hering wrote:
 On Fri, Jan 20, Adrian Bunk wrote:

 
quoted
Can someone from the ppc developers drop me a small note whether 
SND_POWERMAC completely replaces DMASOUND_PMAC?
It doesnt. Some tumbler models work only after one plug/unplug cycle of
the headphone. early powerbooks report/handle the mute settings
incorrectly. there are likely more bugs.
Interesting... Ben Collins hacked something to have Toonie work as a
"default" driver for non supported machine and saw that problem too, I
think he fixes it, I'll check with him what's up there and if his fix
applied to tumbler.c as well.

Ben.

Re: [Alsa-devel] RFC: OSS driver removal, a slightly different approach

From: Ben Collins <hidden>
Date: 2006-01-21 04:40:17

On Sat, 2006-01-21 at 10:16 +1100, Benjamin Herrenschmidt wrote:
On Fri, 2006-01-20 at 22:29 +0100, Olaf Hering wrote:
quoted
 On Fri, Jan 20, Adrian Bunk wrote:

 
quoted
Can someone from the ppc developers drop me a small note whether 
SND_POWERMAC completely replaces DMASOUND_PMAC?
It doesnt. Some tumbler models work only after one plug/unplug cycle of
the headphone. early powerbooks report/handle the mute settings
incorrectly. there are likely more bugs.
Interesting... Ben Collins hacked something to have Toonie work as a
"default" driver for non supported machine and saw that problem too, I
think he fixes it, I'll check with him what's up there and if his fix
applied to tumbler.c as well.
My "fix" was basically the result of converting to the platform
functions. It's hit or miss whether this works with tumbler too.

You can try the Ubuntu kernel packages (they can be unpacked and used on
non Ubuntu systems pretty easily) to see if it works for you. Tumbler
platform function conversion isn't even tested, so I'd be happy to hear
any feedback.

-- 
Ben Collins
Kernel Developer - Ubuntu Linux

Re: [Alsa-devel] RFC: OSS driver removal, a slightly different approach

From: Takashi Iwai <hidden>
Date: 2006-01-23 12:13:35

At Fri, 20 Jan 2006 18:22:10 -0500,
Ben Collins wrote:
On Sat, 2006-01-21 at 10:16 +1100, Benjamin Herrenschmidt wrote:
quoted
On Fri, 2006-01-20 at 22:29 +0100, Olaf Hering wrote:
quoted
 On Fri, Jan 20, Adrian Bunk wrote:

 
quoted
Can someone from the ppc developers drop me a small note whether 
SND_POWERMAC completely replaces DMASOUND_PMAC?
It doesnt. Some tumbler models work only after one plug/unplug cycle of
the headphone. early powerbooks report/handle the mute settings
incorrectly. there are likely more bugs.
Interesting... Ben Collins hacked something to have Toonie work as a
"default" driver for non supported machine and saw that problem too, I
think he fixes it, I'll check with him what's up there and if his fix
applied to tumbler.c as well.
My "fix" was basically the result of converting to the platform
functions. It's hit or miss whether this works with tumbler too.

You can try the Ubuntu kernel packages (they can be unpacked and used on
non Ubuntu systems pretty easily) to see if it works for you. Tumbler
platform function conversion isn't even tested, so I'd be happy to hear
any feedback.
Don't forget to forward your patches to alsa-devel or me ;)


thanks,

Takashi

Re: [Alsa-devel] RFC: OSS driver removal, a slightly different approach

From: Ben Collins <hidden>
Date: 2006-01-23 13:13:17

On Mon, 2006-01-23 at 13:20 +0100, Takashi Iwai wrote:
quoted
quoted
quoted
quoted
Can someone from the ppc developers drop me a small note whether 
SND_POWERMAC completely replaces DMASOUND_PMAC?
It doesnt. Some tumbler models work only after one plug/unplug cycle of
the headphone. early powerbooks report/handle the mute settings
incorrectly. there are likely more bugs.
Interesting... Ben Collins hacked something to have Toonie work as a
"default" driver for non supported machine and saw that problem too, I
think he fixes it, I'll check with him what's up there and if his fix
applied to tumbler.c as well.
My "fix" was basically the result of converting to the platform
functions. It's hit or miss whether this works with tumbler too.

You can try the Ubuntu kernel packages (they can be unpacked and used on
non Ubuntu systems pretty easily) to see if it works for you. Tumbler
platform function conversion isn't even tested, so I'd be happy to hear
any feedback.
Don't forget to forward your patches to alsa-devel or me ;)
I'm passing everything through to BenH, especially since it's all using
functions new in his ppc tree.

Update on this "fix", it worked only because platform function
interrupts weren't enabled. Now that they are, it's back to the same old
thing.

At least that's a clue, though.

-- 
Ben Collins
Kernel Developer - Ubuntu Linux
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help