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

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

Post by Danie » Sat Jul 18, 2020 9:07 pm

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: 1308
Joined: Wed Jul 11, 2012 3:14 pm
Location: Koh Samui, TH

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

Post by LOM » Sun Jul 19, 2020 4:04 am

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