Re: [Cooker] ALSA fix

2003-09-24 Thread Eric Fernandez
FACORAT Fabrice wrote:

sndconfig was acting the same way ( play a sound and ask if you hear the
sound correctly )
 

Yes, but that would be interesting to make it test both alsa and oss 
corresponding drivers.

Eric




Re: [Cooker] ALSA fix

2003-09-24 Thread FACORAT Fabrice
Le mar 23/09/2003 à 12:54, Adam Williamson a écrit :
> On Tue, 2003-09-23 at 12:19, Eric Fernandez wrote:
> > Why make it a supplementary step ?
> > At the end of the install, there is table with all detected devices and 
> > for each one, a configuration button, despite the installer indicates a 
> > default setting. It is already the case for the graphics card and the 
> > network. For the sound card, you would press "configure", then it would 
> > play a song, do you hear it ? "yes" -> let's continue "no" -> it tries 
> > the other driver. A user, even newbie, is not dumb, when things are 
> > explained the simple way : step 1 : OSS, do you hear sound ? step 2: 
> > Alsa : do you hear sound ? I think it is not confusing and on the 
> > contrary a good way to deal with particular hardware that could not be 
> > tested. And it would not be a supplementary step, just the new feature 
> > of the "Configure" button.
> Okay, that sounds better. Still not 100% sure it's necessary, but I
> certainly wouldn't complain about it.

sndconfig was acting the same way ( play a sound and ask if you hear the
sound correctly )




Re: [Cooker] ALSA fix

2003-09-23 Thread Adam Williamson
On Tue, 2003-09-23 at 12:19, Eric Fernandez wrote:
> Adam Williamson wrote:
> 
> >I don't like it. In most cases, it would be a needless extra step, and
> >could well cause confusion. I think the current ploy of just trying to
> >get the right default for each piece of hardware is correct.
> >  
> >
> Why make it a supplementary step ?
> At the end of the install, there is table with all detected devices and 
> for each one, a configuration button, despite the installer indicates a 
> default setting. It is already the case for the graphics card and the 
> network. For the sound card, you would press "configure", then it would 
> play a song, do you hear it ? "yes" -> let's continue "no" -> it tries 
> the other driver. A user, even newbie, is not dumb, when things are 
> explained the simple way : step 1 : OSS, do you hear sound ? step 2: 
> Alsa : do you hear sound ? I think it is not confusing and on the 
> contrary a good way to deal with particular hardware that could not be 
> tested. And it would not be a supplementary step, just the new feature 
> of the "Configure" button.
> 
> Moreover, this could be integrated to soundrake : make it clearer about 
> the two kinds of driver and offer a testing procedure for sound.

Okay, that sounds better. Still not 100% sure it's necessary, but I
certainly wouldn't complain about it.
-- 
adamw




Re: [Cooker] ALSA fix

2003-09-23 Thread Eric Fernandez
Adam Williamson wrote:

I don't like it. In most cases, it would be a needless extra step, and
could well cause confusion. I think the current ploy of just trying to
get the right default for each piece of hardware is correct.
 

Why make it a supplementary step ?
At the end of the install, there is table with all detected devices and 
for each one, a configuration button, despite the installer indicates a 
default setting. It is already the case for the graphics card and the 
network. For the sound card, you would press "configure", then it would 
play a song, do you hear it ? "yes" -> let's continue "no" -> it tries 
the other driver. A user, even newbie, is not dumb, when things are 
explained the simple way : step 1 : OSS, do you hear sound ? step 2: 
Alsa : do you hear sound ? I think it is not confusing and on the 
contrary a good way to deal with particular hardware that could not be 
tested. And it would not be a supplementary step, just the new feature 
of the "Configure" button.

Moreover, this could be integrated to soundrake : make it clearer about 
the two kinds of driver and offer a testing procedure for sound.

Eric





Re: [Cooker] ALSA fix

2003-09-23 Thread Robert L martin
Add OSS is likely to die soon, so why waste effort to support it ?
--
do you happen to have a list of cards NOT supported by ALSA but 
supported by OSS?
remove any isa cards (wouldn't run current mandrake)
if the number of cards is more than a dozen that would be why

likely to die soon is not DEAD (companies survive Chapter 11 you know)




Re: [Cooker] ALSA fix

2003-09-23 Thread Guillaume Rousse
Ainsi parlait Adam Williamson :
> On Tue, 2003-09-23 at 09:01, Eric Fernandez wrote:
> > Adam Williamson wrote:
> > >I think it's pretty hard to pick which
> > >should be the default. Even if it ought to be ALSA, it's by no means as
> > >clear-cut a decision as this particular user's experience indicates.
> >
> > Except if the installer offered the possibility to test audio at install
> >
> > : first with OSS driver, then with Alsa, asking the user to say if he
> >
> > hear a sound. WDYT ? It could be a nice feature for the 10.
>
> I don't like it. In most cases, it would be a needless extra step, and
> could well cause confusion. I think the current ploy of just trying to
> get the right default for each piece of hardware is correct.
Add OSS is likely to die soon, so why waste effort to support it ?
-- 
You can lead a man to slaughter, but you can't make him think
-- Sad Truths of Life n°13




Re: [Cooker] ALSA fix

2003-09-23 Thread Adam Williamson
On Tue, 2003-09-23 at 09:01, Eric Fernandez wrote:
> Adam Williamson wrote:
> 
> >I think it's pretty hard to pick which
> >should be the default. Even if it ought to be ALSA, it's by no means as
> >clear-cut a decision as this particular user's experience indicates.
> >  
> >
> Except if the installer offered the possibility to test audio at install 
> : first with OSS driver, then with Alsa, asking the user to say if he 
> hear a sound. WDYT ? It could be a nice feature for the 10.

I don't like it. In most cases, it would be a needless extra step, and
could well cause confusion. I think the current ploy of just trying to
get the right default for each piece of hardware is correct.
-- 
adamw




Re: [Cooker] ALSA fix

2003-09-23 Thread Eric Fernandez
Adam Williamson wrote:

I think it's pretty hard to pick which
should be the default. Even if it ought to be ALSA, it's by no means as
clear-cut a decision as this particular user's experience indicates.
 

Except if the installer offered the possibility to test audio at install 
: first with OSS driver, then with Alsa, asking the user to say if he 
hear a sound. WDYT ? It could be a nice feature for the 10.




Re: [Cooker] ALSA fix

2003-09-22 Thread Adam Williamson
On Tue, 2003-09-23 at 00:17, Pierre Jarillon wrote:
> Perhaps is it useful ? I just receive from  [Alsa-user] 
> It is a problem with Mdk 9.1 but Mdk 9.2 is not very different.
> 
>  [Alsa-user] ALSA Fix!!!
> 
> I finally got it right! Ok I am running Mandrake 9.1 on a Sony 
> PCG-V505BX. My original modules.conf was this:
> 
> probeall scsi_hostadapter usb-storage ide-scsi
> probeall usb-interface usb-ohci ehci-hcd
> alias eth0 e100
> alias sound-slot-0 i810_audio
> alias char-major-10-250 sonypi
> options sonypi minor=250
> 
> So I thought "Hey I have a Sony Desktop with the same distro that has 
> ASLA working on a i810 chipset". I took what I found in that 
> modules.conf and changed mine to this:
> 
> probeall scsi_hostadapter usb-storage ide-scsi
> probeall usb-interface usb-ohci ehci-hcd
> alias eth0 e100
> above snd-intel8x0 snd-pcm-oss
> alias sound-slot-0 snd-intel8x0
> options sonypi minor=250
> 
> Apparently Mandrake does not probe this card correctly during install. 
> This may fix other distros too! Hope this helps the rest of you too. ;) 
> One more thing. Run it for a bit. For some reason it does not work with 
> all apps right away. Let me know if you want a workaround with that too.

So...to cut all the BS, he changed from the OSS/Free driver to the ALSA
driver. Woo. the i810_audio (OSS/Free) and snd-intel8x0 (ALSA) drivers
support a rather wide range of hardware, and I think each is better on
some particular variations. I think it's pretty hard to pick which
should be the default. Even if it ought to be ALSA, it's by no means as
clear-cut a decision as this particular user's experience indicates.
-- 
adamw




[Cooker] ALSA fix

2003-09-22 Thread Pierre Jarillon
Perhaps is it useful ? I just receive from  [Alsa-user] 
It is a problem with Mdk 9.1 but Mdk 9.2 is not very different.

 [Alsa-user] ALSA Fix!!!

I finally got it right! Ok I am running Mandrake 9.1 on a Sony 
PCG-V505BX. My original modules.conf was this:

probeall scsi_hostadapter usb-storage ide-scsi
probeall usb-interface usb-ohci ehci-hcd
alias eth0 e100
alias sound-slot-0 i810_audio
alias char-major-10-250 sonypi
options sonypi minor=250

So I thought "Hey I have a Sony Desktop with the same distro that has 
ASLA working on a i810 chipset". I took what I found in that 
modules.conf and changed mine to this:

probeall scsi_hostadapter usb-storage ide-scsi
probeall usb-interface usb-ohci ehci-hcd
alias eth0 e100
above snd-intel8x0 snd-pcm-oss
alias sound-slot-0 snd-intel8x0
options sonypi minor=250

Apparently Mandrake does not probe this card correctly during install. 
This may fix other distros too! Hope this helps the rest of you too. ;) 
One more thing. Run it for a bit. For some reason it does not work with 
all apps right away. Let me know if you want a workaround with that too.

  Jonathan C. Sitte

-- 
Pierre Jarillon - http://pjarillon.free.fr/
Vice-président de l'ABUL : http://abul.org/