LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-15-2008, 01:01 AM   #16
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31

Quote:
Originally Posted by rkelsen View Post
Just out of curiosity, what are the permissions on /dev/dsp?
Thank god someone finally asked this question. It should have been the first thing to look at, being that it's a permissions problem with sound after all.

Just to be sure important details don't get left out, we need to know what the output of `ls -al /dev/sound` is in both runlevels.

Last edited by evilDagmar; 01-15-2008 at 01:15 AM.
 
Old 01-15-2008, 10:19 AM   #17
Melkor
Member
 
Registered: Aug 2003
Location: MN
Distribution: Linux Mint
Posts: 179

Original Poster
Rep: Reputation: 34
Permissions on /dev/dsp are the first things I checked. They're exactly what they should be, 660.

I don't think it's a problem with arts; when I'm in KDE in runlevel 4 as a non-root user, /dev/dsp actually doesn't even exist.

At this point I'm fairly certain this is some kind of bug in KDM. Thanks for the suggestions though, guys.
 
Old 01-15-2008, 10:23 AM   #18
Melkor
Member
 
Registered: Aug 2003
Location: MN
Distribution: Linux Mint
Posts: 179

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by gilead View Post
I love a good story are you using the tg3 driver with your Broadcom card? Changing to that fixed a problem I was having with a workstation here.
I never actually managed to get the tg3 driver installed. I downloaded it from Broadcom's site, and it errored out on all kinds of crap on the build.

Why can't they just provide coherent drivers like everyone else? Their build process is defective and I didn't feel like debugging their scripts for them, so I gave up on it after wasting a couple of hours of my own time on it.

Wifi works (I'm using the Intel 3945 mini card), so I'm satisfied with that for now. Maybe someone else can reverse engineer whatever Broadcom POS is on this particular laptop (I haven't even been able to figure out which of about a dozen chipsets it is), but until then I'll have to put up with no wired ethernet support.
 
Old 01-15-2008, 10:33 AM   #19
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Quote:
Originally Posted by Melkor View Post
Permissions on /dev/dsp are the first things I checked. They're exactly what they should be, 660.

I don't think it's a problem with arts; when I'm in KDE in runlevel 4 as a non-root user, /dev/dsp actually doesn't even exist.

At this point I'm fairly certain this is some kind of bug in KDM. Thanks for the suggestions though, guys.
If that is so then try running XDM to see if it does the same thing. Maybe it isn't a KDM exclusive problem and if it is you will know another workaround. If it is KDM, perhaps see if you can change any configuration on it or run it manually to see if it has the same effect.
 
Old 01-15-2008, 10:38 AM   #20
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Quote:
Originally Posted by Melkor View Post
Wifi works (I'm using the Intel 3945 mini card), so I'm satisfied with that for now. Maybe someone else can reverse engineer whatever Broadcom POS is on this particular laptop (I haven't even been able to figure out which of about a dozen chipsets it is), but until then I'll have to put up with no wired ethernet support.
What's the output of lspci -vv?
http://hardware4linux.info/system/2101/
 
Old 01-15-2008, 11:54 AM   #21
Melkor
Member
 
Registered: Aug 2003
Location: MN
Distribution: Linux Mint
Posts: 179

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by shadowsnipes View Post
If that is so then try running XDM to see if it does the same thing. Maybe it isn't a KDM exclusive problem and if it is you will know another workaround. If it is KDM, perhaps see if you can change any configuration on it or run it manually to see if it has the same effect.
Yeah, I'm going to try that tonight and see if it's any different.
 
Old 01-15-2008, 11:55 AM   #22
Melkor
Member
 
Registered: Aug 2003
Location: MN
Distribution: Linux Mint
Posts: 179

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by Alien_Hominid View Post
What's the output of lspci -vv?
http://hardware4linux.info/system/2101/
I'm at work at the moment, and I didn't bring my laptop with me today; I'll have to try that this evening after I get home.
 
Old 01-15-2008, 12:20 PM   #23
mastemmer
Member
 
Registered: Jul 2007
Location: Porto Alegre, Brazil
Distribution: Slackware
Posts: 44

Rep: Reputation: 17
I am also having trouble with sound in KDE on Slackware 12.
On some computers KDE astsd crashes with SIGSEGV.
I made a post in LinuxQuestons about this:
http://www.linuxquestions.org/questi...83#post2813783
Also check your permissions.
By default users have to belong to the 'audio' group to have access to sound.
 
Old 01-15-2008, 12:26 PM   #24
Melkor
Member
 
Registered: Aug 2003
Location: MN
Distribution: Linux Mint
Posts: 179

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by mastemmer View Post
I am also having trouble with sound in KDE on Slackware 12.
On some computers KDE astsd crashes with SIGSEGV.
I made a post in LinuxQuestons about this:
http://www.linuxquestions.org/questi...83#post2813783
Also check your permissions.
By default users have to belong to the 'audio' group to have access to sound.
You know, I keep seeing that, and I'd believe it, except for three things:

1) Sound works fine when I'm logged in as myself in runlevel 3

2) Sound works fine for non-root users on the other two machines on which I am running Slackware 12

3) There doesn't seem to be an "audio" group out of the box

Last edited by Melkor; 01-15-2008 at 12:28 PM.
 
Old 01-15-2008, 01:59 PM   #25
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Quote:
Originally Posted by Melkor View Post
There doesn't seem to be an "audio" group out of the box
really? Mine has it and I know I didn't add it. Anybody else not have audio as one of their groups under /etc/group?

My main user is a part of
Code:
users wheel audio video cdrom games plugdev power crossover burning vmware
with the last three groups being special groups I created.

This may not be your problem but I am curious.
 
Old 01-15-2008, 02:49 PM   #26
Melkor
Member
 
Registered: Aug 2003
Location: MN
Distribution: Linux Mint
Posts: 179

Original Poster
Rep: Reputation: 34
Weird.

I'll look into it. Maybe I'm hosing something up in the way I worded my "usermod" command. I don't do that very often, so that very well could be the case.
 
Old 01-15-2008, 05:53 PM   #27
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,445
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Quote:
Originally Posted by Melkor
Permissions on /dev/dsp are the first things I checked. They're exactly what they should be, 660.
On my system, they're 777 because /dev/dsp is a symlink to /dev/sound/dsp whose permissions are actually 662. This would explain why non-audio group users can write to the sound card on other setups.

I'm thinking that there may be a problem with the audio hardware (or detection of it) on this particular box.
Quote:
Originally Posted by Melkor
There doesn't seem to be an "audio" group out of the box
There is an audio group. It has been there as long as I can remember.
 
Old 01-15-2008, 08:34 PM   #28
Melkor
Member
 
Registered: Aug 2003
Location: MN
Distribution: Linux Mint
Posts: 179

Original Poster
Rep: Reputation: 34
Nope, I had my head up my ass. I did a "usermod -G audio myusername" and switched to runlevel 4 and it magically worked.

I had my syntax wrong on the usermod command before, which I do often (durrrrrrrrr).

Now, what I still don't get is why does sound work just fine in KDE at runlevel 3 if I wasn't a member of the audio group?



Baffling.

Thanks for the help though, guys. I appreciate it.
 
Old 01-15-2008, 08:46 PM   #29
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Have a look in /etc/login.defs - in run level 3, you're logging in to the console and you get membership of some groups for free:
Code:
#
# List of groups to add to the user's supplementary group set
# when logging in on the console (as determined by the CONSOLE
# setting).  Default is none.
#
# Use with caution - it is possible for users to gain permanent
# access to these groups, even when not logged in on the console.
# How to do it is left as an exercise for the reader...
#
CONSOLE_GROUPS          floppy:audio:video:cdrom
 
Old 01-16-2008, 12:07 AM   #30
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Quote:
Originally Posted by gilead View Post
Have a look in /etc/login.defs - in run level 3, you're logging in to the console and you get membership of some groups for free:
Code:
#
# List of groups to add to the user's supplementary group set
# when logging in on the console (as determined by the CONSOLE
# setting).  Default is none.
#
# Use with caution - it is possible for users to gain permanent
# access to these groups, even when not logged in on the console.
# How to do it is left as an exercise for the reader...
#
CONSOLE_GROUPS          floppy:audio:video:cdrom
Thank you, gilead. I think many people learned something from this, and we can now sleep soundly tonight
 
  


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
changing to runlevel 1 windycity_linux Linux - Newbie 5 01-16-2007 10:14 PM
Changing runlevel in Fedora Cake Linux - Newbie 1 11-11-2004 07:24 PM
problem in changing runlevel in linux schandak Red Hat 1 09-24-2004 05:25 PM
problem changing runlevel Smokey Slackware 3 08-17-2004 10:05 PM
mplayer makes weird beeping sounds when playing avi's gervin Linux - Newbie 0 03-25-2004 03:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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