[Comm] О добром fdi замолвите слово. %)
Paul Krupin
=?iso-8859-1?q?easter1980ster_=CE=C1_gmail=2Ecom?=
Пт Дек 15 10:45:36 MSK 2006
Еще раз хочу поднять тему монтирования iPod'а.
Почитав документацию на wiki остались вопросы.
Как я должен выбирать атрибуты для подбора?
Когда использовать merge, а когда append?
Прилагаю файл который получен при помощи hal-device
когда я воткнул iPod mini.
----------- следующая часть -----------
Вложение в формате HTML было удалено...
URL: <http://lists.altlinux.org/pipermail/community/attachments/20061215/61157d89/attachment-0003.html>
----------- следующая часть -----------
0: udi = '/org/freedesktop/Hal/devices/volume_uuid_1374_08DF'
volume.policy.mount_option.shortname = 'mixed' (string)
volume.policy.mount_option.quiet = true (bool)
volume.policy.mount_option.fmask = '0111' (string)
volume.policy.mount_option.dmask = '0' (string)
volume.policy.mount_filesystem = 'vfat' (string)
volume.policy.should_mount = true (bool)
volume.policy.desired_mount_point = 'ipod' (string)
info.udi = '/org/freedesktop/Hal/devices/volume_uuid_1374_08DF' (string)
volume.partition.msdos_part_table_type = 11 (0xb) (int)
info.product = 'EASTER'S IP' (string)
volume.size = 6103157760 (0x16bc6cc00) (uint64)
volume.num_blocks = 11920230 (0xb5e366) (int)
volume.block_size = 512 (0x200) (int)
volume.partition.number = 2 (0x2) (int)
info.capabilities = { 'volume', 'block' } (string list)
info.category = 'volume' (string)
volume.is_partition = true (bool)
volume.is_disc = false (bool)
volume.is_mounted = false (bool)
volume.mount_point = '' (string)
volume.label = 'EASTER'S IP' (string)
volume.uuid = '1374-08DF' (string)
volume.fsversion = 'FAT32' (string)
volume.fsusage = 'filesystem' (string)
volume.fstype = 'vfat' (string)
block.storage_device = '/org/freedesktop/Hal/devices/storage_model_iPod' (string)
block.is_volume = true (bool)
block.minor = 2 (0x2) (int)
block.major = 8 (0x8) (int)
block.device = '/dev/sda2' (string)
linux.hotplug_type = 3 (0x3) (int)
info.parent = '/org/freedesktop/Hal/devices/storage_model_iPod' (string)
linux.sysfs_path_device = '/sys/block/sda/sda2' (string)
linux.sysfs_path = '/sys/block/sda/sda2' (string)
1: udi = '/org/freedesktop/Hal/devices/volume_part1_size_41094144'
info.udi = '/org/freedesktop/Hal/devices/volume_part1_size_41094144' (string)
volume.partition.msdos_part_table_type = 0 (0x0) (int)
info.product = 'Volume' (string)
volume.size = 41094144 (0x2730c00) (uint64)
volume.num_blocks = 80262 (0x13986) (int)
volume.block_size = 512 (0x200) (int)
volume.partition.number = 1 (0x1) (int)
info.capabilities = { 'volume', 'block' } (string list)
info.category = 'volume' (string)
volume.is_partition = true (bool)
volume.is_disc = false (bool)
volume.is_mounted = false (bool)
volume.mount_point = '' (string)
volume.label = '' (string)
volume.uuid = '' (string)
volume.fsversion = '' (string)
volume.fsusage = '' (string)
volume.fstype = '' (string)
block.storage_device = '/org/freedesktop/Hal/devices/storage_model_iPod' (string)
block.is_volume = true (bool)
block.minor = 1 (0x1) (int)
block.major = 8 (0x8) (int)
block.device = '/dev/sda1' (string)
linux.hotplug_type = 3 (0x3) (int)
info.parent = '/org/freedesktop/Hal/devices/storage_model_iPod' (string)
linux.sysfs_path_device = '/sys/block/sda/sda1' (string)
linux.sysfs_path = '/sys/block/sda/sda1' (string)
2: udi = '/org/freedesktop/Hal/devices/storage_model_iPod'
info.addons = { 'hald-addon-storage' } (string list)
portable_audio_player.output_formats = { 'audio/mpeg', 'audio/aac' } (string list)
portable_audio_player.storage_device = '/org/freedesktop/Hal/devices/storage_model_iPod' (string)
portable_audio_player.type = 'ipod' (string)
portable_audio_player.access_method = 'storage' (string)
block.storage_device = '/org/freedesktop/Hal/devices/storage_model_iPod' (string)
info.udi = '/org/freedesktop/Hal/devices/storage_model_iPod' (string)
storage.requires_eject = true (bool)
storage.hotpluggable = true (bool)
info.capabilities = { 'storage', 'block', 'portable_audio_player' } (string list)
info.category = 'portable_audio_player' (string)
info.product = 'iPod' (string)
info.vendor = 'Apple' (string)
storage.removable = true (bool)
storage.physical_device = '/org/freedesktop/Hal/devices/usb_device_5ac_1205_000000F44A88_if0' (string)
storage.lun = 0 (0x0) (int)
storage.drive_type = 'disk' (string)
storage.vendor = 'Apple' (string)
storage.model = 'iPod' (string)
storage.automount_enabled_hint = true (bool)
storage.media_check_enabled = true (bool)
storage.no_partitions_hint = false (bool)
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.hotplug_type = 3 (0x3) (int)
info.parent = '/org/freedesktop/Hal/devices/usb_device_5ac_1205_000000F44A88_if0_scsi_host_scsi_device_lun0' (string)
linux.sysfs_path_device = '/sys/block/sda' (string)
linux.sysfs_path = '/sys/block/sda' (string)
5: udi = '/org/freedesktop/Hal/devices/usb_device_5ac_1205_000000F44A88_if0'
info.udi = '/org/freedesktop/Hal/devices/usb_device_5ac_1205_000000F44A88_if0' (string)
linux.subsystem = 'usb' (string)
linux.hotplug_type = 1 (0x1) (int)
info.product = 'USB Mass Storage Interface' (string)
usb.interface.protocol = 80 (0x50) (int)
usb.interface.subclass = 6 (0x6) (int)
usb.interface.class = 8 (0x8) (int)
usb.interface.number = 0 (0x0) (int)
info.linux.driver = 'usb-storage' (string)
usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:03.3/usb1/1-4/1-4:1.0' (string)
usb.configuration_value = 1 (0x1) (int)
usb.num_configurations = 1 (0x1) (int)
usb.num_interfaces = 1 (0x1) (int)
usb.device_class = 0 (0x0) (int)
usb.device_subclass = 0 (0x0) (int)
usb.device_protocol = 0 (0x0) (int)
usb.vendor_id = 1452 (0x5ac) (int)
usb.product_id = 4613 (0x1205) (int)
usb.vendor = 'Apple Computer, Inc.' (string)
usb.product = 'USB Mass Storage Interface' (string)
usb.device_revision_bcd = 1 (0x1) (int)
usb.max_power = 500 (0x1f4) (int)
usb.num_ports = 0 (0x0) (int)
usb.linux.device_number = 8 (0x8) (int)
usb.serial = '000000F44A88' (string)
usb.speed_bcd = 294912 (0x48000) (int)
usb.version_bcd = 512 (0x200) (int)
usb.is_self_powered = true (bool)
usb.can_wake_up = false (bool)
usb.bus_number = 1 (0x1) (int)
info.bus = 'usb' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_5ac_1205_000000F44A88' (string)
linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:03.3/usb1/1-4/1-4:1.0' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:03.3/usb1/1-4/1-4:1.0' (string)
6: udi = '/org/freedesktop/Hal/devices/usb_device_5ac_1205_000000F44A88'
info.udi = '/org/freedesktop/Hal/devices/usb_device_5ac_1205_000000F44A88' (string)
linux.subsystem = 'usb' (string)
linux.hotplug_type = 1 (0x1) (int)
usb_device.bus_number = 1 (0x1) (int)
usb_device.can_wake_up = false (bool)
usb_device.is_self_powered = true (bool)
usb_device.version_bcd = 512 (0x200) (int)
usb_device.speed_bcd = 294912 (0x48000) (int)
usb_device.serial = '000000F44A88' (string)
usb_device.linux.device_number = 8 (0x8) (int)
usb_device.num_ports = 0 (0x0) (int)
usb_device.max_power = 500 (0x1f4) (int)
usb_device.device_revision_bcd = 1 (0x1) (int)
info.product = 'iPod mini' (string)
usb_device.product = 'iPod mini' (string)
info.vendor = 'Apple Computer, Inc.' (string)
usb_device.vendor = 'Apple Computer, Inc.' (string)
usb_device.product_id = 4613 (0x1205) (int)
usb_device.vendor_id = 1452 (0x5ac) (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:03.3/usb1/1-4' (string)
info.linux.driver = 'usb' (string)
info.bus = 'usb_device' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_03_3' (string)
linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:03.3/usb1/1-4' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:03.3/usb1/1-4' (string)
Подробная информация о списке рассылки community