SlackwareThis Forum is for the discussion of Slackware 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.
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.
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:
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.
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...).
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:
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
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.