Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm quite new to Linux and I installed Mandriva LE 2005 (10.2) on my laptop. I'm unable to get the sound working. I tried to modify modules.conf, modprobe.conf, /etc/rc.d/rc.local, tried to use snd-cs46xx instead of cs46xx, but nothing works. Instructions all over the net look like chinese to me, and I don't know what to do, now. modifying modules.conf seems to have no effect, as modifying modprobe.conf returns me an awful swarm of errors.
Do either of the modules load successfully?
If they do, what output do you get? And do the
IRQ(s) and DMA-channels assigned match what
the hardware thinks it is on? The thing with the
770 series is that the hardware is theoretically
PnP, but the way IBM has implemented them it
will use what the Thinkpad set-up utility uses.
Thanks for your help, but I'm not sure to have the skill to answer to your questions correctly... :\
I will try to give you the required information :
* The cs46xx module seemed to load successfully. But Kmix doesn't find any mixer. And while launching amaroK, I got this message :
"Sound Server informational message : error while initializing the sound driver:
device /dev/audio can't be opened (no such device). The sound server will continue, using the null output device."
* As for the snd-cs46xx module, I got this output :
Loading sound module (snd-cs46xx) [ OK ]
alsactl: save_state:1199: No soundcards found...
Can't open /root/tmp/asound.state_tmp: No such file or directory.
Réglage des paramètres du mixeur alsactl: load_state:1272: No soundcards found...
[ÉCHEC ]
I don't know how to assign IRQ, DMA, and so on under Linux.
Neither do I know the adequate parameters for this sound card... :/
You can't do that under Linux (at least it wasn't possible when
I still owned a 770). IBM has tools to do that from either an installed
version of Windows, or a DOS boot floppy.
(I'm far away from my computer under linux at the moment, I won't be able to look after it before friday...)
about the soundcard parameters : I don't want to modify them, but just verify their values to give you sufficient information. Isn't there a way to know them using the command line or by opening a specific file ?
Thanks a lot. Don't hesitate to give me advice, I will test it as soon as possible.
You can look at what Linux THINKS they are by
checking the respective values in /proc/dma,
/proc/interrupts and /proc/ioports ... doesn't necessarily
match the reality of the machine, though, since,
as I already said, Linux thinks the chipset is
PlugAndPlay while it really isn't in those machines.
Err... I am completely lost, despite the advice you gave me... (don't forget I am a complete noob !!!) I didn't know what to do, so I tested these commands (I started the system using the cs46xx module) :
With that infor I can't really help you, mate. Try to
run the TP configuration program from a DOS boot-
disk, and find out what the actual values are.
Then all you'll need to do is to make is the appropriate
changes to your /etc/modules.conf, e.g.
Code:
alias sb sound
options sb io=0x220 irq=5 dma=1 dma_16=5
But I am unable to boot on it. I get a message like "copying the system boot into hard drive"..., and LINUX starts... impossible to boot on it !
I tried to copy COMMAND.COM, empty files named AUTOEXEC.BAT and CONFIG.SYS : no results !
I tried to create system files using the Format functionality of Win9x : COMMAND.COM, DRVSPACE.BIN (what's this ?!), IO.SYS, MSDOS.SYS... no better results...
I tried to boot on 2 different win9x install CDs : both of them seem to be unreadable with the Matshita DVD-ROM drive. I wonder if it's still alive...
with your permission I would like to know how to make a correct boot disk to load the needed configuration utilities...
But I will give you some info about my /etc/modules.conf file :
It's empty, and it doesn't seem to be used by the system
however, a file named /etc/modprobe.conf seems to have a content similar to the lines you typed, but I cannot be sure :
* here is a backup of the file :
alias char-major-116-* snd
options sb io=0x220 irq=5 dma=7 dma_16=5 mpu_io=0x330
alias char-major-14-* soundcore
alias sound-slot-0 cs46xx
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-ossoptions
remove snd-cs46xx /sbin/modprobe --first-time -r --ignore-remove snd-cs46xx
install snd-cs46xx /sbin/modprobe --first-time --ignore-install snd-cs46xx
alias snd-0 snd-cs46xx
* and here is the current version of the file (with the options you gave me) :
alias char-major-116-* snd
alias char-major-14-* soundcore
alias sound-slot-0 cs46xx
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-ossoptions
remove snd-cs46xx /sbin/modprobe --first-time -r --ignore-remove snd-cs46xx
install snd-cs46xx /sbin/modprobe --first-time --ignore-install snd-cs46xx
alias snd-0 snd-cs46xx
alias sb sound
options sb io=0x220 irq=5 dma=1 dma_16=5
It was a long way, but I managed to install the Thinkpad Utilities on my computer.
For that I had to manage to reformat all the disk in order to have a FAT16 partition to install DOS and the Utilities.
while typing "ps2 ? AUDIO" at the prompt, I get this :
let's add the line "options cs4232 io=0x530 irq=5 dma=1 dma2=0" in modprobe.conf
and replace "alias sound-slot-0 cs46xx" by "alias sound-slot-0 cs4232"
while launching
# /etc/init.d/sound start
I get this :
-----
Loading sound module (cs4232) FATAL: Error inserting cs4232 (/lib/modules/2.6.11-6mdk/kernel/sound/oss/cs4232.ko.gz): No such device
-----
and when replacing all the "cs4232" in modprobe.conf by "cs46xx", I get this after # etc/init.d/ and so on...
-----
Loading sound module (cs46xx) [OK]
-----
but I get no sound.
For example, when I launch Audacity, I get this message :
"Erreur d'initialisation audio
Une erreur s'est produite au cours de l'initialisation de l'E/S audio
Vous ne pourrez pas lire ou enregistrer d'audio.
Erreur : host error"
Which means (roughly), for those who are not familiar with french :
"Audio initialization Error
An error occured while initializing the Audio I/O
You won't be able to play or record audio.
Error : host error"
Many thanks for anyone who will be able to give another clue...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.