GL-MT300N-V2 + GI0431 (Vodafone K3760) modeswitch


I got a GL-MT300N-V2 with the latest Firmware and a rather old T-Mobile Globetrotter GI0431 which seems to be a Vodafone K3760 which seems to be built by option.

It reports as a SCSI CDOM Drive with VendorID 0x0af0 and ProductID 0x7501.

I looked into the usb-modeswitch.conf files and it seems to use the following config:

;DefaultVendor=  0x0af0
;DefaultProduct= 0x7501

;TargetClass=    0xff


Somehow i struggle to translate this into the json config (

from my understanding it should look like:

	"0af0:7501": {
		"*": {
			"t_vendor": 1032,
			"t_class": [ 255 ],
			"msg": [ 0 ],

(where message 0 is 55534243785634120100000080000601000000000000000000000000000000)

modeswitch -l lists me the proper device, but when i do a modeswitch -s -v it does nothing to the device and the verbose does nothing aswell.

is my json wrong? can i enable logging for modeswitch somehow?

also i downloded the source of usb-modeswitch-data-20191128 and in usb_modeswitch.d/0af0_7501 it simply says:

# Option HSO device

targetclass 0xff should be 255, but i dont know how to set the OptionMode

the udev rule looked like:
*SUBSYSTEM=="usb", ATTR{idVendor}=="0af0", ATTR{idProduct}=="7501", RUN+="/usr/sbin/usb_modeswitch --default-vendor 0x0af0 --default-product 0x7501 --message-endpoint 0x01 --message-content 55534243785634120100000080000601000000000000000000000000000000"*


Are you sure that this is correct (2x ")?

you got very good eyes, unfortunately it was correct in the json file and just an error ony my side when I wrote it into the forum :confused: corrected it.