Skip to contentSkip to conversation

chmod with USB sound device?

DISCUSSION william estrada 1 participant 1 message Oct 10, 2007 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Harald,

I revisited /etc/security/console.perms.d/50-default.perms
and got it to work.
For the list, I changed:
In /etc/security/console.perms.d/50-default.perms

Quoted 1 line
# permission definitions

.

Quoted 1 line

<console> 0666 <sound> 0666 root

And

     In /etc/udev/rules.d/50-udev.rules
Quoted 1 line

KERNEL=="snd/*", MODE="0666", OWNER="wre00:root"

Then I did the udevtrigger.

Then i did the udevtrigger, plugged in my USB sound device and got this:

Quoted 10 lines

[root@laptop wre00]# ls -lrt /dev/snd
total 0
crw-rw-rw- 1 wre00 root 116, 2 Oct 10 09:45 timer crw-rw-rw- 1 wre00 root 116, 3 Oct 10 09:45 seq crw-rw-rw- 1 wre00 root 116, 4 Oct 10 09:45 pcmC0D0p crw-rw-rw- 1 wre00 root 116, 5 Oct 10 09:45 pcmC0D0c crw-rw-rw- 1 wre00 root 116, 6 Oct 10 09:45 controlC0 crw-rw-rw- 1 wre00 root 116, 7 Oct 10 10:28 pcmC1D0p crw-rw-rw- 1 wre00 root 116, 8 Oct 10 10:28 pcmC1D0c crw-rw-rw- 1 wre00 root 116, 9 Oct 10 10:28 controlC1

I guess both changes are required but it now works.

Thanks for your time.

William Estrada
[email protected]
Mt-Umunhum-Wireless.net ( http://Mt-Umunhum-Wireless.net )
Ymessenger: MrUmunhum

Quoted 9 lines · Harald Hoyer
Quoted 8 lines · william estrada

Hi guys,

I'm trying to run 'chmod' on a USB sound card using 'Hot Plug' udev
support.
From reading, I think I need to update my
'/etc/udev/rules.d/50-udev.rules'?
I have made these changes:

Quoted 1 line
# audio devices

.

Quoted 8 lines
Quoted 1 line
Quoted 1 line

KERNEL=="snd/*", MODE="0666"

You may have a look in pam_console...
/etc/security/console.perms
/etc/security/console.perms.d/*