On Wed, Oct 8, 2008 at 9:51 AM, Martin Owens <[EMAIL PROTECTED]> wrote:
> The problem, is that it's not recognised in HAL. Most BlackBerries are
> recognised as generic 0001/0004 or 0006 modes via usb_id. What you'd
> need to do is write a HAL driver that can give something of a meaning to
> the device other than the generic information available at the moment.

I'm not certain what you mean here, could you elaborate? Here is what
I see with just a cursory glance at hal: (again, this is an 8830 on
F8)

udi = 
'/org/freedesktop/Hal/devices/usb_device_fca_4_155FF3210780674CC49459D03AE08189ACFE3799_if1_scsi_host_scsi_device_lun0'
  info.bus = 'scsi'  (string)
  info.linux.driver = 'sd'  (string)
  info.parent =
'/org/freedesktop/Hal/devices/usb_device_fca_4_155FF3210780674CC49459D03AE08189ACFE3799_if1_scsi_host'
 (string)
  info.product = 'SCSI Device'  (string)
  info.subsystem = 'scsi'  (string)
  info.udi = 
'/org/freedesktop/Hal/devices/usb_device_fca_4_155FF3210780674CC49459D03AE08189ACFE3799_if1_scsi_host_scsi_device_lun0'
 (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'scsi'  (string)
  linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.1/host7/target7:0:0/7:0:0:0'
(string)
  scsi.bus = 0  (0x0)  (int)
  scsi.host = 7  (0x7)  (int)
  scsi.lun = 0  (0x0)  (int)
  scsi.model = 'BlackBerry SD'  (string)
  scsi.target = 0  (0x0)  (int)
  scsi.type = 'disk'  (string)
  scsi.vendor = 'RIM'  (string)

udi = 
'/org/freedesktop/Hal/devices/storage_serial_RIM_BlackBerry_SD_155FF3210780674CC49459D03AE08189ACFE3799_0_0'
  block.device = '/dev/sdc'  (string)
  block.is_volume = false  (bool)
  block.major = 8  (0x8)  (int)
  block.minor = 32  (0x20)  (int)
  block.storage_device =
'/org/freedesktop/Hal/devices/storage_serial_RIM_BlackBerry_SD_155FF3210780674CC49459D03AE08189ACFE3799_0_0'
 (string)
  info.addons = {'hald-addon-storage'} (string list)
  info.capabilities = {'storage', 'block'} (string list)
  info.category = 'storage'  (string)
  info.parent =
'/org/freedesktop/Hal/devices/usb_device_fca_4_155FF3210780674CC49459D03AE08189ACFE3799_if1_scsi_host_scsi_device_lun0'
 (string)
  info.product = 'BlackBerry SD'  (string)
  info.udi = 
'/org/freedesktop/Hal/devices/storage_serial_RIM_BlackBerry_SD_155FF3210780674CC49459D03AE08189ACFE3799_0_0'
 (string)
  info.vendor = 'RIM'  (string)
  linux.hotplug_type = 3  (0x3)  (int)
  linux.sysfs_path = '/sys/block/sdc'  (string)
  storage.automount_enabled_hint = true  (bool)
  storage.bus = 'usb'  (string)
  storage.drive_type = 'disk'  (string)
  storage.firmware_version = '0001'  (string)
  storage.hotpluggable = true  (bool)
  storage.lun = 0  (0x0)  (int)
  storage.media_check_enabled = true  (bool)
  storage.model = 'BlackBerry SD'  (string)
  storage.no_partitions_hint = false  (bool)
  storage.originating_device =
'/org/freedesktop/Hal/devices/usb_device_fca_4_155FF3210780674CC49459D03AE08189ACFE3799_if1'
 (string)
  storage.physical_device =
'/org/freedesktop/Hal/devices/usb_device_fca_4_155FF3210780674CC49459D03AE08189ACFE3799_if1'
 (string)
  storage.removable = true  (bool)
  storage.removable.media_available = false  (bool)
  storage.removable.support_async_notification = false  (bool)
  storage.requires_eject = false  (bool)
  storage.serial =
'RIM_BlackBerry_SD_155FF3210780674CC49459D03AE08189ACFE3799-0:0'
(string)
  storage.size = 0  (0x0)  (uint64)
  storage.vendor = 'RIM'  (string)

udi = 
'/org/freedesktop/Hal/devices/usb_device_fca_4_155FF3210780674CC49459D03AE08189ACFE3799_if0'
  info.bus = 'usb'  (string)
  info.parent =
'/org/freedesktop/Hal/devices/usb_device_fca_4_155FF3210780674CC49459D03AE08189ACFE3799'
 (string)
  info.product = 'USB Vendor Specific Interface'  (string)
  info.subsystem = 'usb'  (string)
  info.udi = 
'/org/freedesktop/Hal/devices/usb_device_fca_4_155FF3210780674CC49459D03AE08189ACFE3799_if0'
 (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'usb'  (string)
  linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0'  (string)
  usb.bus_number = 4  (0x4)  (int)
  usb.can_wake_up = false  (bool)
  usb.device_class = 0  (0x0)  (int)
  usb.device_protocol = 0  (0x0)  (int)
  usb.device_revision_bcd = 262  (0x106)  (int)
  usb.device_subclass = 0  (0x0)  (int)
  usb.interface.class = 255  (0xff)  (int)
  usb.interface.description = 'BlackBerry'  (string)
  usb.interface.number = 0  (0x0)  (int)
  usb.interface.protocol = 255  (0xff)  (int)
  usb.interface.subclass = 1  (0x1)  (int)
  usb.is_self_powered = false  (bool)
  usb.linux.device_number = 3  (0x3)  (int)
  usb.linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0'  (string)
  usb.num_configurations = 1  (0x1)  (int)
  usb.num_ports = 0  (0x0)  (int)
  usb.product = 'USB Vendor Specific Interface'  (string)
  usb.product_id = 4  (0x4)  (int)
  usb.serial = '155FF3210780674CC49459D03AE08189ACFE3799'  (string)
  usb.speed = 12.0 (12) (double)
  usb.speed_bcd = 4608  (0x1200)  (int)
  usb.vendor = 'Research In Motion, Ltd.'  (string)
  usb.vendor_id = 4042  (0xfca)  (int)
  usb.version = 1.1 (1.1) (double)
  usb.version_bcd = 272  (0x110)  (int)

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to