Problems with ALSA on 2.6 Kernel (Was: Has anyone gotten a 2.6 Kernel to build?)

John Lannon yellowdog-general@lists.terrasoftsolutions.com
Thu Mar 25 06:20:02 2004


Simon,

I finally got ALSA working (I think), but at an
extremely low volume.  The key I believe was NOT to
set CONFIG_DMASOUND_PMAC in the kernel config file.  I
think this was conflicting with the ALSA stuff and
producing the /dev/dsp not found message I was getting
everytime I logged in via KDE.  At least now I can
hear the login sound, albeit at a very low volume. 
The issues I'm still wrestling with are:

1. ALSAPLAYER produces very low volume output
2. KsCD and XMMS do not produce any volume whatsoever,
although both appear to be advancing through Audio
CDs.
3. The ALSA utilities (amixer, aplayer, etc.) do not
appear to find the ALSA driver.  I compiled and
installed the utils and libs under 2.6.3-ben2.  Should
I recompile and reinstall these under 2.6.4?  Also the
version loaded by the kernel is 1.0.2c and the libs
and utils are 1.0.3x.  Is this ok?

Below are enclosed the dmesg, /proc/asound and .config
with only the pertainent info included.  Any help
would be appreciated.  Thanks.


dmesg:

Advanced Linux Sound Architecture Driver Version
1.0.2c (Thu Feb 05 
15:41:49 2004 UTC).
ALSA device list:
  #0: PowerMac Snapper (Dev 34) Sub-frame 0

--------------------------------------------------------------------------

/proc/asound:

::::::::::::::
/proc/asound/cards
::::::::::::::
0 [Snapper        ]: PMac Snapper - PowerMac Snapper
                     PowerMac Snapper (Dev 34)
Sub-frame 0
::::::::::::::
/proc/asound/devices
::::::::::::::
  1:       : sequencer
  0: [0- 0]: ctl
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
 33:       : timer

::::::::::::::
/proc/asound/pcm
::::::::::::::
00-00: PMac Snapper : PowerMac Snapper : playback 1 :
capture 1

::::::::::::::
/proc/asound/timers
::::::::::::::
G0: system timer : 1000.000us (10000000 ticks)
P0-0-0: PCM playback 0-0-0 : SLAVE
P0-0-1: PCM capture 0-0-1 : SLAVE

::::::::::::::
/proc/asound/version
::::::::::::::
Advanced Linux Sound Architecture Driver Version
1.0.2c (Thu Feb 05 
15:41:49 2004 UTC).
Compiled on Mar 24 2004 for kernel 2.6.4.


--------------------------------------------------------------------------

.config:

#
# Sound
#
CONFIG_SOUND=y
# CONFIG_DMASOUND_PMAC is not set

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
CONFIG_SND_SEQUENCER=y
CONFIG_SND_SEQ_DUMMY=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# PCI devices
#
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VX222 is not set

#
# ALSA PowerMac devices
#
CONFIG_SND_POWERMAC=y

#
# ALSA USB devices
#
CONFIG_SND_USB_AUDIO=m

#
# PCMCIA devices
#

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

#
# USB support
#
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
CONFIG_USB_DYNAMIC_MINORS=y

#
# USB Host Controller Drivers
#
# CONFIG_USB_EHCI_HCD is not set
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_UHCI_HCD=y

#
# USB Device Class drivers
#
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_MIDI is not set
CONFIG_USB_ACM=m
CONFIG_USB_PRINTER=m
# CONFIG_USB_STORAGE is not set

#
# USB Human Interface Devices (HID)
#
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
# CONFIG_HID_FF is not set
# CONFIG_USB_HIDDEV is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_XPAD is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
CONFIG_USB_MICROTEK=y
# CONFIG_USB_HPUSBSCSI is not set

--- Simon Slaytor <sslaytor@talk21.com> wrote:
> Hi John,
> 
> I'm not sure I did anything special, the only thing
> I did turn on was
> OSS API emulation and turn off OSS altogether.
> 
> I'm using a 2.4 Kernel on my work machine so when I
> get home tonight
> I'll post my Kernel config file. 
> 
> You can then have a look through this and see if
> there's anything
> obviously different.
> 
> I wouldn't however try building a kernel using this
> config as my machine
> at home is an 'OldWorld' i.e. CUDA based not a nice
> 'NewWorld' PMU like
> your e-mac.
> 
> Regards
> 
> Simon
> 
> 
> 
> 


__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html