public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] need to be in wheel for sound?
@ 2006-02-25 10:35 Antoine
  2006-02-25 14:15 ` Benno Schulenberg
  0 siblings, 1 reply; 7+ messages in thread
From: Antoine @ 2006-02-25 10:35 UTC (permalink / raw
  To: gentoo-user

Hi,
I just had to add the missus to wheel for her to get sound in kde - is 
this normal? She was in audio, video, games and users and had no sound. 
I looked at my groups and the only plausible difference was wheel. Sure 
enough adding her to wheel did the trick. Now not that I don't trust the 
wife - but well, should someone have to be in wheel to get sound? Am I 
wrong or is there some logic somewhere that explains this? A config 
option to change?
Cheers
Antoine
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] need to be in wheel for sound?
  2006-02-25 10:35 [gentoo-user] need to be in wheel for sound? Antoine
@ 2006-02-25 14:15 ` Benno Schulenberg
  2006-02-27 18:52   ` Antoine
  0 siblings, 1 reply; 7+ messages in thread
From: Benno Schulenberg @ 2006-02-25 14:15 UTC (permalink / raw
  To: gentoo-user

Antoine wrote:
> I just had to add the missus to wheel for her to get sound in kde

Check the permissions and owners in /dev/s{,ou}nd?

Benno
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] need to be in wheel for sound?
  2006-02-25 14:15 ` Benno Schulenberg
@ 2006-02-27 18:52   ` Antoine
  2006-02-27 20:08     ` gentuxx
  2006-02-27 20:13     ` Richard Fish
  0 siblings, 2 replies; 7+ messages in thread
From: Antoine @ 2006-02-27 18:52 UTC (permalink / raw
  To: gentoo-user

Benno Schulenberg wrote:
> Antoine wrote:
> 
>>I just had to add the missus to wheel for her to get sound in kde
> 
> 
> Check the permissions and owners in /dev/s{,ou}nd?
> 
> Benno

tux ~ # ls -l /dev/sound/
total 0
crw-rw----  1 root audio 14, 12 Jan 19 20:29 adsp
crw-rw----  1 root audio 14,  4 Jan 19 20:29 audio
crw-rw----  1 root audio 14,  3 Jan 19 20:29 dsp
crw-rw----  1 root audio 14,  0 Jan 19 20:29 mixer
crw-rw----  1 root audio 14,  1 Jan 19 20:29 sequencer
crw-rw----  1 root audio 14,  8 Jan 19 20:29 sequencer2
tux ~ # ls -l /dev/sound/audio
crw-rw----  1 root audio 14, 4 Jan 19 20:29 /dev/sound/audio

The groups seem right... but even after adding her to wheel the problems 
persist after a reboot. It seems bizarre as I haven't had sound problems 
for ages.
Cheers
Antoine
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] need to be in wheel for sound?
  2006-02-27 18:52   ` Antoine
@ 2006-02-27 20:08     ` gentuxx
  2006-02-27 20:13     ` Richard Fish
  1 sibling, 0 replies; 7+ messages in thread
From: gentuxx @ 2006-02-27 20:08 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Antoine wrote:

> Benno Schulenberg wrote:
>
>> Antoine wrote:
>>
>>> I just had to add the missus to wheel for her to get sound in kde
>>
>>
>>
>> Check the permissions and owners in /dev/s{,ou}nd?
>>
>> Benno
>
>
> tux ~ # ls -l /dev/sound/
> total 0
> crw-rw---- 1 root audio 14, 12 Jan 19 20:29 adsp
> crw-rw---- 1 root audio 14, 4 Jan 19 20:29 audio
> crw-rw---- 1 root audio 14, 3 Jan 19 20:29 dsp
> crw-rw---- 1 root audio 14, 0 Jan 19 20:29 mixer
> crw-rw---- 1 root audio 14, 1 Jan 19 20:29 sequencer
> crw-rw---- 1 root audio 14, 8 Jan 19 20:29 sequencer2
> tux ~ # ls -l /dev/sound/audio
> crw-rw---- 1 root audio 14, 4 Jan 19 20:29 /dev/sound/audio
>
> The groups seem right... but even after adding her to wheel the
> problems persist after a reboot. It seems bizarre as I haven't had
> sound problems for ages.
> Cheers
> Antoine

I have never bee able to get the sound working right in KDE for my
normal user account.  I know it has to be permissions related somehow,
since it seems to work for root.  I've got the same permissons you do
in /dev/sound, and  my user account is also in the wheel group.  I
wonder if it matters what your "primary" group is, as mine is (or was)
NOT wheel.

- --
gentux
echo "hfouvyAdpy/ofu" | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint ==> 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)

iD8DBQFEA1xMLYGSSmmWCZMRAry3AKDwEnWcXUQcR2h44Jw3VG+2PNqZAQCdEEF6
yj0jsApISC7D6sO9HyGimyo=
=+0jo
-----END PGP SIGNATURE-----

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] need to be in wheel for sound?
  2006-02-27 18:52   ` Antoine
  2006-02-27 20:08     ` gentuxx
@ 2006-02-27 20:13     ` Richard Fish
  2006-02-27 20:55       ` Uwe Thiem
  1 sibling, 1 reply; 7+ messages in thread
From: Richard Fish @ 2006-02-27 20:13 UTC (permalink / raw
  To: gentoo-user

On 2/27/06, Antoine <melser.anton@gmail.com> wrote:
> tux ~ # ls -l /dev/sound/
> total 0
> crw-rw----  1 root audio 14, 12 Jan 19 20:29 adsp
> crw-rw----  1 root audio 14,  4 Jan 19 20:29 audio
> crw-rw----  1 root audio 14,  3 Jan 19 20:29 dsp
> crw-rw----  1 root audio 14,  0 Jan 19 20:29 mixer
> crw-rw----  1 root audio 14,  1 Jan 19 20:29 sequencer
> crw-rw----  1 root audio 14,  8 Jan 19 20:29 sequencer2
> tux ~ # ls -l /dev/sound/audio
> crw-rw----  1 root audio 14, 4 Jan 19 20:29 /dev/sound/audio

These are the legacy OSS device nodes.  Most likely KDE is using the
alsa device nodes at /dev/snd/.  What are the permissions on those?

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] need to be in wheel for sound?
  2006-02-27 20:13     ` Richard Fish
@ 2006-02-27 20:55       ` Uwe Thiem
  2006-02-28 20:25         ` Benno Schulenberg
  0 siblings, 1 reply; 7+ messages in thread
From: Uwe Thiem @ 2006-02-27 20:55 UTC (permalink / raw
  To: gentoo-user

On 27 February 2006 22:13, Richard Fish wrote:
> On 2/27/06, Antoine <melser.anton@gmail.com> wrote:
> > tux ~ # ls -l /dev/sound/
> > total 0
> > crw-rw----  1 root audio 14, 12 Jan 19 20:29 adsp
> > crw-rw----  1 root audio 14,  4 Jan 19 20:29 audio
> > crw-rw----  1 root audio 14,  3 Jan 19 20:29 dsp
> > crw-rw----  1 root audio 14,  0 Jan 19 20:29 mixer
> > crw-rw----  1 root audio 14,  1 Jan 19 20:29 sequencer
> > crw-rw----  1 root audio 14,  8 Jan 19 20:29 sequencer2
> > tux ~ # ls -l /dev/sound/audio
> > crw-rw----  1 root audio 14, 4 Jan 19 20:29 /dev/sound/audio
>
> These are the legacy OSS device nodes.  Most likely KDE is using the
> alsa device nodes at /dev/snd/.  What are the permissions on those?

Just read through the thread again. It isn't clear what *kind* of sound the 
original poster Antoine meant.

There is a big difference between playing sound files residing on your 
harddisk and playing CDs in your CD-ROM. For the latter, you don't really 
need access to those audio devices but to the CD-ROM because a CD player like 
kscd only sends commands to it and receives responses from it. The CD-ROM 
then sends the audio stream directly to your soundcard; it isn't really going 
through your CPU.

uwe@uwix ~ $ ls -l /dev/cdrom
lrwxrwxrwx 1 root root 3 Feb 27 14:25 /dev/cdrom -> hdd
uwe@uwix ~ $ ls -l /dev/hdd
brw-rw---- 1 root cdrom 22, 64 Feb 27 14:25 /dev/hdd

As you can see, the CD-ROm isn't in the audio but in the cdrom group. So if 
your problem is with CDs add your users to group cdrom.

If that isn't your problem, play with the options under Control Center -> 
Sound & Multimedia -> Sound System -> Hardware -> Select the audio device.

I used to have it set to Autodetect and no OSS support in the kernel. That 
worked. All of a sudden - probably after the update to KDE 3.5.1, but I am 
not completely sure here - that stopped working. Setting the "audio device" 
to ALSA explicitly didn't work either. Now I need the OSS emulation in my 
kernel and "audio device" set to OSS explicitly. 

Uwe

-- 
Why do consumers keep buying products they will live to curse?
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] need to be in wheel for sound?
  2006-02-27 20:55       ` Uwe Thiem
@ 2006-02-28 20:25         ` Benno Schulenberg
  0 siblings, 0 replies; 7+ messages in thread
From: Benno Schulenberg @ 2006-02-28 20:25 UTC (permalink / raw
  To: gentoo-user

Uwe Thiem wrote:
> Just read through the thread again. It isn't clear what *kind* of
> sound the original poster Antoine meant.

Yes, some lack of info.  Just system sounds, or all sounds?  Does 
catting a file to /dev/sound/dsp produce noise?  Is everything muted 
maybe?  Is arts running?  Does it say "true" on the relevant lines 
wen doing 'grep Arts .kde/share/config/*'?  What version of KDE?  
Two users on the same box?  Two different boxes?

Benno
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-02-28 20:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-25 10:35 [gentoo-user] need to be in wheel for sound? Antoine
2006-02-25 14:15 ` Benno Schulenberg
2006-02-27 18:52   ` Antoine
2006-02-27 20:08     ` gentuxx
2006-02-27 20:13     ` Richard Fish
2006-02-27 20:55       ` Uwe Thiem
2006-02-28 20:25         ` Benno Schulenberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox