Patch to add HAL FDI info for MPMan MP-Ki 128
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hal (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt | ||
Bug Description
Binary package hint: hal
This patch (from instructions at http://
mibus@kappa:~$ lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 10d6:1100 Actions Semiconductor Co., Ltd MPMan MP-Ki 128 MP3 Player/Recorder
Bus 001 Device 001: ID 0000:0000
Relevant output from lshal (after patch):
udi = '/org/freedeskt
info.udi = '/org/freedeskt
linux.subsystem = 'usb' (string)
linux.
usb_device.
usb_device.
usb_device.
usb_device.
usb_device.
usb_device.serial = 'USB 2.0(FS) FLASH DISK' (string)
usb_device.
usb_device.
usb_device.
usb_device.
info.product = 'MPMan MP-Ki 128 MP3 Player/Recorder' (string)
usb_device.
info.vendor = 'Actions Semiconductor Co., Ltd' (string)
usb_device.vendor = 'Actions Semiconductor Co., Ltd' (string)
usb_device.
usb_device.
usb_device.
usb_device.
usb_device.
usb_device.
usb_device.
usb_device.
usb_device.
info.linux.driver = 'usb' (string)
info.bus = 'usb_device' (string)
info.parent = '/org/freedeskt
linux.
linux.sysfs_path = '/sys/devices/
udi = '/org/freedeskt
info.udi = '/org/freedeskt
linux.device_file = '/dev/usbdev1.2' (string)
linux.subsystem = 'usb_device' (string)
linux.
usbraw.device = '/dev/usbdev1.2' (string)
info.product = 'USB Raw Device Access' (string)
info.capabilities = {'usbraw'} (string list)
info.category = 'usbraw' (string)
info.parent = '/org/freedeskt
linux.sysfs_path = '/sys/class/
udi = '/org/freedeskt
info.udi = '/org/freedeskt
linux.subsystem = 'usb' (string)
linux.
info.product = 'USB Mass Storage Interface' (string)
usb.interface
usb.interface
usb.interface
usb.interface
info.linux.driver = 'usb-storage' (string)
usb.linux.
usb.configura
usb.num_
usb.num_
usb.device_class = 0 (0x0) (int)
usb.device_
usb.device_
usb.vendor_id = 4310 (0x10d6) (int)
usb.product_id = 4352 (0x1100) (int)
usb.vendor = 'Actions Semiconductor Co., Ltd' (string)
usb.product = 'USB Mass Storage Interface' (string)
usb.device_
usb.max_power = 100 (0x64) (int)
usb.num_ports = 0 (0x0) (int)
usb.linux.
usb.serial = 'USB 2.0(FS) FLASH DISK' (string)
usb.speed_bcd = 4608 (0x1200) (int)
usb.version_bcd = 272 (0x110) (int)
usb.is_
usb.can_wake_up = false (bool)
usb.bus_number = 1 (0x1) (int)
info.bus = 'usb' (string)
info.parent = '/org/freedeskt
linux.
linux.sysfs_path = '/sys/devices/
udi = '/org/freedeskt
info.udi = '/org/freedeskt
linux.subsystem = 'scsi_host' (string)
linux.
scsi_host.host = 0 (0x0) (int)
info.product = 'SCSI Host Adapter' (string)
info.capabilities = {'scsi_host'} (string list)
info.category = 'scsi_host' (string)
info.parent = '/org/freedeskt
linux.
linux.sysfs_path = '/sys/class/
udi = '/org/freedeskt
info.linux.driver = 'sd' (string)
info.udi = '/org/freedeskt
linux.subsystem = 'scsi' (string)
linux.
scsi.type = 'disk' (string)
scsi.vendor = '' (string)
scsi.model = '?w@??k?l?m?n?o?p' (string)
info.product = 'SCSI Device' (string)
scsi.lun = 0 (0x0) (int)
scsi.target = 0 (0x0) (int)
scsi.bus = 0 (0x0) (int)
scsi.host = 0 (0x0) (int)
info.parent = '/org/freedeskt
info.bus = 'scsi' (string)
linux.
linux.sysfs_path = '/sys/devices/
udi = '/org/freedeskt
info.addons = {'hald-
portable_
portable_
portable_
portable_
block.
info.udi = '/org/freedeskt
storage.
storage.
info.capabilities = {'storage', 'block', 'portable_
info.category = 'portable_
info.product = '?w@??k?l?m?n?o?p' (string)
info.vendor = '' (string)
storage.removable = true (bool)
storage.
storage.lun = 0 (0x0) (int)
storage.
storage.serial = '10d6_USB_
storage.vendor = '' (string)
storage.model = '?w@??k?l?m?n?o?p' (string)
storage.
storage.
storage.
storage.
storage.bus = 'usb' (string)
block.is_volume = false (bool)
block.minor = 0 (0x0) (int)
block.major = 8 (0x8) (int)
block.device = '/dev/sda' (string)
linux.
info.parent = '/org/freedeskt
linux.
linux.sysfs_path = '/sys/block/sda' (string)
udi = '/org/freedeskt
volume.
volume.
org.freedeskt
org.freedeskt
org.freedeskt
info.interfaces = {'org.freedeskt
volume.ignore = false (bool)
info.udi = '/org/freedeskt
info.product = 'Volume (vfat)' (string)
volume.size = 526238208 (0x1f5dc200) (uint64)
volume.num_blocks = 1027809 (0xfaee1) (int)
volume.block_size = 512 (0x200) (int)
info.capabilities = {'volume', 'block'} (string list)
info.category = 'volume' (string)
volume.
volume.is_disc = false (bool)
volume.is_mounted = true (bool)
volume.
volume.label = '' (string)
volume.uuid = '44ED-FD6D' (string)
volume.fsversion = 'FAT16' (string)
volume.fsusage = 'filesystem' (string)
volume.fstype = 'vfat' (string)
storage.model = '' (string)
block.
block.is_volume = true (bool)
block.minor = 0 (0x0) (int)
block.major = 8 (0x8) (int)
block.device = '/dev/sda' (string)
linux.
info.parent = '/org/freedeskt
linux.
linux.sysfs_path = '/sys/block/
Patch:
--- 10-usb-
+++ 10-usb-
@@ -34,6 +34,21 @@
<!-- USB Mass Storage devices that are music players -->
<match key="@storage.
+
+ <!-- MPMan MP-Ki 128 Player -->
+ <match key="@storage.
+ <match key="@storage.
+ <append key="info.
+ <merge key="info.category" type="string"
+ <merge key="portable_
+ <merge key="portable_
+ <merge key="portable_
+ <append key="portable_
+ <append key="portable_
+ <append key="portable_
+ </match>
+ </match>
+
<!-- Jetflash MP3 Player -->
<match key="@storage.
<match key="@storage.
Changed in hal: | |
assignee: | nobody → pitti |
status: | Unconfirmed → In Progress |
Hi,
I've got one of these too and I've got a couple of questions about it.
1. On my Ubuntu system, there's already an entry in 10-usb- music-players. fdi commented <!-- Foston 256MB --> for this vendor_ id/product_ id combo while my device is 512MB. Are the vendor_ id/product_ id combinations meant to be unique?
1. Mine can only play songs if they are in the root directory or one dir down. Should any entry in the fdi specify this through the portable_ audio_player. folder_ depth key?
Cheers,