midi device only shown as OSS device?

Stefan Kost ensonic at hora-obscura.de
Wed Mar 14 14:26:05 PDT 2007


hi,

sorry for the flooding, but it seems midi devices are just shown as OSS device,
while the device in qeation has ALSA sequence driver and it works also as such.

Stefan


udi = '/org/freedesktop/Hal/devices/usb_device_763_1015_noserial'
  usb_device.num_interfaces = 1  (0x1)  (int)
  usb_device.device_class = 0  (0x0)  (int)
  usb_device.device_revision_bcd = 289  (0x121)  (int)
  usb_device.version_bcd = 256  (0x100)  (int)
  linux.sysfs_path_device =
'/sys/devices/pci0000:00/0000:00:10.4/usb5/5-8/5-8.1/5-8.1.4'  (string)
  info.bus = 'usb_device'  (string)
  usb_device.device_subclass = 0  (0x0)  (int)
  usb_device.speed_bcd = 4608  (0x1200)  (int)
  usb_device.can_wake_up = true  (bool)
  usb_device.bus_number = 5  (0x5)  (int)
  usb_device.configuration_value = 1  (0x1)  (int)
  usb_device.vendor = 'Midiman'  (string)
  usb_device.product = 'Unknown (0x1015)'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_763_1015_noserial'  (string)
  usb_device.max_power = 0  (0x0)  (int)
  linux.subsystem = 'usb'  (string)
  usb_device.device_protocol = 0  (0x0)  (int)
  info.vendor = 'Midiman'  (string)
  usb_device.num_configurations = 1  (0x1)  (int)
  info.product = 'Unknown (0x1015)'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:10.4/usb5/5-8/5-8.1/5-8.1.4'  (string)
  usb_device.vendor_id = 1891  (0x763)  (int)
  usb_device.num_ports = 0  (0x0)  (int)
  usb_device.is_self_powered = false  (bool)
  usb_device.linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:10.4/usb5/5-8/5-8.1/5-8.1.4'  (string)
  usb_device.product_id = 4117  (0x1015)  (int)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_424_2504_noserial'
(string)
  info.linux.driver = 'usb'  (string)
  usb_device.linux.device_number = 10  (0xa)  (int)

udi = '/org/freedesktop/Hal/devices/usb_device_763_1015_noserial_usbraw'
  linux.device_file = '/dev/bus/usb/005/010'  (string)
  usbraw.device = '/dev/bus/usb/005/010'  (string)
  info.capabilities = {'usbraw'} (string list)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_763_1015_noserial_usbraw'
 (string)
  linux.subsystem = 'usb_device'  (string)
  info.product = 'USB Raw Device Access'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.sysfs_path = '/sys/class/usb_device/usbdev5.10'  (string)
  info.category = 'usbraw'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_763_1015_noserial'
(string)

udi = '/org/freedesktop/Hal/devices/usb_device_763_1015_noserial_if0'
  usb.version_bcd = 256  (0x100)  (int)
  usb.is_self_powered = false  (bool)
  usb.linux.device_number = 10  (0xa)  (int)
  usb.product = 'USB Vendor Specific Interface'  (string)
  usb.device_protocol = 0  (0x0)  (int)
  linux.subsystem = 'usb'  (string)
  usb.device_revision_bcd = 289  (0x121)  (int)
  info.product = 'USB Vendor Specific Interface'  (string)
  usb.bus_number = 5  (0x5)  (int)
  usb.interface.class = 255  (0xff)  (int)
  usb.configuration_value = 1  (0x1)  (int)
  info.linux.driver = 'snd-usb-audio'  (string)
  usb.num_interfaces = 1  (0x1)  (int)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_763_1015_noserial'
(string)
  usb.interface.subclass = 0  (0x0)  (int)
  usb.num_configurations = 1  (0x1)  (int)
  usb.device_subclass = 0  (0x0)  (int)
  usb.vendor_id = 1891  (0x763)  (int)
  usb.vendor = 'Midiman'  (string)
  usb.device_class = 0  (0x0)  (int)
  usb.can_wake_up = true  (bool)
  usb.linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:10.4/usb5/5-8/5-8.1/5-8.1.4/5-8.1.4:1.0'  (string)
  usb.num_ports = 0  (0x0)  (int)
  usb.speed_bcd = 4608  (0x1200)  (int)
  usb.max_power = 0  (0x0)  (int)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_763_1015_noserial_if0'
(string)
  info.bus = 'usb'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  usb.interface.number = 0  (0x0)  (int)
  linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:10.4/usb5/5-8/5-8.1/5-8.1.4/5-8.1.4:1.0'  (string)
  usb.product_id = 4117  (0x1015)  (int)
  usb.interface.protocol = 0  (0x0)  (int)
  linux.sysfs_path_device =
'/sys/devices/pci0000:00/0000:00:10.4/usb5/5-8/5-8.1/5-8.1.4/5-8.1.4:1.0'  (string)

