LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   udev, audio group, wtf (https://www.linuxquestions.org/questions/linux-newbie-8/udev-audio-group-wtf-386702/)

king111 11-26-2005 11:28 AM

udev, audio group, wtf
 
Code:

gpasswd -a username audio
mpg123 misc.mp3
... ... ...
... ... ...
Permission denied

The /dev entries have the correct permissions. Users in the audio group should be able the access the devices. However, as you can see, that's not true.

I looked at the udev permissions and everything looks fine.

By the way, I'm installing Slackware 10.2. So if I'm overlooking something new, tell me.

king111 11-26-2005 03:56 PM

Arghh! I have never in my recollection gotten a reply on these forums.

king111 11-26-2005 04:40 PM

Alright, I fixed it myself. It seems that my udev permissions WERE wrong and it took a second, and third, look at the file to understand that.

No thanks to you! :(

MasterC 11-26-2005 05:08 PM

;)

If we were looking at your perms we may have been able to tell you that, but since you covered that with "my perms are good" you got no replies. ;)

Sometimes, it feels good to get no replies though. Makes you feel like you've got a really hard problem. Much more satisfying when you fix it!

Glad you got it working, I personally have had my share of problems learning/working with udev in the past. Seems that most of the bugs are getting worked out, which is a great thing for us, I think udev is by far the best device filesystem we've had to play with in my time with Linux.

Cool

BinJajer 11-26-2005 05:11 PM

The thing is, that on this forum you have to wait 90 days for the post to be accepted :)

blindcoder 11-27-2005 02:54 AM

Quote:

Glad you got it working, I personally have had my share of problems learning/working with udev in the past. Seems that most of the bugs are getting worked out, which is a great thing for us, I think udev is by far the best device filesystem we've had to play with in my time with Linux.[/B]
I have to disagree. udev is by far the WORST I've ever had to work with wrt. /dev population. Hell, STATIC /dev entries were easier to work with since they worked when created.
devfs was by far the easiest to work with. mount it and it works. no fiddling with scripts, rules, no having to have a bash /bin/sh (yes, the udev scripts state #!/bin/sh but use bash extensions) in the initrd and so on and so forth.
Since the introduction of udev the initrd has grown by 133% in size! From 3 MB to 7MB! So much for 'udev is great, all hail udev'.

Benjamin

MasterC 11-28-2005 01:00 PM

;)

I have found it to be much easier to work with than devfs, and static /dev was nice, but I hated (as a newb at least) creating a new device for my newer components or oddball components, minor/major, etc. Seems with udev the devices are always there that I need, and it's much easier to maintain permissions with (compared to devfs, not static ;) ).

Cool

blindcoder 11-28-2005 03:52 PM

with devfs you edited devfsd.conf or devfsd.d/* and it was easily done.
I don't say the idea of udev is bad. I don't even say that the functions it provides are bad. But the implementation...


All times are GMT -5. The time now is 12:20 PM.