Re: [gentoo-user] Return of My Continuing ALSA woes

2005-11-23 Thread Glenn Enright
On Thu, 24 Nov 2005 09:24, Harold Naparst wrote:
snip
 and then:

 /etc/init.d/alsasound restart
  * WARNING:  you are stopping a boot service.
  * Storing ALSA Mixer Levels ...
 /usr/sbin/alsactl: get_control:149: Cannot read control info '2,0,0,Front
 Playback Volume,0': Invalid argument   [ !! ] * Unloading ALSA
 ...

Looks like the saved mixer settings are corrupt. Find where they live, 
(/etc/asound.state?) delete or move them, and then load again. Should 
recreate the default mixer data and then you can play with the volumes to get 
them set up again.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Return of My Continuing ALSA woes

2005-11-23 Thread Harold Naparst
Well, I rebooted and then it worked. 
So, who knows what's going on...

But while we're at it, should I choose six channel or two-channel mode,
and what's the deal with the three input sources on the right side
of alsamixer?
On 11/23/05, Glenn Enright [EMAIL PROTECTED] wrote:
On Thu, 24 Nov 2005 09:24, Harold Naparst wrote:snip and then: /etc/init.d/alsasound restart
* WARNING:you are stopping a boot service.* Storing ALSA Mixer Levels ... /usr/sbin/alsactl: get_control:149: Cannot read control info '2,0,0,Front Playback Volume,0': Invalid argument [ !! ] * Unloading ALSA
 ...Looks like the saved mixer settings are corrupt. Find where they live,(/etc/asound.state?) delete or move them, and then load again. Shouldrecreate the default mixer data and then you can play with the volumes to get
them set up again.--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Return of My Continuing ALSA woes

2005-11-17 Thread Mark Knecht
On 11/17/05, Michael Sullivan [EMAIL PROTECTED] wrote:
 I got my new computer about a month ago.  It uses the snd-hda-intel ALSA
 driver.

SNIP

 I remerged alsa-driver.

Unless your sound card is a special case you should not emerge
alsa-driver. The alsa-driver is included in the kernel.

Just a thought.

Cheers,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Return of My Continuing ALSA woes

2005-11-17 Thread Michael Sullivan
On Thu, 2005-11-17 at 07:24 -0800, Mark Knecht wrote:
 On 11/17/05, Michael Sullivan [EMAIL PROTECTED] wrote:
  I got my new computer about a month ago.  It uses the snd-hda-intel ALSA
  driver.
 
 SNIP
 
  I remerged alsa-driver.
 
 Unless your sound card is a special case you should not emerge
 alsa-driver. The alsa-driver is included in the kernel.
 
 Just a thought.
 
 Cheers,
 Mark

When I first got this computer and I couldn't get my sound to work I
emailed this list asking for help.  A lot of people on the list told me
to use ALSA compiled into my kernel with support for my card, but I
could never get it to work.  I finally got it to work by not enabling
ALSA in my kernel and emerging alsa-driver.  Now alsa-driver has stopped
working.  It seems unlikely that what wouldn't work before (namely
compiling ALSA support into my kernel) would work now...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Return of My Continuing ALSA woes

2005-11-17 Thread Mark Knecht
On 11/17/05, Michael Sullivan [EMAIL PROTECTED] wrote:
 On Thu, 2005-11-17 at 07:24 -0800, Mark Knecht wrote:
  On 11/17/05, Michael Sullivan [EMAIL PROTECTED] wrote:
   I got my new computer about a month ago.  It uses the snd-hda-intel ALSA
   driver.
 
  SNIP
 
   I remerged alsa-driver.
 
  Unless your sound card is a special case you should not emerge
  alsa-driver. The alsa-driver is included in the kernel.
 
  Just a thought.
 
  Cheers,
  Mark

 When I first got this computer and I couldn't get my sound to work I
 emailed this list asking for help.  A lot of people on the list told me
 to use ALSA compiled into my kernel with support for my card, but I
 could never get it to work.  I finally got it to work by not enabling
 ALSA in my kernel and emerging alsa-driver.  Now alsa-driver has stopped
 working.  It seems unlikely that what wouldn't work before (namely
 compiling ALSA support into my kernel) would work now...


OK, but you are not running the same kernel today that you were
running a month ago, correct? Are you running the same version of
alsa-driver, or is it newer? Did you possibly choose testing before
and grabbed stable this time? (~x86 vs. x86)

I would assume that if you choose exactly the software you used before
you will get exactly the same results.

- Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Return of My Continuing ALSA woes

2005-11-17 Thread Uwe Klosa
Which kernel were you using before the new kernel install. I did also have some problems when i upgraded from 2.6.13 to 2.6.14. Check 
that your kernel config is correct. In my case the config hasn't been correct.


Cheers
Uwe

Michael Sullivan wrote:

I got my new computer about a month ago.  It uses the snd-hda-intel ALSA
driver.  I fought with it for a week or two and finally got it working
with alsa-driver (it wouldn't work when I attempted to compile ALSA
support for the card into the kernel.)  Yesterday it just kind of
stopped.  I've just rebuild kernel-2.6.14-gentoo-r2 (removing SMP
support - someone told me last time that it might cause a problem) and
before I rebuilt the kernel I removed all the old modules
from /lib/modules for this kernel.  I remerged alsa-driver.  I try to
start /etc/init.d/alsamixer and I hear the little click/pop sound out
of my speakers that tells me that Gentoo has activated my sound card.  I
try to run alsamixer to unmute the card, but I get an error:

camille ~ # /etc/init.d/alsasound start
 * Loading ALSA modules ...
 *   Loading: snd-card-0 ...
[ ok ] *   Loading: snd-seq-oss ...
[ ok ] * Restoring Mixer Levels ...
 * No mixer config in /etc/asound.state, you have to unmute your card!
[ ok ]camille ~ # alsamixer

alsamixer: function snd_mixer_load failed: Invalid argument

The funny thing is that when I reload gnome-panel (killall gnome-panel)
I have a volume control applet there.  It's muted, but I slide the
volume bar up.  On File-Change Device (in the volume control applet) it
claims to be using Realtek ALC880 (OSS Mixer), but I can't hear any
sound from any of my other applications (including by selecting the OSS
Mixer in xmms.)  After I turn the volume up in the volume control applet
if I go back to my terminal and try to run alsamixer again I get the
same stupid error message, and if I restart /etc/init.d/alsasound I get
this:

camille ~ # /etc/init.d/alsasound restart
 * WARNING:  you are stopping a boot service.
 * Storing ALSA Mixer Levels ...
/usr/sbin/alsactl: get_control:149: Cannot read control info
'2,0,0,Front Playback Volume,0': Invalid argument
[ !! ] * Unloading ALSA ...
[ ok ] * Unloading ALSA modules ...
[ ok ] * Loading ALSA modules ...
 *   Loading: snd-card-0 ...
[ ok ] *   Loading: snd-seq-oss ...
[ ok ] *   Loading: snd-pcm-oss ...
[ ok ] * Restoring Mixer Levels ...
 * No mixer config in /etc/asound.state, you have to unmute your card!
[ ok ]

I have an /etc/asound.state backed up.  When I restore it and
restart /etc/init.d/alsasound I get this:

camille ~ # /etc/init.d/alsasound restart
 * WARNING:  you are stopping a boot service.
 * Storing ALSA Mixer Levels ...
/usr/sbin/alsactl: get_control:149: Cannot read control info
'2,0,0,Front Playback Volume,0': Invalid argument
[ !! ] * Unloading ALSA ...
[ ok ] * Unloading ALSA modules ...
[ ok ] * Loading ALSA modules ...
 *   Loading: snd-card-0 ...
[ ok ] *   Loading: snd-seq-oss ...
[ ok ] *   Loading: snd-pcm-oss ...
[ ok ] * Restoring Mixer Levels ...
/usr/sbin/alsactl: set_control:873: failed to obtain info for control #1
(Invalid argument) * Errors while restoring defaults, ignoring
[ ok ]

Any thoughts on how to get my sound back, or why it just quit in the
first place?

begin:vcard
fn:Uwe Klosa
n:Klosa;Uwe
org:Uppsala University;Electronic Publishing Centre
adr:;;;Uppsala;;75120;Sweden
email;internet:[EMAIL PROTECTED]
tel;work:+46 (0)18 471 7658
url:http://publications.uu.se/epcentre
version:2.1
end:vcard



Re: [gentoo-user] Return of My Continuing ALSA woes

2005-11-17 Thread Michael Sullivan
On Thu, 2005-11-17 at 07:55 -0800, Mark Knecht wrote:
 On 11/17/05, Michael Sullivan [EMAIL PROTECTED] wrote:
  On Thu, 2005-11-17 at 07:24 -0800, Mark Knecht wrote:
   On 11/17/05, Michael Sullivan [EMAIL PROTECTED] wrote:
I got my new computer about a month ago.  It uses the snd-hda-intel ALSA
driver.
  
   SNIP
  
I remerged alsa-driver.
  
   Unless your sound card is a special case you should not emerge
   alsa-driver. The alsa-driver is included in the kernel.
  
   Just a thought.
  
   Cheers,
   Mark
 
  When I first got this computer and I couldn't get my sound to work I
  emailed this list asking for help.  A lot of people on the list told me
  to use ALSA compiled into my kernel with support for my card, but I
  could never get it to work.  I finally got it to work by not enabling
  ALSA in my kernel and emerging alsa-driver.  Now alsa-driver has stopped
  working.  It seems unlikely that what wouldn't work before (namely
  compiling ALSA support into my kernel) would work now...
 
 
 OK, but you are not running the same kernel today that you were
 running a month ago, correct? Are you running the same version of
 alsa-driver, or is it newer? Did you possibly choose testing before
 and grabbed stable this time? (~x86 vs. x86)
 
 I would assume that if you choose exactly the software you used before
 you will get exactly the same results.
 
 - Mark
 

It did.  Until yesterday.  I was playing an MP3 in xmms and the sound
just stopped.  I couldn't get sound out of anything, and when I tried
rebooting (and therefore restarting /etc/init.d/alsasound) it started
giving me those stupid errors...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Return of My Continuing ALSA woes

2005-11-17 Thread Michael Sullivan
On Thu, 2005-11-17 at 16:55 +0100, Uwe Klosa wrote:
 Which kernel were you using before the new kernel install. I did also have 
 some problems when i upgraded from 2.6.13 to 2.6.14. Check 
 that your kernel config is correct. In my case the config hasn't been correct.
 
 Cheers
 Uwe
 
 Michael Sullivan wrote:
  I got my new computer about a month ago.  It uses the snd-hda-intel ALSA
  driver.  I fought with it for a week or two and finally got it working
  with alsa-driver (it wouldn't work when I attempted to compile ALSA
  support for the card into the kernel.)  Yesterday it just kind of
  stopped.  I've just rebuild kernel-2.6.14-gentoo-r2 (removing SMP
  support - someone told me last time that it might cause a problem) and
  before I rebuilt the kernel I removed all the old modules
  from /lib/modules for this kernel.  I remerged alsa-driver.  I try to
  start /etc/init.d/alsamixer and I hear the little click/pop sound out
  of my speakers that tells me that Gentoo has activated my sound card.  I
  try to run alsamixer to unmute the card, but I get an error:
  
  camille ~ # /etc/init.d/alsasound start
   * Loading ALSA modules ...
   *   Loading: snd-card-0 ...
  [ ok ] *   Loading: snd-seq-oss ...
  [ ok ] * Restoring Mixer Levels ...
   * No mixer config in /etc/asound.state, you have to unmute your card!
  [ ok ]camille ~ # alsamixer
  
  alsamixer: function snd_mixer_load failed: Invalid argument
  
  The funny thing is that when I reload gnome-panel (killall gnome-panel)
  I have a volume control applet there.  It's muted, but I slide the
  volume bar up.  On File-Change Device (in the volume control applet) it
  claims to be using Realtek ALC880 (OSS Mixer), but I can't hear any
  sound from any of my other applications (including by selecting the OSS
  Mixer in xmms.)  After I turn the volume up in the volume control applet
  if I go back to my terminal and try to run alsamixer again I get the
  same stupid error message, and if I restart /etc/init.d/alsasound I get
  this:
  
  camille ~ # /etc/init.d/alsasound restart
   * WARNING:  you are stopping a boot service.
   * Storing ALSA Mixer Levels ...
  /usr/sbin/alsactl: get_control:149: Cannot read control info
  '2,0,0,Front Playback Volume,0': Invalid argument
  [ !! ] * Unloading ALSA ...
  [ ok ] * Unloading ALSA modules ...
  [ ok ] * Loading ALSA modules ...
   *   Loading: snd-card-0 ...
  [ ok ] *   Loading: snd-seq-oss ...
  [ ok ] *   Loading: snd-pcm-oss ...
  [ ok ] * Restoring Mixer Levels ...
   * No mixer config in /etc/asound.state, you have to unmute your card!
  [ ok ]
  
  I have an /etc/asound.state backed up.  When I restore it and
  restart /etc/init.d/alsasound I get this:
  
  camille ~ # /etc/init.d/alsasound restart
   * WARNING:  you are stopping a boot service.
   * Storing ALSA Mixer Levels ...
  /usr/sbin/alsactl: get_control:149: Cannot read control info
  '2,0,0,Front Playback Volume,0': Invalid argument
  [ !! ] * Unloading ALSA ...
  [ ok ] * Unloading ALSA modules ...
  [ ok ] * Loading ALSA modules ...
   *   Loading: snd-card-0 ...
  [ ok ] *   Loading: snd-seq-oss ...
  [ ok ] *   Loading: snd-pcm-oss ...
  [ ok ] * Restoring Mixer Levels ...
  /usr/sbin/alsactl: set_control:873: failed to obtain info for control #1
  (Invalid argument) * Errors while restoring defaults, ignoring
  [ ok ]
  
  Any thoughts on how to get my sound back, or why it just quit in the
  first place?
  

I use genkernel.  To get my sound card to work the first time I had to
reboot with the LiveCD (Gentoo 2005), mount my partitions, chroot to the
new environmeny, etc, unmerge gentoo-sources and alsa-driver, completely
delete the directories under /usr/src and /lib/modules, remerge
gentoo-sources, zcat /proc/config.gz
 /usr/share/genkernel/x86/kernel-2.6 and run genkernel --all and then
reboot into my regular environment and emerge alsa-driver then
restart /etc/init.d/alsasound.  Yesterday I did everything I did
originally to get the sound to work and it doesn't.  I'm not sure the
kernel config was really clean.  What would I have to do to get the
original kernel config for when one first installs Gentoo?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Return of My Continuing ALSA woes

2005-11-17 Thread abhay
On Thursday 17 Nov 2005 7:36 pm, Michael Sullivan wrote:
I've just rebuild kernel-2.6.14-gentoo-r2
Can we have output of
lspci | grep Audio
lsmod | grep snd
emerge -pv alsa-driver
dmesg

Abhay


pgpVG6964dwcR.pgp
Description: PGP signature


Re: [gentoo-user] Return of My Continuing ALSA woes

2005-11-17 Thread abhay
On Friday 18 Nov 2005 12:08 am, Michael Sullivan wrote:
 PCI: Setting latency timer of device :00:1b.0 to 64
 hda_codec: Unknown model for ALC880, trying auto-probe from BIOS...
 hda_codec: num_steps = 0 for NID=0x8
 hda_codec: num_steps = 0 for NID=0x8
 hda_codec: num_steps = 0 for NID=0x8
 hda_codec: num_steps = 0 for NID=0x8
...and that is what I was looking for.
It is a known bug (1453) in ALSA hda-intel drivers. Your driver version is 
fine as it did not work in 1.0.9 AT ALL but you need to pass some extra 
options with =1.0.10_rc2 in /etc/modules.d/alsa. This is what I am using

#--
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.10rc2 ---
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
# --- END: Generated by ALSACONF, do not edit. ---

options snd-hda-intel model=3stack position_fix=2
#---

I have the same sound device so it should work for you as well.

Abhay


pgpogchcfWOaj.pgp
Description: PGP signature


Re: [gentoo-user] Return of My Continuing ALSA woes

2005-11-17 Thread Michael Sullivan
On Fri, 2005-11-18 at 00:53 +0530, abhay wrote:
 #--
 alias /dev/mixer snd-mixer-oss
 alias /dev/dsp snd-pcm-oss
 alias /dev/midi snd-seq-oss
 
 # Set this to the correct number of cards.
 # --- BEGIN: Generated by ALSACONF, do not edit. ---
 # --- ALSACONF version 1.0.10rc2 ---
 alias snd-card-0 snd-hda-intel
 alias sound-slot-0 snd-hda-intel
 # --- END: Generated by ALSACONF, do not edit. ---
 
 options snd-hda-intel model=3stack position_fix=2
 #---

Yes that worked.  Thank you!  That'll be one less worry on my mind...

-- 
gentoo-user@gentoo.org mailing list