LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-12-2008, 10:21 AM   #1
morphynoman
Member
 
Registered: Nov 2008
Posts: 32

Rep: Reputation: 15
Thumbs down Slackware 12 + ALC268 + Alsa-driver 1.0.18 = ALSA Error =No Sound (Tried erverything)


Hi,

here, almost crazy, I am, after googling, reading, searching and testing to get my sound card working. Sorry, but I decided to Post because I don't know what to try.

This is a laptop Dell Vostro 1510. The scenario is in the subject and now I'll give you mor information about it:

Code:
!!Linux Distribution
!!------------------
Slackware 12.0

!!Kernel Information
!!------------------

Kernel release:    2.6.21.5
Operating System:  GNU/Linux
Architecture:      i686
Processor:         Intel(R) Core(TM)2 Duo CPU     T8100  @ 2.10GHz
SMP Enabled:       Yes

!!ALSA Version
!!------------

Driver version:     1.0.18
Library version:    1.0.18
Utilities version:  1.0.18

!!Soundcards recognised by ALSA
!!-----------------------------

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xf8500000 irq 16


!!PCI Soundcards installed in the system
!!--------------------------------------

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)


!!Advanced information - PCI Vendor/Device/Susbsystem ID's
!!--------------------------------------------------------

00:1b.0 0403: 8086:284b (rev 03)
	Subsystem: 1028:0273


!!Modprobe options (Sound related)
!!--------------------------------

snd-hda-intel: model=Dell


!!Loaded sound module options
!!--------------------------

!!Module: snd_hda_intel
enable : N
id : <NULL>
index : -1
model : <NULL>
position_fix : 0
probe_mask : -1
single_cmd : N


!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Realtek ID 268
Address: 0
Vendor Id: 0x10ec0268
Subsystem Id: 0x10280273
Revision Id: 0x100003
Default PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x34 0x34]
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x1d: Stereo Amp-Out
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x40 0x40]
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
...
--endcollapse--


!!ALSA Device nodes
!!-----------------

