Update README.md

master
mrhaav 8 months ago committed by GitHub
parent 29f1de8be5
commit 932eb8212e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8,13 +8,13 @@ Thanks to to user `woec` at OpenWrt forum who provided the informtion, https://f
Add message `"55534243123456780000000000000011063000000000010000000000000000"` at the end of the message block, in the begining of `/etc/usb-mode.json`, and modify device entry 12d1:1f01 to:
```
"12d1:1f01": {
"*": {
"t_vendor": 4817,
"t_product": [ 5339, 5340 ],
"mode": "HuaweiAlt",
"msg": [ xx ]
}
}
"12d1:1f01": {
"*": {
"t_vendor": 4817,
"t_product": [ 5339, 5340 ],
"mode": "HuaweiAlt",
"msg": [ xx ]
}
}
```
Where xx is the message entry of the newly added message. Verify with `jsonfilter -i /etc/usb-mode.json -e '@["messages"][xx]'`. In my case xx = 61.

Loading…
Cancel
Save