Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added Kernel support for Huawei ME909u #45

Closed
wants to merge 2 commits into from

Conversation

TyphoonSB
Copy link

added Kernel support for Huawei ME909u

@TyphoonSB TyphoonSB changed the title added Kernel support for Huawei M909 added Kernel support for Huawei ME909u Sep 7, 2015
@TyphoonSB
Copy link
Author

Added a Post to FreeBSD Bugzilla

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202968

@hselasky
Copy link
Contributor

hselasky commented Sep 9, 2015

Hi,

This pull request doesn't compile. There is a typo in there.

Can you send the "dmesg" and "usbconfig -d X.Y dump_device_desc dump_curr_config_desc" output from before and after this patch?

--HPS

@TyphoonSB
Copy link
Author

Hi Hans Petter,

thank you for working on this Ticket.

I have done my changes due this to posts:

https://forum.pfsense.org/index.php?topic=86064.90

http://technotation.com/2012/08/15/freebsd-and-mobile-broadband/

And the idProduct of the Huawei ME909 is 0x1573.

Sorry but i can´t send you only the dmesg and USB config before when I am at home later.
I can´t compile this code on my pfsense router ;-(

Thanks Simon

@hselasky
Copy link
Contributor

hselasky commented Sep 9, 2015

You used usbconfig to set the quirk? How did you test it? I have no urgency :-)

@TyphoonSB
Copy link
Author

I can´t test it ... because nobody can explain us really how to compile the Kernel for pfSense ;-( All manuals are stucked.
But other guys from the pfSense Forum have set up the LTE modem on this way. But nobody has send it to the Dev Team.

I am not realy a programmer ... i know what i have to do (in most cases) but i don´t compail a kernel every day ;-)

@hselasky
Copy link
Contributor

hselasky commented Sep 9, 2015

OK, maybe you can do some tests for me, so we can resolve this issue.

The patch you added corresponds to this:

usbconfig -d X.Y add_quirk UQ_MSC_EJECT_HUAWEI

Then replug your device. Does it work now?

If not your quirk is wrong. Else it is right :-)

More quirks:

usbconfig dump_quirk_names | grep EJECT

@TyphoonSB
Copy link
Author

ok i will do it when I am at home and let you know.

Thanks for your Support!!!

@TyphoonSB
Copy link
Author

Hi Hans Petter,

here some outputs:

dmesg | grep ugen
ugen0.1: ATI at usbus0
ugen1.1: ATI at usbus1
ugen2.1: ATI at usbus2
ugen3.1: ATI at usbus3
ugen4.1: ATI at usbus4
ugen5.1: ATI at usbus5
ugen6.1: ATI at usbus6
ugen6.2: Generic at usbus6
ugen3.2: HUAWEI Technology at usbus3

usbconfig dump_quirk_names | grep EJECT
UQ_MSC_EJECT_HUAWEI
UQ_MSC_EJECT_SIERRA
UQ_MSC_EJECT_SCSIEJECT
UQ_MSC_EJECT_REZERO
UQ_MSC_EJECT_ZTESTOR
UQ_MSC_EJECT_CMOTECH
UQ_MSC_EJECT_WAIT
UQ_MSC_EJECT_SAEL_M460
UQ_MSC_EJECT_HUAWEISCSI
UQ_MSC_EJECT_TCT

with ejecting end reconnecting it is a little bit difficult because the ME909u is a PCIe Card placed on the Mainboard.

After I do a "usbconfig -d 3.2 add_quirk UQ_MSC_EJECT_HUAWEI" the output of "dmesg | grep ugen" is

ugen0.1: ATI at usbus0
ugen1.1: ATI at usbus1
ugen2.1: ATI at usbus2
ugen3.1: ATI at usbus3
ugen4.1: ATI at usbus4
ugen5.1: ATI at usbus5
ugen6.1: ATI at usbus6
ugen6.2: Generic at usbus6
ugen3.2: HUAWEI Technology at usbus3

nothing has changed....

@hselasky
Copy link
Contributor

hselasky commented Sep 9, 2015

Try to reset the parent HUB:

usbconfig -d 3.1 reset

--HPS

@TyphoonSB
Copy link
Author

done... but nothing happens ...

