You are not logged in.
Pages: 1
Hello,
I've a small problem on my current (and very exciting new) notebook loading the sound.
I'm experiencing problems with my soundcard. I installed alsa-utils and tried a /etc/rc.d/alsa start, getting the following output:
/usr/bin/alsactl: load_state:1327: No soundcards found...
Well, no card? Let's check.. lspci |grep Audio
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
So yes, there it is ... but, what tells dmesg? (when loading snd-hda-intel)
ACPI PCI Interrupt 0000:00:1b.0(A) -> GSI 22 (level, low) -> IRQ21
PCI: Setting latency timer of device 000:00:1b.0 to 64
hda_codec: Unknown model for ALC883, trying to auto-probe from BIOS...
si3054: cannot initialize. EXT MID = 000
ACPI: PCI interrupt for device 0000:00:1b.0 disabled
HDA Intel: probe of 0000:00:1b.0 failed with error -13
Well, i'm ... quite stuck with this. The source of troubles could be the module parameters (currently none specified) and so on...
Anyone got an advice for this?
I tried to add
options snd-hda-intel model=laptop
but it did not help in any way.
Thanks,
STi
Ability is nothing without opportunity.
Offline
Here's the different models you can try with the ALC883:
ALC883/888
3stack-dig 3-jack with SPDIF I/O
6stack-dig 6-jack digital with SPDIF I/O
3stack-6ch 3-jack 6-channel
3stack-6ch-dig 3-jack 6-channel with SPDIF I/O
6stack-dig-demo 6-jack digital for Intel demo board
acer Acer laptops (Travelmate 3012WTMi, Aspire 5600, etc)
medion Medion Laptops
targa-dig Targa/MSI
targa-2ch-dig Targs/MSI with 2-channel
laptop-eapd 3-jack with SPDIF I/O and EAPD (Clevo M540JE, M550JE)
auto auto-config reading BIOS (default)
I none of them works, then you could try to download the newest Alsa:
rsync -avz --delete --exclude=.hg* rsync://alsa.alsa-project.org/hg alsa-latest
Offline
I've tried this models now, thanks for the advice.
Unfornately, none did work .
I'll check the newest alsa when i'm at home, just ftp and http here at work, rsync won't be able to access using a proxy.
I'll report back in the eve'. Thank you so far for your advices.
I read some in the alsa bugtracker, there seem to be alot troubles with notebooks and ICH7, in combination with 1.0.13
// STi
Ability is nothing without opportunity.
Offline
Uff, so, i got the rsync ... rsync can handle proxies.
Has anyone an advice how to build alsa-latest? Or any howto at the hand?
Thanks,
Georg
Ability is nothing without opportunity.
Offline
It's quite simple. Just go into the trunk directory and type
make
then do a
make install
as superuser.
If you get errors here, there is something wrong with the configuration of your kernel, it can't find your kernel source, or it isn't present. With the latest stock Arch kernel it compiles fine for me.
Then you either remove all your alsa modules (beginning with snd) and then reload snd-hda-intel, or just reboot (usually quicker).
If it still doesn't work, at least it's nice to know that the hda-intel driver is very actively developed, so I would be surprised if it takes more than a few weeks before they come up with something that works. Of course, it always helps if you test the latest drivers and send your results to the alsa-devel mailing list.
Offline
With the command you posted, i get the following dir list in the rsync directory:
alsa alsa-git alsa-oss alsa-utils hgwebdir.cgi
alsa-driver alsa-kernel alsa-plugins hg-rsync
alsa-firmware alsa-lib alsa-tools hgweb.config
So, quite alot, nowhere a trunk dir (i know, trunc is usually the "current" dir in a cvs/svn). Should i just build alsa-utils, alsa-lib, alsa-driver?
In the alsa dir there seems to be just a patch...
I'm a bit confused, since it does not seem like a simple directory to build... so which alsa package were you talking about?
Thank you,
STi
Ability is nothing without opportunity.
Offline
So, i managed it to get the card working.
For other users searching the boards:
Use the rsync command posted above.
cd alsa-latest/alsa-libs
./cvscompile
as root
make install
cd ../alsa-driver
./cvscompile
as root
make install
cd ../alsa-oss
./cvscompile
as root
make install
cd ../alsa-utils
./cvscompile
as root
make install
reboot your system, setup your alsa (alsamixer or similar), save the alsa settings and be sure you enter alsa to /etc/rc.conf in the DAEMONS array.
This might cause troubles updating alsa some day to 1.0.14 with pacman, it could be possible that you'll need to uninstall the packages installed above using "make uninstall" before you upgrade alsa-lib, alsa-utils and alsa-oss.
//STi
Ability is nothing without opportunity.
Offline
This came so close for me and my new laptop. At first snd-hda-intel was stopping my laptop from booting. Now having compiled the latest ALSA it all seems fine up until I try to use the mixer
~]$ amixer
amixer: Mixer default load error: Invalid argument
Much the same as above except that mine is ALC861 (which has an option for ASUS F2/F3 laptops, mine is an F3JP, but it doesn't bloody work)
dmesg - much the same for all different options
ALSA /home/stephen/alsa-latest/alsa-driver/pci/hda/hda_codec.c:1739: hda_codec: model 'asus-laptop' is selected
hda_codec: num_steps = 0 for NID=0x15
hda_codec: num_steps = 0 for NID=0x15
hda_codec: num_steps = 0 for NID=0x8
hda_codec: num_steps = 0 for NID=0x15
hda_codec: num_steps = 0 for NID=0x15
hda_codec: num_steps = 0 for NID=0x15
Any ideas? Have I missed something simple? (I'm just trying Arch, so bear in mind I'm new here)
Offline
I had a similar error with snd-hda-intel on a acer laptop. While this uses an ati chipset maybe the way i got around it also helps you :
- make sure alsa is NOT started on boot (remove it from rc.conf daemons= line if necessary and reboot)
- login to console as root
- run amixer ssetcontrols
- run amixer sset front 20 (choose any control listed by the previous command)
- rerun amixer setcontrols
compare both lists , in the first list PCM was missing on my laptop, in the 2nd list it was present.
If you have similar results, continue like this :
- run alsamixer to set the volumes as you want them
- run alsactl store
in rc.local add 2 commands :
amixer sset front 20
alsactl restore
This workaround allows me to use all alsa features.
(the pcm missing issue seems to have to do with some kind of initialisation problem)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
amixer ssetcontrols
doesn't exist? I assume you meant scontrols. Which just gives me the same error as previously. As does amixer sset front 20.So nothing useful there
amixer controls is a little more interesting
$ amixer controls
numid=1,iface=MIXER,name='Front Playback Switch'
numid=3,iface=MIXER,name='Capture Switch'
amixer: Control default snd_hctl_elem_info error: Invalid argument
and amixer info
$ amixer info
Card default 'Intel'/'HDA Intel at 0xfebfc000 irq 16'
Mixer name : 'Realtek ALC660'
Components : 'HDA:10ec0660 HDA:15433155'
Controls : 8
amixer: Mixer load default error: Invalid argument
and this is dmesg without any model specified
hda_codec: Unknown model for ALC861, trying auto-probe from BIOS...
ALSA /home/stephen/alsa-latest/alsa-driver/pci/hda/hda_codec.c:2171: autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0)
ALSA /home/stephen/alsa-latest/alsa-driver/pci/hda/hda_codec.c:2175: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
ALSA /home/stephen/alsa-latest/alsa-driver/pci/hda/hda_codec.c:2179: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
ALSA /home/stephen/alsa-latest/alsa-driver/pci/hda/hda_codec.c:2187: inputs: mic=0x18, fmic=0x19, line=0x0, fline=0x0, cd=0x1c, aux=0x0
Offline
amixer ssetcontrols
doesn't exist? I assume you meant scontrols. Which just gives me the same error as previously. As does amixer sset front 20.So nothing useful there
Yes, you're right. I looked over my notes again and found i left out a very important step.
The problem appears to be caused by a difference between the config in asound.state and the state of the soundcard linux sees .
If asound.state is present, it is used by the alsa commands, if it's absent it will be written by issuing an alsa command.
Let's take it step by step this time.
- login to console as root
- DELETE /etc/asound.state
- execute amixer scontrols >controls1.txt
- start alsamixer and leave it immediately (no need to change anything)
- execute amixer scontrols >controls2.txt
Compare controls1.txt and controls2.txt , if there are differences you have the same problem i had.
In that case post both files and we'll proceed to the next step.
If they are the same you have a different problem than me.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
no luck i'm afraid. Thanks anyway.
edit: found a bug report on alsa which described my issue, and it seemed that someone was patching it, so i re-compiled and SOUND!!
Last edited by OneMan (2007-02-03 02:26:03)
Offline
I'm getting a compilation error. What are the python dependencies of the cvs packages?
Offline
Pages: 1