LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware 12.1 : issue adding channels for surround using ALSA driver on HDA Intel (https://www.linuxquestions.org/questions/slackware-14/slackware-12-1-issue-adding-channels-for-surround-using-alsa-driver-on-hda-intel-662384/)

ADHybrid 08-13-2008 12:21 AM

Slackware 12.1 : issue adding channels for surround using ALSA driver on HDA Intel
 
Hi everyone!

I'm new here but I have a little experience with Linux (Ubuntu) and just jumped over to Slackware. Be nice, I'm still noob however ;). I migrated to Slackware 12.1 from Ubuntu Hardy just a few weeks ago and have been having a really tough time solving this sound issue ever since. I'm trying to use the 3stack 5.1 surround capabilities of my P5GC-MX/1333 motherboard.

aplay -l

Quote:

card 0: Intel [HDA Intel], device 0: ALC662 Analog [ALC662 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC662 Digital [ALC662 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
lspci

Quote:

00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82945G/GZ/P/PL PCI Express Root Port (rev 02)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 Network controller: Broadcom Corporation BCM43XG (rev 01)
01:01.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 61)
02:00.0 Ethernet controller: Attansic Technology Corp. L2 100 Mbit Ethernet Adapter (rev a0)
04:00.0 VGA compatible controller: nVidia Corporation Unknown device 0424 (rev a1)
lsmod

Quote:

Module Size Used by
ndiswrapper 184732 0
snd_seq_dummy 6660 0
snd_seq_oss 32896 0
snd_seq_midi_event 10112 1 snd_seq_oss
snd_seq 50256 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 10380 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 40352 0
snd_mixer_oss 17920 1 snd_pcm_oss
ipv6 234724 14
lp 13348 0
sg 30224 0
fuse 45588 1
snd_hda_intel 289052 1
snd_pcm 72068 2 snd_pcm_oss,snd_hda_intel
snd_timer 22532 2 snd_seq,snd_pcm
snd_page_alloc 11528 2 snd_hda_intel,snd_pcm
serio_raw 9092 0
snd_hwdep 10756 1 snd_hda_intel
rtc_cmos 11040 0
button 10000 0
i2c_i801 11792 0
snd 47716 11 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_timer,snd_hwd ep
rtc_core 18696 1 rtc_cmos
thermal 16540 0
processor 32680 1 thermal
iTCO_wdt 13988 0
intel_agp 25236 0
psmouse 40336 0
agpgart 30664 1 intel_agp
evdev 12672 3
iTCO_vendor_support 7044 1 iTCO_wdt
soundcore 9824 1 snd
rtc_lib 6528 1 rtc_core
parport_pc 27556 1
parport 34632 2 lp,parport_pc
On Ubuntu I was able to edit the alsa-base file by appending

Quote:

options snd-hda-intel model=3stack-6ch
to the end of the file according to ALSA-Configuration.txt. This would allow me to run alsamixer in terminal and scroll over to add channels. As with Ubuntu, before I added the option to alsa-base, I am running Slackware 12.1 now and I only hear 2 channels. I read around the forums and was under the impression that /etc/modprobe.d/sound was the same as modprobe.d/alsa-base so I added the option previously quoted to the modprobe.d/sound. Before the change it read...

Quote:

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
After the change, as well as doing a rmmod and modprobe to snd-hda-intel, I tried to change the channels however typing the command alsamixer gives an error

Quote:

alsamixer: function snd_ctl_open failed for default: No such device
and typing aplay -l after gives the following error

Quote:

aplay: device_list:205: no soundcards found...
Is there something else I need to do (or what more information you would need) to help me get 5.1 surround sound. Thanks in advance guys.

larryhaja 08-13-2008 11:50 AM

deleted post

gefst 08-13-2008 05:05 PM

I had a similar problem since I had to pass an option to my soundcard. I found that the correct file name under modprobe is the name of the module, so just create a file that is named snd_hda_intel under /etc/modprobe.d, add your options and then as root load and unload the module

modprobe -r snd_hda_intel
modprobe snd_hda_intel

if it is says it can not be done you can either force it or reboort.

I hope it works for you also. Regarding the alsamixer problem I think the official documentation has something regarding setting up alsa.


All times are GMT -5. The time now is 11:32 AM.