LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-09-2003, 11:17 AM   #16
esterling
LQ Newbie
 
Registered: Aug 2003
Location: Seattle
Distribution: Mandrake 9.0
Posts: 4

Rep: Reputation: 0
Re: Re: Solution found (for me at least)


Quote:
Originally posted by Strike
Bad! Look up at my post for why (and the right solution). Or if you are too lazy, here is a link.
tisk: GEE, aren't you a real sweetie. There's no need to call people lazy just because they didn't see your post earlier. Besides, it's not like it's utterly idiotic, the 666 mode for those files is actually the original default on the Mandrake 9.0. It was after seeing the other suggested to chmod that I compared file permissions on sound-related files between a working system and a non-working system, after all.

On the other hand, the grouping solution *is* a good idea, and I can see that plenty fine, despite the manner in which the message was communicated...:
 
Old 08-09-2003, 03:33 PM   #17
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 31
Esterling: I think you took the comment by Strike the wrong way.

He did not call anybody lazy. He said "if you are too lazy" to look up the thread, and then he graciously offered a link to save everybody (now or in the future when searching the archived threads) the trouble of searching further.

And just because a distribution does something as default does not mean that it is correct.

Back in days of olde, Sun used to ship Solaris with a default rhosts file of + + which meant anybody anywhere could rlogin to the account, and I think it was in fact the root account that had this file.

So maybe, Mandrake will get their act together and improve security on the devices.

Remember, security begins at home.
 
Old 08-10-2003, 03:59 PM   #18
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Yeah, I didn't mean to offend anyone (this time ), was just trying to be nice

And Corin makes the exact same point that I would, so .. read his post
 
Old 08-11-2003, 08:47 AM   #19
ksnash
Member
 
Registered: Jul 2003
Location: Pensacola,Florida
Distribution: Mandrake 9.1
Posts: 41

Rep: Reputation: 15
try going to kde control center and switching back and forth between alsa and OSS. I also had to tweek the alsa config file a little before I got sound. I have to modprobe in snd-trident to get the alsa sound in. trident is OSS module, snd-trident is ALSA module.

OSS-<driver> ALSA snd-<driver>
 
Old 08-11-2003, 08:48 AM   #20
ksnash
Member
 
Registered: Jul 2003
Location: Pensacola,Florida
Distribution: Mandrake 9.1
Posts: 41

Rep: Reputation: 15
(cont)..You should have a bunch of aliases for sound in module.conf for different devices.
 
Old 08-11-2003, 12:46 PM   #21
esterling
LQ Newbie
 
Registered: Aug 2003
Location: Seattle
Distribution: Mandrake 9.0
Posts: 4

Rep: Reputation: 0
OK. My apologies for being snappy.

The universe got me back, though. After two days of audio perfection, I'm having sound troubles again. They're weirder, though.

When I launch kde it gives me the /dev/dsp can't be opened error (twice, in fact), but I have no trouble listening to music on xmms. But wait! The volume control on xmms does absolutely nothing. Only my hardware volume control on the front of my laptop effects the volume. Xine, on the other hand, closes as soon as it launches because it says it doesn't have permission to use /dev/dsp. Mplayer works, IF I run it as root (and how scary is that? but I was desperate, it was a blockbuster dvd and I didn't want to return it before getting to watch!). If I try to use Mplayer as a user it just sends the audio to null, saying that there's no permission for /dev/dsp.

I've got it set now so that /dev/dsp is owned by root.audio and that all the users over 500 (that would be me, my two teenage kids and my better half) have group membership in audio. My guess is that there is some non-human user which needs to be added to the audio group, too. Any thoughts?

Oh, and yes, /dev/dsp and /dev/mixer (or rather their actual targets, since each of those are links to other files in my system) are 660.

I did notice that the ln's are both lr-xr-xr-x. Maybe that's the prob? The lack of w in the permissions on the symbolic links? How the heck do you change permissions on a symbolic link, though? chmod just changes the permissions on the target...
 
Old 08-11-2003, 05:01 PM   #22
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 31
Is esd or artsd getting in the way?
 
Old 12-01-2004, 05:35 AM   #23
cgtueno
Member
 
Registered: Jul 2003
Posts: 363

Rep: Reputation: 50
Hi guys

I've got the same problem.

Dell Optiplex GX 1 - PIII 450
Integrated sound adapter Crystal 4263
Mandrake Community 10

I've tried a number of sound cards but the symptoms are the same.

I cannot get the sound to work.
I've used the KDE control centre to no effect.

Has someone managed to get it to work.
Is it just the permissions on the device ?

Chris
 
Old 12-04-2004, 08:13 PM   #24
cgtueno
Member
 
Registered: Jul 2003
Posts: 363

Rep: Reputation: 50
Hi

I use Dell Optiplex GX1 PIII with integrated 4236 Crystal Ausio
Mandrake 10 community :

Open a terminal
run sndconfig
if its not there then
return to the desktop
select mandrake control centre/ install software
specify sndconfig
it will prompt for an install CD
follow prompts to install sndconfig
go back to terminal session
run sndconfig
it will update your modules.conf file

Note that you might have to correct the permissions
on /dev/sound and /dsp/audio

Test the adapter from KDE configure / desktop / sound


***NOTE***

Under Mandrake 10 community:

I found that I cannot use the embeded 4236 in Full duplex mode from KDE.
In the end I had to rummage through a collection of PCI sound cards
until I found one that worked.

If you just want to play sound effects, CDs etc then the embeded 4236 will
work fine. If you want to use Skype, etc then you need to install a PCI
sound card with full duplex capability.

Hope that helps a bit

Chris

Last edited by cgtueno; 12-04-2004 at 08:19 PM.
 
  


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
Sound Problem: /dev/dsp could not be opened webzila Linux - Hardware 3 11-25-2005 04:40 PM
/dev/dsp cannot be opened blanks Linux - Hardware 4 06-16-2004 10:59 PM
No sound > device /dev/dsp can't be opened DarkGhost Linux - Hardware 1 12-25-2002 06:36 PM
dev/dsp can't be opened cijunet Linux - General 3 12-03-2002 09:12 PM
dev/dsp can't be opened cijunet Linux - Newbie 1 12-03-2002 03:52 PM

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

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