LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-30-2011, 07:25 PM   #1
Maestro485
Member
 
Registered: Apr 2004
Location: Pittsburgh
Distribution: Slackware
Posts: 136

Rep: Reputation: 16
Slackware 13.37, udev and USB devices


Hi all,

I was reading the Slackware release announcement and it mentions using udev to make USB devices work automatically. I've always just mounted things the old fashioned way and I was wondering if there are any simple ways to set up udev to do that for me.

I've done some Googling and it seems like I can either read a book about udev or the example given is too specific and I can't translate it to my own needs.

Any suggestions are welcome.
 
Old 04-30-2011, 07:38 PM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,071

Rep: Reputation: 1454Reputation: 1454Reputation: 1454Reputation: 1454Reputation: 1454Reputation: 1454Reputation: 1454Reputation: 1454Reputation: 1454Reputation: 1454
Are you running under X or a non-graphical command line?

Thunar, Nautilus, and Dolphin will mount USB drives out-of-the-box as long as you are a member of the plugdev group. If you aren't using one of those file managers, then you may have to use pmount to do the same.
 
Old 05-01-2011, 01:37 PM   #3
Maestro485
Member
 
Registered: Apr 2004
Location: Pittsburgh
Distribution: Slackware
Posts: 136

Original Poster
Rep: Reputation: 16
I'm using KDE. I made myself a member of the plugdev group but I get this error when I try to automount in Dolphin or using the USB tray icon:

An error occurred while accessing '465.8 GiB External Hard Drive', the system responded: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.46" (uid=1000 pid=3193 comm="kdeinit4: dolphin [kdeinit] -icon system-file-mana") interface="org.freedesktop.Hal.Device.Volume" member="Mount" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=1866 comm="/usr/sbin/hald))

Do I need to add a few lines to /etc/fstab or something similar?
 
Old 05-02-2011, 09:10 AM   #4
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackware 14.2, SlackwareArm-current
Posts: 1,215
Blog Entries: 4

Rep: Reputation: 183Reputation: 183
I think you have to be a member of a couple other groups as well (mount and another one IIRC). I need to put myself back them them as well
 
Old 05-02-2011, 09:43 AM   #5
zordrak
Member
 
Registered: Feb 2008
Distribution: Slackware
Posts: 595

Rep: Reputation: 115Reputation: 115
Quote:
Originally Posted by Maestro485 View Post
I'm using KDE. I made myself a member of the plugdev group but I get this error when I try to automount in Dolphin or using the USB tray icon:

An error occurred while accessing '465.8 GiB External Hard Drive', the system responded: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.46" (uid=1000 pid=3193 comm="kdeinit4: dolphin [kdeinit] -icon system-file-mana") interface="org.freedesktop.Hal.Device.Volume" member="Mount" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=1866 comm="/usr/sbin/hald))

Do I need to add a few lines to /etc/fstab or something similar?
Group permissions do not take effect in an existing session. Have you rebooted since making adding the user to plugdev? If not, do that and then try again. If it's still not working then it wouldn't hurt to add the user to a few other groups such as disk and cdrom, but plugdev should be sufficient.
 
Old 05-02-2011, 07:30 PM   #6
Maestro485
Member
 
Registered: Apr 2004
Location: Pittsburgh
Distribution: Slackware
Posts: 136

Original Poster
Rep: Reputation: 16
Ahhh yes, you must reboot, not just log out and log back in. Thanks! Works great on my laptop and desktop!
 
  


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
VirtualBox USB devices history effect: fstab and udev rules catkin Slackware 3 11-07-2010 10:48 AM
Slackware 12.2 + udev + usb printer permissions antitu Linux - Hardware 3 02-10-2009 11:51 AM
USB devices on Slackware, kernel 2.6.12.5 jaakkop Linux - Hardware 8 10-09-2005 12:28 AM
Slackware 10.1 + Udev Permissions and USB Drives rignes Slackware 3 03-07-2005 10:12 PM
slackware 9.1 USB mouse and other usb devices not working jimMC Linux - Hardware 11 01-24-2004 11:58 AM

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

All times are GMT -5. The time now is 04:32 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration