LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 12-21-2005, 08:23 AM   #1
PsypherPunk
Member
 
Registered: Jul 2005
Location: Leeds, UK
Distribution: SuSE 10.0
Posts: 108

Rep: Reputation: 15
iPod & udev


When i attach my iPod Nano it gets nicely mounted at /media/usb-0020000... or something. i read an article elsewhere on using the udev rules to specify a device name and mount point. Here's the line i put in /etc/udev/rules.d/10-ipod.rules:

Code:
BUS=="usb", SYSFS{serial}=="000A2700127A2B47", SYSFS{idVendor}="05ac" , SYSFS{product}=="iPod", NAME{all_partitions}=="ipod"
However, with this in place the device doesn't get mounted anywhere. It claims there's no /dev/sda and no /dev/ipod nor is there anything created in /media.

What am i doing wrong?
 
Old 12-21-2005, 11:41 AM   #2
geeman2.0
Member
 
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345

Rep: Reputation: 30
I don't know anything about udev rules... but:
If your iPod is getting mounted, then that's all you need in order to be able to write/read from it.

From linux's point of view, an iPod is just a mass USB storage device.
So my question for you is why bother creating a special device node if it's already being mounted properly?
 
Old 12-21-2005, 12:44 PM   #3
PsypherPunk
Member
 
Registered: Jul 2005
Location: Leeds, UK
Distribution: SuSE 10.0
Posts: 108

Original Poster
Rep: Reputation: 15
It's purely a learning matter. i've had problems in the past where USB devices weren't recognised and weren't getting mounted. At the time i didn't know how to resolve it; now this would appear to be the way.

Obviously something is happening to mount this (seemingly the default udev rules) but i don't know what. But i'd like to.
 
  


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
Udev & devices trouble Macky Slackware 1 12-01-2005 02:11 PM
iPod not mounting with sbp2 / udev / autofs / hotplug nakko Linux - Hardware 3 06-13-2005 05:50 PM
ipod with udev on gentoo Greg Haynes Linux - Hardware 5 04-01-2005 05:48 AM
Java & JOGL & udev install on Fedora probs! striderwho Linux - Newbie 0 01-30-2005 03:44 AM
FC 3 & gtkpod & Ipod issues yamaduc Fedora 4 01-03-2005 05:16 AM


All times are GMT -5. The time now is 09:49 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