Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am a brand new Linux user, and this whole thing is pretty cool, but daunting. I have an IBM Thinkpad 600e running the latest version of Fedora Core Linux. It works fine, except the sound.
Now, most of these laptops use the cs4232 sound module, which I believe is compiled into the kernel. However, by using sndconfig, I found out that my laptop has an IBM|CS4610 SoundFusion Audio Accelerator. So I searched around a bit and found ALSA, which seemed like it would work. I went to the ALSA website (alsa-project.org) and downloaded the driver that it said I needed. However, I had to do this on my Windows PC as my Linux Laptop is not connected to the Internet (keep that in mind when giving me advice, please). So, I copied the downloaded file over to my laptop, and tried to follow the instructions given at the alsa-project.org site. It didn't work.
Here's what happens: Whenever I boot my machine, I get an error saying "/dev/dsp can't be opened. The sound server will continue running with null output." I assume this means that no sound works (obviously).
So, basically, for an extreme newbie, please help me through getting sound to work. I've searched the forums, but it appears that my laptop is unique with its sound card.
Thanks for the reply. Alright, I've been fooling around with this for hours with no luck. I follow the directions given on http://alsa-project.org/alsa-doc/doc...&module=cs46xx . Whenever I try to do the chmod command, I get a "can't find /dev/midi" error. Then, when I try to do the modprobe command to add the module to the kernel, it says it cannot add the module. Doing a modinfo snd-cs4610 says that no module by that name can be found.
I read the link in your post, but I'm lost there as well.
I really appreciate the help. If there is any other advice you can give me, I would really appreciate it.
tar -xf alsa-driver-xxx
./configure --with-cards=cs46xx --with-sequencer=yes;make;make install
has resulted in the following errors:
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
make: Entering directory `/home/%username%/Documents/alsa-driver-1.0.2c'
make: Nothing to be done for `all-deps'.
make: Leaving directory `/home/%username%/Documents/alsa-driver-1.0.2c'
Please, run the configure script as first...
rm -f /snd*.*o /persist.o /isapnp.o
make: Entering directory `/home/alanbur/Documents/alsa-driver-1.0.2c/acore'
Makefile:6: ../Makefile.conf: No such file or directory
make: *** No rule to make target `../Makefile.conf'. Stop.
make: Leaving directory `/home/%username%/Documents/alsa-driver-1.0.2c/acore'
make: *** [install-modules] Error 1
Can anyone give me step-by-step instructions that will allow me to use this soundcard on my TP 600e?
Just for grins, I tried using sndconfig from the Mandrake 9.2 cds. This returned the following error:
The following error occurred running the modprobe program:
: init_module: No such device
modprobe: insmod sound-slot-0 failed
I would really like some assistance from a Linux guru as to restore my faith in the *nix community. Please show me the my hope in the goodness of the Linux community samaritans is not misplaced.
Thanks for all those with the kindness to take this post seriously and reply!
Alright, now that I have the right files on my computer (I have all the bz2 files from ALSA). Where should I put them to untar/unzip them so I can install the right drivers? I tried putting them in the root folder, but whenever I tried to do a modprobe snd-cs46xx so insert the module into the kernel, it says it can't find the module.
to insert the module into the kernel. I get the error:
/lib/modules/2.4.20-8/kernel/sound/pci/cs46xx/snd-cs46xx.o: init_module: No such device.
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may fine more information in syslog or the output from dmesg
What is syslog or dmesg? Also, how can I change the module parameters?
1. Downloaded the ALSA drivers (1.0.2)
2. Unzipped and untarred them (to whatever directory you like, I used /usr/src cause I'm just going to delete them).
3. Since I am using Redhat 9, here is the command I used to compile and install the drivers:
. Compiles fine, and installs fine. Everything good.
4. Then did a
and bingo! It worked. Sound works flawlessly.
Thanks for all the help, Hakan! When I get some money, I'll donate to your affero link. I really wanted to learn Linux well (still learning, of course), so I installed the base amount of stuff possible. This way, I get used to compiling and make'ing stuff. So far, I've installed Mozilla 1.6, Apache 2, PHP 4.3.4 and MySQL 4.
Now I just need to get my Wireless card working! Look out for more posts by me
I used the instructions provided by openglforums on the Red Hat 9 system that I work on and got the make and make install to finally work! (Thanks openglforums and Hakan!) I can't wait to try these instructions out on my Mandrake 9.2 system that is running on my 600e!
BTW - Where did you find the ./configure statements regarding redhat and isapnp? Also, if I do this on Mandrake, could I use the statement, "--with-mandrake=yes" ?
The only problem I had was using the modprobe command: I have never been able to use this command successfully. Is there something specific that I need to have installed in order for this to work? When I run it, I always receive the following error no matter what directory I run it from:
bash: modprobe: command not found
Does anyone know why I am not able to use modprobe? Please let me know when you get a chance!
The only way I was able to run modprobe was to actually log out, and log back on as root. Then I ran modprobe without difficulties. I don't know why I couldn't run the command from the terminal after switching to root using the 'su' command?!?!?!
Anyway, I was able to do the modprobe command, and sound does work on my RH9 system. However, I was able to use sndcofig to get sound working before on this system. My question now is, how do I know if I am using the Alsa driver or not? Is there some way I can check? On the Mandrake system, it will be easy to know; my sound card will be working!!!
However, on this RH9 system, is there some way I can tell if I am using the much labored over Alsa driver? The sound is alright, but not great as I was expecting.
Thanks again for all those who reply to idiots like me.
saxophobe - all Alsa driver modules have a "snd-" prefix to their name. The OSS (traditional, to be replaced by Alsa) driver for the CS4232 is called, quite simply "cs4232" while the Alsa driver for the same card is called snd-cs4232.
This is one of the few cases that the names (excluding the prefix, of course) is the same in both OSS and Alsa, and also the reason they decided to prefix all Alsa modules with "snd-" so there would be less confusion. Just type lsmod to view what modules are loaded.
And about running modprobe as root or not - it sounds like root's .bash_profile is a bit off. Make sure it includes .bashrc. If it doesn, just add these lines to /root/.bash_profile:
if [ -e ~/.bashrc ]
That should take care of setting the path correctly. If you're hesistant to edit your .bash_profile, just type out the full path to the program, like /sbin/lsmod or /sbin/modprobe when accessing programs in /sbin or /usr/sbin.
After trying the process that openglforums recommended on my Mandrake 9.2 system, I still get the same error about 'kernel' not supported in 32 bit mode. Then I decided to install Fedora Core 1 and see if I could get it to work.
After flattening my Mandrake system, I installed FC1 with only minor problems that I was able to resolve. Then, I proceeded to download all the Alsa 1.0.2c bits, tar them, ran the ./configure with the --with-redhat=yes --with-isapnp=yes switches. This worked!
I then ran the make command; this also worked! I was starting to have hope!
I then ran the make install, which also worked! I thought I could see light at the end of the tunnel!!!
I tried running modprobe cs4236, but this failed. So I tried the same thing I did with my RH9 system, logged out and back on as root. It worked!!! I thought I was home free!!!
The only problem now is that FC1 doesn't even notice that I have a soundcard when I go into the Hardware Browser!!!
I also tried running sndconfig, which recognized my sound card correctly, but said that it was not supported.
Right now, I feel like , and believe that this system is destined to never sing another note.
Anyone have any ideas?.....
I really appreciate everyone's help.
PS- I am still researching the tpctl tools and their variants.....