dmesg | grep ugen
ugen0.1: ATI at usbus0
ugen1.1: ATI at usbus1
ugen2.1: ATI at usbus2
ugen3.1: ATI at usbus3
ugen4.1: ATI at usbus4
ugen5.1: ATI at usbus5
ugen6.1: ATI at usbus6
ugen6.2: Generic at usbus6
ugen3.2: HUAWEI Technology at usbus3
ugen3.2: HUAWEI Technology at usbus3 (disconnected)
ugen3.2: HUAWEI Technology at usbus3

usbconfig -u 3 -a 2 dump_device_desc
ugen3.2: at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)

bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0200
bDeviceClass = 0x0000
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x12d1
idProduct = 0x1573
bcdDevice = 0x0228
iManufacturer = 0x0001
iProduct = 0x0002
iSerialNumber = 0x0003 <0123456712ABCA17>
bNumConfigurations = 0x0003

@TyphoonSB
Copy link
Author

TyphoonSB commented Sep 9, 2015

on my FreeBSD 10.2 VM it kompiles without an error ....

awk -f /usr/src/sys/conf/kmod_syms.awk iscsi_initiator.ko.debug  export_syms | xargs -J% objcopy % iscsi_initiator.ko.debug
objcopy --only-keep-debug iscsi_initiator.ko.debug iscsi_initiator.ko.symbols
objcopy --strip-debug --add-gnu-debuglink=iscsi_initiator.ko.symbols iscsi_initiator.ko.debug iscsi_initiator.ko
--------------------------------------------------------------
>>> Kernel build for KERNEL_TEST completed on Wed Sep  9 22:20:42 CEST 2015
--------------------------------------------------------------
root@bsd:/usr/src #

@hselasky
Copy link
Contributor

hselasky commented Sep 9, 2015

Can you try:
usbconfig -d X.Y set_config 1
or:
usbconfig -d X.Y set_config 2

And dump all the configuration descriptors using usbconfig?

Basically it means that your patch is not correct.

--HPS

@TyphoonSB
Copy link
Author

ok when I set it to config 1 I will see a ue0 interface in pfsense....

is this permanently now?

@TyphoonSB
Copy link
Author

but I do not get an port for a ppp connection

@hselasky
Copy link
Contributor

Can you send output from:
usbconfig -d X.Y set_config 1
usbconfig -d X.Y dump_all_config_desc

and:

usbconfig -d X.Y set_config 2
usbconfig -d X.Y dump_all_config_desc

@hselasky
Copy link
Contributor

According to this thread:
http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=4&t=2366

You should be using quirk "UQ_MSC_EJECT_HUAWEISCSI2" which means you are using a bit old kernel because you don't have that quirk in the quirk list.

To get the modems you need to patch u3g.c like this:

U3G_DEV(HUAWEI, ME909U, U3GINIT_HUAWEISCSI2),

--HPS

@TyphoonSB
Copy link
Author

usbconfig -d 3.2 set_config 1

usbconfig -d 3.2 dump_all_config_desc
ugen3.2: at usbus3, cfg=1 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)

Configuration index 0

bLength = 0x0009
bDescriptorType = 0x0002
wTotalLength = 0x009d
bNumInterfaces = 0x0005
bConfigurationValue = 0x0001
iConfiguration = 0x0000  <no string>
bmAttributes = 0x00a0
bMaxPower = 0x00fa

Interface 0
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0000
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0003
  bInterfaceClass = 0x00ff
  bInterfaceSubClass = 0x0001
  bInterfaceProtocol = 0x0010
  iInterface = 0x0031  <HUAWEI Mobile Connect - Modem>

  Additional Descriptor

  bLength = 0x05
  bDescriptorType = 0x24
  bDescriptorSubType = 0x00
   RAW dump:
   0x00 | 0x05, 0x24, 0x00, 0x10, 0x01


  Additional Descriptor

  bLength = 0x05
  bDescriptorType = 0x24
  bDescriptorSubType = 0x01
   RAW dump:
   0x00 | 0x05, 0x24, 0x01, 0x00, 0x00


  Additional Descriptor

  bLength = 0x04
  bDescriptorType = 0x24
  bDescriptorSubType = 0x02
   RAW dump:
   0x00 | 0x04, 0x24, 0x02, 0x02


  Additional Descriptor

  bLength = 0x05
  bDescriptorType = 0x24
  bDescriptorSubType = 0x06
   RAW dump:
   0x00 | 0x05, 0x24, 0x06, 0x00, 0x00


 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0082  <IN>
    bmAttributes = 0x0003  <INTERRUPT>
    wMaxPacketSize = 0x000a
    bInterval = 0x0009
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 1
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0081  <IN>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 2
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0001  <OUT>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000


