LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-13-2008, 06:09 PM   #1
lostdj
Member
 
Registered: Nov 2007
Location: Michigan
Distribution: Mandriva 2008.1
Posts: 38

Rep: Reputation: 15
Sound - What is is, how does it work, and why will it NOT work at the same time?


So here we go agin

Ya know, i learn more things about linux by just asking simple questions on LQ then i do reading TONS of other peoples questions.

I recently bought a new laptop, installed mandriva on it. I got the wifi working (still a little wierd) with an openHal snapshot. All kinds of success. But now i must drop into 2 other subjects that have been bugging me alot. The first, is the SOUND.

What DOES work

+ All the sounds in KDE works just fine, from system sounds, to Amarok, to all the video players. The instant touch buttons on the top of the laptop work to change the sounds up and down, mute, play next/prev ,
stop, pause. All the audio editing programs have sound output.

+ All programs using SDL work just fine, from OpenArena to a few others. Most of the games that come with my Distro (i downloaded them all) work just fine.

What DOES NOT work

ALot. All the emulators i have do not work. ZSNES, Snes9x. (my most favorite thing to play)

About half the games i play do not work.

-Alien Arena
-MY FAVORITE - Enemy Territory (wolfenstein) (ID)

I bought QUAKE4 and installed it, worked fine, NO SOUND.

Anything that does not use SDL does not work.

BUT - MOST AGGRAVATING THEN ANYTHING
WINE does not have sound. And that puts me into the dirt. I use wine
for alot of the programs i use. And theres no support. On all other
computers i have the most recent wine release, sound works fine.

I figure because sounds only works HALF the time, this is not just a WINE problem.

THE QUESTION

How its set up (Under the (mandriva) Control Center:

Driver: Intel HDA driver (snd_hda_intel [ALSA])
[x] PulseAudio Enabled
[x] Enable 5.1 sound with Pulse Audio
[x] Automatic routing from ALSA to PulseAudio
[x] Enable user switching for audio applications

How do i find out what device i have?
Altec Lansing is the speakers but not the device right?
Is there some other driver i can use? Should i switch to OSS (if possible) or would that be dangerous?
I have no idea what i am doing in this area.

Any help would be greatly appreciated.
 
Old 08-13-2008, 07:34 PM   #2
lostdj
Member
 
Registered: Nov 2007
Location: Michigan
Distribution: Mandriva 2008.1
Posts: 38

Original Poster
Rep: Reputation: 15
Question lspci -v

00:07.0 Audio device: nVidia Corporation MCP67 High Definition Audio (rev a1)
Subsystem: Hewlett-Packard Company Unknown device 30cf
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 21
Memory at f6480000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
 
Old 08-13-2008, 07:37 PM   #3
lostdj
Member
 
Registered: Nov 2007
Location: Michigan
Distribution: Mandriva 2008.1
Posts: 38

Original Poster
Rep: Reputation: 15
Lightbulb (root) lspci -v

00:07.0 Audio device: nVidia Corporation MCP67 High Definition Audio (rev a1)
Subsystem: Hewlett-Packard Company Unknown device 30cf
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 21
Memory at f6480000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask+ 64bit+ Queue=0/0 Enable-
Capabilities: [6c] HyperTransport: MSI Mapping Enable- Fixed+
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
 
Old 08-13-2008, 08:27 PM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
There's a few tips 'n' tricks here: http://ck.kolivas.org/faqs/audio_hints.txt. Start at the OpenAL games section to jump right in.
 
Old 08-15-2008, 11:24 PM   #5
lostdj
Member
 
Registered: Nov 2007
Location: Michigan
Distribution: Mandriva 2008.1
Posts: 38

Original Poster
Rep: Reputation: 15
um yeah

what is that??

that doesnt help me at all.

wtf
 
Old 08-15-2008, 11:27 PM   #6
lostdj
Member
 
Registered: Nov 2007
Location: Michigan
Distribution: Mandriva 2008.1
Posts: 38

Original Poster
Rep: Reputation: 15
/dev/dsp does not work

any program that uses that doesnt work

alot of programs 'auto' detect the audio - but they dont work.

obvously, audio is only half-way installed.

ANY HELP PLEASE
 
Old 08-16-2008, 02:18 AM   #7
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
You said
Quote:
Any help would be greatly appreciated.
And this is supposed to be your appreciation...
Quote:
Originally Posted by lostdj View Post
um yeah

what is that??

that doesnt help me at all.

wtf
um yeah

You'll get plenty of help with responses like that!!

Did you even read, or better yet try, any of the suggestions listed on that page?

Quote:
What DOES work

+ All the sounds in KDE works just fine, from system sounds, to Amarok, to all the video players. The instant touch buttons on the top of the laptop work to change the sounds up and down, mute, play next/prev ,
stop, pause. All the audio editing programs have sound output.

+ All programs using SDL work just fine, from OpenArena to a few others. Most of the games that come with my Distro (i downloaded them all) work just fine.
Yet you have determined...
Quote:
obvously, audio is only half-way installed.
Hmmm, so what could possibly be missing??

Oh, and for the record Enemy Territory (wolfenstein) (ID) & QUAKE4 both have sound under wine on my Mandriva.

Last edited by {BBI}Nexus{BBI}; 08-16-2008 at 02:23 AM.
 
Old 08-16-2008, 09:38 PM   #8
lostdj
Member
 
Registered: Nov 2007
Location: Michigan
Distribution: Mandriva 2008.1
Posts: 38

Original Poster
Rep: Reputation: 15
yup

thanks you. thats helpful also.
 
Old 08-16-2008, 10:17 PM   #9
lostdj
Member
 
Registered: Nov 2007
Location: Michigan
Distribution: Mandriva 2008.1
Posts: 38

Original Poster
Rep: Reputation: 15
Ok i read into what you told me too. And for some magical reason, Snes9x audio works now. Which is great. But amazingly enough, all the other things that use /dev/dsp do not.

When i run enemy territory this is what i get for the sound output:


------- sound initialization -------
/dev/dsp: Input/output error
Could not mmap /dev/dsp
------------------------------------

And for Snes9x (now working)

Starting sound
--> (OSS : /dev/dsp)...OK
Map_HiROMMap

I tried using that OpenAL library stuff, but i will not compile, i imagine my sound card is not compat like it says.
The wine stuff is very interesting also... it says


Quote:
Getting wine to use the alsa sound card is also worth doing.

in config file
[WinMM]
"Drivers" = "wineoss.drv"

can be changed to
[WinMM]
"Drivers" = "winealsa.drv"
on both wine/cedega

or to
[WinMM]
"Drivers" = "winejack.drv"
on wine (probably not cedega)

consider also enabling mmap support, which helps on some hardware.
the prob i have is, exactly what is... where is.. the 'in config file' for wine.

well, theres lots to do. lots to figure out. SORRY for being an asshole NEXUS

Last edited by lostdj; 08-16-2008 at 10:19 PM.
 
  


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
work at same time Rita G. Debian 5 01-26-2008 10:58 AM
program does not work the first time, work only after restart powah General 1 11-18-2007 12:52 PM
Mplayer doesn't work from time to time. silin Linux - Newbie 1 02-28-2006 07:51 PM
Why time slot mentioned in /etc/security/time.conf doesn't work pihu Linux - Security 1 01-06-2006 01:20 AM
Sound doesn't work after some time away. SirLancelotX Linux - Software 4 08-14-2003 01:46 PM

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

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