Hmm, well that failed.

although there is a program hal-disable-polling which should stop the
hal from polling the modem and causing the freeze, when I try.

sudo hal-disable-polling --udi
/org/freedesktop/Hal/devices/usb_device_12d1_1003_noserial_if2

which is the udi for the Huawei modem,  as given by hal-device (see
below) I get an "Device with udi
/org/freedesktop/Hal/devices/usb_device_12d1_1003_noserial_if2 is not a
storage device." error.

The same udi with differing if (interface?) number is given to 4
different devices all of which are the Huawei E220 modem. the if2 is a
USB Mass Storage device.

Here's the output from hal-device about the Huawei E220...


113: udi = '/org/freedesktop/Hal/devices/usb_device_12d1_1003_noserial_if2'
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'usb'  (string)
  info.subsystem = 'usb'  (string)
  info.product = 'USB Mass Storage Interface'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_12d1_1003_noserial_if2'  
(string)
  usb.linux.sysfs_path = 
'/sys/devices/pci0000:00/0000:00:13.1/usb6/6-2/6-2:1.2'  (string)
  usb.configuration_value = 1  (0x1)  (int)
  usb.num_configurations = 1  (0x1)  (int)
  usb.num_interfaces = 3  (0x3)  (int)
  usb.device_class = 0  (0x0)  (int)
  usb.device_subclass = 0  (0x0)  (int)
  usb.device_protocol = 0  (0x0)  (int)
  usb.vendor_id = 4817  (0x12d1)  (int)
  usb.product_id = 4099  (0x1003)  (int)
  usb.product = 'USB Mass Storage Interface'  (string)
  usb.vendor = 'Huawei Technologies Co., Ltd.'  (string)
  usb.max_power = 500  (0x1f4)  (int)
  usb.device_revision_bcd = 0  (0x0)  (int)
  usb.linux.device_number = 2  (0x2)  (int)
  usb.is_self_powered = false  (bool)
  usb.num_ports = 0  (0x0)  (int)
  usb.bus_number = 6  (0x6)  (int)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:13.1/usb6/6-2/6-2:1.2'  
(string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_12d1_1003_noserial'  
(string)
  usb.version = 1.1  (double)
  usb.speed = 12  (double)
  usb.interface.number = 2  (0x2)  (int)
  usb.can_wake_up = true  (bool)
  usb.interface.subclass = 6  (0x6)  (int)
  usb.interface.class = 8  (0x8)  (int)
  usb.interface.protocol = 80  (0x50)  (int)

114: udi = '/org/freedesktop/Hal/devices/usb_device_12d1_1003_noserial_if1'
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'usb'  (string)
  info.linux.driver = 'option'  (string)
  usb.interface.description = 'Data Interface'  (string)
  info.subsystem = 'usb'  (string)
  info.product = 'USB Vendor Specific Interface'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_12d1_1003_noserial_if1'  
(string)
  usb.linux.sysfs_path = 
'/sys/devices/pci0000:00/0000:00:13.1/usb6/6-2/6-2:1.1'  (string)
  usb.configuration_value = 1  (0x1)  (int)
  usb.num_configurations = 1  (0x1)  (int)
  usb.num_interfaces = 3  (0x3)  (int)
  usb.device_class = 0  (0x0)  (int)
  usb.device_subclass = 0  (0x0)  (int)
  usb.device_protocol = 0  (0x0)  (int)
  usb.vendor_id = 4817  (0x12d1)  (int)
  usb.product_id = 4099  (0x1003)  (int)
  usb.product = 'USB Vendor Specific Interface'  (string)
  usb.vendor = 'Huawei Technologies Co., Ltd.'  (string)
  usb.max_power = 500  (0x1f4)  (int)
  usb.device_revision_bcd = 0  (0x0)  (int)
  usb.linux.device_number = 2  (0x2)  (int)
  usb.is_self_powered = false  (bool)
  usb.num_ports = 0  (0x0)  (int)
  usb.bus_number = 6  (0x6)  (int)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:13.1/usb6/6-2/6-2:1.1'  
(string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_12d1_1003_noserial'  
(string)
  usb.version = 1.1  (double)
  usb.speed = 12  (double)
  usb.interface.number = 1  (0x1)  (int)
  usb.can_wake_up = true  (bool)
  usb.interface.subclass = 255  (0xff)  (int)
  usb.interface.class = 255  (0xff)  (int)
  usb.interface.protocol = 255  (0xff)  (int)

115: udi = '/org/freedesktop/Hal/devices/usb_device_12d1_1003_noserial_if0'
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'usb'  (string)
  info.linux.driver = 'option'  (string)
  usb.interface.description = 'Data Interface'  (string)
  info.subsystem = 'usb'  (string)
  info.product = 'USB Vendor Specific Interface'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_12d1_1003_noserial_if0'  
(string)
  usb.linux.sysfs_path = 
'/sys/devices/pci0000:00/0000:00:13.1/usb6/6-2/6-2:1.0'  (string)
  usb.configuration_value = 1  (0x1)  (int)
  usb.num_configurations = 1  (0x1)  (int)
  usb.num_interfaces = 3  (0x3)  (int)
  usb.device_class = 0  (0x0)  (int)
  usb.device_subclass = 0  (0x0)  (int)
  usb.device_protocol = 0  (0x0)  (int)
  usb.vendor_id = 4817  (0x12d1)  (int)
  usb.product_id = 4099  (0x1003)  (int)
  usb.product = 'USB Vendor Specific Interface'  (string)
  usb.vendor = 'Huawei Technologies Co., Ltd.'  (string)
  usb.max_power = 500  (0x1f4)  (int)
  usb.device_revision_bcd = 0  (0x0)  (int)
  usb.linux.device_number = 2  (0x2)  (int)
  usb.is_self_powered = false  (bool)
  usb.num_ports = 0  (0x0)  (int)
  usb.bus_number = 6  (0x6)  (int)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:13.1/usb6/6-2/6-2:1.0'  
(string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_12d1_1003_noserial'  
(string)
  usb.version = 1.1  (double)
  usb.speed = 12  (double)
  usb.interface.number = 0  (0x0)  (int)
  usb.can_wake_up = true  (bool)
  usb.interface.subclass = 255  (0xff)  (int)
  usb.interface.class = 255  (0xff)  (int)
  usb.interface.protocol = 255  (0xff)  (int)

116: udi = '/org/freedesktop/Hal/devices/usb_device_12d1_1003_noserial'
  info.udi = '/org/freedesktop/Hal/devices/usb_device_12d1_1003_noserial'  (stri
ng)
  linux.subsystem = 'usb'  (string)
  linux.device_file = '/dev/bus/usb/006/002'  (string)
  info.linux.driver = 'usb'  (string)
  usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:13.1/usb6/6-2' 
 (string)
  usb_device.configuration_value = 1  (0x1)  (int)
  usb_device.num_configurations = 1  (0x1)  (int)
  usb_device.num_interfaces = 3  (0x3)  (int)
  usb_device.device_class = 0  (0x0)  (int)
  usb_device.device_subclass = 0  (0x0)  (int)
  usb_device.device_protocol = 0  (0x0)  (int)
  usb_device.vendor_id = 4817  (0x12d1)  (int)
  usb_device.product_id = 4099  (0x1003)  (int)
  info.subsystem = 'usb_device'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:13.1/usb6/6-2'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_13_1'  (
string)
  usb_device.vendor = 'Huawei Technologies Co., Ltd.'  (string)
  usb_device.product = 'E220 HSDPA Modem / E270 HSDPA/HSUPA Modem'  (string)
  usb_device.device_revision_bcd = 0  (0x0)  (int)
  usb_device.max_power = 500  (0x1f4)  (int)
  info.product = 'E220 HSDPA Modem / E270 HSDPA/HSUPA Modem'  (string)
  usb_device.linux.device_number = 2  (0x2)  (int)
  usb_device.version = 1.1  (double)
  usb_device.num_ports = 0  (0x0)  (int)
  info.vendor = 'Huawei Technologies Co., Ltd.'  (string)
  usb_device.is_self_powered = false  (bool)
  usb_device.speed = 12  (double)
  usb_device.bus_number = 6  (0x6)  (int)
  linux.hotplug_type = 2  (0x2)  (int)
  usb_device.can_wake_up = true  (bool)

-- 
jaunty 9.04 gnome desktop freezes on mobile internet disconnect
https://bugs.launchpad.net/bugs/367397
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