Interface 1
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0001
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0002
  bInterfaceClass = 0x00ff
  bInterfaceSubClass = 0x0001
  bInterfaceProtocol = 0x0013
  iInterface = 0x0033  <HUAWEI Mobile Connect - Application Interface>

 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0083  <IN>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 1
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0002  <OUT>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000


Interface 2
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0002
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0002
  bInterfaceClass = 0x00ff
  bInterfaceSubClass = 0x0001
  bInterfaceProtocol = 0x0012
  iInterface = 0x0032  <HUAWEI Mobile Connect - PC UI Interface>

 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0084  <IN>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 1
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0003  <OUT>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000


Interface 3
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0003
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0003
  bInterfaceClass = 0x00ff
  bInterfaceSubClass = 0x0001
  bInterfaceProtocol = 0x0011
  iInterface = 0x0037  <HUAWEI Mobile Connect - Network Card>

 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0086  <IN>
    bmAttributes = 0x0003  <INTERRUPT>
    wMaxPacketSize = 0x0008
    bInterval = 0x0009
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 1
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0085  <IN>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 2
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0004  <OUT>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000


Interface 4
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0004
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0002
  bInterfaceClass = 0x00ff
  bInterfaceSubClass = 0x0001
  bInterfaceProtocol = 0x0014
  iInterface = 0x0035  <HUAWEI Mobile Connect - GPS Interface>

 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0087  <IN>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 1
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0005  <OUT>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

Configuration index 1

bLength = 0x0009
bDescriptorType = 0x0002
wTotalLength = 0x00c6
bNumInterfaces = 0x0006
bConfigurationValue = 0x0002
iConfiguration = 0x0000  <no string>
bmAttributes = 0x00a0
bMaxPower = 0x00fa

Interface 0
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0000
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0001
  bInterfaceClass = 0x0002
  bInterfaceSubClass = 0x0006
  bInterfaceProtocol = 0x0000
  iInterface = 0x0039  <HUAWEI Mobile Connect - Network Card>

  Additional Descriptor

  bLength = 0x05
  bDescriptorType = 0x24
  bDescriptorSubType = 0x00
   RAW dump:
   0x00 | 0x05, 0x24, 0x00, 0x10, 0x01


  Additional Descriptor

  bLength = 0x05
  bDescriptorType = 0x24
  bDescriptorSubType = 0x06
   RAW dump:
   0x00 | 0x05, 0x24, 0x06, 0x00, 0x01


  Additional Descriptor

  bLength = 0x0d
  bDescriptorType = 0x24
  bDescriptorSubType = 0x0f
   RAW dump:
   0x00 | 0x0d, 0x24, 0x0f, 0x0a, 0x00, 0x00, 0x00, 0x00,
   0x08 | 0xea, 0x05, 0x00, 0x00, 0x00


 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0082  <IN>
    bmAttributes = 0x0003  <INTERRUPT>
    wMaxPacketSize = 0x0010
    bInterval = 0x0009
    bRefresh = 0x0000
    bSynchAddress = 0x0000


Interface 1
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0001
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0000
  bInterfaceClass = 0x000a
  bInterfaceSubClass = 0x0000
  bInterfaceProtocol = 0x0000
  iInterface = 0x0000  <no string>


Interface 1 Alt 1
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0001
  bAlternateSetting = 0x0001
  bNumEndpoints = 0x0002
  bInterfaceClass = 0x000a
  bInterfaceSubClass = 0x0000
  bInterfaceProtocol = 0x0000
  iInterface = 0x0039  <HUAWEI Mobile Connect - Network Card>

 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0081  <IN>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 1
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0001  <OUT>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000


Interface 2
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0002
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0003
  bInterfaceClass = 0x00ff
  bInterfaceSubClass = 0x0001
  bInterfaceProtocol = 0x0010
  iInterface = 0x0031  <HUAWEI Mobile Connect - Modem>

  Additional Descriptor

  bLength = 0x05
  bDescriptorType = 0x24
  bDescriptorSubType = 0x00
   RAW dump:
   0x00 | 0x05, 0x24, 0x00, 0x10, 0x01


  Additional Descriptor

  bLength = 0x05
  bDescriptorType = 0x24
  bDescriptorSubType = 0x01
   RAW dump:
   0x00 | 0x05, 0x24, 0x01, 0x00, 0x00


  Additional Descriptor

  bLength = 0x04
  bDescriptorType = 0x24
  bDescriptorSubType = 0x02
   RAW dump:
   0x00 | 0x04, 0x24, 0x02, 0x02


  Additional Descriptor

  bLength = 0x05
  bDescriptorType = 0x24
  bDescriptorSubType = 0x06
   RAW dump:
   0x00 | 0x05, 0x24, 0x06, 0x00, 0x00


 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0084  <IN>
    bmAttributes = 0x0003  <INTERRUPT>
    wMaxPacketSize = 0x000a
    bInterval = 0x0009
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 1
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0083  <IN>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 2
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0002  <OUT>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000


Interface 3
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0003
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0002
  bInterfaceClass = 0x00ff
  bInterfaceSubClass = 0x0001
  bInterfaceProtocol = 0x0013
  iInterface = 0x0033  <HUAWEI Mobile Connect - Application Interface>

 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0085  <IN>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 1
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0003  <OUT>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000


Interface 4
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0004
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0002
  bInterfaceClass = 0x00ff
  bInterfaceSubClass = 0x0001
  bInterfaceProtocol = 0x0012
  iInterface = 0x0032  <HUAWEI Mobile Connect - PC UI Interface>

 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0086  <IN>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 1
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0004  <OUT>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000


Interface 5
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0005
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0002
  bInterfaceClass = 0x00ff
  bInterfaceSubClass = 0x0001
  bInterfaceProtocol = 0x0014
  iInterface = 0x0035  <HUAWEI Mobile Connect - GPS Interface>

 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0087  <IN>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 1
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0005  <OUT>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

Configuration index 2

bLength = 0x0009
bDescriptorType = 0x0002
wTotalLength = 0x0076
bNumInterfaces = 0x0003
bConfigurationValue = 0x0003
iConfiguration = 0x0000  <no string>
bmAttributes = 0x00a0
bMaxPower = 0x00fa

Additional Descriptor

bLength = 0x08
bDescriptorType = 0x0b
bDescriptorSubType = 0x00
 RAW dump:
 0x00 | 0x08, 0x0b, 0x00, 0x02, 0x02, 0x0e, 0x00, 0x00


Interface 0
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0000
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0001
  bInterfaceClass = 0x0002
  bInterfaceSubClass = 0x000e
  bInterfaceProtocol = 0x0000
  iInterface = 0x0038  <HUAWEI Mobile Broadband Module>

  Additional Descriptor

  bLength = 0x05
  bDescriptorType = 0x24
  bDescriptorSubType = 0x00
   RAW dump:
   0x00 | 0x05, 0x24, 0x00, 0x10, 0x01


  Additional Descriptor

  bLength = 0x05
  bDescriptorType = 0x24
  bDescriptorSubType = 0x06
   RAW dump:
   0x00 | 0x05, 0x24, 0x06, 0x00, 0x01


  Additional Descriptor

  bLength = 0x0c
  bDescriptorType = 0x24
  bDescriptorSubType = 0x1b
   RAW dump:
   0x00 | 0x0c, 0x24, 0x1b, 0x00, 0x01, 0x00, 0x10, 0x20,
   0x08 | 0x80, 0xdc, 0x05, 0x20


  Additional Descriptor

  bLength = 0x08
  bDescriptorType = 0x24
  bDescriptorSubType = 0x1c
   RAW dump:
   0x00 | 0x08, 0x24, 0x1c, 0x00, 0x01, 0x40, 0xdc, 0x05


 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0082  <IN>
    bmAttributes = 0x0003  <INTERRUPT>
    wMaxPacketSize = 0x0040
    bInterval = 0x0009
    bRefresh = 0x0000
    bSynchAddress = 0x0000


Interface 1
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0001
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0000
  bInterfaceClass = 0x000a
  bInterfaceSubClass = 0x0000
  bInterfaceProtocol = 0x0002
  iInterface = 0x000c  <MBIM Data>


Interface 1 Alt 1
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0001
  bAlternateSetting = 0x0001
  bNumEndpoints = 0x0002
  bInterfaceClass = 0x000a
  bInterfaceSubClass = 0x0000
  bInterfaceProtocol = 0x0002
  iInterface = 0x000c  <MBIM Data>

 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0081  <IN>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 1
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0001  <OUT>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000


Interface 2
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0002
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0002
  bInterfaceClass = 0x00ff
  bInterfaceSubClass = 0x0001
  bInterfaceProtocol = 0x0014
  iInterface = 0x0035  <HUAWEI Mobile Connect - GPS Interface>

 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0083  <IN>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 1
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0002  <OUT>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

usbconfig -d 3.2 set_config 2

usbconfig -d 3.2 dump_all_config_desc
ugen3.2: at usbus3, cfg=2 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)

Configuration index 0

bLength = 0x0009
bDescriptorType = 0x0002
wTotalLength = 0x009d
bNumInterfaces = 0x0005
bConfigurationValue = 0x0001
iConfiguration = 0x0000  <no string>
bmAttributes = 0x00a0
bMaxPower = 0x00fa

Interface 0
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0000
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0003
  bInterfaceClass = 0x00ff
  bInterfaceSubClass = 0x0001
  bInterfaceProtocol = 0x0010
  iInterface = 0x0031  <HUAWEI Mobile Connect - Modem>

  Additional Descriptor

  bLength = 0x05
  bDescriptorType = 0x24
  bDescriptorSubType = 0x00
   RAW dump:
   0x00 | 0x05, 0x24, 0x00, 0x10, 0x01


  Additional Descriptor

  bLength = 0x05
  bDescriptorType = 0x24
  bDescriptorSubType = 0x01
   RAW dump:
   0x00 | 0x05, 0x24, 0x01, 0x00, 0x00


  Additional Descriptor

  bLength = 0x04
  bDescriptorType = 0x24
  bDescriptorSubType = 0x02
   RAW dump:
   0x00 | 0x04, 0x24, 0x02, 0x02


  Additional Descriptor

  bLength = 0x05
  bDescriptorType = 0x24
  bDescriptorSubType = 0x06
   RAW dump:
   0x00 | 0x05, 0x24, 0x06, 0x00, 0x00


 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0082  <IN>
    bmAttributes = 0x0003  <INTERRUPT>
    wMaxPacketSize = 0x000a
    bInterval = 0x0009
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 1
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0081  <IN>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 2
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0001  <OUT>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000


Interface 1
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0001
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0002
  bInterfaceClass = 0x00ff
  bInterfaceSubClass = 0x0001
  bInterfaceProtocol = 0x0013
  iInterface = 0x0033  <HUAWEI Mobile Connect - Application Interface>

 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0083  <IN>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 1
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0002  <OUT>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000


Interface 2
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0002
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0002
  bInterfaceClass = 0x00ff
  bInterfaceSubClass = 0x0001
  bInterfaceProtocol = 0x0012
  iInterface = 0x0032  <HUAWEI Mobile Connect - PC UI Interface>

 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0084  <IN>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 1
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0003  <OUT>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000


Interface 3
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0003
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0003
  bInterfaceClass = 0x00ff
  bInterfaceSubClass = 0x0001
  bInterfaceProtocol = 0x0011
  iInterface = 0x0037  <HUAWEI Mobile Connect - Network Card>

 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0086  <IN>
    bmAttributes = 0x0003  <INTERRUPT>
    wMaxPacketSize = 0x0008
    bInterval = 0x0009
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 1
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0085  <IN>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 2
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0004  <OUT>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000


Interface 4
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0004
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0002
  bInterfaceClass = 0x00ff
  bInterfaceSubClass = 0x0001
  bInterfaceProtocol = 0x0014
  iInterface = 0x0035  <HUAWEI Mobile Connect - GPS Interface>

 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0087  <IN>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 1
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0005  <OUT>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

Configuration index 1

bLength = 0x0009
bDescriptorType = 0x0002
wTotalLength = 0x00c6
bNumInterfaces = 0x0006
bConfigurationValue = 0x0002
iConfiguration = 0x0000  <no string>
bmAttributes = 0x00a0
bMaxPower = 0x00fa

Interface 0
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0000
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0001
  bInterfaceClass = 0x0002
  bInterfaceSubClass = 0x0006
  bInterfaceProtocol = 0x0000
  iInterface = 0x0039  <HUAWEI Mobile Connect - Network Card>

  Additional Descriptor

  bLength = 0x05
  bDescriptorType = 0x24
  bDescriptorSubType = 0x00
   RAW dump:
   0x00 | 0x05, 0x24, 0x00, 0x10, 0x01


  Additional Descriptor

  bLength = 0x05
  bDescriptorType = 0x24
  bDescriptorSubType = 0x06
   RAW dump:
   0x00 | 0x05, 0x24, 0x06, 0x00, 0x01


  Additional Descriptor

  bLength = 0x0d
  bDescriptorType = 0x24
  bDescriptorSubType = 0x0f
   RAW dump:
   0x00 | 0x0d, 0x24, 0x0f, 0x0a, 0x00, 0x00, 0x00, 0x00,
   0x08 | 0xea, 0x05, 0x00, 0x00, 0x00


 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0082  <IN>
    bmAttributes = 0x0003  <INTERRUPT>
    wMaxPacketSize = 0x0010
    bInterval = 0x0009
    bRefresh = 0x0000
    bSynchAddress = 0x0000


Interface 1
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0001
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0000
  bInterfaceClass = 0x000a
  bInterfaceSubClass = 0x0000
  bInterfaceProtocol = 0x0000
  iInterface = 0x0000  <no string>


Interface 1 Alt 1
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0001
  bAlternateSetting = 0x0001
  bNumEndpoints = 0x0002
  bInterfaceClass = 0x000a
  bInterfaceSubClass = 0x0000
  bInterfaceProtocol = 0x0000
  iInterface = 0x0039  <HUAWEI Mobile Connect - Network Card>

 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0081  <IN>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 1
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0001  <OUT>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000


Interface 2
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0002
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0003
  bInterfaceClass = 0x00ff
  bInterfaceSubClass = 0x0001
  bInterfaceProtocol = 0x0010
  iInterface = 0x0031  <HUAWEI Mobile Connect - Modem>

  Additional Descriptor

  bLength = 0x05
  bDescriptorType = 0x24
  bDescriptorSubType = 0x00
   RAW dump:
   0x00 | 0x05, 0x24, 0x00, 0x10, 0x01


  Additional Descriptor

  bLength = 0x05
  bDescriptorType = 0x24
  bDescriptorSubType = 0x01
   RAW dump:
   0x00 | 0x05, 0x24, 0x01, 0x00, 0x00


  Additional Descriptor

  bLength = 0x04
  bDescriptorType = 0x24
  bDescriptorSubType = 0x02
   RAW dump:
   0x00 | 0x04, 0x24, 0x02, 0x02


  Additional Descriptor

  bLength = 0x05
  bDescriptorType = 0x24
  bDescriptorSubType = 0x06
   RAW dump:
   0x00 | 0x05, 0x24, 0x06, 0x00, 0x00


 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0084  <IN>
    bmAttributes = 0x0003  <INTERRUPT>
    wMaxPacketSize = 0x000a
    bInterval = 0x0009
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 1
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0083  <IN>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 2
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0002  <OUT>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000


Interface 3
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0003
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0002
  bInterfaceClass = 0x00ff
  bInterfaceSubClass = 0x0001
  bInterfaceProtocol = 0x0013
  iInterface = 0x0033  <HUAWEI Mobile Connect - Application Interface>

 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0085  <IN>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 1
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0003  <OUT>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000


Interface 4
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0004
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0002
  bInterfaceClass = 0x00ff
  bInterfaceSubClass = 0x0001
  bInterfaceProtocol = 0x0012
  iInterface = 0x0032  <HUAWEI Mobile Connect - PC UI Interface>

 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0086  <IN>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 1
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0004  <OUT>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000


Interface 5
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0005
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0002
  bInterfaceClass = 0x00ff
  bInterfaceSubClass = 0x0001
  bInterfaceProtocol = 0x0014
  iInterface = 0x0035  <HUAWEI Mobile Connect - GPS Interface>

 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0087  <IN>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 1
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0005  <OUT>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

Configuration index 2

bLength = 0x0009
bDescriptorType = 0x0002
wTotalLength = 0x0076
bNumInterfaces = 0x0003
bConfigurationValue = 0x0003
iConfiguration = 0x0000  <no string>
bmAttributes = 0x00a0
bMaxPower = 0x00fa

Additional Descriptor

bLength = 0x08
bDescriptorType = 0x0b
bDescriptorSubType = 0x00
 RAW dump:
 0x00 | 0x08, 0x0b, 0x00, 0x02, 0x02, 0x0e, 0x00, 0x00


Interface 0
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0000
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0001
  bInterfaceClass = 0x0002
  bInterfaceSubClass = 0x000e
  bInterfaceProtocol = 0x0000
  iInterface = 0x0038  <HUAWEI Mobile Broadband Module>

  Additional Descriptor

  bLength = 0x05
  bDescriptorType = 0x24
  bDescriptorSubType = 0x00
   RAW dump:
   0x00 | 0x05, 0x24, 0x00, 0x10, 0x01


  Additional Descriptor

  bLength = 0x05
  bDescriptorType = 0x24
  bDescriptorSubType = 0x06
   RAW dump:
   0x00 | 0x05, 0x24, 0x06, 0x00, 0x01


  Additional Descriptor

  bLength = 0x0c
  bDescriptorType = 0x24
  bDescriptorSubType = 0x1b
   RAW dump:
   0x00 | 0x0c, 0x24, 0x1b, 0x00, 0x01, 0x00, 0x10, 0x20,
   0x08 | 0x80, 0xdc, 0x05, 0x20


  Additional Descriptor

  bLength = 0x08
  bDescriptorType = 0x24
  bDescriptorSubType = 0x1c
   RAW dump:
   0x00 | 0x08, 0x24, 0x1c, 0x00, 0x01, 0x40, 0xdc, 0x05


 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0082  <IN>
    bmAttributes = 0x0003  <INTERRUPT>
    wMaxPacketSize = 0x0040
    bInterval = 0x0009
    bRefresh = 0x0000
    bSynchAddress = 0x0000


Interface 1
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0001
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0000
  bInterfaceClass = 0x000a
  bInterfaceSubClass = 0x0000
  bInterfaceProtocol = 0x0002
  iInterface = 0x000c  <MBIM Data>


Interface 1 Alt 1
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0001
  bAlternateSetting = 0x0001
  bNumEndpoints = 0x0002
  bInterfaceClass = 0x000a
  bInterfaceSubClass = 0x0000
  bInterfaceProtocol = 0x0002
  iInterface = 0x000c  <MBIM Data>

 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0081  <IN>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 1
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0001  <OUT>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000


Interface 2
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0002
  bAlternateSetting = 0x0000
  bNumEndpoints = 0x0002
  bInterfaceClass = 0x00ff
  bInterfaceSubClass = 0x0001
  bInterfaceProtocol = 0x0014
  iInterface = 0x0035  <HUAWEI Mobile Connect - GPS Interface>

 Endpoint 0
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0083  <IN>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

 Endpoint 1
    bLength = 0x0007
    bDescriptorType = 0x0005
    bEndpointAddress = 0x0002  <OUT>
    bmAttributes = 0x0002  <BULK>
    wMaxPacketSize = 0x0200
    bInterval = 0x0000
    bRefresh = 0x0000
    bSynchAddress = 0x0000

ghost referenced this pull request in NextBSD/NextBSD Sep 11, 2015
ghost referenced this pull request in NextBSD/NextBSD Sep 11, 2015
github-issue: #45
Signed-off-by: Oliver Pinter <oliver.pinter@hardenedbsd.org>
(cherry picked from commit 4993442)
ghost referenced this pull request in NextBSD/NextBSD Sep 11, 2015
github-issue: #45
Signed-off-by: Oliver Pinter <oliver.pinter@hardenedbsd.org>
(cherry picked from commit a21ebd9)
ghost referenced this pull request in NextBSD/NextBSD Sep 11, 2015
…t possible breaks the whole linuxulator

github-issue: #45
Signed-off-by: Oliver Pinter <oliver.pinter@hardenedbsd.org>
(cherry picked from commit eb03aa7)
@@ -308,6 +308,7 @@ static const STRUCT_USB_HOST_ID u3g_devs[] = {
U3G_DEV(HUAWEI, E143D, U3GINIT_HUAWEI),
U3G_DEV(HUAWEI, E143E, U3GINIT_HUAWEI),
U3G_DEV(HUAWEI, E143F, U3GINIT_HUAWEI),
U3G_DEV(HUAWEI, ME909u, U3GINIT_HUAWEI).
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

U3GINIT_HUAWEI). => U3GINIT_HUAWEI),

stephen-hurd pushed a commit to Broadcom/freebsd-nxt that referenced this pull request Jul 31, 2016
More fixes for the iflib-multiple-qsizes update
@bsdimp
Copy link
Member

bsdimp commented Feb 28, 2017

This support has made its way into FreeBSD, closing pull request ticket.

@bsdimp bsdimp closed this Feb 28, 2017
uqs pushed a commit that referenced this pull request Mar 26, 2017
Newer VGAs don't support any mono modes, but bugs in the tables created
2 virtual mono modes (#45 90x43 and #112 80x43) that behaved more
strangely than crashing.  90-column modes are tweaked 80-column ones
and also fail to work on newer VGAs.  #45 did crash (hang) on some
hardware.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@315986 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
uqs pushed a commit that referenced this pull request Mar 26, 2017
Newer VGAs don't support any mono modes, but bugs in the tables created
2 virtual mono modes (#45 90x43 and #112 80x43) that behaved more
strangely than crashing.  90-column modes are tweaked 80-column ones
and also fail to work on newer VGAs.  #45 did crash (hang) on some
hardware.
mat813 pushed a commit to mat813/freebsd that referenced this pull request Mar 27, 2017
Newer VGAs don't support any mono modes, but bugs in the tables created
2 virtual mono modes (freebsd#45 90x43 and freebsd#112 80x43) that behaved more
strangely than crashing.  90-column modes are tweaked 80-column ones
and also fail to work on newer VGAs.  freebsd#45 did crash (hang) on some
hardware.


git-svn-id: https://svn.freebsd.org/base/head@315986 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
bdrewery pushed a commit to bdrewery/freebsd that referenced this pull request Apr 6, 2017
Newer VGAs don't support any mono modes, but bugs in the tables created
2 virtual mono modes (freebsd#45 90x43 and freebsd#112 80x43) that behaved more
strangely than crashing.  90-column modes are tweaked 80-column ones
and also fail to work on newer VGAs.  freebsd#45 did crash (hang) on some
hardware.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@315986 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
uqs pushed a commit that referenced this pull request Apr 15, 2017
modes if the font size is >= 14.

This is the X cursor XC_left_ptr (#68) (glyph #45 in an X cursor font).
Also found in vt.  The old 9x13 cursor is the 10x16 one trimmed not very
well.

8x8 fonts need a smaller cursor instead of a larger one, except when
the pixel size is small.  Text mode is still limited to width and height
1 more than the font (so the 9x13 is already 4 pixels too high for it).


git-svn-id: svn+ssh://svn.freebsd.org/base/head@316977 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
uqs pushed a commit that referenced this pull request Apr 15, 2017
modes if the font size is >= 14.

This is the X cursor XC_left_ptr (#68) (glyph #45 in an X cursor font).
Also found in vt.  The old 9x13 cursor is the 10x16 one trimmed not very
well.

8x8 fonts need a smaller cursor instead of a larger one, except when
the pixel size is small.  Text mode is still limited to width and height
1 more than the font (so the 9x13 is already 4 pixels too high for it).
mat813 pushed a commit to mat813/freebsd that referenced this pull request Apr 17, 2017
modes if the font size is >= 14.

This is the X cursor XC_left_ptr (freebsd#68) (glyph freebsd#45 in an X cursor font).
Also found in vt.  The old 9x13 cursor is the 10x16 one trimmed not very
well.

8x8 fonts need a smaller cursor instead of a larger one, except when
the pixel size is small.  Text mode is still limited to width and height
1 more than the font (so the 9x13 is already 4 pixels too high for it).


git-svn-id: https://svn.freebsd.org/base/head@316977 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
bdrewery pushed a commit to bdrewery/freebsd that referenced this pull request Apr 19, 2017
modes if the font size is >= 14.

This is the X cursor XC_left_ptr (freebsd#68) (glyph freebsd#45 in an X cursor font).
Also found in vt.  The old 9x13 cursor is the 10x16 one trimmed not very
well.

8x8 fonts need a smaller cursor instead of a larger one, except when
the pixel size is small.  Text mode is still limited to width and height
1 more than the font (so the 9x13 is already 4 pixels too high for it).


git-svn-id: svn+ssh://svn.freebsd.org/base/head@316977 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
uqs pushed a commit that referenced this pull request Mar 19, 2018
Fix 3 entries in mode tables related to mono and 90-column text modes.
Newer VGAs don't support any mono modes, but bugs in the tables created
2 virtual mono modes (#45 90x43 and #112 80x43) that behaved more
strangely than crashing.  90-column modes are tweaked 80-column ones
and also fail to work on newer VGAs.  #45 did crash (hang) on some
hardware.
mat813 pushed a commit to mat813/freebsd that referenced this pull request Apr 9, 2018
Fix 3 entries in mode tables related to mono and 90-column text modes.
Newer VGAs don't support any mono modes, but bugs in the tables created
2 virtual mono modes (freebsd#45 90x43 and freebsd#112 80x43) that behaved more
strangely than crashing.  90-column modes are tweaked 80-column ones
and also fail to work on newer VGAs.  freebsd#45 did crash (hang) on some
hardware.


git-svn-id: https://svn.freebsd.org/base/stable/11@331191 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants