Page 1 of 1

D-Link DWM-222 HW version A2 error in 2.6.0

Posted: 18 Jul 2020, 21:07
by Danie
The config for the D-Link DWM-222 A2 is missing the default vendor and product ID in usb_modeswitch-2.6.0
The complete config file should be:


Code: Select all

# D-Link DWM-222 A2
I can confirm this works on start-up.

Re: D-Link DWM-222 HW version A2 error in 2.6.0

Posted: 19 Jul 2020, 04:04
by LOM
Default vendor and product Id is not used inside the device config files from the usb_modeswitch datapack- the name of the config file holds the Id.

The only time you need the default USB Id within the device config file is when you manually invoke usb_modeswitch from a cmdline with the -c switch and in such case you are responsible for creating a complete device config file.

The device config files included in the usb_modeswitch datapack are for automatic invocation of usb_modeswitch via udev where the default USB Id is provided by udev.