Slackware 12.2: No sound on old laptop with Yamaha audio chip
Dear all,
almost everything is now working again on my Slackware boxes, now running the latest 12.2 release. With only one exception. On my old laptop (Toshiba SatellitePro 4300) I hava a Yamaha chipset. This is detected and, as far as I can tell, the correct modules are loaded. Also, alsaconf shows no errors. Code:
# alsaconf Code:
alias snd-card-0 snd-ymfpci Code:
# alsamixer Code:
snd_seq_dummy root and my non-privileged user are members of the audio group. I don't see udev rules for alsa, but I guess this is no problem, because on my other box there are no alsa udev rules, either, and sound works perfectly well there. Possibly not so good: There is no /dev/dsp on my laptop. Starting KDE I get an error message moaning about this. However, I do have two devices /dev/sequencer and /dev/sequencer2. I appreciate any hints what to check for. Thanks in advance! gargamel |
Just discovered that the modules loaded for sound seem to be OSS modules instead of ALSA modules. At least, the names are identical with the blacklisted modules for OSS in /etc/modprobe.d/blacklist.
Now I wonder: Are the modules for ALSA or for OSS? Why are they loaded, although they are blacklisted? Why wasn't this a problem in Slackware 12.1, but is a problem in 12.2? But most of all: What should/could I do next to get sound? All ideas welcome! gargamel |
Perhaps this link will offer some clues.
http://web1.toshiba.ca/support/techs...t_pro/4300.htm I note that the contents of your /etc/modprobe.d/sound do not match what is stated in the link (although this is old and RedHat specific). |
Thanks, I tried:
Code:
/etc/modprobe.d/sound alsaconf still scans the card database and detects a Yamaha YMF-744B [DS-1S Audio Controller] (rev 02). According to this, it should have complete support (and, in fact, it did work in Slackware 12.1): hardware4linux Yamaha_DS-1_PCI Any other ideas what I might look for? gargamel |
On and on and on...
I found that I had modules for 2.6.24.x kernel on my system, so - I removed these - removed all alsa packages - installed alsa packages again and tried it again. No success. I re-checked file ownership, access rights and user groups, and everything seems to be ok. What puzzles me the most, however, is that the system appears to be able to load the correct modules, and alsaconf finishes without an error message, though without any sound, and writes something useful (at least, as far as I can tell) into /etc/modprobe.d/sound, but alsamixer fails. I am pretty sure that only some little detail is wrong... But what is it? BTW, it is a system upgraded from 12.1 using the "Mount install CD from within a running 12.1 system, then upgradepkg everything following the instructions in UPGRADE.TXT" method (as opposed to the "insert CD and boot with it" method). What else could I try? I am grateful for all your ideas! gargamel |
When you did your upgrade, did you also check and install the *.new files in /etc?
A big change from 12.1 to 12.2 was the relocation of the udev rules which set up device nodes for your devices. If you cd to /etc and run 'find . -name "*.new" -print' and see output then you still have some work to do. |
Good guess, but this is also not the problem. I have no .new files left in my system, and in particular I was aware of the udev changes.
Other ideas most welcome! gargamel |
Are you using any additional kernel modules that may be conflicting, such as modules for an internal modem?
I have a Toshiba Satellite 1410 laptop that uses an Intel chipset for sound. I have found that the kernel modules for the internal modem can interfere with sound. |
Quote:
Looking at the output of lsmod I only wonder, what the modules intel_agp and agpart are loaded for. The computer is too old to support AGP. And: It is a pure upgrade, with no additional software installed that wasn't there before. In fact, sound worked for a very short time with 12.2, too. It broke after I had fixed my mkinitrd problem (I use LVM and LUKS, mkinitrd 1.3.2 had a problem with this, mkinitrd 1.3.3 fixed it) and run Code:
# slackpkg clean-system However, one thing I haven't tried yet, is switching off ACPI support. Searching the web, this seems to be a frequent sound stopper. But again, why did it work before, then? gargamel |
Quote:
|
Quote:
Code:
# slackpkg clean-system So I guess that my problem is not caused by the mkinitrd update, but by cleaning the system with slackpkg. Assuming this is the cause: Where to go from here? Reinstalling the 2.6.24 modules is not really an option, I think... gargamel |
Gargamel what I mean is this: You said the sound worked under 12.2 for a short while, until you did the mkinitrd/slackpkg updates. I'm saying that you can't have run the 12.2 kernel before doing mkinitrd, because you need to reboot the machine. So my guess is the following, please tell me if I'm wrong:
1) While running 12.1 with 2.6.24 kernel, you upgraded the packages from a mounted DVD. 2) (Still under 2.6.24) you upgraded your mkinitrd and created an initrd for the new kernel. During this time sound was working. 3) You rebooted your system to use the new kernel. 4) At some point under the new kernel, you ran 'slackpkg clean-system'. If this is correct, the question is: Did the sound get broken after step 4, or somewhere between step 3 and 4? If the first case is true then slackpkg is under suspicion but since 2.6.24 modules are irrelevant for the new kernel, I can't imagine what could have gone wrong. My guess is that your sound card never worked under 2.6.27 in which case we may have to look what has changed and caused this breakage from .24 to .27 (or 12.1 to 12.2). |
Ilgar, thanks, this is exactly what I was going to say. Sorry for being too concise and/or misleading.
Currently I assume, that for whatever reason the old kernel, or at least the old kernel module, was used for the new system. After cleaning the system both were gone, along with their support for my sound hardware. Perhaps I had forgotten to redefine one symlink or so. So I agree with you completely, that I must have been using the old kernel for the first 12.2 boot. Even so, the situation is a bit strange. I am still wondering, why the sound chip is detected correctly, and the right modules are loaded, but then alsamixer fails. All the above is doubtlessly correct. But something is still missing... gargamel P.S.: This is all very interesting and fascinating, and it is really great to find some people providing helping hands, even today, on 24th December, 2008. What I want to say, is just: Merry Christmas to you and all Slackers and LQ.org members wherever you are! |
Ok since it's the new kernel that fails, I must ask what allend did: Is it possible that the new kernel names another device as the default sound device? For example, does
alsamixer -c 1 work (card #0 is the default one)? And which kernel are you runnnig, the huge one or the generic one? |
I'm running 2.6.27.7-smp generic (not huge). alsaconf finds two card(s) on my system:
Code:
1. ymfpci Yamaha Corporation YMF-744B [DS-1S Audio Controller] (rev 02) sound chip is completely compatible with the DS-1S. Then alsaconf asks me, if I want /etc/modprobe.d/sound to be modified, which I confirm. The screen turns black and after some 5 seconds alsaconf reappears: Code:
OK, sound driver is configured. prompt: Code:
Now ALSA is ready to use. Code:
# alsamixer -c 1 sound available, because /dev/dsp is not available, but that the sound server continues to run in the background using /dev/null. What does this all tell us, now? Do you have any ideas, how to further track this down? (BTW, I wouldn't hesitate to reinstall from CD, but my CD burner is malfunctioned; I did the upgrade by mounting the ISO image from an external USB device; for a complete reinstall this won't work, I am afraid). gargamel |
All times are GMT -5. The time now is 07:05 AM. |