HAL doesn't recognise the Archos A404 music player

Bug #81204 reported by Emmet
2
Affects Status Importance Assigned to Milestone
hal (Ubuntu)
Fix Released
Wishlist
Martin Pitt

Bug Description

Binary package hint: hal

I've patched the HAL with the correct vendor and product ID for the Archos A404 multimedia player:

Output from lshal:

udi = '/org/freedesktop/Hal/devices/usb_device_e79_1300_FMKB1HZHX88Y'
  info.udi = '/org/freedesktop/Hal/devices/usb_device_e79_1300_FMKB1HZHX88Y' (string)
  linux.subsystem = 'usb' (string)
  linux.hotplug_type = 1 (0x1) (int)
  usb_device.bus_number = 3 (0x3) (int)
  usb_device.can_wake_up = false (bool)
  usb_device.is_self_powered = false (bool)
  usb_device.version_bcd = 512 (0x200) (int)
  usb_device.speed_bcd = 294912 (0x48000) (int)
  usb_device.serial = 'FMKB1HZHX88Y' (string)
  usb_device.linux.device_number = 6 (0x6) (int)
  usb_device.num_ports = 0 (0x0) (int)
  usb_device.max_power = 500 (0x1f4) (int)
  usb_device.device_revision_bcd = 790 (0x316) (int)
  info.product = 'a404' (string)
  usb_device.product = 'a404' (string)
  info.vendor = 'ARCHOS' (string)
  usb_device.vendor = 'ARCHOS' (string)
  usb_device.product_id = 4864 (0x1300) (int)
  usb_device.vendor_id = 3705 (0xe79) (int)
  usb_device.device_protocol = 0 (0x0) (int)
  usb_device.device_subclass = 0 (0x0) (int)
  usb_device.device_class = 0 (0x0) (int)
  usb_device.num_interfaces = 1 (0x1) (int)
  usb_device.num_configurations = 1 (0x1) (int)
  usb_device.configuration_value = 1 (0x1) (int)
  usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:10.0/0000:04:07.2/usb3/3-3' (string)
  info.linux.driver = 'usb' (string)
  info.bus = 'usb_device' (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_0_0_0000_04_07_2' (string)
  linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:10.0/0000:04:07.2/usb3/3-3' (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:10.0/0000:04:07.2/usb3/3-3' (string)

Output from lsusb:

udi = '/org/freedesktop/Hal/devices/usb_device_e79_1300_FMKB1HZHX88Y'
  info.udi = '/org/freedesktop/Hal/devices/usb_device_e79_1300_FMKB1HZHX88Y' (string)
  linux.subsystem = 'usb' (string)
  linux.hotplug_type = 1 (0x1) (int)
  usb_device.bus_number = 3 (0x3) (int)
  usb_device.can_wake_up = false (bool)
  usb_device.is_self_powered = false (bool)
  usb_device.version_bcd = 512 (0x200) (int)
  usb_device.speed_bcd = 294912 (0x48000) (int)
  usb_device.serial = 'FMKB1HZHX88Y' (string)
  usb_device.linux.device_number = 6 (0x6) (int)
  usb_device.num_ports = 0 (0x0) (int)
  usb_device.max_power = 500 (0x1f4) (int)
  usb_device.device_revision_bcd = 790 (0x316) (int)
  info.product = 'a404' (string)
  usb_device.product = 'a404' (string)
  info.vendor = 'ARCHOS' (string)
  usb_device.vendor = 'ARCHOS' (string)
  usb_device.product_id = 4864 (0x1300) (int)
  usb_device.vendor_id = 3705 (0xe79) (int)
  usb_device.device_protocol = 0 (0x0) (int)
  usb_device.device_subclass = 0 (0x0) (int)
  usb_device.device_class = 0 (0x0) (int)
  usb_device.num_interfaces = 1 (0x1) (int)
  usb_device.num_configurations = 1 (0x1) (int)
  usb_device.configuration_value = 1 (0x1) (int)
  usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:10.0/0000:04:07.2/usb3/3-3' (string)
  info.linux.driver = 'usb' (string)
  info.bus = 'usb_device' (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_0_0_0000_04_07_2' (string)
  linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:10.0/0000:04:07.2/usb3/3-3' (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:10.0/0000:04:07.2/usb3/3-3' (string)

Diff for the new info:

--- 10-usb-music-players.fdi.orig 2006-10-20 11:28:55.000000000 +0200
+++ 10-usb-music-players.fdi 2007-01-24 00:43:55.000000000 +0100
@@ -563,6 +563,21 @@
             <append key="portable_audio_player.input_formats" type="strlist">audio/x-ms-wma</append>
             <append key="portable_audio_player.input_formats" type="strlist">audio/x-wav</append>
           </match>
+ <!-- Archos A404 -->
+ <match key="@storage.physical_device:usb.product_id" int="0x1300">
+ <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.type" type="string">generic</merge>
+ <merge key="portable_audio_player.access_method" type="string">storage</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/x-wav</append>
+ <append key="portable_audio_player.output_formats" type="strlist">audio/x-ms-wma</append>
+ <append key="portable_audio_player.input_formats" type="strlist">audio/x-wav</append>
+ <append key="portable_audio_player.audio_folders" type="strlist">Music/</append>
+ <append key="portable_audio_player.playlist_format" type="strlist">audio/x-mpegurl</append>
+ <append key="portable_audio_player.playlist_path" type="strlist">Playlist/</append>
+ </match>
         </match>

  <!-- Sony Ericsson -->

Related branches

Revision history for this message
Emmet (emmet-fletcher) wrote :
Martin Pitt (pitti)
Changed in hal:
assignee: nobody → pitti
importance: Undecided → Wishlist
status: Unconfirmed → In Progress
Martin Pitt (pitti)
Changed in hal:
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

 hal (0.5.8.1-4ubuntu7) feisty; urgency=low
 .
   * debian/patches/30-mp3-player-fdi.patch: Add Sony Ericsson W810i.
     (LP: #56060)
   * debian/patches/30-mp3-player-fdi.patch: Add Archos A404. (LP: #81204)
   * debian/hal-device-manager.install: Install .desktop file into
     /usr/share/applications/, not /usr/share/control-center-2.0/capplets/ any
     more, so that it actually appears in control center.
   * debian/control: Set Ubuntu maintainer.

Changed in hal:
status: Fix Committed → Fix Released
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.