udi =
'/org/freedesktop/Hal/devices/usb_device_763_1015_noserial_if0_alsa_control__1'
  alsa.card_id = 'Keystation'  (string)
  linux.device_file = '/dev/snd/controlC2'  (string)
  org.freedesktop.Hal.Device.resmgr.method_execpaths = {'hal-resmgr-grant',
'hal-resmgr-revoke'} (string list)
  alsa.device_file = '/dev/snd/controlC2'  (string)
  info.capabilities = {'alsa'} (string list)
  alsa.type = 'control'  (string)
  info.udi =
'/org/freedesktop/Hal/devices/usb_device_763_1015_noserial_if0_alsa_control__1'
 (string)
  alsa.physical_device =
'/org/freedesktop/Hal/devices/usb_device_763_1015_noserial_if0'  (string)
  linux.subsystem = 'sound'  (string)
  org.freedesktop.Hal.Device.resmgr.method_signatures = {'', ''} (string list)
  alsa.card = 2  (0x2)  (int)
  resmgr.device = '/dev/snd/controlC2'  (string)
  info.interfaces = {'org.freedesktop.Hal.Device.resmgr'} (string list)
  org.freedesktop.Hal.Device.resmgr.method_names = {'Grant', 'Revoke'} (string list)
  info.product = 'Keystation ALSA Control Device'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.sysfs_path = '/sys/class/sound/controlC2'  (string)
  info.callouts.remove = {'hal-resmgr'} (string list)
  info.category = 'alsa'  (string)
  resmgr.class = 'sound'  (string)
  info.callouts.add = {'hal-resmgr'} (string list)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_763_1015_noserial_if0'
 (string)
  org.freedesktop.Hal.Device.resmgr.method_argnames = {'', ''} (string list)

udi = '/org/freedesktop/Hal/devices/usb_device_763_1015_noserial_if0_oss_mixer__1'
  oss.type = 'mixer'  (string)
  linux.device_file = '/dev/mixer2'  (string)
  org.freedesktop.Hal.Device.resmgr.method_execpaths = {'hal-resmgr-grant',
'hal-resmgr-revoke'} (string list)
  oss.card = 2  (0x2)  (int)
  info.capabilities = {'oss'} (string list)
  oss.device_file = '/dev/mixer2'  (string)
  info.udi =
'/org/freedesktop/Hal/devices/usb_device_763_1015_noserial_if0_oss_mixer__1'
(string)
  linux.subsystem = 'sound'  (string)
  org.freedesktop.Hal.Device.resmgr.method_signatures = {'', ''} (string list)
  resmgr.device = '/dev/mixer2'  (string)
  info.interfaces = {'org.freedesktop.Hal.Device.resmgr'} (string list)
  org.freedesktop.Hal.Device.resmgr.method_names = {'Grant', 'Revoke'} (string list)
  info.product = 'Keystation OSS Control Device'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.sysfs_path = '/sys/class/sound/mixer2'  (string)
  oss.physical_device =
'/org/freedesktop/Hal/devices/usb_device_763_1015_noserial_if0'  (string)
  oss.card_id = 'Keystation'  (string)
  info.callouts.remove = {'hal-resmgr'} (string list)
  info.category = 'oss'  (string)
  resmgr.class = 'sound'  (string)
  info.callouts.add = {'hal-resmgr'} (string list)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_763_1015_noserial_if0'
 (string)
  org.freedesktop.Hal.Device.resmgr.method_argnames = {'', ''} (string list)

udi = '/org/freedesktop/Hal/devices/usb_device_763_1015_noserial_if0_oss_midi_0_0'
  oss.type = 'midi'  (string)
  linux.device_file = '/dev/midi2'  (string)
  org.freedesktop.Hal.Device.resmgr.method_execpaths = {'hal-resmgr-grant',
'hal-resmgr-revoke'} (string list)
  oss.card = 2  (0x2)  (int)
  info.capabilities = {'oss'} (string list)
  oss.device_file = '/dev/midi2'  (string)
  info.udi =
'/org/freedesktop/Hal/devices/usb_device_763_1015_noserial_if0_oss_midi_0_0'
(string)
  linux.subsystem = 'sound'  (string)
  org.freedesktop.Hal.Device.resmgr.method_signatures = {'', ''} (string list)
  oss.device = 0  (0x0)  (int)
  resmgr.device = '/dev/midi2'  (string)
  info.interfaces = {'org.freedesktop.Hal.Device.resmgr'} (string list)
  org.freedesktop.Hal.Device.resmgr.method_names = {'Grant', 'Revoke'} (string list)
  info.product = 'Keystation OSS MIDI Device'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.sysfs_path = '/sys/class/sound/midi2'  (string)
  oss.physical_device =
'/org/freedesktop/Hal/devices/usb_device_763_1015_noserial_if0'  (string)
  oss.card_id = 'Keystation'  (string)
  info.callouts.remove = {'hal-resmgr'} (string list)
  info.category = 'oss'  (string)
  resmgr.class = 'sound'  (string)
  info.callouts.add = {'hal-resmgr'} (string list)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_763_1015_noserial_if0'
 (string)
  org.freedesktop.Hal.Device.resmgr.method_argnames = {'', ''} (string list)


More information about the hal mailing list