• Paladin of the Pegasos
    Paladin of the Pegasos
    jcmarcos
    Posts: 1178 from 2003/3/13
    From: Pinto, Madrid ...
    Finally, here it is, the results of "USBDevLister" in two runs. First, when the phone's "advanced PC communications" are enabled, it shows itself as "Generic RNDIS":

    Code:

    Poseidon DevID : 'Generic RNDIS-0BB4-0B51-61840a17-58da-d143-f800-0050bf3f5173-00'
    Product Name : 'Generic RNDIS' (ID: 0B51, Vers: 0000)
    Manufacturer : 'HTC' (Vendor: 0BB4 (High Tech Computer Corp.))
    Serial Number : '61840a17-58da-d143-f800-0050bf3f5173' (USBVers: 0200)
    Device State : fullspeed connected hasaddress hasdevdesc isconfigured
    Device Address : 3 (Port 3 at PCI Root Hub Unit 0)
    Class/Sub/Proto : 239/1/1 (Miscellaneous Device)
    MaxPktSize EP 0 : 64
    Power Check : Supply = 100mA, Drain = 0mA
    Current Language: English (United States)
    Supported Langs : English (United States)

    1 configuration(s):

    ? Config 1 (Configuration 1)
    Attrs : self-powered
    MaxPower: 100 mA

    2 interface(s) for this config:
    ? Interface 0 (Miscellaneous Device interface (0)) (ID: '00-00-EF-01-01')
    Alternate Setting: 0
    Class/Sub/Proto : 239/1/1 (Miscellaneous Device)

    1 endpoint(s) for this interface:
    ? Endpoint 1 (interrupt <-[ IN)
    MaxPktSize: 8
    Interval : 1 ms

    No alternate settings.

    ? Interface 1 (CDC data interface (1)) (ID: '01-00-0A-00-00')
    Alternate Setting: 0
    Class/Sub/Proto : 10/0/0 (CDC Data)

    2 endpoint(s) for this interface:
    ? Endpoint 2 (bulk <-[ IN)
    MaxPktSize: 64
    ? Endpoint 3 (bulk OUT ]->)
    MaxPktSize: 64

    No alternate settings.

    Standard Descriptors:
    Desc. 01 (Device), 18 bytes
    Desc. 02 (Configuration), 9 bytes (Config 1)
    Desc. 04 (Interface), 9 bytes (Iface 0/0, Cfg 1)
    Desc. 24 (Class-specific Interface), 5 bytes (Iface 0/0, Cfg 1)
    00: 05 24 01 00 01
    Desc. 24 (Class-specific Interface), 4 bytes (Iface 0/0, Cfg 1)
    00: 04 24 02 00
    Desc. 24 (Class-specific Interface), 5 bytes (Iface 0/0, Cfg 1)
    00: 05 24 02 00 01
    Desc. 05 (Endpoint), 7 bytes (EP 1, IF 0/0, Cfg 1)
    Desc. 04 (Interface), 9 bytes (Iface 1/0, Cfg 1)
    Desc. 05 (Endpoint), 7 bytes (EP 2, IF 1/0, Cfg 1)
    Desc. 05 (Endpoint), 7 bytes (EP 3, IF 1/0, Cfg 1)

    Google: http://www.google.com/search?q=usb+0x0BB4+0x0B51



    Next, with those "advanced options" disabled, the phone shows up as "Generic serial":

    Code:

    Poseidon DevID : 'Generic Serial-0BB4-0A51-61840a17-58da-d143-f800-0050bf3f5173-00'
    Product Name : 'Generic Serial' (ID: 0A51, Vers: 0000)
    Manufacturer : 'HTC' (Vendor: 0BB4 (High Tech Computer Corp.))
    Serial Number : '61840a17-58da-d143-f800-0050bf3f5173' (USBVers: 0200)
    Device State : fullspeed connected hasaddress hasdevdesc isconfigured
    Device Address : 3 (Port 3 at PCI Root Hub Unit 0)
    Class/Sub/Proto : 0/0/0 (<unknown>)
    MaxPktSize EP 0 : 64
    Power Check : Supply = 100mA, Drain = 0mA
    Current Language: English (United States)
    Supported Langs : English (United States)

    1 configuration(s):

    ? Config 1 (Configuration 1)
    Attrs : self-powered
    MaxPower: 100 mA

    1 interface(s) for this config:
    ? Interface 0 (Vendor interface (0)) (ID: '00-00-FF-FF-FF')
    Alternate Setting: 0
    Class/Sub/Proto : 255/255/255 (Vendor)

    2 endpoint(s) for this interface:
    ? Endpoint 1 (bulk <-[ IN)
    MaxPktSize: 64
    ? Endpoint 2 (bulk OUT ]->)
    MaxPktSize: 64

    No alternate settings.

    Standard Descriptors:
    Desc. 01 (Device), 18 bytes
    Desc. 02 (Configuration), 9 bytes (Config 1)
    Desc. 04 (Interface), 9 bytes (Iface 0/0, Cfg 1)
    Desc. 05 (Endpoint), 7 bytes (EP 1, IF 0/0, Cfg 1)
    Desc. 05 (Endpoint), 7 bytes (EP 2, IF 0/0, Cfg 1)

    Google: http://www.google.com/search?q=usb+0x0BB4+0x0A51



    Like I said, perhaps it's easir to communicate with the phone as a serial port. But I don't know if it can be done forcing a bind with some USB class. Then, I don't expect the phone to listen, because its serial communications might be blocked by its ActiveSync service. Serial ports, traditionally, can't be shared by programs, which effectively lock the port when they make use of it. That wouldn't happen if we used the phone as an RNDIS (network) device, but I guess that would be mucho more difficult. If only a SANA driver existed for "generic RNDIS" devices (through USB!)... Can it be done?
  • »25.06.09 - 07:40
    Profile