LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 07-10-2006, 07:52 AM   #1
tuxangler
Member
 
Registered: Mar 2006
Location: Germany
Distribution: OpenSuSE 10.3 x86-64 SMP - Kernel 2.6.23.14
Posts: 42

Rep: Reputation: 15
No auto-mount for USB-Device


Hi!
I would like to mount my mobile phone automatically.
My First try was an udev-rule like:

Code:
KERNEL=="ttyUSB[0-6]*", SYSFS{idVendor}=="10ab", SYSFS{idProduct}=="10c5", NAME="mobile", MODE="666", GROUP="uucp", USER="toni", RUN+="/usr/bin/scmxx -d /dev/mobile --set-time", ACTION=="add"
This works well. Time on phone is synced with plugging in the data cable.
It creates the phone as /dev/mobile.

In SuSE 9.3 i solved the problem with subfs. But it has gone with 10.0
How to automatically mount the Mobile's flexmem with SuSE 10.1?
Mount by Hand with "mount /media/mobile" is working.

/etc/fstab
Code:
/dev/mobile          /media/mobile        siefs      rw,auto,exec,user,sync,iocharset=utf8,mode=660 0 0
/etc/auto.master
Code:
/misc   /etc/auto.misc
/etc/auto.misc
Code:
mobile          -fstype=siefs,sync,noatime,nodev,umask=000     :/dev/mobile

Last edited by tuxangler; 07-11-2006 at 12:28 AM.
 
Old 07-12-2006, 08:24 AM   #2
fopetesl
Member
 
Registered: Jan 2005
Location: Yorkshire Dales, UK
Distribution: Ubuntu 5.10; Mandriva 2007; Debian Lenny
Posts: 146

Rep: Reputation: 15
Exclamation

Can I suggest that you look at the pain I've just had:
http://www.linuxquestions.org/questi...d.php?t=462097

Maybe not exactly what you need but I think the answer lies in autofs.
ATB Peter
 
Old 07-12-2006, 12:07 PM   #3
tuxangler
Member
 
Registered: Mar 2006
Location: Germany
Distribution: OpenSuSE 10.3 x86-64 SMP - Kernel 2.6.23.14
Posts: 42

Original Poster
Rep: Reputation: 15
Thank you for the Link.
But i cant see a Solution for my Problem.
 
  


Reply

Tags
autofs, automount, mobile, mount, phone, udev, usb


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
usb device no longer auto mounted by kde popup oily_rags Suse/Novell 5 03-24-2006 06:38 AM
usb device auto detect akudewan Ubuntu 1 03-09-2006 08:37 AM
how to auto-mount usb storage mirto Slackware 7 01-05-2006 10:48 AM
how can I mount this device: da0: <USB 2.0 Storage Device alkad_mzu *BSD 2 11-15-2003 06:15 PM
Auto Mount Floppy/CD/USB Asificare Red Hat 2 08-29-2003 09:53 AM


All times are GMT -5. The time now is 03:00 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration