Opened 10 years ago
Last modified 10 years ago
#12051 closed enhancement
usb_modeswitch.cpp missing several devices — at Version 3
Reported by: | haiqu | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Add-Ons | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
The following devices need to be added to src/add-ons/kernel/drivers/common/usb_modeswitch.cpp
Huawei E5377 USB modem/router Huawei HWD12 LTE USB modem stick
The required code follows:
{ /* MSG_HUAWEI_4 */ 0x55, 0x53, 0x42, 0x43, 0x12, 0x34, 0x56, 0x78, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x0a, 0x11, 0x06, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, ... {{ 0, 0, 0, HUAWEI_VENDOR, 0x1f02}, MSG_HUAWEI_3}, // E5377 {{ 0, 0, 0, HUAWEI_VENDOR, 0x1f03}, MSG_HUAWEI_4}, // HWD12 LTE
I also note that this file object isn't being created, but I'm fairly unfamiliar with Jam so can't debug it at this stage. Consequently this functionality is missing from the build.
Change History (3)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Argh. The above code contains an error. Should be:
{ /* MSG_HUAWEI_4 */
0x55, 0x53, 0x42, 0x43, 0x12, 0x34, 0x56, 0x78, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x0a, 0x11, 0x06, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
},
comment:3 by , 10 years ago
Description: | modified (diff) |
---|
I edited the ticket description. You can use Preformatted Text for code snippets.
Note: The C style comment (double-slash) was interpreted above as italics. The terms E5377 and HWD12 LTE were actually comments, not to be included as code.