Bug 8244

Summary: DeviceInfo for SLVR/ROKR iTunes Motorola phone
Product: hal Reporter: thejoe
Component: haldAssignee: Danny Kukawka <danny.kukawka>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description thejoe 2006-09-12 15:51:42 UTC
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>
Comment 1 Danny Kukawka 2007-04-03 09:53:10 UTC
Detection for this device (v3i) is already in hal-info package.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.