LinuxQuestions.org
Help answer threads with 0 replies.
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-06-2010, 05:51 PM   #31
hexeta
Member
 
Registered: Dec 2010
Location: Northwest UK
Distribution: Currently; Mint 9 Lxde
Posts: 87

Original Poster
Rep: Reputation: 0

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!
 
Old 12-06-2010, 05:56 PM   #32
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Quote:
Originally Posted by hexeta View Post
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.
 
Old 12-06-2010, 06:07 PM   #33
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,184

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

Last edited by snowpine; 12-06-2010 at 06:08 PM.
 
Old 12-06-2010, 06:21 PM   #34
hexeta
Member
 
Registered: Dec 2010
Location: Northwest UK
Distribution: Currently; Mint 9 Lxde
Posts: 87

Original Poster
Rep: Reputation: 0
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!
 
Old 12-06-2010, 06:25 PM   #35
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Quote:
Originally Posted by hexeta View Post
"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.
 
Old 12-06-2010, 06:31 PM   #36
hexeta
Member
 
Registered: Dec 2010
Location: Northwest UK
Distribution: Currently; Mint 9 Lxde
Posts: 87

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by snowpine
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.
 
Old 12-06-2010, 06:40 PM   #37
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,432

Rep: Reputation: 196Reputation: 196
Type in a terminal:

Code:
# dmesg
You can scroll back to find what it may have said about the codecs.
 
Old 12-06-2010, 06:42 PM   #38
hexeta
Member
 
Registered: Dec 2010
Location: Northwest UK
Distribution: Currently; Mint 9 Lxde
Posts: 87

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by GrapefruiTgirl View Post

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.
Typical, ya can't even trust wacha' read on google these days!!
I just took the first definition I came across which was here :-
http://searchsoa.techtarget.com/definition/grep

It's a whole new world out here in linux land!.........scary!
grep....I can imagine that it just finds stuff..........it sounds a lot like grope!
 
Old 12-06-2010, 06:47 PM   #39
hexeta
Member
 
Registered: Dec 2010
Location: Northwest UK
Distribution: Currently; Mint 9 Lxde
Posts: 87

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mlangdn View Post
Type in a terminal:

Code:
# dmesg
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!
 
Old 12-06-2010, 06:54 PM   #40
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
grep, grope, grape.. All the same!

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/'
 
Old 12-06-2010, 07:00 PM   #41
hexeta
Member
 
Registered: Dec 2010
Location: Northwest UK
Distribution: Currently; Mint 9 Lxde
Posts: 87

Original Poster
Rep: Reputation: 0
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) ??

Last edited by hexeta; 12-06-2010 at 07:03 PM.
 
Old 12-06-2010, 07:26 PM   #42
hexeta
Member
 
Registered: Dec 2010
Location: Northwest UK
Distribution: Currently; Mint 9 Lxde
Posts: 87

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mlangdn View Post
Type in a terminal:

Code:
# dmesg
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!
 
Old 12-06-2010, 07:38 PM   #43
hexeta
Member
 
Registered: Dec 2010
Location: Northwest UK
Distribution: Currently; Mint 9 Lxde
Posts: 87

Original Poster
Rep: Reputation: 0
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!"
 
Old 12-07-2010, 07:32 AM   #44
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

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

Original Poster
Rep: Reputation: 0
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!

Any takers??

Last edited by hexeta; 12-07-2010 at 08:11 AM.
 
  


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 02:02 AM
not sound on toshiba laptop running linux MINT kszabo Linux - Hardware 0 08-19-2009 02:06 PM
Sound Problem on Older Computer Running Linux Mint j1nxy06 Linux - Newbie 0 02-22-2009 11:02 AM
IBM ThinkPad, the sound works on boot, but then stops. larwana Linux - Laptop and Netbook 0 03-16-2004 12:36 PM


All times are GMT -5. The time now is 12:50 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