Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
I have a problem with my laptop:
Initially I managed to get the sound card to work but when I first tried to play something (mp3) with Amarok the sound went dead.
I managed once to get the sound back by runing alsaconf but next time I tried Amarok the sound died again and won't come back online anymore.
I ran the "ALSA Information Script" and the results are here.
Thanks you helped me a lot by looking over my config. I start to think this might be a hardware or hardware compatibility issue.
Ok, here is the problem in some more detail:
A while back I tested Kunbuntu but never got any sound to work on this laptop. Then I lost all networking on it and moved to PClinuxOS which I like a lot better.
I found in order to get the sound working I had to upgrade the kernel. Did that and had sound: system sounds, could play music and watch video via the browser, could play DVDs, etc. but as soon as I opened Amarok the sound died = no more sound whatsoever (any and all of the above). I restarted alsa and the sound was back, opened Amarok => no sound, restarted alsa but the sound didn't come back this time. Rebooted and the sound came back, started Amarok => sound gone, restarted alsa, rebooted but no more sound at all.
Yesterday, I downloaded Mandrivia 2008 and booted from the live CD => it played the system sound perfectly. [Unfortunately, I didn't test Amarok]. Rebooted PClinuxOS => no sound. Booted again Mandrivia live CD => no sound.
I have tried Amarok with mp3 and web radio and it looks like the sound died as soon as Amarok started up. Booting into windows => sounds works perfectly.
I have seen somewhere that disabling the modem in the BIOS might help - unfortunately I have no such option in the BIOS of my laptop.
I have now found out as well why I lost the network in my Kubuntu test: If the laptop becomes really warm, after running for several hours, booting up linux (any distro, live CD or installed, several kernels) there is no more network, neither Lan nor Wlan. Booting into Windows everything works. Letting the laptop cool down and booting Linux => network works.
Looking at the way it works in Linux I would suspect some faulty hardware but why does it work in Windows? We have two identical laptops in the company and as soon as my colleague is back from his business trip I will test his laptop to see if I can reproduce the same on his.
Which laptop is this? (Can you locate your specs online?)
Check your BIOS for "advanced" ACPI stuff and shut them down.
BIOS can sometimes switch components (like network) off when it thinks it needs to (Like if the laptop is hot and/or the OS is not windows). The firmware is compensating for windows.
Then we want to look at your boot options - this will be on the kernel line in /boot/grub/menu.lst
Many laptops need noapic nolapic in there.
Have you tried another player since? Other codecs? Say... boot the kubuntu live, and try playing the example files. If they play, check the configuration like before. Then you can compare your working config with the non-working.
I start getting the feeling that the sound problem could be thermic as well. Had some sound again and it went away on its own after a some time while playing various video formats from the web (youtube, etc.).
Just booted the perfectly cold laptop and system sound came on during login; searched around for a file mine for about 2 minutes; tested sound => gone. Will try in the morning if Amarok plays mp3 right away upon login.
The specs to the Asus VX1-5E008P-A can be found here
BIOS - have latest: 206 - has nothing about ACPI, actually the BIOS has very little options - including 'Advanced Options'. (If you want I can post some screen shots of the BIOS pages).
Tried playing with Grub menu: booted with "acpi=off noacpi nolacpi": result was the same except the bluetooth went down. Next booted with "acpi=off noacpi": result was the same but bluetooth worked again.
Next week I'll have access to the second VX1 and will test if it has the same issues.
I start getting the feeling that the sound problem could be thermic as well.
Me too... something is switching your soundcard off.
Usually, noacpi OR acpi=off (not at the same time) will run your fan continuously. If you still get overheating in those conditions, then the sound-card is probably broken. But then, it should have the same issue in windows. Do you have the same problem running live?
Live Distros: To play sound at all I need a recent kernel thus older live CDs don't work. The only working one I have now is 'Mandrivia 2008' which plays sound sometimes and sometimes not. I think it has to do with the initial temperature of the laptop since the CD boot takes a lot longer than booting from HD.
This morning I booted up the cold laptop and as soon as the system welcome sound plaid I opened up Amarok and it plaid the mp3 song perfectly. I added an entire playlist and it kept playing. I started a youtube movie while Amarok was playing and it plaid sound, so I quit Amarok while watching and listening to youtube, returned to Amarok before the movie ended, tried all kinds of things I could think of: result I did have sound for about 2 hours but just as long as I played continuously. As soon as I stopped playing sound for a few seconds: now it is dead again.
So this IS definitely a thermal issue! But only affecting Linux and not windows.
Next I will test extensively the second laptop and check if I can reproduce the same on that one that one I doubt that it is faulty hardware. But where can this issue come from and why is windows not making any problems.
OK I have tried all possible permutation of "acpi=on", "acpi=off", "acpi=force" with " ", "noapic", "nolapic", "noapic nolapic": none plays music, none makes the fan run continuously, all "acpi=off" plus some "noapic" and "noapic nolapic" prevent bluetooth from working.
I tried "echo -n "65:60:50:55:50:45" > /proc/acpi/thermal_zone/THRM/trip_points" as root
"-bash: echo: write error: Invalid argument"
The path exists on my installation and trip_points is an Empty Document.
# options snd-hda-intel model="auto" # no go
# options snd-hda-intel model="asus" # no go
# options snd-hda-intel model="laptop" # works
# options snd-hda-intel model="laptop_automute" # no go
# options snd-hda-intel model="3stack" # works
# options snd-hda-intel model=auto # no go
# options snd-hda-intel model=asus # no go
options snd-hda-intel model=laptop
# options snd-hda-intel model=laptop_automute # no go
# options snd-hda-intel model=3stack # works
As you can see I have 2 models that work and in my case the use of "" didn't play any role.
Maybe these can give you geeks out there some hints on how to make your setup work. From what Google got me: a lot of poeple got it to work using "options snd-hda-intel model=<<name>>" where <<name>> is the name of the manufacturer of their laptop or motherboard.
This all seems only to apply to Intel on board sound chips!
Sorry for not seeing this earlier. Did you try "model=laptop-eapd"? I have an Asus Z62F, and like all of the other Asus laptops currently supported (yours isn't in the driver yet), they need the eapd switch (external amp power). The reason you may be seeing on again/off again behavior could be acpi shutting down the audio through eapd.
Let me know if that model works and I'll get it added to the driver for the next alsa release.