There we go:

udi = 
'/org/freedesktop/Hal/devices/usb_device_5ac_1292_5a1346950d9a0ad827e14c7b622142a199c73585'
  info.linux.driver = 'usb'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_1d6b_2_0000_00_12_2'  
(string)
  info.product = 'iPhone'  (string)
  info.subsystem = 'usb_device'  (string)
  info.udi = 
'/org/freedesktop/Hal/devices/usb_device_5ac_1292_5a1346950d9a0ad827e14c7b622142a199c73585'
  (string)
  info.vendor = 'Apple, Inc.'  (string)
  linux.device_file = '/dev/bus/usb/001/002'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'usb'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:12.2/usb1/1-1'  (string)
  usb_device.bus_number = 1  (0x1)  (int)
  usb_device.can_wake_up = false  (bool)
  usb_device.configuration = 'PTP'  (string)
  usb_device.configuration_value = 1  (0x1)  (int)
  usb_device.device_class = 0  (0x0)  (int)
  usb_device.device_protocol = 0  (0x0)  (int)
  usb_device.device_revision_bcd = 1  (0x1)  (int)
  usb_device.device_subclass = 0  (0x0)  (int)
  usb_device.is_self_powered = true  (bool)
  usb_device.linux.device_number = 2  (0x2)  (int)
  usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:12.2/usb1/1-1' 
 (string)
  usb_device.max_power = 500  (0x1f4)  (int)
  usb_device.num_configurations = 3  (0x3)  (int)
  usb_device.num_interfaces = 1  (0x1)  (int)
  usb_device.num_ports = 0  (0x0)  (int)
  usb_device.product = 'iPhone'  (string)
  usb_device.product_id = 4754  (0x1292)  (int)
  usb_device.serial = '5a1346950d9a0ad827e14c7b622142a199c73585'  (string)
  usb_device.speed = 480.0 (480) (double)
  usb_device.vendor = 'Apple, Inc.'  (string)
  usb_device.vendor_id = 1452  (0x5ac)  (int)
  usb_device.version = 2.0 (2) (double)

I suspect that if you look in
'/sys/devices/pci0000:00/0000:00:12.2/usb1/1-1/device/vendor (I think
that is the path - it is something like that anyway. I can't check until
I get home), that you will find that HAL is getting the vendor and model
name from here, which is coming straight from your iPhone.

-- 
iPhone name should not be "Apple, Inc. iPhone"
https://bugs.launchpad.net/bugs/269160
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to