Re: [Banshee-List] Device support for T-Mobile Pulse (Huawei 8220)



Hi Gabriel,

When I run "hal-device | grep android" I get no output, I've put the output
of hal-device to a file and looked through it for huawei, and found several
entries for it, the two attached below seem to be those of more interest
than the others. The only problem is this doesn't look like particularly
good news for finding Android devices by searching for Android if the
manufacturers aren't putting it in this USB information.

Thanks,

Steve

11: udi = '/org/freedesktop/Hal/devices/usb_device_12d1_1501_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_1501_noserial_if2'  (string)
  usb.linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5.4/1-5.4:1.2'  (string)
  usb.configuration_value = 1  (0x1)  (int)
  usb.num_configurations = 1  (0x1)  (int)
  usb.num_interfaces = 5  (0x5)  (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 = 5377  (0x1501)  (int)
  usb.vendor = 'Huawei Technologies Co., Ltd.'  (string)
  usb.product = 'USB Mass Storage Interface'  (string)
  usb.max_power = 500  (0x1f4)  (int)
  usb.num_ports = 0  (0x0)  (int)
  usb.device_revision_bcd = 256  (0x100)  (int)
  usb.is_self_powered = false  (bool)
  usb.speed = 480  (double)
  usb.bus_number = 1  (0x1)  (int)
  usb.can_wake_up = true  (bool)
  usb.version = 2  (double)
  usb.linux.device_number = 18  (0x12)  (int)
  linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5.4/1-5.4:1.2'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_12d1_1501_noserial' 
(string)
  usb.interface.subclass = 6  (0x6)  (int)
  usb.interface.number = 2  (0x2)  (int)
  info.linux.driver = 'usb-storage'  (string)
  usb.interface.protocol = 80  (0x50)  (int)
  usb.interface.class = 8  (0x8)  (int)

12: udi = '/org/freedesktop/Hal/devices/usb_device_12d1_1501_noserial'
  info.vendor = 'Huawei Technologies Co., Ltd.'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_12d1_1501_noserial' 
(string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'usb'  (string)
  usb_device.linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5.4'  (string)
  usb_device.configuration_value = 1  (0x1)  (int)
  usb_device.num_configurations = 1  (0x1)  (int)
  usb_device.num_interfaces = 5  (0x5)  (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 = 5377  (0x1501)  (int)
  usb_device.vendor = 'Huawei Technologies Co., Ltd.'  (string)
  usb_device.product = 'T-Mobile 3G Phone'  (string)
  info.subsystem = 'usb_device'  (string)
  info.product = 'T-Mobile 3G Phone'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5.4' 
(string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_5e3_608_noserial' 
(string)
  usb_device.max_power = 500  (0x1f4)  (int)
  info.linux.driver = 'usb'  (string)
  usb_device.device_revision_bcd = 256  (0x100)  (int)
  usb_device.version = 2  (double)
  usb_device.num_ports = 0  (0x0)  (int)
  usb_device.linux.device_number = 18  (0x12)  (int)
  usb_device.is_self_powered = false  (bool)
  usb_device.speed = 480  (double)
  usb_device.bus_number = 1  (0x1)  (int)
  linux.device_file = '/dev/bus/usb/001/018'  (string)
  usb_device.can_wake_up = true  (bool)



gabaug wrote:
> 
> On Fri, Nov 6, 2009 at 8:57 AM, steev182 <stevie mulcahy gmail com> wrote:
>>
>> Would it be possible to get support for the new T-Mobile Pulse? I just
>> bought
>> it to replace my iPhone (it runs Android) and I was hoping it would just
>> work like how my sister's Samsung Galaxy did when I tried it.
>>
>> If you just need a USB ID, my output of lsusb contains this:
>>
>> Bus 001 Device 008: ID 12d1:1501 Huawei Technologies Co., Ltd.
>>
>> If anything else is needed, just let me know and I can find it for you.
>> It'd
>> be awesome if this can work though :D
> 
> We have a system for adding vendor/product ids to recognize as Android
> devices, which is ok.  But it would be better if there was a generic
> way of recognizing Android devices, either by the USB information they
> expose via HAL (or devicekit-disks) or by their filesystem layout.
> 
> Can you run "hal-device | grep -i android" and see if it returns
> anything?  For my G1 dev phone, I have
> 
> udi =
> '/org/freedesktop/Hal/devices/storage_serial_HTC_Android_Phone_HT851N003062_0_0'
> info.product = 'Android Phone'
> storage.model = 'Android Phone'
> 
> and more.  We could just look for Android in any of those fields.
> 
> Gabriel
> _______________________________________________
> banshee-list mailing list
> banshee-list gnome org
> http://mail.gnome.org/mailman/listinfo/banshee-list
> 
> 

-- 
View this message in context: http://old.nabble.com/Device-support-for-T-Mobile-Pulse-%28Huawei-8220%29-tp26230829p26240925.html
Sent from the Banshee mailing list archive at Nabble.com.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]