You are not logged in.
So I lost sound when I upgraded my kernel a little while ago and posted about it on here, people mentioned that the new alsa driver (1.10.19 I think) would work with it
Here is the output from lspci | grep -i aud
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
any ideas?
[edit] here is my origional post http://bbs.archlinux.org/viewtopic.php? … 72#p487472
Last edited by suicideducky (2009-04-14 22:52:36)
Offline
Maybe you should remove any configuration you've done about alsa and then run "alsaconf". With kernel 2.6.29 sound should just work on this model (well, I have the European version, branded as Compaq Mini 700, but it's the same).
Well, with the caveats I posted on the other topic, mostly mic not working.
Offline
Ok so I should remove /etc/modprobe.d/sound? what else?
Thanks
Offline
If that's the only file you've created/modified on your own, probably nothing else. Just run alsaconf and you should get working sound (you might have to reboot, and make sure you have alsa in the daemons array in /etc/rc.conf
Offline
I havent really modified *any* by hand, and if I had I would have returned them to their origional state, but I will try and delete them all and rerun alsaconf then reboot...
Offline
No idea, but wont work, so I rolled back to 2.6.28 until wpa-supplicant wants to work with .29 for me.
Offline
That's strange, with 2.6.28 sound didn't work for me, but upgrading to .29 solved the problem. I'll post some info from my system in case you want to compare:
$ lsmod | grep snd
snd_seq_oss 29888 0
snd_seq_midi_event 5972 1 snd_seq_oss
snd_seq 48176 4 snd_seq_oss,snd_seq_midi_event
snd_seq_device 6080 2 snd_seq_oss,snd_seq
snd_hda_codec_idt 55732 1
snd_pcm_oss 38112 0
snd_mixer_oss 14388 1 snd_pcm_oss
snd_hda_intel 25384 2
snd_hda_codec 60340 2 snd_hda_codec_idt,snd_hda_intel
snd_hwdep 6904 1 snd_hda_codec
snd_pcm 67992 3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer 19260 2 snd_seq,snd_pcm
snd 51460 15 snd_seq_oss,snd_seq,snd_seq_device,snd_hda_codec_idt,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore 6080 1 snd
snd_page_alloc 8092 2 snd_hda_intel,snd_pcm
$ amixer
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 127
Mono: Playback 112 [88%] [-11.25dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 120 [94%] [-5.25dB] [on]
Front Right: Playback 120 [94%] [-5.25dB] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 234 [92%] [-4.20dB]
Front Right: Playback 234 [92%] [-4.20dB]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 13 [87%] [19.50dB] [off]
Front Right: Capture 13 [87%] [19.50dB] [off]
Simple mixer control 'Capture',1
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 13 [87%] [19.50dB] [off]
Front Right: Capture 13 [87%] [19.50dB] [off]
Simple mixer control 'Analog Loopback',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Analog Loopback',1
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'DAC0',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 28 [90%] [7.50dB] [off]
Front Right: Capture 28 [90%] [7.50dB] [off]
Simple mixer control 'DAC1',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 28 [90%] [7.50dB] [off]
Front Right: Capture 28 [90%] [7.50dB] [off]
Simple mixer control 'Digital',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 120
Front Left: Capture 108 [90%] [24.00dB]
Front Right: Capture 108 [90%] [24.00dB]
Simple mixer control 'Import0 Mux',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 27 [87%] [6.00dB] [off]
Front Right: Capture 27 [87%] [6.00dB] [off]
Simple mixer control 'Import1 Mux',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 27 [87%] [6.00dB] [off]
Front Right: Capture 27 [87%] [6.00dB] [off]
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Mic' 'Front Mic' 'Line'
Item0: 'Mic'
Simple mixer control 'Input Source',1
Capabilities: cenum
Items: 'Mic' 'Front Mic' 'Line'
Item0: 'Mic'
Simple mixer control 'Mux',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 3
Front Left: Capture 2 [67%] [20.00dB]
Front Right: Capture 2 [67%] [20.00dB]
Simple mixer control 'Mux',1
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 3
Front Left: Capture 2 [67%] [20.00dB]
Front Right: Capture 2 [67%] [20.00dB]
Simple mixer control 'PC Beep',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 3
Mono: Playback 1 [33%] [-12.00dB] [on]
Simple mixer control 'Speaker',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 118 [93%] [-6.75dB] [on]
Front Right: Playback 118 [93%] [-6.75dB] [on]
/etc/modprobe.d/sound
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
In the MODULES array in /etc/rc.conf I have !snd-pcsp, thought I'm not sure it's needed.
On my home WLAN I use WEP authentication and it's working fine with .29. I haven't tried WPA for now.
I enabled Kernel Mode Setting and it's also working very good here. So apart from the microphone I'm very happy about the rest for now.
Offline
As I can swap between kernel versions all willy nilly, I will go back to .29 to test is the !snd-pcsp is needed, as I remember at some point it being suggested in .28, but after application it had to effect, so I got rid of it. Maybe now it will make a difference, although I cannot stay in .29 until wireless is resolved
Offline
Please post your MODULES
Offline
My MODULES array from /etc/rc.conf:
MODULES=(acpi_cpufreq cpufreq_ondemand lib80211_crypt_tkip wl !snd-pcsp fuse !btusb !bluetooth !uvcvideo)
Notice that I stop the bluetooth modules and the webcam module from loading, since I don't use them.
Offline
I have a Hp Mini 1035NR and this is how I got all sound to work. Here is my little how to... I couldnt find anything so kept dicking with it till I got it right.
here you go.. hope it helps.
Archlinux Hp Mini 1035NR sound -
Thu Mar 26 09:24:23 CDT 2009
cdowns\@drippingdead.com
This is how I got sound to work on the new HP mini 1035NR in Archlinux.
Make sure alsa is NOT INSTALLED on the local machine.
pacman -Q | grep -i alsa
If it is installed REMOVE it.
pacman -R <alsa-pkg-name> -d -f
I would make sure you have abs installed so you can get the kernel source easy and know its patched as the running machine.
Kernel packages:
kernel-headers 2.6.27.6-2
kernel26 2.6.28.8-1
kernel26-firmware 2.6.28-1
if you do not have abs installed, install it. I'm lazy so this is an easy work around with archlinux and kernel source.
Install abs if you dont have it -
pacman -S abs fakeroot
Run abs. Let your local ports repo update-
abs
Verify the abs kernel is the SAME as your running one ( A double check ) -
cat /var/abs/core/kernel26/PKGBUILD | egrep -i "_basekernel|_basekernel|pkgrel"
_basekernel=2.6.28
pkgver=${_basekernel}.8
pkgrel=1
As above we know we have
sudo pacman -Q | grep kernel26
kernel26 2.6.28.8-1
We are good.. lets move forward -
Start building the kernel. I let it patch and killed it on CC compile. I dont really need to make the entire kernel. I just want the same PATCHED source as the running machine.
If you have abs or have done the above continue on.
cd /var/abs/core/kernel26 ; sudo makepkg -g < PKGBUILD --asroot
makepkg --asroot
Get the Alsa source ->
mkdir Alsa ; cd Alsa
wget -c ftp://ftp.alsa-project.org/pub/driver/a … 19.tar.bz2
wget -c ftp://ftp.alsa-project.org/pub/lib/alsa … 19.tar.bz2
wget -c ftp://ftp.alsa-project.org/pub/utils/al … 19.tar.bz2
The compile order is: alsa-driver, alsa-lib and alsa-utils
cd alsa-driver
sudo ./configure --with-kernel=/var/abs/core/kernel26/src/linux-2.6.28 --prefix=/usr --with-cards=hda-intel
sudo make && sudo make install
cd ../alsa-lib
sudo ./configure --with-kernel=/var/abs/core/kernel26/src/linux-2.6.28 --prefix=/usr --with-cards=hda-intel
sudo make && sudo make install
alsa-util compile note:
Now install xmlto as alsa-utils will need it to compile on Archlinux -
sudo pacman -S xmlto
cd ../alsa-util
sudo ./configure --with-kernel=/var/abs/core/kernel26/src/linux-2.6.28 --prefix=/usr --with-cards=hda-intel
sudo make && sudo make install
Now.. If everything went wonderful we need to copy the original hacked alsa-base config from MIE ( hp's default install )
MIE hp mini 1035NR /etc/modprobe.d/alsa-base.
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; : ; }
install snd-pcm /sbin/modprobe --ignore-install snd-pcm && { /sbin/modprobe --quiet snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer && { /sbin/modprobe --quiet snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq && { /sbin/modprobe --quiet snd-seq-midi ; /sbin/modprobe --quiet snd-seq-oss ; : ; }
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-seq ; }
# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe -Qb saa7134-alsa ; : ; }
# Load snd-seq for devices that don't have hardware midi;
# Ubuntu #26283, #43682, #56005; works around Ubuntu #34831 for
# non-Creative Labs PCI hardware
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe -Qb snd-seq ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-usx2y index=-2
options snd-usb-caiaq index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
Reboot - you should now have working sound.
External Speakers, Headphones and Microphone should all be working..
Hope this helps..
~!>D
Last edited by cdowns (2009-04-14 01:14:51)
Offline
I just upgraded my machine to:
cdowns@~ ~> uname -a
Linux scummy 2.6.29-ARCH #1 SMP PREEMPT Wed Apr 8 12:47:56 UTC 2009 i686 Intel(R) Atom(TM) CPU N270 @ 1.60GHz GenuineIntel GNU/Linux
cdowns@~ ~>
Sound is still working perfect... Also.. Now im getting 700+ fps with the intel 945GME chipset !! nice upgrade for once.
~!>D
Last edited by cdowns (2009-04-14 02:32:29)
Offline
cdowns, you are a legend!
I can't try this yet as I have work tomorrow so much sleep, but I will get some spare time at work
I cannot say it enough, thanks!
Your reply was so indepth and even included a follow up
If you upgraded the kernel, does that means I should skip patching the .28 kernel and just compile alsa and then goto .29?
Thanks again,
Chris
Offline
and wait a minute.... I think alsa 1.10.19 is included in .29 if I am not entirely mistaken >.<
I will have to play tomorrow, I am going to laugh at myself if all I needed was your alsa-base, hopefully it is not that simple hahaha
Thanks again
Chris,
Offline
Anytime.. I would try the alsa-base config first just to check ( would only take a reboot to find out ). I would be curious if the new alsa works myself. I don't think its going too.
If it doesnt -
You will have to compile alsa yourself. I am running straight kernel 2.6.29 from pacman with no extra patch. The big trick with getting this to work is compiling against the kernel src.. so you will need a patched tree from abs to match your running kernel.
As you can see here.. Arch always has a header rev that is different for some reason and alsa-drivers will not compile against that.
cdowns@~/Downloads/rt73-k2wrlz-3.0.2/Module ~> pacman -Q | grep kernel
kernel-headers 2.6.27.6-2
kernel26 2.6.29.1-3
kernel26-firmware 2.6.29-1
cdowns@~/Downloads/rt73-k2wrlz-3.0.2/Module ~>
Its this particular codec.
[root@scummy proc]# cat asound/card0/codec#0 | grep Codec
Codec: IDT 92HD75B2X5
[root@scummy proc]#
Il check back to make sure you got it working. fyi, I'm in the states ( CST ) so our timezone change is pretty drastic.
Hope all is well.
~!>D
Last edited by cdowns (2009-04-14 13:54:12)
Offline
cdowns, thanks for the post and instructions.
I'm using kernel 2.6.29 and with it I got sound working without tweaking anything. But I could never get the mic to work. Now I've tried your /etc/modprobe.d/alsa-base and it didn't make any difference here (that is, sound still worked, mic still didn't). I will try to compile alsa when I have some time and see if that solves it.
However, would it be possible for you to run the alsa-info.sh script and post the link to the output? (the script uploads the info to alsa website by itself).
The script can be found here: http://www.alsa-project.org/alsa-info.sh
Thanks again!
Offline
Offline
Thanks.
After comparing with mine, there are hardly differences, except that I have a capture control called "Digital" in alsamixer that you don't have.
The /etc/modprobe.d/alsa-base script doesn't seem to change anything for me. Have you tried to boot without it into 2.6.29? Maybe you don't need it anymore.
I guess I'll have to compile alsa next to see if that can get my microphone working. With which program does it work for you? Skype? Ekiga? Other? Just to test it with that too.
Edit: By the way, I mean the integrated mic, that's what I'm trying to get working. I haven't even tried with an external one.
Last edited by Bogart (2009-04-14 18:29:37)
Offline
yeah I'm using integrated mic as well. That alsa-base config is from the default MIE ( HP usb restore ) install that the machine can be restored with. I screwed with the audio for weeks until I got it to work. I had to compile. I almost fell out of my chair when it started working. What was weird was headphones worked and nothing else.. drove me crazy.
I have not tried to boot without alsa-base config. I can try tonight when I get home and let you know.
Ive used:
Audacity ( record voice, snapping fingers for testing )
Skype - Dial out, Audio playback service.
xten-softphone ( this is very flaky on linux anyway )
I don't use the mic for anything else.
~!>D
Last edited by cdowns (2009-04-14 18:49:22)
Offline
Ok, so I got it to work!
Strange enough, it was just changing some settings in alsamixer. I'd swear I had tried every setting before, but for some reason only now I got it to work. I didn't need the alsa-base file or to recompile alsa. I just changed "Input Source" from 'mic' to 'line', and then the only capture volumes I need to up (to around 70%) are "Capture" and "Digital".
So big thanks for pushing me to find the solution, cdowns. Now I feel that my netbook works as expected in every aspect (I'd rather have a Free wireless driver, but oh well...)
suicideducky, could you post your amixer output with kernel .29?
Offline
Ok well using only yours alsa-base and 2.6.29 from the repos ... AFAIK no sound ;(
Alsa ran alsaconf for the record and made sure all the channels I could see that were relevant in alsamixer were unmuted and "loud enough"
Here is my amixer output:
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 127
Mono: Playback 111 [87%] [-12.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 111 [87%] [-12.00dB] [on]
Front Right: Playback 111 [87%] [-12.00dB] [on]
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]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 14 [93%] [21.00dB] [on]
Front Right: Capture 14 [93%] [21.00dB] [on]
Simple mixer control 'Capture',1
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 0 [0%] [0.00dB] [off]
Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control 'Analog Loopback',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Analog Loopback',1
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'DAC0',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 23 [74%] [0.00dB] [off]
Front Right: Capture 23 [74%] [0.00dB] [off]
Simple mixer control 'DAC1',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 23 [74%] [0.00dB] [off]
Front Right: Capture 23 [74%] [0.00dB] [off]
Simple mixer control 'Import0 Mux',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 23 [74%] [0.00dB] [off]
Front Right: Capture 23 [74%] [0.00dB] [off]
Simple mixer control 'Import1 Mux',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 23 [74%] [0.00dB] [off]
Front Right: Capture 23 [74%] [0.00dB] [off]
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Mic' 'Front Mic' 'Line'
Item0: 'Mic'
Simple mixer control 'Input Source',1
Capabilities: cenum
Items: 'Mic' 'Front Mic' 'Line'
Item0: 'Mic'
Simple mixer control 'Mux',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 3
Front Left: Capture 0 [0%] [0.00dB]
Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Mux',1
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 3
Front Left: Capture 0 [0%] [0.00dB]
Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'PC Beep',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 3
Mono: Playback 0 [0%] [-18.00dB] [on]
Simple mixer control 'Speaker',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 106 [83%] [-15.75dB] [on]
Front Right: Playback 106 [83%] [-15.75dB] [on]
Offline
K great to know !! wonderful.
~!>D
Offline
suicideducky, I think I found the problem (I hope!). Could you try to mute the two "Analog Loopback" channels? In alsamixer you can select them and press the letter "M" to mute them. See if after that you get sound.
Offline
Ok welll.... I love you guys
Bogart, you were right.
Alsa is still one of those parts of linux I know pretty much nothing about >.<
and cdowns, about your alsa-base, interestingly my bootup process doesnt like it, I think its this line:
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; : ; }
It prints the usage for it and mentions "Warning: error running install for snd"
But I am going to try boot and make alsa-base blank again,
I cannot beleive it is that simple...
Now... I wonder if that would have worked in .28 ?!?
*might go and find out xP*
Thanks both of your for your time and effort
Chris.
Offline
Just for the record, i needed to mute the two analog loopback(s)
Finally, my netbook is what it was designed to be
now... lets see if my webcam / internal mic work... xP
[edit] the internal mic is working, used audacity to prove so. Although I have yet to get an external mic working, but I do not really care xP
Ill just have to muck around with the the input for source 2 and volume for capture 2 etc xP
[2nd edit] and the webcam is working,u sed mplayer tv:// to test
<3 Linux, NOW my netbook owns
Cheers guys, have definitely made my day.
Last edited by suicideducky (2009-04-14 23:05:39)
Offline