LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-18-2002, 07:48 PM   #1
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
stumped by sound AC97


Evenin' all,

I am stumped by sound. My install of mandy 8.2 won't make any noise.

Now being a nugget window$ drone, I don't really know what to do.

Mandrake seems to have loaded the module? for i810 audio. If I look in my xp, it says the sound device is an "Advance AC97" somewhere else it appears to be an intel 82801 BA/BAM AC97.

I've tried the "turning up the sound" trick - nothing.

Harddrake doesn't see the device??

Someone/somwhere else said something about the ALSA thing, but when I try to start it up, I get told that the ALSA drivers aren't running. How do I start them?

What should I do/where should I look next ???

Oh and any assistance you may be able to offer, please feel free to be as patronising as you want as I haven't got a clue about commands and shell syntax. I have only just managed to get my modem working after 4 or 5 weeks of trying, and that was because someone provided me with "monkey see, monkey do" instructions!

Thnx

John
 
Old 07-19-2002, 04:08 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Hey john, Since you are running Mandy8.2, I am assuming KDE? If so, open up kmix and see if you have the mixer controls. If so, then...

Do you have your speakers plugged in?/ Turned up?/ Plugged into the soundcard?

Sorry about the horribly lame questions there, but just ruling things out from easy to hard.
 
Old 07-19-2002, 04:09 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Oh, opening up kmix either, open a Konsole and type 'kmix' or go to K---Multimedia---Sound Mixer
 
Old 07-19-2002, 08:31 AM   #4
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692

Original Poster
Blog Entries: 9

Rep: Reputation: 45
Yo MasterC,

This is going to sound? really f*****g stupid.

I generally have to boot back into window$ as my beloved doesn't have a "scooby" (scooby doo - clue), anyway, to look for replies, I was still in XP and thought, "well, this bloke? answers loads of queries he might be right, turned the speakers up (I normally keep them down 'cos I burn the midnight oil, either can't sleep or I'm up at stupid o'clock for work) anyway, on reboot, I got the usual bye-bye noise from XP and presumed that rules out most of the points that you raised, but kicked into the 8.2 to try the rest of your suggestions.

So, into kde I go, throw a disc in (JJ72- an irish band per chance) and opened up the kde media player. Something called "noatun" pops up, and muggin's thinks " look at settings", nothing seems to register in the grey matter, options - the same conclusion. Ok, I make the huge descision to try klicking on the play button - and I get zero.

I lean across to eject the disc and by mistake, press the play button on the front of the unit, and bugger me sideways with the rough end of a pineapple I get "October swimmer" the first track!!!!!!!

As I type this post, I have it playing along. So now the problem is more defined, as in how do I actually use any of the App's to control it. I have closed the "noatun" and its still playing, I have previously tried the xmms player thingy and while under that it looks like I have a disc spinning and playing, I don't get any sound, but seem to be able to define the selected track number, but as I say, no noise and boy if there is one thing I love it's noise!!!

What do I need to try next? as obviously my install has recognised somehow that the chip is present, but the harddrake doesn't see the device although I have to presume that the correct driver is supported/included in the kernel version 2.4.18 (not that i'd be able to do anything even if it wasn't). I am just completely clueless as to how to associate the app's with the sound chip - I seem to recall someone telling me that on start up, kde plays a tune or noise of some description and of course, I get zilch!

Any further idea's or instruction are much appreciated.

regards

John (X-R.N. VD scar and bar!!!)

p.s. is it you that works as a naval chemist/pharmacist?

Last edited by bigjohn; 07-19-2002 at 08:35 AM.
 
Old 07-20-2002, 02:05 AM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Wow John, excellent reply! That is really strange about the sound playing when you hit the play button on the CDROM. I think that was the way I used to play my CD's on my old computer a long time ago, I think it didn't have a soundcard or something, so we would plug our headphones into the jack on the front of the CDROM drive to listen to the music.

Have you ran sndconfig? I can't remember if Mandrake comes with that installed or not. What do you get when you type 'LSMOD' (not in caps)?

And just for fun I did some googling around to see about the intel 810 based chipset, and how to get it configured on Linux. As you said, it refers you to ALSA. So here is what I found out about that:
Go to http://www.alsa-project.org/download.php3 and get the latest release (If you are bleeding edge kinda guy, then go cvs, otherwise get latest stable - Here is the latest stable release of the driver.)
Then go to the directory you downloaded it to and utar it:
bzcat alsa-driver-0.5.12a.tar.bz2 | tar xv
and 'cd' into the alsa-driver directory.
You can optionally run ./configure --help to see ALL of your options, or you can run ./configure --with-cards=intel8x0
make && make install
run the snddevices with ./snddevices apparently this will create the necessary devices in /dev
And then modify /etc/modules.conf and add this:
Code:
# ALSA portion
        alias char-major-116 snd
        options snd snd_major=116 snd_cards_limit=1
        alias snd-card-0 snd-card-intel8x0
There is also an OSS option. Doesn't require any configuring if your kernel supports OSS. Try doing a 'modprobe i810_audio' and see if anything results.

You may also have something called 'alsaconf' that you can run and have it do most of the leg work for you.

I found most of this info at http://www.exocore.com/technologies/...0-6.php3#ss6.1
So if it doesn't work, sorry.

Oh yeah, and I wouldn't base my knowledge off the number of times I respond to help people, I am still very much a newbie myself. I have been 'linuxin' for about 2 years, and just recently figured alot of this stuff out. I love Mandrake 8.2 though, and know how to use it very well.

You may also want to check aumix or gmix, just for fun to make sure the volume is up on those 2.

And yes, KDE on startup does play a jingle. And yes, I am the Navy Pharmacy Tech/Chemist. Not sure if I am the only one on here (likely I am though), but I am one nonetheless.

Good luck to you, and if you need anymore help, don't hesitate to respond. And if the response is something like "You a$$ MasterC, you have no idea what you are talking about! I hate you, and I will now vow to never be nice to another Navy Pharmacy tech ever again", then I will understand.

Hope it works out
 
Old 07-20-2002, 08:14 AM   #6
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692

Original Poster
Blog Entries: 9

Rep: Reputation: 45
Ta a lot 4 that, I'll print it off and see how I get on and let you know via a post subject f.a.o. masterc.

As for being rude, I wouldn't be as it still amazes me the levels of assistance offered by the "linux cognescenti" to nuggets like me.

But as an ex killick sparker* the only shit I might occassionally flick would be service related. As a med branch techie your shore to sea ratio is probably heavily biased toward shore hence if you had "been in" this side of the pond you would definitely take crap about being a "shiney arsed scab lifter" (in my case, I did just under 10 years and that was about 7 and a half years of sea time to 2 and a half shore - which included training courses totaling about 14 months) but this is mainly due to the high levels of inter service competitiveness.

My ex branch is classed as general service, as a result we also had fleet air arm aka wafu's (wet and f*****g useless)/passengers (last on, first off), the submarine service aka pressure heads (reasons are obvious)/the great unwashed (from the days of limited water on diesel boats) and finally the Royal marines aka trees/green death (obvious) and sometimes trigger (speed of racehorse, strength of carthorse and brains of rocking horse). Your branch/department didn't have a nickname as such because the only time the rest of us would come into contact with medical types was usually brought about by some kind of physical pain (and there is usually only 1 medical assistant onboard a destroyer/frigate sized ship - very occassionally a doctor).

For a real insight into the levels of sarcasm the ex and serving royal navy types are capable of, a full reference is available in a book called "Jackspeak - the pussers rum guide to Royal Navy slanguage". It was written by a bloke called Rick Jolly who is notorious for a) writing the book and b) he ran the "Ajax Bay field hospital during the Falklands conflict in 1982. Oh and at the time happened to be a Surgeon Commander.

For your assistance, I shall have a drink on your behalf (grog - rum and water at a 2 to 1 ratio) none of this "sippers or gulpers" stuff, in my case it's always "sandy bottoms!".

I will let you know how I get on.

*Killick sparker (Leading Radio Operator) - roughly equivalent to a PO 3rd class radioman.

Regards

bigjohn

(sorry if I sound a bit "anchor faced" but even having joined my last ship (citizenship) 6 years ago, it's still a piece of cake to drop back into the jargon!)

Last edited by bigjohn; 07-20-2002 at 08:20 AM.
 
Old 07-21-2002, 02:28 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Wow, you sound like an old salty to me I am a corpsman (medic of sort) first, and specialized in Pharmacy. I too am a PO 3rd class, cool. I may give that book a read sometime (Jackspeak). Not quite sure on the "anchor faced" reference, as I am definitely a "shiney arsed scab lifter". I have never even been on a tour of ship, and have spent the better part of my enlistment thus far in schools learning how to count tablets. I spent a good few months with the US Marines, training in the field and such, and that was great fun, but never been on board anything larger than a water raft (about 8 men total).

Is this "pension paradise, west sussex" a real place? Sounds like a place straight out of an old war movie; "I can't wait until I get home, then the wife and I are going to move to Pension Paradise, West Sussix, and build us a jolly big home mate. And raise us a couple mini tykes." I picture is an island built for ten, with beautiful skies, and white sandy beach. Something similar to the movie "The beach".

If I stay in for very long, I think I would like to go to a ship for a little while, just to see what it would be like, and to get out and about in the world. The farthest from my home town I have been was Virginia, which is still stateside. I am sure that at first I would for sure be a "wafu", but hopefully not for long. I'll most likely be getting out soon though, as I only have a year and 1 month left on my current/first enlistment. The specialty I chose has a much better career outside the military than do most others, so I wouldn't be doing myself much good if I stayed in and lived the life of a sailor. There are a few people I have met that would love to go to ships that you speak of, where there is only 1 doctor, and 1 or 2 corpsman (medical assistants/medics). It sounds like it would be a fun time. But I definitely like to have solid ground under my feet, and a guaranteed woman (my wife) in my bed at night (and not one of ship's company either). Does the British Navy allow women in their military yet? I am a bit blinded from the rest of the world, so I have no idea what happens outside these boarders if it's not on the news, so I am sorry if that is a dumb question. Oh, and I was also wondering, what do you call your Hospital Corpsman (medics), or do you have any, or are they all doctors of some sort?

Hope you are having some luck with the sound issue...

PS - Like the jargon, makes me laugh when I read it.
 
Old 07-21-2002, 04:39 AM   #8
ronin24
Member
 
Registered: May 2002
Location: Sweden
Distribution: Suse 8.0
Posts: 35

Rep: Reputation: 15
Put the following lines in '/etc/modules.conf"

# ALSA native device support
alias char-major-116 snd
alias snd-card-0 snd-card-via8233


and the sound should work.
 
Old 07-24-2002, 01:10 PM   #9
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692

Original Poster
Blog Entries: 9

Rep: Reputation: 45
still stumped by sound ac97 f.a.o. MasterC

Hello thread,

As per masterC suggestion, I have finally had the time to see what comes of it.

When trying the "lsmod" command, as far as the sound stufff is concerned, it tells me "i810_audio size "whatever" used by 0, then it says soundcore size *** used by 2, finally it says ac97_codec size **** used by 0.

I then did the download of the alsa driver and followed the instructions to the "T" and i have managed to do the "bzcat yadah yadah" and it does its "thang" I cd into the "alsa-driver.0.5.12a/" directory, yes thats worked, and then I go for the ./configure --with-cards=intel8x0 command and it starts to do some stuff and gets all the way to "checking kernel version... expr:syntax error (which it repeats a further 2 times) before it throws in "failed (probably missing /usr/src/linux/include/linux/version.h) and screws me!!!!!

followed by cries of b*****d b*****d linux s**t f*****g computer etc etc etc.

I finally return to the sanity of Messr's Page and Plant (aka Led Zepplin) to be able to type this post. Thank god for the open/close and play/skip buttons on the front of the cd drive.

So the question is what next (oh and I tried the modprobe i810_audio thing also mentioned and it isn't recognised as a user and when I su into root, it just dumps me straight back to a # prompt with no output)


And as for your question about "pensioners paradise, west sussex" MasterC, there are quite a few so called retirement areas in the uk, mostly by the sea, with a large stretch on the south coast. You would need to check a UK map but it runs (with a few exceptions) from about Hastings in East Sussex (as in the "Battle of Hastings, 1066 a.d. etc) to probably as far as West of Plymouth (you know pilgrim fathers etc). A large concentration being the Sussex coast (this excludes Brighton, which has, apparently the largest gay population in europe, a lot of "actors" and is supposed to be mega trendy! though having been born there, I don't see it as that - but there is obviously something in it cos on the weekend of my last birthday, July 13th, "Fat Boy Slim" aka Norman Cook, did a dance gig on the beach, they expected about 60,000 to attend, but actually got an estimated 250,000. Clare and me just sat and watched it on TV and you could hardly see the sea, it was just heads as far as the cameras and lights would reach).

To sum it up, you would have to take Florida for the "oldies", dump San Francisco in the middle for the "shirt-lifters" and add a small sprinkling of oh I don't know, say Beverly Hills, place it in a bucket, water it down and the result would be the "pensioners paradise of east and west sussex plus Brighton. I, personally would describe it as a pretty neat place to live, except its bloody expensive. Which is why we can no longer afford to live actually in Brighton, but just to the west by 10 miles, far enough to make it affordable(ish).

As Billy Connoly would say "but I digress"! I should apologise as it may seem that I am overly reliant on you fine assistance, but when you know as little about linux etc as I do, blind faith in others is all i've got. (sad eh!)

And before I close, how do I reproduce any output from any given command and be able to "cut/paste" it into a post cos while I can just about manage 40 words per minute of plain text typing, all that command syntax stuff slows my keyboard skills down to the speed of a "striking slug". I wait with eyeballs peeled for any further ideas.

regards

john


p.s. As far as getting some sea time in is concerned, as a pharmacy tech, in the world that I was in, (when I was still in the "mob") you would probably be restricted to "big ships" i.e. carriers or fleet support stuff that could accommodate a hospital type set up (during conflict of course as they only exercise that sort of thing during major "war games"). The basic level of "corpsman" would be a "leading medical attendant" (PO 3rd equivalent as below that, they are only sent to sea in a training billet) their role is basically that of a paramedic with prescribing entitlement - i.e. if theres no doc onboard, the scab lifter will dish the pills out. Oh and of course there is the added bonus that they get to follow the geneva convention and don't have to do any "fire-arms" stuff.
 
Old 07-24-2002, 01:12 PM   #10
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692

Original Poster
Blog Entries: 9

Rep: Reputation: 45
Oh and thanx for the suggestion ronin24, MasterC has included that in his post, except I haven't managed to get as far as doing the file edit yet.

regards

John
 
Old 07-24-2002, 10:25 PM   #11
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Okay, I've been following this for a while, the rhyming slang scared me, as did half of the naval metaphors, but I regress. When MasterC suggested modprobing i810_audio, that was the normal old (not alsa) kernel module, right? If it just drops you back at another prompt, its in there. The command "dmesg" would be helpful at that point, the kernel's record of having found stuff, to see if the mdoule bound to the card and whatnot.

Calmed back to sensibility by Messr's Page and Plant eh? I don't understand that, I just can't hack to Zep.

Cutn'paste. Windows stuffs things in a buffer with: hightlight with the mouse+ctril+c In KDE and Gnome, just highlight the area, leave it highlighted, and paste with the middle mouse button, or if you don't have one, click both mouse buttons at once.

Luck BigJohn,

Cheers,

Finegan
 
Old 07-25-2002, 03:09 AM   #12
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692

Original Poster
Blog Entries: 9

Rep: Reputation: 45
Intel 810 + AC97 Audio, version 0.21, 03:22:49 Mar 15 2002
PCI: Found IRQ 11 for device 00:1f.5
PCI: Sharing IRQ 11 with 00:1f.3
PCI: Setting latency timer of device 00:1f.5 to 64
i810: Intel ICH2 found at IO 0xe000 and 0xdc00, IRQ 11
lp0: compatibility mode
i810_audio: Audio Controller supports 6 channels.
ac97_codec: AC97 Audio codec, id: 0x414c:0x4710 (ALC200/200P)
i810_audio: AC'97 codec 0 supports AMAP, total channels = 2


Cheers for that finegan, above is the audio related output generated using the dmseg command (My mouse is a generic scroller - and though it doesn't have a proper middle button, it's got a "clickable scroll" and as you can see above I have "hoisted in" you instructions).

The only problem is that whilst some of the output looks familiar, it means nothing to me. This is where the frustration starts to creep in calling for a fix of either heavy rock or metal of some sort (was it shakespear who said something about music calming the savage beast?). Anyway having to spend ones life as a "doer" and not a "thinker" is probably lifes biggest frustration. Hence, I appreciate the help I get beyond words, but I sometimes wonder whether I will ever feel that I am "part of the clan".

As shown but my being able to posting the dmesg output, I manage to grasp the train of thought by following "monkey see, monkey do" instruction, but am reticent to try anything more due to previous disasters during the setting up of my dual boot (I was climbing the walls after about the 5th reload of xp. mainly as a result of only having a speedtouch usb to access the net and having to drop back into xp to be able to surf - but that is now sorted and I only suffer minor annoyances with my set up).

What should I try next please???

regards

John

Last edited by bigjohn; 07-25-2002 at 03:11 AM.
 
Old 07-25-2002, 03:24 AM   #13
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692

Original Poster
Blog Entries: 9

Rep: Reputation: 45
[john@localhost alsa-driver-0.5.12a]$ ./configure --with-cards=i810
loading cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for linux/fs.h... yes
checking for working const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for directory with kernel source... /usr/src/linux
checking for kernel version... expr: syntax error
expr: syntax error
expr: syntax error
failed (probably missing /usr/src/linux/include/linux/version.h)


Now i've got this pasting/posting thing under my belt, This is the output I get when I try the "configure" command with the alsa driver download.

Any suggestions as to what I should do next are much appreciated.

regards

John
 
Old 07-25-2002, 03:31 AM   #14
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Do you have the "source" installed from your mandrake CD? If not, go ahead and plop it in and RPM it in. It will install the kernel source to /usr/src/linux-2.4.18-mdk and then you will need to point the installer there. At least that's how I read that... I will give it a round and see if I come up with something else/better.
 
Old 07-25-2002, 03:35 AM   #15
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
With a quick googling around, you will want to make a symbolic link "symlink" with:
ln -s /usr/src/linux-2.4.18mdk /usr/src/linux

Then the ./configure will find the correct file.
 
  


Reply



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
sound with AC97 Spartan552 *BSD 13 11-17-2005 01:17 PM
No sound at all with FC4 and on board AC97 sound ATI motherboard janie Fedora 2 10-13-2005 11:50 AM
No sound with AC97 and LE LinxNew Mandriva 3 05-19-2005 03:43 PM
AC97 int. sound slackware 9.0 no sound TheDanLayerOSI Linux - Hardware 1 06-13-2003 04:42 AM
AC97 Sound Help Please KeithKessler Linux - General 0 05-24-2002 09:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:47 AM.

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
Open Source Consulting | Domain Registration