Peace,

A Huawei 3G modem works when plugged into one out of three USB connectors
on a ThinkPad E431 and exhibits strange behaviour on the other two:

OpenBSD 5.7-stable (GENERIC.MP) #0: Mon Aug 31 07:11:03 IST 2015
    root@localhost:/usr/src/sys/arch/i386/compile/GENERIC.MP
...
xhci0 at pci0 dev 20 function 0 "Intel 7 Series xHCI" rev 0x04: msi
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 "Intel xHCI root hub" rev 3.00/1.00 addr 1
"Intel 7 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 16
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ehci1 at pci0 dev 29 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 23
usb2 at ehci1: USB revision 2.0
uhub2 at usb2 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhub4 at uhub2 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
...

When the modem is plugged into the connector that works, we get the
following:

umsm0 at uhub3 port 2 configuration 1 interface 0 "Huawei Technologies HUAWEI 
Mobile" rev 2.00/0.00 addr 3
umsm1 at uhub3 port 2 configuration 1 interface 1 "Huawei Technologies HUAWEI 
Mobile" rev 2.00/0.00 addr 3
umsm0 detached
umsm1 detached
umsm0 at uhub3 port 2 configuration 1 interface 0 "Huawei Technologies HUAWEI 
Mobile" rev 2.00/0.00 addr 3
ucom0 at umsm0
umsm1 at uhub3 port 2 configuration 1 interface 1 "Huawei Technologies HUAWEI 
Mobile" rev 2.00/0.00 addr 3
ucom1 at umsm1
umsm2 at uhub3 port 2 configuration 1 interface 2 "Huawei Technologies HUAWEI 
Mobile" rev 2.00/0.00 addr 3
ucom2 at umsm2
umsm3 at uhub3 port 2 configuration 1 interface 3 "Huawei Technologies HUAWEI 
Mobile" rev 2.00/0.00 addr 3
ucom3 at umsm3
umsm4 at uhub3 port 2 configuration 1 interface 4 "Huawei Technologies HUAWEI 
Mobile" rev 2.00/0.00 addr 3
umsm5 at uhub3 port 2 configuration 1 interface 5 "Huawei Technologies HUAWEI 
Mobile" rev 2.00/0.00 addr 3
...

$ sudo cu -l cuaU0
Connected to /dev/cuaU0 (speed 9600)
at
OK
...


Now if it is plugged into the other two:

umsm0 at uhub0 port 1 configuration 1 interface 0 "Huawei Technologies HUAWEI 
Mobile" rev 2.00/0.00 addr 2
umsm1 at uhub0 port 1 configuration 1 interface 1 "Huawei Technologies HUAWEI 
Mobile" rev 2.00/0.00 addr 2
umsm0 detached
umsm1 detached
umsm0 at uhub0 port 1 configuration 1 interface 0 "Huawei Technologies HUAWEI 
Mobile" rev 2.00/0.00 addr 2
ucom0 at umsm0
umsm1 at uhub0 port 1 configuration 1 interface 1 "Huawei Technologies HUAWEI 
Mobile" rev 2.00/0.00 addr 2
ucom1 at umsm1
umsm2 at uhub0 port 1 configuration 1 interface 2 "Huawei Technologies HUAWEI 
Mobile" rev 2.00/0.00 addr 2
ucom2 at umsm2
umsm3 at uhub0 port 1 configuration 1 interface 3 "Huawei Technologies HUAWEI 
Mobile" rev 2.00/0.00 addr 2
ucom3 at umsm3
umsm4 at uhub0 port 1 configuration 1 interface 4 "Huawei Technologies HUAWEI 
Mobile" rev 2.00/0.00 addr 2
umsm5 at uhub0 port 1 configuration 1 interface 5 "Huawei Technologies HUAWEI 
Mobile" rev 2.00/0.00 addr 2
...

and

...
umsm0 at uhub0 port 3 configuration 1 interface 0 "Huawei Technologies HUAWEI 
Mobile" rev 2.00/0.00 addr 2
umsm1 at uhub0 port 3 configuration 1 interface 1 "Huawei Technologies HUAWEI 
Mobile" rev 2.00/0.00 addr 2
umsm0 detached
umsm1 detached
umsm0 at uhub0 port 3 configuration 1 interface 0 "Huawei Technologies HUAWEI 
Mobile" rev 2.00/0.00 addr 2
ucom0 at umsm0
umsm1 at uhub0 port 3 configuration 1 interface 1 "Huawei Technologies HUAWEI 
Mobile" rev 2.00/0.00 addr 2
ucom1 at umsm1
umsm2 at uhub0 port 3 configuration 1 interface 2 "Huawei Technologies HUAWEI 
Mobile" rev 2.00/0.00 addr 2
ucom2 at umsm2
umsm3 at uhub0 port 3 configuration 1 interface 3 "Huawei Technologies HUAWEI 
Mobile" rev 2.00/0.00 addr 2
ucom3 at umsm3
umsm4 at uhub0 port 3 configuration 1 interface 4 "Huawei Technologies HUAWEI 
Mobile" rev 2.00/0.00 addr 2
umsm5 at uhub0 port 3 configuration 1 interface 5 "Huawei Technologies HUAWEI 
Mobile" rev 2.00/0.00 addr 2
...

In both of the above cases the test with cu results in the following:

$ sudo cu -l cuaU0
Connected to /dev/cuaU0 (speed 9600)
...

At this point if one types `a', the `a' is echoed along with loads of 
higher-ascii
characters (varying from a few lines to a screen-full!); the same after
`t' and `<cr>' with a `OK' embedded in the junk!

Reply via email to