Re: [Cooker] No Audio with SBlive and digital Speakers

2003-02-13 Thread Nathan A. Smith
On Wed, 2003-02-12 at 04:34, Thierry Vignaud wrote:
 Murray J. Root [EMAIL PROTECTED] writes:
 
  Use alsamixer (or alsamixergui) to enable digital and set the
  levels.
 
 or gnome-alsamixer.
 
 kde mixer might be aware of alsa now but i'm not sure

Thanks for the hint -- kmix is a lot simpler to use, 

But even so I still have no love.  I have turned off the (muted) the sblive analog
/digital output jack and unumted the tone control.  Everything else is unmuted.  But
still no sound.  I have read the alsa website documentation -- no help (I have posted 
my modules.conf file below, if that may be helpful).  I have done a 'lsmod' and 
everything
seems to be loaded.  I would love any other ideas -- thanks 


Nasa


# Sound

# ALSA portion
options snd snd_major=116 snd_cards_limit=1
options snd-emu10k1 snd_index=0 snd_id=emu10K1
post-install snd-card-ymfpci alsactl restore
pre-remove snd-card-ymfpci alsactl store
alias char-major-116 snd
alias sound-slot-0 snd-emu10k1
alias snd-card-0 snd-emu10k1


# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

#card 1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
options snd-pcm-oss snd_dsp_map=0 snd_adsp_map=3
alias sound-slot-1 off
alias sound-services-1-0 off


#End Sound














Re: [Cooker] No Audio with SBlive and digital Speakers

2003-02-13 Thread Danny Tholen
Perhaps it works with this info:

Module snd-emu10k1
  --

Module for EMU10K1/EMU10k2 based PCI soundcards.
* Sound Blaster Live!
* Sound Blaster PCI 512
* Emu APS (partially supported)
* Sound Blaster Audigy

extin   - bitmap of available external inputs for FX8010 (see bellow)
extout  - bitmap of available external outputs for FX8010 (see bellow)
seq_ports - allocated sequencer ports (4 by default)
max_synth_voices - limit of voices used for wavetable (64 by default)
max_buffer_size  - specifies the maximum size of wavetable/pcm buffers
   given in MB unit.  Default value is 128.
enable_ir - enable IR

Module supports up to 8 cards and autoprobe.

Input  Output configurations   [extin/extout]
* Creative Card wo/Digital out  [0x0003/0x1f03]
* Creative Card w/Digital out   [0x0003/0x1f0f]
* Creative Card w/Digital CD in [0x000f/0x1f0f]
* Creative Card wo/Digital out + LiveDrive  [0x3fc3/0x1fc3]
* Creative Card w/Digital out + LiveDrive   [0x3fc3/0x1fcf]
* Creative Card w/Digital CD in + LiveDrive [0x3fcf/0x1fcf]
* Creative Card wo/Digital out + Digital I/O 2  [0x0fc3/0x1f0f]
* Creative Card w/Digital out + Digital I/O 2   [0x0fc3/0x1f0f]
* Creative Card w/Digital CD in + Digital I/O 2 [0x0fcf/0x1f0f]
* Creative Card 5.1/w Digital out + LiveDrive   [0x3fc3/0x1fff]
* Creative Card all ins and outs[0x3fff/0x1fff]


So basically you seem to have to tell it when it has a digital out...
I think you can even fill in the extin/out numbers in soundrake/draksound (I 
never can remember the names). But be sure to check if your modules.conf was 
modified correctly.
After doing this you might have to play with the mixer *again*

d.

