[Bug 81204] HAL doesn't recognise the Archos A404 music player

Emmet emmet.fletcher at gmail.com
Tue Jan 23 23:57:50 UTC 2007


Public bug reported:

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 -->

** Affects: hal (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
HAL doesn't recognise the Archos A404 music player
https://launchpad.net/bugs/81204




More information about the desktop-bugs mailing list