Ancient Thinkpad running Mint 9 cannot get sound to endure re-boot
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 really can't believe that in an operating system that differentiates between upper and lower case, that the use of either hyphen or underscore appears to matter not a jot!
I've just entered "sudo modprobe snd-cs4236"
After that I entered "lsmod | less", and sure enough snd_cs4236 had appeared in the list!
Next, I entered "sudo rmmod snd-cs4236" which had the desired effect of removing "snd_cs4236" from the next listing.
I really can't believe that in an operating system that differentiates between upper and lower case, that the use of either hyphen or underscore appears to matter not a jot!
I've just entered "sudo modprobe snd-cs4236"
After that I entered "lsmod | less", and sure enough snd_cs4236 had appeared in the list!
Next, I entered "sudo rmmod snd-cs4236" which had the desired effect of removing "snd_cs4236" from the next listing.
Unbelievable!
Unbelievable indeed!
You'll find that there are (to my knowledge) no(1) other usage cases where this applies. Only when dealing with kernel modules and `modprobe` or `rmmod` as such, can you interchange the underscore with the dash. Note that `grep` (like everything else) does differentiate, so grepping for a dash will not find you an underscore.
(1) If there are other cases where this is true, I will happily stand corrected.
(2) I seem to remember reading something about the reasoning behind this, but don't know when or what/where.
Thanks GrapefruiTgirl,
I'm really struggling with this Linux world, and now I have to look up every other word!!
Had no idea what "Grep" could possibly mean...I'm much wiser now
: definition -
Grep, a UNIX command and also a utility available for Windows and other operating systems, is used to search one or more files for a given character string or pattern and, if desired, replace the character string with another one. For example, a UNIX system user can enter on a command line:
grep html homepage.htm
snowpine, you can't be more disappointed that you were not right than I am mate!!
That was what's known as a bummer!
"Grep" could possibly mean...I'm much wiser now
: definition -
Grep, a UNIX command and also a utility available for Windows and other operating systems, is used to search one or more files for a given character string or pattern and, if desired, replace the character string with another one. For example, a UNIX system user can enter on a command line:
grep html homepage.htm
I'm a little mixed up, and maybe you are too. Please re-read the grep manpage, and read the sed manpage too. I believe you'll find that sed can find and, if desired, replace/alter the stuff it finds. But grep does not replace anything - it only finds stuff.
I am still not 100% convinced Mint uses Alsa instead of Pulseaudio... be careful because I have no idea what happens if you try to mix Alsa and Pulse.
As my last installation was getting sicker and sicker, at boot-up, I was getting maybe two full screen-fulls of text just repeating the same thing on every line, in essence it was saying over and over again that it was having an "AC97 Read Problem".
AC 97 is, I understand to do with the sound, but I know nothing more.
Even on this install, which is relatively healthy, there is some ref to AC 97 Audio codecs or something, it goes so fast, you just can't read it.
I'm a little mixed up, and maybe you are too. Please re-read the grep manpage, and read the sed manpage too. I believe you'll find that sed can find and, if desired, replace/alter the stuff it finds. But grep does not replace anything - it only finds stuff.
You can scroll back to find what it may have said about the codecs.
Thanks for that, just tried it now, but pressing "Enter" just returns a new prompt, am I doing something wrong?
Maybe I need to do it soon after booting?
It would certainly be a very handy tool if I could master it!
Anyhow, if you've no access to local man pages, here's a good location to read them online, and be fairly sure you're reading something accurate while you're at it: http://linux.die.net/man/
Here's a fun sed game to play in the console. (it's short and has only one move):
Code:
echo "grep, grope, grape" | sed 's/e/h/g;s/o/y/;s/h/i/'
It's 01:00 here, and I'm needing some sleep, I've been in front of this box since 13:00, a full 12 hrs
but I can't resist one re-boot just to see if the addition of snd-cs4236 to the file "/etc>modules" has made any difference!
Just a small question, why is it that I can double click files such as that and they will open in "leafpad", but notes that I make in "leafpad" return this error message when double clicked Failed to execute child process "/home/hexeta/Documents/term" (No such file or directory) ??
You can scroll back to find what it may have said about the codecs.
Just re-booted and tried this.
Realise now that navigation is via the up/down arrows!
Trouble is it only recalls what has happened within the terminal.
What I was having trouble with was the DOS screens that just scroll text for fun.
It is of no use to man nor beast if you cannot either stop, capture or slow it to a pace that you can read......it might as well not be there!
Whilst shutting down and re-booting, I was ready with pen in hand!
on shut down, I was left with a Green on black DOS screen which proclaimed "This Killed, That Killed, and The Other Killed"
Among all this death and destruction was the following phrase, is it of ant importance?
"init: alsa-mixer-save main process (4259) terminated with status 1"
PS. "init" is a slang term here abouts meaning "isn't it?"
or to be a bit "posh", "Is it not?".
Then whilst booting, this bit of script was seen, there could have been more, but this was all I caught!
Create neverread codec from AC 97 the syntax might not be quite accurate but it must be significant........to someone.......mustn't it??
Now I really am off to bed!
Last edited by hexeta; 12-06-2010 at 07:44 PM.
Reason: "Fun!"
Oh well, I guess the hyphen/underscore discrepancy was not the issue after all...
I made an additional suggestion in post #20, and I think mlandn made a good suggestion back in #13.
I am still not 100% convinced Mint uses Alsa instead of Pulseaudio... be careful because I have no idea what happens if you try to mix Alsa and Pulse.
I think Mint does use pulseaudio, certainly the GNOME version, but there is still the alsa on the backend. Pulseaudio doesn't handle the hardware, it passes that off to the alsa drivers.
@OP: Can you run this script from the alsa project and point us to the pastebin upload.
Hi folks,back again after a good sleep....and a healthy dollop of Grapefruit marmalade!
Unfortunately, I'm just going through the same old same old, with, not surprisingly, the same old results.
Just another observation on my final, final shut down last night; amongst the dead and dying was the following:-
[ 42.497254] create-never read codec ready from AC'97
[ 42.497495]
it is not probably bug, try to use cs4236 driver
(the apostrophy between C and 9 is intentional)
This is followed by the usual comment:-
"init: alsa-mixer-save main process (4259) terminated with status 1"
The only change there being the number in brackets...not sure if that's significant.
Hope that some whiz out there can shed some light and help me get my sound back!
I keep comming back to this:- http://www.thinkwiki.org/wiki/Script...ip_in_PnP_mode
Especially in view of the dying words of the programmer suggesting use of the cs4236 driver.
It seems we are on the right track, just need to find out how to apply it.
I really need someone who understands the information in the above link, and who can guide me on how to use it!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.