On Thursday 13 February 2003 22:56, Nathan A. Smith wrote:
 On Wed, 2003-02-12 at 04:34, Thierry Vignaud wrote:
  Murray J. Root [EMAIL PROTECTED] writes:
   Use alsamixer (or alsamixergui) to enable digital and set the
   levels.
 
  or gnome-alsamixer.
 
  kde mixer might be aware of alsa now but i'm not sure

 Thanks for the hint -- kmix is a lot simpler to use,

 But even so I still have no love.  I have turned off the (muted) the sblive
 analog /digital output jack and unumted the tone control.  Everything else
 is unmuted.  But still no sound.  I have read the alsa website
 documentation -- no help (I have posted my modules.conf file below, if that
 may be helpful).  I have done a 'lsmod' and everything seems to be loaded. 
 I would love any other ideas -- thanks


 Nasa


 # Sound

 # ALSA portion
 options snd snd_major=116 snd_cards_limit=1
 options snd-emu10k1 snd_index=0 snd_id=emu10K1
 post-install snd-card-ymfpci alsactl restore
 pre-remove snd-card-ymfpci alsactl store
 alias char-major-116 snd
 alias sound-slot-0 snd-emu10k1
 alias snd-card-0 snd-emu10k1


 # OSS/Free portion
 alias char-major-14 soundcore
 alias sound-slot-0 snd-card-0

 #card 1
 alias sound-service-0-0 snd-mixer-oss
 alias sound-service-0-1 snd-seq-oss
 alias sound-service-0-3 snd-pcm-oss
 alias sound-service-0-8 snd-seq-oss
 alias sound-service-0-12 snd-pcm-oss
 options snd-pcm-oss snd_dsp_map=0 snd_adsp_map=3
 alias sound-slot-1 off
 alias sound-services-1-0 off


 #End Sound





Re: [Cooker] No Audio with SBlive and digital Speakers

2003-02-12 Thread danny
On 11 Feb 2003, Nathan A. Smith wrote:

 On Tue, 2003-02-11 at 17:02, Murray J. Root wrote:
  Use alsamixer (or alsamixergui) to enable digital and set the levels.
 
 I looked at alsamixer (which has a hundred options no one understands) but everything

Yes, give some effort. I think you needs to mute the digital output jack 
to get sound. Have a look at the docs at alsa-project.org.

Please do not use the workaround (ie enabling oss driver) yet, since this 
is cooker and it should be fixed.

Many things need to be changed with the default mixer settings, but I have 
had still no time to look into it (==modifying draksound to do this).

Thierry, if you have time :-P, this really needs some works. Many bug 
reports stem from this.

I think we need the possibility in draksound to run a small script 
depending on the soundcard. For the sblive this script could do the 
following:

-enable midi on sblive (this might need a gui component to load the 
soundfont)
-in proc there is a entry called oss_mixer (IIRC not at home now), here 
you can couple alsa wave surround to an OSS mixer entry like IGain. Wave 
surround is volume control of rear speakers.
-always mute analog output jack
-find a way to couple wave surround to Master, if this is possible (I 
asked on alsa devel but my message got ignored for list acceptence. 
Thierry, I think you are subscribed there??)
-modify some other mixer settings to enable CD sound, capturing etc out of 
the box.

I am willing to try writing a shell script at least the sblive. But my 
perl is to bad for modifying draksound

d.






Re: [Cooker] No Audio with SBlive and digital Speakers

2003-02-12 Thread Thierry Vignaud
Murray J. Root [EMAIL PROTECTED] writes:

 Use alsamixer (or alsamixergui) to enable digital and set the
 levels.

or gnome-alsamixer.

kde mixer might be aware of alsa now but i'm not sure





Re: [Cooker] No Audio with SBlive and digital Speakers

2003-02-12 Thread Thierry Vignaud
[EMAIL PROTECTED] writes:

 Yes, give some effort. I think you needs to mute the digital output
 jack to get sound. Have a look at the docs at alsa-project.org.
 
 Please do not use the workaround (ie enabling oss driver) yet, since
 this is cooker and it should be fixed.
 
 Many things need to be changed with the default mixer settings, but
 I have had still no time to look into it (==modifying draksound to
 do this).
 
 Thierry, if you have time :-P, this really needs some works. Many
 bug reports stem from this.

yes i know.  this is why i've added a trouble shooting window in
draksound (which maybe should be replaced by an automatic thing that
do all steps)
but, as usual, time is that we all miss

the big problem being that alsa insists on muting everything by
default whereas enabling right switches by default would be a lot
better and reduce the alsa sucks; oss rulez messages bag we all have
seen there among the years.

 I think we need the possibility in draksound to run a small script
 depending on the soundcard. For the sblive this script could do the
 following:
 
 -enable midi on sblive (this might need a gui component to load the
 soundfont)
 -in proc there is a entry called oss_mixer (IIRC not at home now),
 here you can couple alsa wave surround to an OSS mixer entry like
 IGain. Wave surround is volume control of rear speakers.
 -always mute analog output jack
 -find a way to couple wave surround to Master, if this is possible
 (I asked on alsa devel but my message got ignored for list
 acceptence.
 Thierry, I think you are subscribed there??)

