LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-03-2008, 01:24 PM   #16
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled

Yay, well done . I'm not sure why though, perhaps Kubuntu's udev config is different to Slackware's in that it doesn't allow using the ENV{*} keys (but I can't say for certain, because I don't know that much!). At least it works now!
 
Old 01-03-2008, 02:15 PM   #17
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092

Original Poster
Blog Entries: 1

Rep: Reputation: 90
I got it to mount/unmount automagically with this:

Code:
$ cat 82-meizu.rules
# montar/desmontar la particion del meizu
ACTION=="add", SUBSYSTEMS=="usb", DRIVERS=="usb", ATTRS{idVendor}=="0492", ATTRS{idProduct}=="0140", ATTRS{serial}=="000000E5E5000", \
        RUN+="/bin/mount /media/meizu"
ACTION=="remove", DEVLINKS=="*/dev/meizu*", \
        RUN+="/bin/umount -l /media/meizu"
And in fstab I have this line:
Code:
/dev/meizu      /media/meizu    vfat    defaults,uid=antoranz,gid=antoranz,utf8 0       0
 
  


Reply

Tags
udev



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
Making udev create a /dev/floppy symlink Yalla-One Slackware 7 07-06-2007 08:37 AM
slackware-current, udev 0.96, and custom udev rules not working rignes Slackware 6 08-10-2006 03:43 AM
udev trouble - can't auto-symlink Yalla-One Slackware 8 11-03-2005 06:04 AM
udev takes long time to create /dev/usbhd symlink Yalla-One Slackware 4 04-04-2005 03:27 AM
symlink mikedelo Linux - Software 2 03-28-2004 12:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:56 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
Open Source Consulting | Domain Registration