Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
03-27-2009, 05:17 PM
#1
Member
Registered: Jun 2005
Location: Israel
Distribution: Arch Linux
Posts: 92
Rep:
No sound on SlackWare 12.2 KDE 3.5
Hello.
my problem this time is I installed slackware 12.2 and got no sound.
every time I try to open a sound file the sound server crash.
kernel 2.6.27.7-smp
/sbin/lspci:
Quote:
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
04:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express (rev 02)
0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
0e:06.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
0e:06.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
0e:06.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
followed the steps in
http://alsa-project.org/main/index.p...odule-intel8x0
but when I type in alsamixer I get:
alsamixer: function snd_ctl_open failed for default: No such file or directory
What am I supposed to do to make SlackWare to accept me as its master?
03-27-2009, 06:04 PM
#2
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055
Rep:
As root:
chmod +x /etc/rc.d/rc.alsa # will start at next reboot
/etc/rc.d/rc.alsa # to start the alsa mixer
If needed (usually not necessary):
alsaconf # as root
Then
alsamixer
alsactl store # as root
Free Palestinians
Last edited by Didier Spaier; 03-27-2009 at 06:11 PM .
03-27-2009, 06:09 PM
#3
Member
Registered: Jun 2005
Location: Israel
Distribution: Arch Linux
Posts: 92
Original Poster
Rep:
There is no /etc/rc.d/rc.alsa
alsaconf said:
No supported PnP or PCI card Found
03-27-2009, 06:21 PM
#4
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055
Rep:
Quote:
Originally Posted by
masmddr
There is no /etc/rc.d/rc.alsa
alsaconf said:
No supported PnP or PCI card Found
Strange.
/erc/rc.d/rc.alsa come with a full install of Slackware 12.2.
Anyway, get the package alsa-utils-1.0.17-i486-2 in slackware/ap and (re)install it:
upgradepkg --install-new --reinstall alsa-utils
About alsaconf's output, I am a bit surprised that this device:
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
be not recognized
Are you sure you made a full install ?
Free Palestinians
Last edited by Didier Spaier; 03-27-2009 at 06:22 PM .
Reason: Typo
03-27-2009, 06:24 PM
#5
Member
Registered: Oct 2003
Location: Boston
Distribution: Slackware64-current
Posts: 44
Rep:
If you don't have /etc/rc.d/rc.alsa, then you don't have a full slack 12.2 installation. I'm pretty sure that it has existed every time I've installed slackware.
Are the sound modules being loaded?
lsmod | grep snd
03-27-2009, 06:42 PM
#6
Member
Registered: Jun 2005
Location: Israel
Distribution: Arch Linux
Posts: 92
Original Poster
Rep:
Ok my bad I do have /etc/rc.d/rc.alsa
alsamixer still wont start
and lsmod | grep snd outputs nothing
03-28-2009, 04:43 AM
#7
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055
Rep:
Quote:
Originally Posted by
masmddr
and lsmod | grep snd outputs nothing
Then something is wrong.
All kernels shipped with Slackware 12.2 have sound drivers included as modules and sound won't work without it.
Did you install the kernel-modules package for your kernel version?
May-be you use a custom kernel? In that case it was wrongly configured.
For instance this is what I get:
Code:
bash-3.1$ lsmod|grep snd
snd_seq_dummy 2496 0
snd_seq_oss 28768 0
snd_seq_midi_event 5916 1 snd_seq_oss
snd_seq 46000 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 6088 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 35968 0
snd_mixer_oss 13788 1 snd_pcm_oss
snd_intel8x0 28600 0
snd_ac97_codec 97472 1 snd_intel8x0
ac97_bus 1372 1 snd_ac97_codec
snd_pcm 65216 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer 18852 2 snd_seq,snd_pcm
snd 48260 9 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore 6080 1 snd
snd_page_alloc 8036 2 snd_intel8x0,snd_pcm
bash-3.1$
You should have most of these modules loaded (snd_intel8x0, snd_ac97_bus and snd_ac97_codec are hardware-specific).
Free Palestinians.
03-28-2009, 07:58 AM
#8
Member
Registered: Jun 2005
Location: Israel
Distribution: Arch Linux
Posts: 92
Original Poster
Rep:
no I am not using a custom kernel.
after I type
Quote:
modprobe snd-intel8x0m ; modprobe snd-pcm-oss ; modprobe snd-mixer-oss ; modprobe snd-seq-oss
I get
FATAL: Module snd_intel8x0m not found.
and lsmod|grep snd
Quote:
snd_seq_oss 35200 0
snd_seq_midi_event 10240 1 snd_seq_oss
snd_seq 51568 4 snd_seq_oss,snd_seq_midi_event
snd_seq_device 10636 2 snd_seq_oss,snd_seq
snd_pcm_oss 40608 0
snd_pcm 71556 1 snd_pcm_oss
snd_timer 23304 2 snd_seq,snd_pcm
snd_page_alloc 12040 1 snd_pcm
snd_mixer_oss 18176 1 snd_pcm_oss
snd 54308 7 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore 10080 1 snd
03-28-2009, 09:14 AM
#9
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055
Rep:
This is strange, all these modules (but snd_intel8x0m) should be already loaded at start up.
To understand why they aren't, please send whole output of following command:
So it will be easy to see if some scripts which should be executable, aren't.
Free Palestinians.
Last edited by Didier Spaier; 03-28-2009 at 10:59 AM .
03-28-2009, 09:30 AM
#10
Member
Registered: Jun 2005
Location: Israel
Distribution: Arch Linux
Posts: 92
Original Poster
Rep:
this is it:
Quote:
total 324
drwxr-xr-x 2 root root 4096 2009-03-27 21:25 init.d/
lrwxrwxrwx 1 root root 4 2009-03-26 21:29 rc.0 -> rc.6*
drwxr-xr-x 2 root root 4096 2007-05-15 05:46 rc0.d/
drwxr-xr-x 2 root root 4096 2007-05-15 05:46 rc1.d/
drwxr-xr-x 2 root root 4096 2007-05-15 05:46 rc2.d/
drwxr-xr-x 2 root root 4096 2007-05-15 05:46 rc3.d/
-rwxr-xr-x 1 root root 1282 2007-03-27 03:12 rc.4*
drwxr-xr-x 2 root root 4096 2007-05-15 05:46 rc4.d/
drwxr-xr-x 2 root root 4096 2007-05-15 05:46 rc5.d/
-rwxr-xr-x 1 root root 7453 2008-12-02 22:32 rc.6*
drwxr-xr-x 2 root root 4096 2007-05-15 05:46 rc6.d/
-rwxr-xr-x 1 root root 466 2008-11-20 20:13 rc.acpid*
-rwxr-xr-x 1 root root 2672 2008-12-03 03:49 rc.alsa*
-rw-r--r-- 1 root root 1032 2003-02-02 05:47 rc.atalk
-rw-r--r-- 1 root root 3116 2008-04-14 00:48 rc.bind
-rw-r--r-- 1 root root 3303 2008-11-12 00:36 rc.bluetooth
-rw-r--r-- 1 root root 1051 2008-11-12 00:36 rc.bluetooth.conf
-rw-r--r-- 1 root root 4318 2008-10-22 01:15 rc.cups
-rw-r--r-- 1 root root 512 2008-11-25 23:26 rc.dnsmasq
-rwxr-xr-x 1 root root 119 2004-05-30 07:19 rc.font.new*
-rwxr-xr-x 1 root root 1893 2008-10-22 06:41 rc.fuse*
-rwxr-xr-x 1 root root 1148 2009-03-26 21:47 rc.gpm*
-rwxr-xr-x 1 root root 906 2008-12-08 03:14 rc.hald*
-rw-r--r-- 1 root root 703 2008-10-23 00:55 rc.httpd
-rwxr-xr-x 1 root root 9437 2008-12-08 06:53 rc.inet1*
-rw------- 1 root root 3579 2009-03-26 21:48 rc.inet1.conf
-rwxr-xr-x 1 root root 4847 2007-09-18 00:07 rc.inet2*
-rwxr-xr-x 1 root root 497 2003-09-12 06:27 rc.inetd*
-rw-r--r-- 1 root root 2684 2008-12-04 00:58 rc.ip_forward
-rwxr-xr-x 1 root root 2425 2008-12-02 22:31 rc.K*
-rwxr-xr-x 1 root root 271 2009-03-27 23:02 rc.local*
-rwxr-xr-x 1 root root 415 2009-03-27 21:37 rc.local~*
-rwxr-xr-x 1 root root 10662 2008-12-03 00:36 rc.M*
-rwxr-xr-x 1 root root 1740 2008-12-08 03:10 rc.messagebus*
lrwxrwxrwx 1 root root 23 2009-03-26 21:28 rc.modules -> rc.modules-2.6.27.7-smp*
-rwxr-xr-x 1 root root 31891 2008-11-21 07:15 rc.modules-2.6.27.7*
-rwxr-xr-x 1 root root 31891 2008-11-21 06:29 rc.modules-2.6.27.7-smp*
-rw-r--r-- 1 root root 2457 2008-10-25 21:21 rc.nfsd
-rw-r--r-- 1 root root 749 2008-11-26 06:30 rc.ntpd
-rwxr-xr-x 1 root root 1722 2007-03-16 23:09 rc.pcmcia*
-rw-r--r-- 1 root root 1402 2007-05-18 01:53 rc.rpc
-rwxr-xr-x 1 root root 14376 2008-12-03 07:07 rc.S*
-rw-r--r-- 1 root root 791 2008-11-28 23:11 rc.samba
-rw-r--r-- 1 root root 1169 2006-05-27 23:24 rc.saslauthd
-rw-r--r-- 1 root root 687 2002-06-05 00:09 rc.sendmail
-rw-r--r-- 1 root root 2895 2008-09-11 04:30 rc.serial
-rw-r--r-- 1 root root 895 2008-11-14 02:32 rc.snmpd
-rwxr-xr-x 1 root root 1477 2008-07-24 20:39 rc.sshd*
-rwxr-xr-x 1 root root 981 2007-04-10 02:10 rc.syslog*
-rwxr-xr-x 1 root root 1740 1999-09-11 22:48 rc.sysvinit*
-rwxr-xr-x 1 root root 4220 2008-12-01 04:58 rc.udev*
-rwxr-xr-x 1 root root 12496 2008-11-30 00:00 rc.wireless*
-rw------- 1 root root 7320 2008-11-30 00:00 rc.wireless.conf
-rwxr-xr-x 1 root root 2323 2005-08-01 02:56 rc.yp*
03-28-2009, 09:51 AM
#11
LQ 5k Club
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,367
There should have been no need to download and install the alsa-lib and alsa-utils packages as these are already available in Slackware 12.2.
I suggest that you reinstall the official Slackware alsa-lib and alsa-utils packages then do:
Quote:
As root:
alsaconf
/etc/rc.d/rc.alsa start
alsamixer
alsactl store
Also, from /etc/modprobe.d/blacklist:
Quote:
# ALSA modules to support sound modems. These should be loaded manually
# if needed. For most people they just break sound support...
blacklist snd-atiixp-modem
blacklist snd-intel8x0m
blacklist snd-via82xx-modem
The 'snd-intel8x0m' module is only used for modems. It is not required for normal audio support.
03-28-2009, 10:01 AM
#12
Member
Registered: Jun 2005
Location: Israel
Distribution: Arch Linux
Posts: 92
Original Poster
Rep:
I reinstalled alsa-lib and alsa-utils from the SlackWare DVD using " upgradepkg --install-new --reinstall "
and I added a # before blacklist snd-intel8x0m (hope that was what I should have done)
yet alsaconf still doesn't recognize anything and alsamixer gives the same error.
Edit:
also in Control center > sound system
there is no recognized midi device
Last edited by masmddr; 03-28-2009 at 10:03 AM .
03-28-2009, 10:17 AM
#13
LQ 5k Club
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,367
Quote:
and I added a # before blacklist snd-intel8x0m (hope that was what I should have done)
NO! By commenting out that line, the snd-intel8x0m module can be loaded! You do not want that.
Now that you have edited in the /etc/modprobe.d directory, check that directory for any editor backup files and delete them. ALL files in that directory are looked at and acted upon. Do not leave any extraneous files in there.
Last edited by allend; 03-28-2009 at 10:20 AM .
03-28-2009, 10:28 AM
#14
Member
Registered: Jun 2005
Location: Israel
Distribution: Arch Linux
Posts: 92
Original Poster
Rep:
Done and removed the back up file.
Still no sound, error message: "Device /dev/dsp can't be opened (no such file or directory)
the sound server will continue, using the null output device."
03-28-2009, 10:38 AM
#15
LQ 5k Club
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,367
Have you tried rebooting and then running the sound setup commands?
All times are GMT -5. The time now is 02:55 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News