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.
@OP: Can you run this script from the alsa project and point us to the pastebin upload.
Blimey!!!
Just followed your link!
Do I just copy and paste that into "Terminal", or do I have to prefix it with "sudo"?
Quote:
Originally Posted by reed9
and point us to the pastebin upload.
I presume this is the text equivalent of "Photobucket", how do I access it?
.....time passes!
Just googled "Pastebin" and seems I'm right, which one do I use?
There are several listed in my search results!
.........more time passes
Scratch that,...I think!
I have just read (well, scanned!) the text of the linked page, (totally foreign to me!) but right at the end is mentioned Pastebin.ca.......I think that answers my question!
All I need to know now is do I paste it into terminal prefixed by "sudo" or just as it stands?
Exciting!
Did you run alsaconf (as suggested by mlangdn in post #13), before running alsamixer and alsactl store?
Running that usually detects your sound card(s), and sorts out which modules to load.
Open /etc/modprobe.d/cs4236pnp.conf as root in a text editor (we're creating this file)
Code:
gksudo gedit /etc/modprobe.d/cs4236pnp.conf
Add the lines at the bottom of the page and save.
Code:
# Kill any attempts from hotplug or discover to load the PCI driver
install snd-cs46xx /bin/true
# Set up PnP before loading ISA driver
install snd-cs4236 /usr/local/sbin/soundcard-on
Reboot and see what happens. There's nothing in the script that's dangerous, so the worst that can happen is it doesn't work.
Blimey!!!
Just followed your link!
Do I just copy and paste that into "Terminal", or do I have to prefix it with "sudo"?
I presume this is the text equivalent of "Photobucket", how do I access it?
Save the script as a text file named alsa-info.sh and do
Code:
sh ./alsa-info.sh
Don't use sudo. It automatically uploads the info and gives you a link.
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.
Thanks for clarifying that; I'm not experienced with Pulseaudio and always assumed it was some kind of Alsa replacement...
Thanks for clarifying that; I'm not experienced with Pulseaudio and always assumed it was some kind of Alsa replacement...
It's a replacement for the enlightenment sound daemon. Basically it goes from the decoder, like gstreamer, to the sound server, pulseaudio or esd, to the alsa hardware drivers. The idea with pulseaudio is to route all audio through one server which in theory gives you more control and allows you to do all manner of fancy things, mixing, sending audio over a network, etc.
Did you run alsaconf (as suggested by mlangdn in post #13), before running alsamixer and alsactl store?
Running that usually detects your sound card(s), and sorts out which modules to load.
Hi Brian, if it's "an overcoat colder" up there, I'm glad I don't work on Hollins Road any more!!
Answer is, no I didn't run "alsaconf" because mlangden said it needs to be run as root, and I don't know how to do that!
I'm not sure if I've run the other two commands, do they also need to be run as root?
Hi Brian, if it's "an overcoat colder" up there, I'm glad I don't work on Hollins Road any more!!
Answer is, no I didn't run "alsaconf" because mlangden said it needs to be run as root, and I don't know how to do that!
I'm not sure if I've run the other two commands, do they also need to be run as root?
Open /etc/modprobe.d/cs4236pnp.conf as root in a text editor (we're creating this file)
Code:
gksudo gedit /etc/modprobe.d/cs4236pnp.conf
Add the lines at the bottom of the page and save.
Code:
# Kill any attempts from hotplug or discover to load the PCI driver
install snd-cs46xx /bin/true
# Set up PnP before loading ISA driver
install snd-cs4236 /usr/local/sbin/soundcard-on
Reboot and see what happens. There's nothing in the script that's dangerous, so the worst that can happen is it doesn't work.
This is concerning the script on the Thinkwiki site I linked to, right?
Forgive me for being stupid, but I'm really getting in deeper than my knowledge or experience permits!
From the top!....
paste the script into leafpad and name it "soundcard_on"......OK,
Save it to/usr/local/sbin....yes,
But what is the implication of this:- "Don't forget to make it executable."?
And what am I to do with the code you post after this instruction?
...........and that's just the first step!
Hi Brian, your post #54 here's the terminal response:- ~ $ sudo alsaconf
[sudo] password for hexeta:
sudo: alsaconf: command not found
~ $ sudo alsamixer
cannot open mixer: No such file or directory
~ $ sudo alsactl store
alsactl: save_state:1502: No soundcards found...
Ah, must be that Pulseaudio, or whatever. I haven't tried Mint. I'm lost.
Follow reed9's instructions, see what happens.
chmod +x turns a shell script from more-or-less a text file into an executable.
This is concerning the script on the Thinkwiki site I linked to, right?
Forgive me for being stupid, but I'm really getting in deeper than my knowledge or experience permits!
From the top!....
paste the script into leafpad and name it "soundcard_on"......OK,
Save it to/usr/local/sbin....yes,
But what is the implication of this:- "Don't forget to make it executable."?
And what am I to do with the code you post after this instruction?
...........and that's just the first step!
This line is making it executable
Code:
sudo chmod +x /usr/local/sbin/soundcard-on
Once you've copied the script to /usr/local/sbin just enter the above in the terminal.
This is open to a text editor as root
Code:
gksudo gedit /etc/modprobe.d/cs4236pnp.conf
Replace gedit with leafpad, if that's what you have installed.
Copy and paste these lines into the file we opened in leafpad above.
Code:
# Kill any attempts from hotplug or discover to load the PCI driver
install snd-cs46xx /bin/true
# Set up PnP before loading ISA driver
install snd-cs4236 /usr/local/sbin/soundcard-on
Quote:
Save the script as a text file............where?
Anywhere. Just put it in your home folder. We're just using it once.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.