yes i am.
strings get associated to devices in alsa drivers and alsa config
files (look at libalsa-data)

Jaroslav Kysela and Takashi Iwai are the two main alsa programmers.

jaroslave, as being the emu10k1 driver author, is it possible to do
danny suggestion by default ?

 -modify some other mixer settings to enable CD sound, capturing etc
 out of the box.
 
 I am willing to try writing a shell script at least the sblive.
 But my perl is to bad for modifying draksound

we could add something to mandrake_firsttime service script or to
harddrake service to run such a script depending on the sound card on
the firt bootstrapping.





Re: [Cooker] No Audio with SBlive and digital Speakers

2003-02-12 Thread Adam Williamson
On Wed, 2003-02-12 at 09:00, [EMAIL PROTECTED] wrote:

 Many things need to be changed with the default mixer settings, but I have 
 had still no time to look into it (==modifying draksound to do this).
 
 Thierry, if you have time :-P, this really needs some works. Many bug 
 reports stem from this.
 
 I think we need the possibility in draksound to run a small script 
 depending on the soundcard. For the sblive this script could do the 
 following:
 
 -enable midi on sblive (this might need a gui component to load the 
 soundfont)
 -in proc there is a entry called oss_mixer (IIRC not at home now), here 
 you can couple alsa wave surround to an OSS mixer entry like IGain. Wave 
 surround is volume control of rear speakers.
 -always mute analog output jack
 -find a way to couple wave surround to Master, if this is possible (I 
 asked on alsa devel but my message got ignored for list acceptence. 
 Thierry, I think you are subscribed there??)
 -modify some other mixer settings to enable CD sound, capturing etc out of 
 the box.
 
 I am willing to try writing a shell script at least the sblive. But my 
 perl is to bad for modifying draksound

Yes! This would be a huge thing for Mandrake. In a discussion on IRC it
was concluded that ALSA's default volume settings are probably some sort
of strange religious ritual, so it'd be awesome if Mandrake fixed them.
Danny's solution is ideal for the long-term: a set of sensible defaults
for each driver which are applied automatically. For the short term,
installation should *at least* unmute, say, master and PCM volume and
set them to 60 or so (if it doesn't already - it's a long time since I
used DrakX).
-- 
adamw





Re: [Cooker] No Audio with SBlive and digital Speakers

2003-02-12 Thread Adam Williamson
On Wed, 2003-02-12 at 11:43, Thierry Vignaud wrote:

 the big problem being that alsa insists on muting everything by
 default whereas enabling right switches by default would be a lot
 better and reduce the alsa sucks; oss rulez messages bag we all have
 seen there among the years.

Maybe as a basic start you could just set it so that Master, PCM and CD
volumes are unmuted and set to, say, 70 by default on *all* cards? I
can't think of a situation in which this would be wrong, and it's lots
less work than setting up a database of sensible values for all settings
on all cards. That could be done gradually, but this would be a good
first step that at least gives basic sound and lets people know ALSA is
working :)
-- 
adamw





Re: [Cooker] No Audio with SBlive and digital Speakers

2003-02-12 Thread Thierry Vignaud
Adam Williamson [EMAIL PROTECTED] writes:

 Maybe as a basic start you could just set it so that Master, PCM and
 CD volumes are unmuted and set to, say, 70 by default on *all*
 cards? I can't think of a situation in which this would be wrong,

well, there're reports of very noisy sound if all stuff was unmuted.

 and it's lots less work than setting up a database of sensible
 values for all settings on all cards.

there's a driver design problem, which is simpler and safer to
workaround in userland than in kernel





Re: [Cooker] No Audio with SBlive and digital Speakers

2003-02-12 Thread danny
On 12 Feb 2003, Adam Williamson wrote:

 On Wed, 2003-02-12 at 11:43, Thierry Vignaud wrote:
 
 Maybe as a basic start you could just set it so that Master, PCM and CD
 volumes are unmuted and set to, say, 70 by default on *all* cards?

The problem is, that this still doesn't enable sound on some cards. For 
instance on the sblive, the rear speakers are on a separate ADC and are 
governed by a separate mixer channel called 'wave surround'. And you have 
to _mute_ 'analog output jack' which is used on some specific cards who 
have an extra analog output (IIRC).
In addition 'Master' on sblive does not control the rear channels, but it 
does on some other cards. It will be necessary to have defaults per card 
because _each card has its own different mixer channels_. This is also 
true for OSS, but even more so for ALSA because it provides a much finer 
grained control.

d.








Re: [Cooker] No Audio with SBlive and digital Speakers

2003-02-12 Thread Adam Williamson
On Wed, 2003-02-12 at 15:54, Thierry Vignaud wrote:
 Adam Williamson [EMAIL PROTECTED] writes:
 
  Maybe as a basic start you could just set it so that Master, PCM and
  CD volumes are unmuted and set to, say, 70 by default on *all*
  cards? I can't think of a situation in which this would be wrong,
 
 well, there're reports of very noisy sound if all stuff was unmuted.

That's presumably because microphone inputs and stuff get unmuted (I get
a similar thing if I unmute the built-in microphone on my laptop). I
didn't mean to unmute *everything* - just unmute those three settings.
That should never produce noise.
-- 
adamw





Re: [Cooker] No Audio with SBlive and digital Speakers

2003-02-12 Thread Adam Williamson
On Wed, 2003-02-12 at 15:21, [EMAIL PROTECTED] wrote:
 On 12 Feb 2003, Adam Williamson wrote:
 
  On Wed, 2003-02-12 at 11:43, Thierry Vignaud wrote:
  
  Maybe as a basic start you could just set it so that Master, PCM and CD
  volumes are unmuted and set to, say, 70 by default on *all* cards?
 
 The problem is, that this still doesn't enable sound on some cards. For 
 instance on the sblive, the rear speakers are on a separate ADC and are 
 governed by a separate mixer channel called 'wave surround'. And you have 
 to _mute_ 'analog output jack' which is used on some specific cards who 
 have an extra analog output (IIRC).
 In addition 'Master' on sblive does not control the rear channels, but it 
 does on some other cards. It will be necessary to have defaults per card 
 because _each card has its own different mixer channels_. This is also 
 true for OSS, but even more so for ALSA because it provides a much finer 
 grained control.

Yes, I know. I wasn't proposing it as a complete solution: as I said I
propose it as a basic start. For the long term we really need a list
of appropriate settings for each driver. What this WOULD do, though, is
give basic output through two speakers on every card, which a) ought to
be the case and b) means people won't think ALSA is broken as they do
now.
-- 
adamw





Re: [Cooker] No Audio with SBlive and digital Speakers

2003-02-11 Thread Murray J. Root
On Tue, Feb 11, 2003 at 04:38:31PM -0700, Nathan A. Smith wrote:
 Hi,
 
 Title says it all -- alsa = no audio with sblive and digital speakers. 
 Plugging into the non-digital output produces sound.  What may I be
 missing?
 
 
Use alsamixer (or alsamixergui) to enable digital and set the levels.

-- 
Murray J. Root





Re: [Cooker] No Audio with SBlive and digital Speakers

2003-02-11 Thread Nathan A. Smith
On Tue, 2003-02-11 at 17:02, Murray J. Root wrote:
 On Tue, Feb 11, 2003 at 04:38:31PM -0700, Nathan A. Smith wrote:
  Hi,
  
  Title says it all -- alsa = no audio with sblive and digital speakers. 
  Plugging into the non-digital output produces sound.  What may I be
  missing?
  
  
 Use alsamixer (or alsamixergui) to enable digital and set the levels.

I looked at alsamixer (which has a hundred options no one understands) but everything
seems to be on -- The option I think you are referring too, however, (SB Live Analog/
Digital Output jack) will not allow me to adjust it's level.  Other than that 
everything
is on.  


Thanks for the reply 


-- 
Nathan A. Smith [EMAIL PROTECTED]





Re: [Cooker] No Audio with SBlive and digital Speakers

2003-02-11 Thread Chuck Burns
On Tuesday 11 February 2003 6:33 pm, Nathan A. Smith wrote:
*snip*
 I looked at alsamixer (which has a hundred options no one understands) but
 everything seems to be on -- The option I think you are referring too,
 however, (SB Live Analog/ Digital Output jack) will not allow me to adjust
 it's level.  Other than that everything is on.

Another solution (one that worked for me) is to run draksound, and select the 
emu10k1 driver instead of the snd-emu10k1 driver.
-- 
Chuck Burns [EMAIL PROTECTED]