crw-rw---- 1 root audio 116,   0 Nov 10 00:58 /dev/snd/controlC0
crw-rw---- 1 root audio 116,  32 Nov 10 00:58 /dev/snd/controlC1
crw-rw---- 1 root audio 116,  64 Nov 10 00:58 /dev/snd/controlC2
crw-rw---- 1 root audio 116,  96 Nov 10 00:58 /dev/snd/controlC3
crw-rw---- 1 root audio 116,   4 Nov 10 00:58 /dev/snd/hwC0D0
crw-rw---- 1 root audio 116,   5 Nov 10 00:58 /dev/snd/hwC0D1
crw-rw---- 1 root audio 116,   6 Nov 10 00:58 /dev/snd/hwC0D2
crw-rw---- 1 root audio 116,   7 Nov 10 00:58 /dev/snd/hwC0D3
crw-rw---- 1 root audio 116,  36 Nov 10 00:58 /dev/snd/hwC1D0
crw-rw---- 1 root audio 116,  37 Nov 10 00:58 /dev/snd/hwC1D1
crw-rw---- 1 root audio 116,  38 Nov 10 00:58 /dev/snd/hwC1D2
crw-rw---- 1 root audio 116,  39 Nov 10 00:58 /dev/snd/hwC1D3
crw-rw---- 1 root audio 116,  68 Nov 10 00:58 /dev/snd/hwC2D0
crw-rw---- 1 root audio 116,  69 Nov 10 00:58 /dev/snd/hwC2D1
crw-rw---- 1 root audio 116,  70 Nov 10 00:58 /dev/snd/hwC2D2
crw-rw---- 1 root audio 116,  71 Nov 10 00:58 /dev/snd/hwC2D3
crw-rw---- 1 root audio 116, 100 Nov 10 00:58 /dev/snd/hwC3D0
crw-rw---- 1 root audio 116, 101 Nov 10 00:58 /dev/snd/hwC3D1
crw-rw---- 1 root audio 116, 102 Nov 10 00:58 /dev/snd/hwC3D2
crw-rw---- 1 root audio 116, 103 Nov 10 00:58 /dev/snd/hwC3D3
crw-rw---- 1 root audio 116,   8 Nov 10 00:58 /dev/snd/midiC0D0
crw-rw---- 1 root audio 116,   9 Nov 10 00:58 /dev/snd/midiC0D1
crw-rw---- 1 root audio 116,  10 Nov 10 00:58 /dev/snd/midiC0D2
crw-rw---- 1 root audio 116,  11 Nov 10 00:58 /dev/snd/midiC0D3
crw-rw---- 1 root audio 116,  12 Nov 10 00:58 /dev/snd/midiC0D4
crw-rw---- 1 root audio 116,  13 Nov 10 00:58 /dev/snd/midiC0D5
crw-rw---- 1 root audio 116,  14 Nov 10 00:58 /dev/snd/midiC0D6
crw-rw---- 1 root audio 116,  15 Nov 10 00:58 /dev/snd/midiC0D7
crw-rw---- 1 root audio 116,  40 Nov 10 00:58 /dev/snd/midiC1D0
crw-rw---- 1 root audio 116,  41 Nov 10 00:58 /dev/snd/midiC1D1
crw-rw---- 1 root audio 116,  42 Nov 10 00:58 /dev/snd/midiC1D2
crw-rw---- 1 root audio 116,  43 Nov 10 00:58 /dev/snd/midiC1D3
crw-rw---- 1 root audio 116,  44 Nov 10 00:58 /dev/snd/midiC1D4
crw-rw---- 1 root audio 116,  45 Nov 10 00:58 /dev/snd/midiC1D5
crw-rw---- 1 root audio 116,  46 Nov 10 00:58 /dev/snd/midiC1D6
crw-rw---- 1 root audio 116,  47 Nov 10 00:58 /dev/snd/midiC1D7
crw-rw---- 1 root audio 116,  72 Nov 10 00:58 /dev/snd/midiC2D0
crw-rw---- 1 root audio 116,  73 Nov 10 00:58 /dev/snd/midiC2D1
crw-rw---- 1 root audio 116,  74 Nov 10 00:58 /dev/snd/midiC2D2
crw-rw---- 1 root audio 116,  75 Nov 10 00:58 /dev/snd/midiC2D3
crw-rw---- 1 root audio 116,  76 Nov 10 00:58 /dev/snd/midiC2D4
crw-rw---- 1 root audio 116,  77 Nov 10 00:58 /dev/snd/midiC2D5
crw-rw---- 1 root audio 116,  78 Nov 10 00:58 /dev/snd/midiC2D6
crw-rw---- 1 root audio 116,  79 Nov 10 00:58 /dev/snd/midiC2D7
crw-rw---- 1 root audio 116, 104 Nov 10 00:58 /dev/snd/midiC3D0
crw-rw---- 1 root audio 116, 105 Nov 10 00:58 /dev/snd/midiC3D1
crw-rw---- 1 root audio 116, 106 Nov 10 00:58 /dev/snd/midiC3D2
crw-rw---- 1 root audio 116, 107 Nov 10 00:58 /dev/snd/midiC3D3
crw-rw---- 1 root audio 116, 108 Nov 10 00:58 /dev/snd/midiC3D4
crw-rw---- 1 root audio 116, 109 Nov 10 00:58 /dev/snd/midiC3D5
crw-rw---- 1 root audio 116, 110 Nov 10 00:58 /dev/snd/midiC3D6
crw-rw---- 1 root audio 116, 111 Nov 10 00:58 /dev/snd/midiC3D7
crw-rw---- 1 root audio 116,  24 Nov 10 00:58 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116,  16 Nov 10 00:58 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116,  25 Nov 10 00:58 /dev/snd/pcmC0D1c
crw-rw---- 1 root audio 116,  17 Nov 10 00:58 /dev/snd/pcmC0D1p
crw-rw---- 1 root audio 116,  26 Nov 10 00:58 /dev/snd/pcmC0D2c
crw-rw---- 1 root audio 116,  18 Nov 10 00:58 /dev/snd/pcmC0D2p
crw-rw---- 1 root audio 116,  27 Nov 10 00:58 /dev/snd/pcmC0D3c
crw-rw---- 1 root audio 116,  19 Nov 10 00:58 /dev/snd/pcmC0D3p
crw-rw---- 1 root audio 116,  28 Nov 10 00:58 /dev/snd/pcmC0D4c
crw-rw---- 1 root audio 116,  20 Nov 10 00:58 /dev/snd/pcmC0D4p
crw-rw---- 1 root audio 116,  29 Nov 10 00:58 /dev/snd/pcmC0D5c
crw-rw---- 1 root audio 116,  21 Nov 10 00:58 /dev/snd/pcmC0D5p
crw-rw---- 1 root audio 116,  30 Nov 10 00:58 /dev/snd/pcmC0D6c
crw-rw---- 1 root audio 116,  22 Nov 10 00:58 /dev/snd/pcmC0D6p
crw-rw---- 1 root audio 116,  31 Nov 10 00:58 /dev/snd/pcmC0D7c
crw-rw---- 1 root audio 116,  23 Nov 10 00:58 /dev/snd/pcmC0D7p
crw-rw---- 1 root audio 116,  56 Nov 10 00:58 /dev/snd/pcmC1D0c
crw-rw---- 1 root audio 116,  48 Nov 10 00:58 /dev/snd/pcmC1D0p
crw-rw---- 1 root audio 116,  57 Nov 10 00:58 /dev/snd/pcmC1D1c
crw-rw---- 1 root audio 116,  49 Nov 10 00:58 /dev/snd/pcmC1D1p
crw-rw---- 1 root audio 116,  58 Nov 10 00:58 /dev/snd/pcmC1D2c
crw-rw---- 1 root audio 116,  50 Nov 10 00:58 /dev/snd/pcmC1D2p
crw-rw---- 1 root audio 116,  59 Nov 10 00:58 /dev/snd/pcmC1D3c
crw-rw---- 1 root audio 116,  51 Nov 10 00:58 /dev/snd/pcmC1D3p
crw-rw---- 1 root audio 116,  60 Nov 10 00:58 /dev/snd/pcmC1D4c
crw-rw---- 1 root audio 116,  52 Nov 10 00:58 /dev/snd/pcmC1D4p
crw-rw---- 1 root audio 116,  61 Nov 10 00:58 /dev/snd/pcmC1D5c
crw-rw---- 1 root audio 116,  53 Nov 10 00:58 /dev/snd/pcmC1D5p
crw-rw---- 1 root audio 116,  62 Nov 10 00:58 /dev/snd/pcmC1D6c
crw-rw---- 1 root audio 116,  54 Nov 10 00:58 /dev/snd/pcmC1D6p
crw-rw---- 1 root audio 116,  63 Nov 10 00:58 /dev/snd/pcmC1D7c
crw-rw---- 1 root audio 116,  55 Nov 10 00:58 /dev/snd/pcmC1D7p
crw-rw---- 1 root audio 116,  88 Nov 10 00:58 /dev/snd/pcmC2D0c
crw-rw---- 1 root audio 116,  80 Nov 10 00:58 /dev/snd/pcmC2D0p
crw-rw---- 1 root audio 116,  89 Nov 10 00:58 /dev/snd/pcmC2D1c
crw-rw---- 1 root audio 116,  81 Nov 10 00:58 /dev/snd/pcmC2D1p
crw-rw---- 1 root audio 116,  90 Nov 10 00:58 /dev/snd/pcmC2D2c
crw-rw---- 1 root audio 116,  82 Nov 10 00:58 /dev/snd/pcmC2D2p
crw-rw---- 1 root audio 116,  91 Nov 10 00:58 /dev/snd/pcmC2D3c
crw-rw---- 1 root audio 116,  83 Nov 10 00:58 /dev/snd/pcmC2D3p
crw-rw---- 1 root audio 116,  92 Nov 10 00:58 /dev/snd/pcmC2D4c
crw-rw---- 1 root audio 116,  84 Nov 10 00:58 /dev/snd/pcmC2D4p
crw-rw---- 1 root audio 116,  93 Nov 10 00:58 /dev/snd/pcmC2D5c
crw-rw---- 1 root audio 116,  85 Nov 10 00:58 /dev/snd/pcmC2D5p
crw-rw---- 1 root audio 116,  94 Nov 10 00:58 /dev/snd/pcmC2D6c
crw-rw---- 1 root audio 116,  86 Nov 10 00:58 /dev/snd/pcmC2D6p
crw-rw---- 1 root audio 116,  95 Nov 10 00:58 /dev/snd/pcmC2D7c
crw-rw---- 1 root audio 116,  87 Nov 10 00:58 /dev/snd/pcmC2D7p
crw-rw---- 1 root audio 116, 120 Nov 10 00:58 /dev/snd/pcmC3D0c
crw-rw---- 1 root audio 116, 112 Nov 10 00:58 /dev/snd/pcmC3D0p
crw-rw---- 1 root audio 116, 121 Nov 10 00:58 /dev/snd/pcmC3D1c
crw-rw---- 1 root audio 116, 113 Nov 10 00:58 /dev/snd/pcmC3D1p
crw-rw---- 1 root audio 116, 122 Nov 10 00:58 /dev/snd/pcmC3D2c
crw-rw---- 1 root audio 116, 114 Nov 10 00:58 /dev/snd/pcmC3D2p
crw-rw---- 1 root audio 116, 123 Nov 10 00:58 /dev/snd/pcmC3D3c
crw-rw---- 1 root audio 116, 115 Nov 10 00:58 /dev/snd/pcmC3D3p
crw-rw---- 1 root audio 116, 124 Nov 10 00:58 /dev/snd/pcmC3D4c
crw-rw---- 1 root audio 116, 116 Nov 10 00:58 /dev/snd/pcmC3D4p
crw-rw---- 1 root audio 116, 125 Nov 10 00:58 /dev/snd/pcmC3D5c
crw-rw---- 1 root audio 116, 117 Nov 10 00:58 /dev/snd/pcmC3D5p
crw-rw---- 1 root audio 116, 126 Nov 10 00:58 /dev/snd/pcmC3D6c
crw-rw---- 1 root audio 116, 118 Nov 10 00:58 /dev/snd/pcmC3D6p
crw-rw---- 1 root audio 116, 127 Nov 10 00:58 /dev/snd/pcmC3D7c
crw-rw---- 1 root audio 116, 119 Nov 10 00:58 /dev/snd/pcmC3D7p
crw-rw---- 1 root audio 116,  33 Nov 10 00:58 /dev/snd/timer


