Find the answer to your Linux question:
Results 1 to 4 of 4
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User PsypherPunk's Avatar
    Join Date
    Jan 2005
    Location
    Leeds, UK
    Posts
    257

    iPod


    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?
    Registered Linux User #379728

    SuSE 10.3 :: Athlon XP 3000+ :: AsRock K7VT4A Pro :: Nvidia Geforce 6600GT :: C-Media 8738

    www.psypherpunk.org.uk

  2. #2
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    I don't know much about udev but I will tell you what is here in my copy of Linux Format. Add the following to /etc/udev/rules.d/10-udev.rules to have your ipod mounted to /media/ipod:
    Code:
    BUS="usb", KERNEL="sd?1", SYSFS{product}="iPod Nano", NAME="ipod", SYMLINK="%k"
    You can also check out www.reactivated.net/udevrules.php

    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  3. #3
    Linux User PsypherPunk's Avatar
    Join Date
    Jan 2005
    Location
    Leeds, UK
    Posts
    257
    Cheers - what issue was that in?
    Registered Linux User #379728

    SuSE 10.3 :: Athlon XP 3000+ :: AsRock K7VT4A Pro :: Nvidia Geforce 6600GT :: C-Media 8738

    www.psypherpunk.org.uk

  4. #4
    Linux User PsypherPunk's Avatar
    Join Date
    Jan 2005
    Location
    Leeds, UK
    Posts
    257
    i tried that and the same thing happens - it gets mounted but at the weird /media/usb-000yaddayadda point. It just looks like the rules i add aren't being recognised.

    i've even tried udevtest but that doesn't output anything.
    Registered Linux User #379728

    SuSE 10.3 :: Athlon XP 3000+ :: AsRock K7VT4A Pro :: Nvidia Geforce 6600GT :: C-Media 8738

    www.psypherpunk.org.uk

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •