I have to run alsactl init after every reboot
I've had this problem with this laptop for a while now, but it's now a problem as I'm giving it away to someone else. It's a Panasonic Cf-C1 running 14.2. Every reboot needs to run alsactl init (as root) for the sound to work.
Here's aplay -l Code:
**** List of PLAYBACK Hardware Devices **** Code:
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04) Code:
Found hardware: "HDA-Intel" "Realtek ALC269VB" "HDA:10ec0269,10f70300,00100100 HDA:14f12c06,10f70000,00100000 HDA:80862805,80860101,00100000" "0x10f7" "0x8338" Any ideas? I've tried a bunch of google results, like adding "options snd-hda-intel model=auto" to /etc/modeprobe.d/alsa.conf, running alsactl store after the init, setting the +x permission on rc.alsa, and some other stuff too that I've already forgotten, but nothing sticks. |
Have you purposefully tried to remove/disable pulseaudio? Because 14.2 introduced pulseaudio, which handles all sound on the system. If you happened to tweak alsa files (like /etc/asound.conf), it could potentially disable pulseaudio and could cause you to need to run various tweaks like the one you mentioned.
If you just want it to run the command and be done with it without figuring out how to get pulseaudio working properly, you should be able to add that command into /etc/rc.d/rc.local and it will be one of the last things ran before the system finishes booting. However, if you want to get pulseaudio working, you'd probably want to first restore your various files back to default and we can start figuring things outs. |
Quote:
Does rc.local run as root, or do I have to setup the regular user to be able to sudo? |
Maybe that's just that you don't have an audio equipment on the HDMI output, used by default.
There are several ways to do change that, to find out which one is better, please provide the output of this command, typed as root Code:
lpsci -knn |grep -iA3 audio And, if you made any change in a sound config fie, like /etc/asound.conf, ~/.asoundrc, /etc/pulse/default.pa, please attach this file with the txt extension or paste it in your next post. EDIT I made a typo in the command, now fixed. |
Quote:
Here's the result of your kindly supplied command: Code:
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 04) asound.conf Code:
# ALSA system-wide config file Code:
#!/usr/bin/pulseaudio -nF |
Hmm... So you are using this (nasty, at times) snd-hda-intel kernel module.
Let's try this: write a file /etc/modprobe.d/snd.conf with this content: Code:
options snd-hda-intel index=0 id=PCH The name of the file doesn't matter, but it should end in .conf PS Maybe this won't work as the dummy second output is also named PCH... Anyway let's try this first. Also do alsamixer and pavucontrol "see" this dummy output? |
Did you run
Code:
alsactl -store |
Quote:
I don't see a dummy output in either alsamixer or pavucontrol. If I select all outputs in pavucontrol, I see "speakers" and "headphones (unplugged)". |
Quote:
|
From my reading, the ALC269 should be supported without needing to add additional parameters to the snd-hda-intel kernel module. (See /usr/src/linux/Documentation/sound/alsa/HD-Audio-Models.txt for the available options.) A web search for your hardware and snd-hda-intel did not produce much, suggesting that this is not a problem faced by others.
Does the file /var/lib/alsa/asound.state actually change after running 'alsactl -store'? Check with 'ls -l'. I would try deleting this file then running 'alsactl -store'. It may be that you have a rogue entry in your /etc/modprobe.d/ directory. The output from 'grep -v "^#" /etc/modprobe.d/*' may be informative. |
Quote:
Code:
state.PCH { Incidentally, adding alsactl init to rc.local doesn't work. I can see it initialize the hardware on boot before XFCE loads, but there is no audio until I run it again within XFCE. |
Re: running "alsactl store"
Quote:
|
Just to make sure: /etc/rc.d/rc.local is executable, right?
|
@The Sego Sago Kid
In your first post you mentioned: Quote:
Code:
options snd-hda-intel model=auto https://docs.slackware.com/howtos:ha..._snd-hda-intel If you have sound through the jack output but not through the internal laptop speaker, then you might want to try: Code:
options snd-hda-intel model=headset-mic https://forums.linuxmint.com/viewtop...?f=42&t=264417 Out of curiosity, before you try what I suggested above, and before you run alsactl init, can you please paste the output of: Code:
# if pulseaudio is not running - start it: @allend As Didier mentioned, the snd-hda-intel can be a PITA, if you google after it, you'll learn that there are a lot of issues with it. |
Quote:
Quote:
Quote:
Quote:
Quote:
Code:
0 alsa_output.pci-0000_0_1b.0.analog-stereo module-alsa-card.c s16le 2ch 44100Hz SUSPENDED Code:
0 alsa_output.pci-0000_0_1b.0.analog-stereo module-alsa-card.c s16le 2ch 44100Hz IDLE |
All times are GMT -5. The time now is 07:51 AM. |