!!Aplay/Arecord output
!!------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: HDA Generic [HDA Generic]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: HDA Generic [HDA Generic]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [Intel]

Card hw:0 'Intel'/'HDA Intel at 0xf8500000 irq 16'
  Mixer name	: 'Realtek ID 268'
  Components	: 'HDA:10ec0268'
  Controls      : 2
  Simple ctrls  : 2
Simple mixer control 'Master',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 52 [81%] [-12.00dB]
  Front Right: Playback 52 [81%] [-12.00dB]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]


!!Alsactl output
!!-------------

--startcollapse--
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 'Master Playback Volume'
		value.0 52
		value.1 52
	}
	control.2 {
		comment.access 'read write user'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 255'
		comment.tlv '0000000100000008ffffec1400000014'
		comment.dbmin -5100
		comment.dbmax 0
		iface MIXER
		name 'PCM Playback Volume'
		value.0 255
		value.1 255
	}
}
--endcollapse--


!!All Loaded Modules
!!------------------

Module
vboxdrv
i915
drm
snd_mixer_oss
pcmcia
pcmcia_core
capability
commoncap
fuse
lp
parport_pc
parport
pcspkr
psmouse
arc4
ecb
iwl3945
mac80211
cfg80211
r8169
intel_agp
sg
agpgart
sdhci
serio_raw
mmc_core
snd_hda_intel
snd_hda_codec
snd_pcm
snd_timer
snd
shpchp
soundcore
ata_generic
i2c_i801
evdev
snd_page_alloc
dmesg:

Code:
Nov 12 15:29:34 (none) kernel: Call Trace:
Nov 12 15:29:34 (none) kernel:  [<f9177950>] snd_hda_codec_amp_read+0x30/0x60 [s
nd_hda_intel]
Nov 12 15:29:34 (none) kernel:  [<f9177ad4>] snd_hda_mixer_amp_switch_get+0x64/0
xc0 [snd_hda_intel]
Nov 12 15:29:34 (none) kernel:  [<f914b16f>] snd_mixer_oss_get_volume1_sw+0xaf/0
x110 [snd_mixer_oss]
Nov 12 15:29:34 (none) kernel:  [<f914b47a>] snd_mixer_oss_get_volume1+0xaa/0x11
0 [snd_mixer_oss]
Nov 12 15:29:34 (none) kernel:  [<f914b3d0>] snd_mixer_oss_get_volume1+0x0/0x110                                                                                                   [snd_mixer_oss]
Nov 12 15:29:34 (none) kernel:  [<f914a4d1>] snd_mixer_oss_ioctl1+0x341/0x760 [s                                                                                                  nd_mixer_oss]
Nov 12 15:29:34 (none) kernel:  [<c01307b0>] autoremove_wake_function+0x0/0x40
Nov 12 15:29:34 (none) kernel:  [<c0654530>] sock_aio_write+0x0/0x140
Nov 12 15:29:34 (none) kernel:  [<f914a950>] snd_mixer_oss_ioctl+0x0/0x10 [snd_m                                                                                                  ixer_oss]
Nov 12 15:29:34 (none) kernel:  [<c016c9ff>] do_ioctl+0x1f/0x70
Nov 12 15:29:34 (none) kernel:  [<c016e51c>] sys_select+0x16c/0x1b0
Nov 12 15:29:34 (none) kernel:  [<c016caa0>] vfs_ioctl+0x50/0x2c0
Nov 12 15:29:34 (none) kernel:  [<c016cd72>] sys_ioctl+0x62/0x90
Nov 12 15:29:34 (none) kernel:  [<c0102a90>] syscall_call+0x7/0xb
Nov 12 15:29:34 (none) kernel:  =======================
Nov 12 15:29:34 (none) kernel: Code: 66 90 66 8b 42 06 66 83 f8 ff 74 12 25 ff f                                                                                                  f 00 00 8d 14 c1 3b 1a 75 ea 89 d0 5b 5e 5f c3 8d 86 80 00 00 00 e8 29 ff ff ff                                                                                                   89 c2 <89> 18 66 c7 40 04 00 00 66 8b 04 7e 66 89 42 06 66 c7 04 7e ff
Nov 12 15:29:34 (none) kernel: EIP: [<f9175c99>] get_alloc_hash+0x49/0x70 [snd_h                                                                                                  da_intel] SS:ESP 0068:f64dbe34

Of course, I tried versions 14,15 and 16 of driver and utilities. Ran alsaconf but at the end appeared:

Code:
Loading driver...
Starting sound driver: snd-hda-intel done
Starting sound driver: snd-hda-intel done
Unknown hardware: "HDA-Intel" "Realtek ALC268" "HDA:10ec0268,10280273,00100003" "" ""
Hardware is initialized using a guess method
/usr/sbin/alsactl: set_control:1266: failed to obtain info for control #6 (Invalid argument)
Setting default volumes...
amixer: Mixer default load error: Invalid argument
This is my /etc/modprobe.d/sound:

Code:
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
I tried adding options line like:

Code:
options snd-hda-intel model=dell
Now, this is the result: when I boot Sound mixer is at 0% and when I set it at 100% I can hear perfectly the init sesion theme. Afer 2 minutes more or less syslog returns:

Code:
Nov 12 15:29:34 (none) kernel: Call Trace:
Nov 12 15:29:34 (none) kernel:  [<f9177950>] snd_hda_codec_amp_read+0x30/0x60 [s
nd_hda_intel]
Nov 12 15:29:34 (none) kernel:  [<f9177ad4>] snd_hda_mixer_amp_switch_get+0x64/0
xc0 [snd_hda_intel]
Nov 12 15:29:34 (none) kernel:  [<f914b16f>] snd_mixer_oss_get_volume1_sw+0xaf/0
x110 [snd_mixer_oss]
Nov 12 15:29:34 (none) kernel:  [<f914b47a>] snd_mixer_oss_get_volume1+0xaa/0x11
0 [snd_mixer_oss]
Nov 12 15:29:34 (none) kernel:  [<f914b3d0>] snd_mixer_oss_get_volume1+0x0/0x110                                                                                                   [snd_mixer_oss]
Nov 12 15:29:34 (none) kernel:  [<f914a4d1>] snd_mixer_oss_ioctl1+0x341/0x760 [s                                                                                                  nd_mixer_oss]
Nov 12 15:29:34 (none) kernel:  [<c01307b0>] autoremove_wake_function+0x0/0x40
Nov 12 15:29:34 (none) kernel:  [<c0654530>] sock_aio_write+0x0/0x140
Nov 12 15:29:34 (none) kernel:  [<f914a950>] snd_mixer_oss_ioctl+0x0/0x10 [snd_m                                                                                                  ixer_oss]
Nov 12 15:29:34 (none) kernel:  [<c016c9ff>] do_ioctl+0x1f/0x70
Nov 12 15:29:34 (none) kernel:  [<c016e51c>] sys_select+0x16c/0x1b0
Nov 12 15:29:34 (none) kernel:  [<c016caa0>] vfs_ioctl+0x50/0x2c0
Nov 12 15:29:34 (none) kernel:  [<c016cd72>] sys_ioctl+0x62/0x90
Nov 12 15:29:34 (none) kernel:  [<c0102a90>] syscall_call+0x7/0xb
Nov 12 15:29:34 (none) kernel:  =======================
Nov 12 15:29:34 (none) kernel: Code: 66 90 66 8b 42 06 66 83 f8 ff 74 12 25 ff f                                                                                                  f 00 00 8d 14 c1 3b 1a 75 ea 89 d0 5b 5e 5f c3 8d 86 80 00 00 00 e8 29 ff ff ff                                                                                                   89 c2 <89> 18 66 c7 40 04 00 00 66 8b 04 7e 66 89 42 06 66 c7 04 7e ff
Nov 12 15:29:34 (none) kernel: EIP: [<f9175c99>] get_alloc_hash+0x49/0x70 [snd_h                                                                                                  da_intel] SS:ESP 0068:f64dbe34
sound crashes, shell hangs and when I run alsaconf or alsasound restart, sound crashes and shell
hangs but alsasound status returns:

Code:
ALSA sound driver loaded.
and

Code:
Morphy Alsa-1.0.18 # rmmod snd-hda-intel
ERROR: Module snd_hda_intel is in use

Thanks for your attention

Last edited by morphynoman; 11-12-2008 at 10:23 AM.
 
Old 11-12-2008, 03:15 PM   #2
eddyvp
Member
 
Registered: Feb 2007
Location: Belgium
Distribution: Slackware
Posts: 37

Rep: Reputation: 17
Hi,

I have a lenovo with the same card
In /etc/modprobe.d, add one of the following lines to the alsa-base file (if it doesn't exist just create it):

Code:
options snd-hda-intel model=5stack
or
Code:
options snd-hda-intel model=auto
Googled around a bit and found these 2 options for a DELL VOSTRO 1500
mine is
Code:
options snd-hda-intel model=lenovo
Restart alsa or reboot and sound should work


greetings
eddy
 
Old 11-12-2008, 05:16 PM   #3
morphynoman
Member
 
Registered: Nov 2008
Posts: 32

Original Poster
Rep: Reputation: 15
Thanks

Didn't worked. I appreciate your interest.
 
Old 11-12-2008, 06:55 PM   #4
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
You should see /usr/src/linux-2.6.24.5/Documentation/sound/alsa/ALSA-Configuration.txt (search for snd-hda-intel) for the possible options to pass to the snd-hda-intel module. The 'model' option, as you stated and as eddyvp suggested, is still probably what you want. Note that just because an option sounds like it should be the right one does NOT make it so. You should try each option. It looks like your card could use the following model options:
Code:
        ALC268
          3stack        3-stack model
          toshiba       Toshiba A205
          acer          Acer laptops
          auto          auto-config reading BIOS (default)
There may, of course, be additional options since you upgraded your ALSA; however, much of ALSA is in the kernel now, so you may wish to compile a newer kernel. I couldn't get my mic to work until I upgraded to Slackware 12.1 (hence my suggestion about the kernel) -- but I didn't exactly put in much effort when I had 12.0, so it may have worked in 12.0 as well.

Remove the alsa-base file suggested above so any model options don't conflict with /etc/modprobe.d/sound. You should try each model option in /etc/modprobe.d/sound. My /etc/modprobe.d/sound file is shown below:
Code:
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=6stack-dig-demo
You should test this IN THE CONSOLE, in runlevel 3 OUTSIDE of X. Otherwise, your window manager/desktop environment might steal control of your sound card and you won't be able to unload the module. Unload the snd-hda-intel module with
Code:
# modprobe -r snd-hda-intel
If that doesn't work you could try `rmmod snd-hda-intel`. Then make the modification in /etc/modprobe.d/sound (try "model=3stack" first). Then load the module with
Code:
# modprobe snd-hda-intel
Then run `alsamixer` and turn up the volume for everything. Make sure everything is unmuted (press m over each bar until it says 00 and not MM). Press Esc twice. Then play a file IN THE CONSOLE. The following line should produce some lovely static noises:
Code:
# aplay /dev/urandom
Some sound cards have mute/unmute backwards in alsamixer, so try muting the volumes as well. If you don't get anything, try running `alsaconfig` and then repeat the `alsamixer` process and try playing a sound. If you hear nothing, unload the module with `modprobe -r snd-hda-intel` and edit /etc/modprobe.d/sound with the next possible option (toshiba). Repeat the process until you have tried every option. If you get something that works, you should save your alsamixer configuration with `alsactl store`.

Hopefully that will find *something* that works. If not, you may try a newer kernel in addition to your new ALSA packages (you should also make sure that your ALSA compile was successful somehow...).

Last edited by T3slider; 11-12-2008 at 06:58 PM.
 
Old 11-17-2008, 04:20 PM   #5
morphynoman
Member
 
Registered: Nov 2008
Posts: 32

Original Poster
Rep: Reputation: 15
what I see in /usr/src/linux-2.6.21.5/Documentation/sound/alsa/ALSA-config.txt is:
Code:
  ALC260
	  hp		HP machines
	  hp-3013	HP machines (3013-variant)
	  fujitsu	Fujitsu S7020
	  acer		Acer TravelMate
	  basic		fixed pin assignment (old default model)
	  auto		auto-config reading BIOS (default)

	ALC262
	  fujitsu	Fujitsu Laptop
	  hp-bpc	HP xw4400/6400/8400/9400 laptops
	  hp-bpc-d7000	HP BPC D7000
	  benq		Benq ED8
	  hippo		Hippo (ATI) with jack detection, Sony UX-90s
	  hippo_1	Hippo (Benq) with jack detection
	  basic		fixed pin assignment w/o SPDIF
	  auto		auto-config reading BIOS (default)

	ALC882/885
	  3stack-dig	3-jack with SPDIF I/O
	  6stack-dig	6-jack digital with SPDIF I/O
	  arima		Arima W820Di1
	  macpro	MacPro support
	  auto		auto-config reading BIOS (default)
what makes me think that it doesn't support ALC268 but it seems only to be the documentation of the old drivers, the version 1.0.14. But now this is my config:

Code:
!!ALSA Version
!!------------

Driver version:     1.0.18
Library version:    1.0.16
Utilities version:  1.0.16
and in the documentation I can see:
Code:
ALC267/268
	  quanta-il1	Quanta IL1 mini-notebook
	  3stack	3-stack model
	  toshiba	Toshiba A205
	  acer		Acer laptops
	  acer-aspire	Acer Aspire One
	  dell		Dell OEM laptops (Vostro 1200)
	  zepto		Zepto laptops
	  test		for testing/debugging purpose, almost all controls can
			adjusted.  Appearing only when compiled with
			$CONFIG_SND_DEBUG=y
	  auto		auto-config reading BIOS (default)
Code:
modprobe snd-hda-intel
returns nothing and
Code:
Morphy vc # alsamixer

alsamixer: function snd_mixer_load failed: Invalid argument
Thanks to those who lost 1 second with this
 
Old 11-29-2008, 05:20 AM   #6
morphynoman
Member
 
Registered: Nov 2008
Posts: 32

Original Poster
Rep: Reputation: 15
I realized that in /etc/modprobe.d I had 2 sound config files:
Code:
Morphy / # cat /etc/modprobe.d/sound
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=dell
and
Code:
Morphy / # cat /etc/modprobe.d/alsa-base
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=5stack
and this is my new alsa report:
Code:
!!################################
!!ALSA Information Script v 0.4.52
!!################################

!!Script ran on: Sat Nov 29 11:53:53 GMT 2008


!!Linux Distribution
!!------------------

Slackware 12.0.0 Slax 6.0.0-rc5


!!Kernel Information
!!------------------

Kernel release:    2.6.21.5
Operating System:  GNU/Linux
Architecture:      i686
Processor:         Intel(R) Core(TM)2 Duo CPU     T8100  @ 2.10GHz
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     1.0.18
Library version:    1.0.16
Utilities version:  1.0.16


!!Loaded ALSA modules
!!-------------------

snd_hda_intel


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xf8500000 irq 16


!!PCI Soundcards installed in the system
!!--------------------------------------

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)


!!Advanced information - PCI Vendor/Device/Susbsystem ID's
!!--------------------------------------------------------

00:1b.0 0403: 8086:284b (rev 03)
	Subsystem: 1028:0273


!!Modprobe options (Sound related)
!!--------------------------------

snd-hda-intel: model=5stack
snd-hda-intel: model=dell
snd-hda-intel: model=3stack


!!Loaded sound module options
!!--------------------------

!!Module: snd_hda_intel
bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1
enable : Y,Y,Y,Y,Y,Y,Y,Y
enable_msi : 0
id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
index : -1,-1,-1,-1,-1,-1,-1,-1
model : 5stack,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
position_fix : 0,0,0,0,0,0,0,0
power_save : 0
power_save_controller : Y
probe_mask : -1,-1,-1,-1,-1,-1,-1,-1
single_cmd : N


!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Realtek ALC268
Address: 0
Vendor Id: 0x10ec0268
Subsystem Id: 0x10280273
Revision Id: 0x100003
Which is the good config file one?

Thanks for your attention
 
Old 11-29-2008, 05:41 AM   #7
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
login level 3 as root. that is slackware default login. type alsaconf. then it will either find your card and ask you if it is it. it will. and you click yes or push enter then it then configure the card. ansewer yes to everything if it finds your caed. good luck.
 
Old 11-29-2008, 08:46 PM   #8
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Delete one of the config files in /etc/modprobe.d -- you should have only one, otherwise there may be interference from other module options. I like to use /etc/modprobe.d/sound, but that's just a preference. The only line that is different is the last one, and that would be the one you would have to play around with. Just make sure only one file references your sound card.

I actually already answered this question in my above post...
Quote:
Originally Posted by T3slider
Remove the alsa-base file suggested above so any model options don't conflict with /etc/modprobe.d/sound. You should try each model option in /etc/modprobe.d/sound.
 
Old 12-01-2008, 01:56 AM   #9
cladisch
Member
 
Registered: Oct 2008
Location: Earth
Distribution: Slackware
Posts: 228

Rep: Reputation: 54
Quote:
Originally Posted by morphynoman View Post
Nov 12 15:29:34 (none) kernel: Call Trace:
Nov 12 15:29:34 (none) kernel: [<f9177950>] snd_hda_codec_amp_read+0x30/0x60 [snd_hda_intel]
Nov 12 15:29:34 (none) kernel: [<f9177ad4>]
...
This call trace indicates that the driver crashes.

Please try 1.0.18a.
 
Old 12-04-2008, 07:29 AM   #10
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
as I read down you are using slax it look like and that is not a complete distro. it has very limited kernel please down load and install the full version like it says on the disk. plus slax is getting old.
 
  


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
Alsa sound *jumpy*: alsa-space: xrun of at least 11.449 msecs. resetting stream qwijibow Linux - General 6 04-22-2006 07:35 PM
no sound with alsa driver: Slackware 10.2, K2.6.16.5, intel AC97 audio drkstr Linux - Software 2 04-15-2006 03:57 PM
Error installing alsa sound driver lyar1031 Linux - Newbie 1 01-26-2006 08:17 PM
broke gentoo after installing alsa-driver & alsa-utils snakeo2 Linux - Newbie 1 01-26-2006 08:05 AM
error compiling alsa driver 1.0.9b on slackware 10.2 salviadud Slackware 9 11-14-2005 04:36 AM

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

All times are GMT -5. The time now is 04:40 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