Hal fdi update for Sony Ericsson W890i

Bug #314618 reported by skamithi on 2009-01-07
4
Affects Status Importance Assigned to Milestone
hal-info (Ubuntu)
Undecided
Martin Pitt

Bug Description

Binary package hint: hal-info

I just bought a new cell phone. It's a W890i, manufactured by Sony Ericsson. It features a Walkman MP3 player.

I updated the hal fdi file 10-usb-music-players.fdi in order to get it recognized as a portable audio player. See attached patch.

I run Ubuntu 8.10

skamithi (skamithi) wrote :
Martin Pitt (pitti) on 2009-01-28
Changed in hal-info:
assignee: nobody → pitti
status: New → In Progress
Martin Pitt (pitti) wrote :

Committed upstream.

Changed in hal-info:
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package hal-info - 20090128-0ubuntu1

---------------
hal-info (20090128-0ubuntu1) jaunty; urgency=low

  * New upstream git snapshot:
    - Add Nokia E51 mobile modem (LP: #261416)
    - Add Nokia N and E series modems (LP: #303748)
    - Add ATT USBConnect Mercury modem (LP: #306604)
    - Add Sony Ericsson W890i music player (LP: #314618)
    - Fix detection of AT&T Option 3G modems again (LP: #316120)
    - Add ZTE AC8700 (EV-DO) modem (LP: #321213)
  * Dropped most of our patches, committed upstream:
    - 03_missing_lenovo_hotkey.patch
    - 04_globetrotter_hsupa_modem.patch
    - 05_missing_samsung_hotkey.patch
    - 06_missing_asus_hotkeys.patch
    - 07_missing_hp_hotkeys.patch
    - 08_missing_fujitsu_hotkeys.patch

 -- Martin Pitt <email address hidden> Wed, 28 Jan 2009 10:48:37 +0100

Changed in hal-info:
status: Fix Committed → Fix Released
Vadim Peretokin (vperetokin) wrote :

Can this be done for W800 too? Ubuntu recognizes it as a broadband device, but not a music player.

Let me know what can I do to provide the necessary info for the phone

Martin Pitt (pitti) wrote :

Vadim,

yes, it can be done. Please look at /usr/share/hal/fdi/information/10freedesktop/10-usb-music-players.fdi and the existing entries, find one that best describes your device (I guess the patch which is attached here is a good starting point), or create a new one if none of the existing profiles (supported formats, directories, etc.) matches the W800.

Please also do

  lshal > /tmp/hal.txt

and attach /tmp/hal.txt to the new bug.

  • hal.txt Edit (160.1 KiB, text/plain; charset=US-ASCII; name="hal.txt")

Here is the current entry for it:

      <!-- W800 Walkman Phone -->
      <!-- media files go in mp3/$ARTIST/$ALBUM/$TRACKNAME -->
      <match key="@storage.originating_device:usb.product_id" int="0xd028">
        <addset key="portable_audio_player.access_method.protocols"
type="strlist">storage</addset>
            <append key="portable_audio_player.output_formats"
type="strlist">audio/aac</append>
        <append key="portable_audio_player.input_formats"
type="strlist">audio/x-wav</append>
        <append key="portable_audio_player.audio_folders"
type="strlist">MP3/</append>
        <append key="portable_audio_player.audio_folders"
type="strlist">MSSEMC/Media files/audio/</append>
      </match>

I'm not quite sure how to interpret it, but Wikipedia says (
http://en.wikipedia.org/wiki/W800) it is "The phone is also MP3 and AAC
compatible". The article at the bottom also pointed to this page:
http://stefans.datenbruch.de/k750i/

Anyway, the hal.txt is attached.

Martin Pitt (pitti) wrote :

Indeed, current hal-info already knows the W800.

Vadim Peretokin (vperetokin) wrote :

But it does not treat it as such (doesn't mount it or the sd card reader
inside it), or pop up the box to open rhythmbox

Martin Pitt (pitti) wrote :

Vadim:

 info.capabilities = {'storage', 'block', 'portable_audio_player', 'access_control'} (string list)

This looks fine to me. If it doesn't actually work for you, please open a new bug report and do the steps on https://wiki.ubuntu.com/DebuggingRemovableDevices . Thank you!

Dimitri (dvanlanduyt) wrote :

Seemed stupid to open a new bug report; for Sony-Ericsson W302, I added the following to abovementioned 10-usb-music-players.fdi to make it work:

   <!-- W302i -->
   <match key="@storage.originating_device:usb.product_id" int_outof="0xe0c8">
     <addset key="portable_audio_player.access_method.protocols" type="strlist">storage</addset>
     <append key="portable_audio_player.input_formats" type="strlist">audio/x-wav</append>
            <append key="portable_audio_player.output_formats" type="strlist">audio/aac</append>
            <append key="portable_audio_player.output_formats" type="strlist">audio/x-wav</append>
     <append key="portable_audio_player.audio_folders" type="strlist">Music/</append>
   </match>

Please add it to the default file. Thanks.

Martin Pitt (pitti) wrote :

Dimitri, thanks. Committed upstream.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments