LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-01-2010, 08:30 PM   #1
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Sound problem Slackware 13.1


I am having a problem getting sound working on my "new" old box. I can't help feeling like I am missing something obvious but am getting nowhere.

It is dual P4 3.0GHZ, 1GB RAM Intel i915 chipset.

I am running generic-smp kernel.

Have searched threads here, tried alsactl and alsamixer steps repeatedly and carefully I think. Users are all members of audio and plugdev groups, among others.

I get moderate but low sound from headphone jack, and very low (almost inaudible) sound from speakers.

Tesitng using aplay /usr/share/sound/alsa/... wave files

Some info:

Code:
lspci
...
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)
...
Code:
lsmod (removed non-sound related modules by guess)
Module                  Size  Used by
snd_seq_dummy           1107  0
snd_seq_oss            25580  0
snd_seq_midi_event      4620  1 snd_seq_oss
snd_seq                42857  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          4543  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            33917  0
snd_mixer_oss          13399  1 snd_pcm_oss
...
snd_hda_codec_realtek   185089  1
...
snd_hda_intel          18936  0
...
snd_hda_codec          57091  2 snd_hda_codec_realtek,snd_hda_intel
...
snd_hwdep               5046  1 snd_hda_codec
...
snd_pcm                57736  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
...
snd_timer              15699  2 snd_seq,snd_pcm
...
snd                    43107  11 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               4815  1 snd
...
snd_page_alloc          5849  2 snd_hda_intel,snd_pcm
Code:
cat /etc/asound.state
state.Intel {
        control.1 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 64'
                comment.dbmin -6400
                comment.dbmax 0
                iface MIXER
                name 'Front Playback Volume'
                value.0 52
                value.1 52
        }
        control.2 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Front Playback Switch'
                value.0 true
                value.1 true
        }
        control.3 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 64'
                comment.dbmin -6400
                comment.dbmax 0
                iface MIXER
                name 'Surround Playback Volume'
                value.0 0
                value.1 0
        }
    control.4 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 false
                value.1 false
        }
        control.5 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 64'
                comment.dbmin -6400
                comment.dbmax 0
                iface MIXER
                name 'Center Playback Volume'
                value 0
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 64'
                comment.dbmin -6400
                comment.dbmax 0
                iface MIXER
                name 'LFE Playback Volume'
                value 0
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Center Playback Switch'
                value false
        }
   control.12 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 false
                value.1 false
        }
        control.13 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 65'
                comment.dbmin -3500
                comment.dbmax 3000
                iface MIXER
                name 'Mic Playback Volume'
                value.0 0
                value.1 0
        }
        control.14 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Mic Playback Switch'
                value.0 false
                value.1 false
        }
        control.15 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 65'
                comment.dbmin -3500
                comment.dbmax 3000
                iface MIXER
                name 'Front Mic Playback Volume'
                value.0 0
                value.1 0
        }
   control.16 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Front Mic Playback Switch'
                value.0 false
                value.1 false
        }
        control.17 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Headphone Playback Switch'
                value.0 true
                value.1 true
        }
        control.18 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '2ch'
        }
        control.19 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
       control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                index 1
                value.0 true
                value.1 true
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 35'
                comment.dbmin 0
                comment.dbmax 3500
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 35'
                comment.dbmin 0
                comment.dbmax 3500
                iface MIXER
                name 'Capture Volume'
                index 1
                value.0 0
                value.1 0
        }
       control.23 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic
                comment.item.1 'Front Mic'
                comment.item.2 Line
                comment.item.3 CD
                iface MIXER
                name 'Input Source'
                value Mic
        }
        control.24 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic
                comment.item.1 'Front Mic'
                comment.item.2 Line
                comment.item.3 CD
                iface MIXER
                name 'Input Source'
                index 1
                value Mic
        }
        control.25 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 64'
                comment.dbmin -6400
                comment.dbmax 0
                iface MIXER
                name 'Master Playback Volume'
                value 52
        }
        control.26 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Playback Switch'
                value true
        }
Thanks for all replies...

Last edited by astrogeek; 06-01-2010 at 10:43 PM. Reason: Added group membership line left out of first post.
 
Old 06-02-2010, 12:12 AM   #2
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263

Original Poster
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Well, if you look long enough...

I finally found some useful info here, and in the source tree /usr/src/linux/Documentation/sound/alsa/HD-Audio-Models.txt, and various posts online... but to summarize:

Found what the sound system is identified as using:

Code:
cat /proc/asound/card0/codec#* | grep -i codec
Which for my system was Realtek ALC880.

Then created/edited /etc/modprobe.d/sound.conf and after experimenting added line:

options snd-hda-intel model=asus-dig2

modprobe -r snd_hda-intel
modprobe -v snd_hda_intel

I now have sound...

Alsa and group settings had been correct, module options need to be set.
 
Old 07-02-2014, 05:14 PM   #3
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263

Original Poster
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
I know this is an old thread, and apparently only of interest to myself... but...

Four years later and I just installed Slackware current to this same machine, and had to resolve the sound issues again. My primary guide was notes I had made the first time around which included a reference to this thread. So for myself and anyone else still using this old hardware:

Computer is Gateway 509GE with onboard video/sound (PCI OEM addon cards removed)

Code:
lspci
...
00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL Integrated Graphics Controller (rev 04)
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)
...

cat /proc/cpuinfo
...
model name      : Intel(R) Pentium(R) 4 CPU 3.00GHz
...
The solution as before was found by reading...

Code:
/usr/src/linux/Documentation/sound/alsa/HD-Audio.txt
/usr/src/linux/Documentation/sound/alsa/HD-Audio-Models.txt
In this case, aplay -l showed a NULL list, alsactl and alsamixer found no devices.

The fix was:

Code:
cat /proc/asound/card0/codec#2 |grep Codec
Codec: Realtek ALC880

vi /etc/modprobe.d/sound.conf

options snd_hda_intel model=3stack

modprobe -r snd_hda_intel
modprobe -v snd_hda_intel

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC880 Analog [ALC880 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
After that point it was all normal alsa init and alsamixer setup.

The old 915 video works very well with default setup - watching Sarah Connor Chronicles in VLC as I type from same machine!

Last edited by astrogeek; 07-02-2014 at 05:16 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware 13 Sound Problem tairoesp Linux - Hardware 13 02-26-2010 08:03 PM
Slackware 11 - Sound problem Tux-Slack Slackware 8 03-10-2007 03:45 PM
Sound Problem Slackware code_08 Linux - Software 4 04-07-2006 12:11 AM
Sound problem on Slackware trainee Slackware 8 02-07-2006 12:34 AM
Sound problem in Slackware 10.1 The Professor Slackware 3 08-23-2005 11:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration