public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] udev rules for an iPod Touch?
@ 2011-11-03 21:32 Mark Knecht
  2011-11-04 12:34 ` Jorge Martínez López
  0 siblings, 1 reply; 29+ messages in thread
From: Mark Knecht @ 2011-11-03 21:32 UTC (permalink / raw
  To: Gentoo User

Hi,
   I was looking at an app called gtkpod which looks like something my
wife might use to sync her iPod Touch. The gtkpod manual suggests that
when the system is setup correctly if I plug in her iPod I should see
it show up in dmesg as a USB disk. Currently I do not:

[  163.164161] usb 2-4: new high speed USB device number 3 using ehci_hcd
[  163.280726] usb 2-4: New USB device found, idVendor=05ac, idProduct=1291
[  163.280731] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  163.280734] usb 2-4: Product: iPod
[  163.280737] usb 2-4: Manufacturer: Apple Inc.
[  163.280739] usb 2-4: SerialNumber: REMOVED-BY-MARK

   The manual also talks about making some udev rules, an example shown here:

#80GB IPOD
SUBSYSTEMS=="usb", ATTRS{serial}=="000A2700XXXXXXXX", KERNEL=="sd?2", \
NAME="80gbipod", MODE="0664", OPTIONS="last_rule"

#4GB IPOD NANO
SUBSYSTEMS=="usb", ATTRS{serial}=="000A2700YYYYYYYY", KERNEL=="sd?2", \
NAME="4gbnano", MODE="0664", OPTIONS="last_rule"

   Unfortunately it does not say what file to put these rules in so
from some other web pages I used /etc/udev/rules.d/60-ipod.rules.

c2stable ~ # ls -al /etc/udev/rules.d/
total 28
drwxr-xr-x 2 root root 4096 Nov  3 14:21 .
drwxr-xr-x 3 root root 4096 Jun 23 15:09 ..
-rw-r--r-- 1 root root    0 Jun 23 15:07 .keep_sys-fs_udev-0
-rw-r--r-- 1 root root  166 Nov  3 12:08 60-ipod.rules
-rw-r--r-- 1 root root  126 Nov  3 14:18 60-vmware.rules
-rw-r--r-- 1 root root  790 Apr 13  2010 70-persistent-cd.rules
-rw-r--r-- 1 root root  627 Jun 23 15:09 70-persistent-net.rules
-rw-r--r-- 1 root root   28 Jan 21  2011 99-fuse.rules
c2stable ~ #

I've removed the serial number for the sake of this thread but the
udev file number and the number I see in dmesg to match:

c2stable ~ # cat /etc/udev/rules.d/60-ipod.rules
#8GB IPOD Touch
SUBSYSTEMS=="usb", ATTRS{serial}=="SERIAL-NUMBER", KERNEL=="sd?2", \
NAME="8gbipodtouch", MODE="0664", OPTIONS="last_rule"
c2stable ~ #

   I've rebuilt my kernel to include everything Apple oriented, as
well as USB oriented, that's discussed on this page:

http://www.gentoo-wiki.info/Apple_iPod

   Still, when I plug the iPod in it shows up but not as a disk:

[   79.115529] usb 2-4: new high speed USB device number 3 using ehci_hcd
[   79.233277] usb 2-4: New USB device found, idVendor=05ac, idProduct=1291
[   79.233282] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   79.233285] usb 2-4: Product: iPod
[   79.233288] usb 2-4: Manufacturer: Apple Inc.
[   79.233291] usb 2-4: SerialNumber: SERIAL-NUMBER


   Does anyone here have this working? Can you see what I might be doing wrong?

   One possibly clue is that when I plug the iPod in KDE is popping up
a message about a new camera being attached. I assume KDE is behind
udev rules in terms of priority, but if not then possibly KDE is
somehow blocking it showing up as a USB device? If I remove it from
the KDE Camera Settings it just gets created the next time I plug it
in.

Thanks,
Mark



^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2011-11-16 15:59 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-03 21:32 [gentoo-user] udev rules for an iPod Touch? Mark Knecht
2011-11-04 12:34 ` Jorge Martínez López
2011-11-05  1:03   ` Mark Knecht
2011-11-05  9:39     ` Joost Roeleveld
2011-11-05 11:48       ` Mark Knecht
2011-11-05 19:45         ` Joost Roeleveld
2011-11-06 14:57           ` James Broadhead
2011-11-06 17:49           ` Volker Armin Hemmann
2011-11-07  9:28             ` J. Roeleveld
2011-11-07 15:00               ` [gentoo-user] " Grant Edwards
2011-11-07 15:56                 ` Mark Knecht
2011-11-09 15:17               ` [gentoo-user] " Volker Armin Hemmann
2011-11-09 16:19                 ` [gentoo-user] " Grant Edwards
2011-11-09 18:56                   ` Volker Armin Hemmann
2011-11-09 18:22                 ` [gentoo-user] " Mark Knecht
2011-11-09 18:54                   ` Volker Armin Hemmann
2011-11-09 18:59                     ` Mark Knecht
2011-11-09 23:14                     ` James Broadhead
2011-11-13  3:51                       ` Mark Knecht
2011-11-16  8:42                         ` James Broadhead
2011-11-16  9:21                           ` James Broadhead
2011-11-16 15:58                             ` Mark Knecht
2011-11-06  3:06         ` Pandu Poluan
2011-11-06 14:16           ` Mark Knecht
2011-11-06 15:10             ` Dale
2011-11-06 15:21               ` Mark Knecht
2011-11-06 15:38                 ` Dale
2011-11-06 15:33             ` Neil Bothwick
2011-11-06 17:23               ` Mark Knecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox