Re: [gentoo-user] 2.6.10-hardened-r3 sound card driver changes

2005-02-05 Thread Grant
  But if I boot into 2.6.7-hardened-r17 with alsa compiled in, sound works 
  great.
 
 I'm just wondering, since the error message you showed above meant the
 device files weren't there, are you using udev or devfs? If devfs, did
 you forget to enable 'mount at boot' or anything like that?
 
 --
 Calvin Walton

Maybe I'm oversimplifying this, but since sound works great in 2.6.7
but not in 2.6.10, there has to be some type of a kernel problem
right?

- Grant

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2.6.10-hardened-r3 sound card driver changes

2005-02-04 Thread Calvin Walton
On Thu, 3 Feb 2005 09:46:27 -0800, Grant [EMAIL PROTECTED] wrote:

 But if I boot into 2.6.7-hardened-r17 with alsa compiled in, sound works 
 great.

I'm just wondering, since the error message you showed above meant the
device files weren't there, are you using udev or devfs? If devfs, did
you forget to enable 'mount at boot' or anything like that?

-- 
Calvin Walton

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2.6.10-hardened-r3 sound card driver changes

2005-02-03 Thread Grant
  I turned the volume and pcm up in the xfce4 mixer (even though it's
  grayed out), but alsamixer is a bad command.  When I open xmovie in a
  terminal and try to play an MP3, I get this:
 
  open odevice failed
 
 
 Ahh...that's a different issue.  So what's in /dev, /dev/snd/, and 
 /dev/sound/?
 Did you reboot after getting the modules setup in /etc/module.d/alsa and 
 running
 update-modules force?
 
 An open odevice failed is due to no devices in /dev - /dev/dsp /dev/pcm with 
 associated
 device nodes in /dev/snd and /dev/sound.  Or it's a bad error message meaning 
 the current
 user doesn't have permission to use the devices.

Hi Bob,

I don't have anything in /dev/sound.  Here's /etc/modules.d:

aliases  ath_pci  i386  ppp  slmodem

It sounds like I need an alsa in there?  I always compile everything I
can into the kernel so this module stuff is new to me.

- Grant

 Bob

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2.6.10-hardened-r3 sound card driver changes

2005-02-03 Thread Bob Sanders
Hi Grant,

 
 I don't have anything in /dev/sound.  Here's /etc/modules.d:
 
 aliases  ath_pci  i386  ppp  slmodem
 
 It sounds like I need an alsa in there?  I always compile everything I
 can into the kernel so this module stuff is new to me.


Per-chance have you emerged alsa-lib alsa-utilities alsa-oss?

And you'll need to - rc-update add alsasound boot

Once the above is in place, edit /etc/modules.d/alsa, add the
sound card defs, reboot (yes, you really, really need to reboot),
and run alsamixer in a term, unmute the card, adjust the volume
levels and esc to exit the mixer.

Bob
-  

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2.6.10-hardened-r3 sound card driver changes

2005-02-03 Thread Grant
 Hi Grant,
 
 
  I don't have anything in /dev/sound.  Here's /etc/modules.d:
 
  aliases  ath_pci  i386  ppp  slmodem
 
  It sounds like I need an alsa in there?  I always compile everything I
  can into the kernel so this module stuff is new to me.
 
 
 Per-chance have you emerged alsa-lib alsa-utilities alsa-oss?
 
 And you'll need to - rc-update add alsasound boot
 
 Once the above is in place, edit /etc/modules.d/alsa, add the
 sound card defs, reboot (yes, you really, really need to reboot),
 and run alsamixer in a term, unmute the card, adjust the volume
 levels and esc to exit the mixer.
 
 Bob

Hi Bob,

All this extra stuff is being done on the off-chance that sound wasn't
working because alsa was compiled into the kernel instead of as a
module.  Why would alsa work as a module, but not when built into the
kernel?  Avoiding all of this is one of the reasons I moved up to 2.6.

- Grant

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2.6.10-hardened-r3 sound card driver changes

2005-02-03 Thread Bob Sanders

Hi grant,

 
 All this extra stuff is being done on the off-chance that sound wasn't
 working because alsa was compiled into the kernel instead of as a
 module.  Why would alsa work as a module, but not when built into the
 kernel?  Avoiding all of this is one of the reasons I moved up to 2.6.


Just to avoid extra work for my self,  I have two rules I follow - all
sound/v4l drivers are compiled as modules.  And all ethernet drivers
are compiled into the kernel.

This is not to say that they don't work the other way.  But there are
certain drivers that don't and I don't want to remember which they
are.  Thus, yes, alsa is always best compiled as a module and not in
the kernel.

Bob
-  

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2.6.10-hardened-r3 sound card driver changes

2005-02-03 Thread Neil Bothwick
On Thu, 3 Feb 2005 09:13:56 -0800, Grant wrote:

   I don't have anything in /dev/sound.  Here's /etc/modules.d:
  
   aliases  ath_pci  i386  ppp  slmodem

 All this extra stuff is being done on the off-chance that sound wasn't
 working because alsa was compiled into the kernel instead of as a
 module.  Why would alsa work as a module, but not when built into the
 kernel?

Probably because you are using the slmodem drivers. which also have
something to do with ALSA. I don't know the details, but when I installed
slmodem on my laptop, it warned that the also driver had to be a module.
you also need to re-emerge slmodem after compiling a new lernel.

 Avoiding all of this is one of the reasons I moved up to 2.6.

It's not the same problem as with 2.4. there, ALSA was separate fro the
kernel, so you had to re-emerge alsa-drivers after recompiling the kernel.
With 2.6 the ASLA modules are compiled at the same time as the rest of the
kernel, so having them as modules causes no extra work.


-- 
Neil Bothwick

This is a test of the emergency tagline stealing system.


pgpPgUlrknFvc.pgp
Description: PGP signature


Re: [gentoo-user] 2.6.10-hardened-r3 sound card driver changes

2005-02-03 Thread Grant
  All this extra stuff is being done on the off-chance that sound wasn't
  working because alsa was compiled into the kernel instead of as a
  module.  Why would alsa work as a module, but not when built into the
  kernel?
 
 Probably because you are using the slmodem drivers. which also have
 something to do with ALSA. I don't know the details, but when I installed
 slmodem on my laptop, it warned that the also driver had to be a module.

But if I boot into 2.6.7-hardened-r17 with alsa compiled in, sound works great.

- Grant

 Neil Bothwick

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2.6.10-hardened-r3 sound card driver changes

2005-02-02 Thread Grant
 On Tue, 1 Feb 2005 16:45:48 -0800, Grant [EMAIL PROTECTED] wrote:
  Sound works great for me in 2.6.7 by selecting the following PCI device:
  * Intel i8x0/MX440, SiS 7012; Ali 5455; NForce Audio; AMD768/8111
  but there is no such option in 2.6.10 and the closest I see is this:
  * Intel/SiS/nVidia/AMD/ALi AC97 Controller
  but I have no sound.
 
 Hmm. I havn't been using the in-kernel ALSA, but when i check, the
 Intel i8x0 driver has been renamed in the configuration screen. If you
 look at the details (? in menuconfig), it is still
 CONFIG_SND_INTEL8X0, the same thing.
 
  Does anyone know how I can get sound back?  It seems strange that a
  working audio driver would be pruned from the kernel like this.
 
 Is there any output from the kernel when loading the sound driver in
 dmesg? also try building the alsa stuff as modules, i have
 occasionally seen problems when it is built into the kernel.
 
 --
 Calvin Walton

Hi Calvin,

Thanks a lot for taking the time to look this over.  Here's some stuff
from dmesg that looks sound-related:

intel8x0_measure_ac97_clock: measured 49395 usecs
intel8x0: clocking to 48000
ALSA device list:
  #0: SiS SI7012 with AD1981B at 0x1400, irq 5

Not too great though.  I'll try compiling all the alsa stuff as modules.

- Grant

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2.6.10-hardened-r3 sound card driver changes

2005-02-02 Thread Grant
  On Tue, 1 Feb 2005 16:45:48 -0800, Grant [EMAIL PROTECTED] wrote:
   Sound works great for me in 2.6.7 by selecting the following PCI device:
   * Intel i8x0/MX440, SiS 7012; Ali 5455; NForce Audio; AMD768/8111
   but there is no such option in 2.6.10 and the closest I see is this:
   * Intel/SiS/nVidia/AMD/ALi AC97 Controller
   but I have no sound.
 
  Hmm. I havn't been using the in-kernel ALSA, but when i check, the
  Intel i8x0 driver has been renamed in the configuration screen. If you
  look at the details (? in menuconfig), it is still
  CONFIG_SND_INTEL8X0, the same thing.
 
   Does anyone know how I can get sound back?  It seems strange that a
   working audio driver would be pruned from the kernel like this.
 
  Is there any output from the kernel when loading the sound driver in
  dmesg? also try building the alsa stuff as modules, i have
  occasionally seen problems when it is built into the kernel.
 
  --
  Calvin Walton

I loaded 8 modules, but the xfce4 mixer is grayed out even after I
load them.  I've tried restarting X, but it stays grayed out.  I tried
to play an MP3 anyway, but still no sound.

This is what I get in dmesg after loading the modules:

ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI interrupt :00:02.7[C] - GSI 5 (level, low) - IRQ 5
intel8x0_measure_ac97_clock: measured 49433 usecs
intel8x0: clocking to 48000

Here are the modules I loaded:

snd
snd-seq-device
snd-seq
snd-page-alloc
snd-pcm
snd-timer
snd-ac97-codec
snd-intel8x0

Any ideas?

- Grant

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2.6.10-hardened-r3 sound card driver changes

2005-02-02 Thread Bob Sanders
 
 Here are the modules I loaded:
 
 snd
 snd-seq-device
 snd-seq
 snd-page-alloc
 snd-pcm
 snd-timer
 snd-ac97-codec
 snd-intel8x0
 
 Any ideas?


Did you unmute the main, pcm, and ext. power amp switch (if there is one) in 
alsamixer?
Or raise the gain of the appropriate channels with alsamixer?

Bob
-  

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2.6.10-hardened-r3 sound card driver changes

2005-02-02 Thread Grant
  Here are the modules I loaded:
 
  snd
  snd-seq-device
  snd-seq
  snd-page-alloc
  snd-pcm
  snd-timer
  snd-ac97-codec
  snd-intel8x0
 
  Any ideas?
 
 
 Did you unmute the main, pcm, and ext. power amp switch (if there is one) in 
 alsamixer?
 Or raise the gain of the appropriate channels with alsamixer?
 
 Bob

I turned the volume and pcm up in the xfce4 mixer (even though it's
grayed out), but alsamixer is a bad command.  When I open xmovie in a
terminal and try to play an MP3, I get this:

open odevice failed

- Grant

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2.6.10-hardened-r3 sound card driver changes

2005-02-02 Thread Bob Sanders
 I turned the volume and pcm up in the xfce4 mixer (even though it's
 grayed out), but alsamixer is a bad command.  When I open xmovie in a
 terminal and try to play an MP3, I get this:
 
 open odevice failed


Ahh...that's a different issue.  So what's in /dev, /dev/snd/, and /dev/sound/?
Did you reboot after getting the modules setup in /etc/module.d/alsa and running
update-modules force?

An open odevice failed is due to no devices in /dev - /dev/dsp /dev/pcm with 
associated
device nodes in /dev/snd and /dev/sound.  Or it's a bad error message meaning 
the current
user doesn't have permission to use the devices.

Bob 
-  

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2.6.10-hardened-r3 sound card driver changes

2005-02-01 Thread Calvin Walton
On Tue, 1 Feb 2005 16:45:48 -0800, Grant [EMAIL PROTECTED] wrote:
 Sound works great for me in 2.6.7 by selecting the following PCI device:
 * Intel i8x0/MX440, SiS 7012; Ali 5455; NForce Audio; AMD768/8111
 but there is no such option in 2.6.10 and the closest I see is this:
 * Intel/SiS/nVidia/AMD/ALi AC97 Controller
 but I have no sound. 

Hmm. I havn't been using the in-kernel ALSA, but when i check, the
Intel i8x0 driver has been renamed in the configuration screen. If you
look at the details (? in menuconfig), it is still
CONFIG_SND_INTEL8X0, the same thing.

 Does anyone know how I can get sound back?  It seems strange that a
 working audio driver would be pruned from the kernel like this.

Is there any output from the kernel when loading the sound driver in
dmesg? also try building the alsa stuff as modules, i have
occasionally seen problems when it is built into the kernel.

-- 
Calvin Walton

--
gentoo-user@gentoo.org mailing list