Gentoo Wiki


This article is part of the Hardware series.
Laptops TV Tuner Cards Wireless Servers Storage Other Hardware Motherboards Related

It is not too difficult to get your iTunes updated on your Motorola SLVR with linux.


Compiling The Proper Kernel Modules

Note: This was tested on a 2.6 kernel. If you are using a 2.4 kernel, then you're on your own.

Linux Kernel Configuration: Modules necessary for your SLVR
Device Drivers --->
    SCSI Support --->
      <*> SCSI device support
      <M> SCSI disk support
      <M> SCSI generic support
      [*] Probe all LUNs on each SCSI device
    Input device support --->
      <*> Event interface

For USB Support you will need to compile in:

Linux Kernel Configuration: Modules for a USB SLVR
Device Drivers --->
  USB support  --->
    <M> Support for Host-side USB
    [*]   USB device filesystem
    <M> UHCI HCD (most Intel and VIA) support
    <M> EHCI HCD (USB 2.0) support
    <M> USB Mass Storage support

Your phone uses the vfat format so:

Linux Kernel Configuration: Modules for a windows-formatted SLVR
File Systems --->
  DOS/FAT/NT Filesystems --->
    <M> MSDOS fs support
    <M> VFAT (Windows-95) fs support
    (437) Default codepage for FAT
    (iso8859-1) Default iocharset for FAT

SLVR udev configuration

Plugging in the SLVR will result in two things:

  1. The "Do Not Disconnect" message on the SLVR's screen.
  2. The dmesg outputs.
Code: dmesg on USB SLVR
[kernel] scsi3 : SCSI emulation for USB Mass Storage devices
[kernel]   Vendor: Motorola  Model: Motorola Phone    Rev: 2.31
[kernel]   Type:   Direct-Access                      ANSI SCSI revision: 02
[kernel] SCSI device sdc: 990977 512-byte hdwr sectors (507 MB)
[kernel] sdc: Write Protect is off
[kernel] sdc: assuming drive cache: write through
[kernel] SCSI device sdc: 990977 512-byte hdwr sectors (507 MB)
[kernel] sdc: Write Protect is off
[kernel] sdc: assuming drive cache: write through
[kernel] sd 3:0:0:0: Attached scsi removable disk sdc
[kernel] sd 3:0:0:0: Attached scsi generic sg2 type 0

The udev rules file: change your symlink to whatever suits your needs

File: /etc/udev/rules.d/60-slvr.rules
  BUS=="usb", SYSFS(manufacturer)=="Motorola Inc.", SYSFS(product)=="Motorola Phone (L7 iTunes)", KERNEL=="sd??", MODE="0600", SYMLINK+="slvr"

Restart udev:

as root # udevstart

and now when you plug-in your SLVR it should be in /dev/slvr

Mounting your SLVR

Make your mount point:

Code: Make the mount point
# mkdir /mnt/slvr

Edit your fstab:

File: fstab

/dev/slvr /mnt/slvr vfat noauto,user 0 0

Now mount your phone:

Code: Issue mount
$ mount /mnt/slvr

A simple ls should show 2 directories:

Code: ls /mnt/slvr
$ ls /mnt/slvr
iTunes  mobile

and you are now set to use the phone.

Unplug your SLVR


To eject your phone safely issue:

Code: eject /mnt/slvr
$ eject /mnt/slvr

Now you may safely unplug your SLVR

In some cases you may recieve the error:

Code: eject error
eject: unable to open `/dev/slvr'


eject: unable to open `/dev/sd?#'

This error seems to have no effect and your SLVR is still umounted properly

Software needed to transfer music over

You will need to install gtkpod version 0.99.8+

As of this writing this is a masked package so you will need to:

File: edit /etc/portage/package.keywords
# the base install
app-pda/gtkpod ~x86

# needed libraries
media-libs/libgpod ~x86
dev-python/eyeD3 ~x86

and now to emerge gtkpod:

Code: emerge gtkpod
# emerge gtkpod

Almost there now...

Make sure your SLVR is mounted, then run gtkpod:

Code: run gtkpod
$ gtkpod

or create a menu item for gtkpod

Once gtkpod opens, you may get an error, cancel the error then select Edit from the menu bar then preferences. In the field that says iPod mountpoint: enter /mnt/slvr Then for Ipod type select mobilephone click on apply then ok.

and now your SLVR should be listed as the first device:)

See Also

Last modified: Fri, 29 Aug 2008 04:35:00 +0000 Hits: 5,987