#19089: 4G XS Stick P14 does not work with the default usb-mode.json in Barrier
Braker
---------------------------------+-----------------------------------
 Reporter:  gabor+openwrt.org@…  |      Owner:  developers
     Type:  defect               |     Status:  new
 Priority:  normal               |  Milestone:  Barrier Breaker 14.07
Component:  packages             |    Version:  Barrier Breaker 14.07
 Keywords:                       |
---------------------------------+-----------------------------------
 Hi,

 I have an XS Stick P14, which already worked fine under 12.09 with some
 hacking around USB modeswitch. After upgrade to 14.07 it ceased working.
 Poking around the new configuration file I realised the wrong command
 string gets sent to the dongle (I already knew the correct one). So I
 changed the ordering in usb-mode.json, see the patch:

 {{{
 --- usb-mode.json.original      2015-03-02 23:11:26.000000000 +0100
 +++ usb-mode.json       2015-03-02 23:11:52.000000000 +0100
 @@ -2351,16 +2351,16 @@
                         }
                 },
                 "1c9e:f000": {
 -                       "*": {
 +                       ":uMa=USB_Modem": {
                                 "t_vendor": 7326,
                                 "t_product": [ 36864, 38403, 38405, 38407,
 39168 ],
 -                               "msg": [ 39 ],
 +                               "msg": [ 14 ],
                                 "wait": 1
                         },
 -                       ":uMa=USB_Modem": {
 +                       "*": {
                                 "t_vendor": 7326,
                                 "t_product": [ 36864, 38403, 38405, 38407,
 39168 ],
 -                               "msg": [ 14 ],
 +                               "msg": [ 39 ],
                                 "wait": 1
                         }
                 },

 }}}



 The initial USB ID is 1c9e:f000, after mode switch it becomes 1c9e:9605:
 {{{
 Bus 001 Device 004: ID 1c9e:9605 OMEGA TECHNOLOGY
 }}}

 Perhaps it screws other devices with different "destination" USB ID's, I
 don't know.

 Gabor

--
Ticket URL: <https://dev.openwrt.org/ticket/19089>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to