LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 12-07-2010, 09:17 AM   #46
hexeta
Member
 
Registered: Dec 2010
Location: Northwest UK
Distribution: Currently; Mint 9 Lxde
Posts: 87

Original Poster
Rep: Reputation: 0

Quote:
Originally Posted by reed9 View Post
@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 View Post
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!

Last edited by hexeta; 12-07-2010 at 09:43 AM.
 
Old 12-07-2010, 09:22 AM   #47
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
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.

Last edited by brianL; 12-07-2010 at 09:25 AM.
 
Old 12-07-2010, 09:22 AM   #48
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
You can try the script. Copy into a text editor and save as soundcard-on. Move it to the suggested location and make it executable
Code:
sudo mv soundcard-on /usr/local/sbin
sudo chmod +x /usr/local/sbin/soundcard-on
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.
 
Old 12-07-2010, 09:24 AM   #49
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
Quote:
Originally Posted by hexeta View Post
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.
 
Old 12-07-2010, 09:39 AM   #50
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,050

Rep: Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108
Quote:
Originally Posted by reed9 View Post
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...
 
Old 12-07-2010, 09:50 AM   #51
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
Quote:
Originally Posted by snowpine View Post
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.
 
Old 12-07-2010, 10:14 AM   #52
hexeta
Member
 
Registered: Dec 2010
Location: Northwest UK
Distribution: Currently; Mint 9 Lxde
Posts: 87

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by brianL View Post
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?
 
Old 12-07-2010, 10:17 AM   #53
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
Quote:
Originally Posted by hexeta View Post
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?
Just use sudo
Code:
sudo alsaconf
sudo alsactl store
 
Old 12-07-2010, 10:20 AM   #54
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
Yeah, all three as root. With Mint being based on Ubuntu, use sudo (then enter your password) before them all.
Code:
sudo alsaconf
Code:
sudo alsamixer (set your levels)
Code:
sudo alsactl store
It's like the Arctic circle here. Roads & pavements like skating rinks.

****! Beaten by a faster typer again! Must use more fingers!!!

Last edited by brianL; 12-07-2010 at 10:23 AM.
 
Old 12-07-2010, 10:44 AM   #55
hexeta
Member
 
Registered: Dec 2010
Location: Northwest UK
Distribution: Currently; Mint 9 Lxde
Posts: 87

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by reed9 View Post
You can try the script. Copy into a text editor and save as soundcard-on. Move it to the suggested location and make it executable
Code:
sudo mv soundcard-on /usr/local/sbin
sudo chmod +x /usr/local/sbin/soundcard-on
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!
 
Old 12-07-2010, 10:52 AM   #56
hexeta
Member
 
Registered: Dec 2010
Location: Northwest UK
Distribution: Currently; Mint 9 Lxde
Posts: 87

Original Poster
Rep: Reputation: 0
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...
 
Old 12-07-2010, 10:56 AM   #57
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,050

Rep: Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108
See my post #20. You need alsa-utils installed ("sudo apt-get install alsa-utils") if you want to use alsamixer and alsaconf.
 
Old 12-07-2010, 10:59 AM   #58
hexeta
Member
 
Registered: Dec 2010
Location: Northwest UK
Distribution: Currently; Mint 9 Lxde
Posts: 87

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by reed9 View Post
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.
Save the script as a text file............where?
 
Old 12-07-2010, 11:01 AM   #59
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
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.
 
Old 12-07-2010, 11:03 AM   #60
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
Quote:
Originally Posted by hexeta View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No Sound on ThinkPad T22 Running Ubuntu 10.04 s giustizia Ubuntu 3 09-11-2010 03:02 AM
not sound on toshiba laptop running linux MINT kszabo Linux - Hardware 0 08-19-2009 03:06 PM
Sound Problem on Older Computer Running Linux Mint j1nxy06 Linux - Newbie 0 02-22-2009 12:02 PM
IBM ThinkPad, the sound works on boot, but then stops. larwana Linux - Laptop and Netbook 0 03-16-2004 01:36 PM


All times are GMT -5. The time now is 10:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration