Activation Codes and Methods, Hardware Details, Sniffing
Post Reply
Danie
Posts: 1
Joined: 18 Jul 2020, 20:52

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

Post by Danie » 18 Jul 2020, 21:07

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:

2001:ac01

Code: Select all

# D-Link DWM-222 A2
DefaultVendor=0x2001
DefaultProduct=0xac01
TargetVendor=0x2001
TargetProduct=0x7e3d
StandardEject=1
I can confirm this works on start-up.

LOM
Posts: 1404
Joined: 11 Jul 2012, 15:14
Location: Koh Samui, TH

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

Post by LOM » 19 Jul 2020, 04:04

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.

Post Reply