DeviceInfo for SLVR/ROKR iTunes Motorola phone

Bug #55960 reported by Joe Barnett
2
Affects Status Importance Assigned to Milestone
HAL
Fix Released
Medium
hal (Ubuntu)
Fix Released
Low
Martin Pitt

Bug Description

Binary package hint: hal

Adding the following to /usr/share/hal/fdi/information/10freedesktop/10-usb-music-players.fdi allows HAL to detect the motorola iTunes enabled phones as music players.

      <!-- Motorola iTunes enabled phone -->
      <match key="@storage.physical_device:info.bus" string="usb">
 <match key="@storage.physical_device:usb.vendor_id" int="0x22b8">
          <match key="@storage.physical_device:usb.product_id" int="0x4810">
     <append key="info.capabilities" type="strlist">portable_audio_player</append>
            <merge key="info.category" type="string">portable_audio_player</merge>
            <merge key="portable_audio_player.access_method" type="string">storage</merge>
            <merge key="portable_audio_player.type" type="string">ipod</merge>
            <merge key="portable_audio_player.storage_device" type="copy_property">info.udi</merge>
            <append key="portable_audio_player.output_formats" type="strlist">audio/mpeg</append>
            <append key="portable_audio_player.output_formats" type="strlist">audio/aac</append>
            <merge key="storage.requires_eject" type="bool">true</merge>
          </match>
 </match>
      </match>

Rhythmbox 0.9.5+ (already in edgy) supports using these phones as iPods, provided that libgpod >= 0.3.3 (still unreleased cvs version -- might make sense to get this in edgy as well; should I file a separate bug for that?).

Revision history for this message
In , Joe Barnett (thejoe) wrote :

Adding the following to
/usr/share/hal/fdi/information/10freedesktop/10-usb-music-players.fdi allows HAL
to detect the motorola iTunes enabled phones as music players.

      <!-- Motorola iTunes enabled phone -->
      <match key="@storage.physical_device:info.bus" string="usb">
 <match key="@storage.physical_device:usb.vendor_id" int="0x22b8">
          <match key="@storage.physical_device:usb.product_id" int="0x4810">
     <append key="info.capabilities" type="strlist">portable_audio_player</append>
            <merge key="info.category" type="string">portable_audio_player</merge>
            <merge key="portable_audio_player.access_method"
type="string">storage</merge>
            <merge key="portable_audio_player.type" type="string">ipod</merge>
            <merge key="portable_audio_player.storage_device"
type="copy_property">info.udi</merge>
            <append key="portable_audio_player.output_formats"
type="strlist">audio/mpeg</append>
            <append key="portable_audio_player.output_formats"
type="strlist">audio/aac</append>
            <merge key="storage.requires_eject" type="bool">true</merge>
          </match>
 </match>
      </match>

Revision history for this message
Martin Pitt (pitti) wrote :

Easy fix, will apply after knot-3 freeze.

Changed in hal:
assignee: nobody → pitti
importance: Untriaged → Low
status: Unconfirmed → In Progress
Changed in hal:
status: Unknown → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

Please file a separate report for the libgpod issue.

Revision history for this message
Martin Pitt (pitti) wrote :

 hal (0.5.7.1-0ubuntu11) edgy; urgency=low
 .
   * Replace debian/patches/19_dont_overwrite_formfactor.patch with official
     GIT head upstream patch 00upstream-04-dont-overwrite-formfactor.patch
     (http://gitweb.freedesktop.org/?p=hal.git;a=commit;h=f70301c8f426618d52a31d33c846989b1c8e7a52)
     Closes: LP#59342)
   * debian/patches/17-mp3-player-fdi.patch:
     - Add Sandisk Sansa m250. Closes: LP#57903
     - Add SLVR/ROKR iTunes Motorola phone. Closes: LP#55960

Changed in hal:
status: In Progress → Fix Released
Revision history for this message
Joe Barnett (thejoe) wrote :

thanks for getting this in.

libgpod issue filed:
https://launchpad.net/distros/ubuntu/+source/gtkpod/+bug/60613

Revision history for this message
In , Danny Kukawka (danny-kukawka) wrote :

Detection for this device (v3i) is already in hal-info package.

Changed in hal:
status: Confirmed → Fix Released
Changed in hal:
importance: Unknown → Medium
Changed in hal:
importance: Medium → Unknown
Changed in hal:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.