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

Reply via email to