Bug 1171114

Summary: Add AVM Fritz!WLAN AC 860 (057c:8503) to usb_modeswitch entry 057c:62ff
Product: [openSUSE] openSUSE Tumbleweed Reporter: Paul Wuerrer <pwuerrer>
Component: NetworkAssignee: andrea florio <andrea>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None CC: alynx.zhou
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Factory   
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Paul Wuerrer 2020-05-04 17:08:19 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0
Build Identifier: 

I've recently purchased an AVM Fritz!WLAN AC 860 adapter (Mediatek mt7662u chipset) and set out to get it running on Tumbleweed 20200501 today.

These Fritz!WLAN adapters default to presenting as a CD-ROM drive with the id 057c:62ff if not signalled otherwise. Current Tumbleweed already brings with it the 057c:62ff entry in /usr/share/usb_modeswitch which contains the message needed for the AVM adapter to switch to "normal mode" (057c:8503). The entry for this model, however is missing from TargetProductList, resulting in the adapter being stuck in CD-ROM mode. Manually adding 8503 to TargetProductList then does the trick.

I'm not sure if Bugzilla is the right platform for this request but could the line TargetProductList="8501,8502,8602" please be amended to TargetProductList="8501,8502,8503,8602" in /usr/share/usb_modeswitch?

Best regards,

Reproducible: Always

Steps to Reproduce:
1. Load the mt76x2u module: sudo modprobe mt76x2u
2. Call usb_modeswitch for the device id of the virtual AVM CD-ROM: sudo usb_modeswitch -v 057c -p 62ff
3. Look at dmesg and iwconfig
Actual Results:  
Device stays in CD-ROM mode (057c:62ff)
No interaction possible.
Device not showing up in iwconfig.

Expected Results:  
Device changes to normal operating mode (057c:8503).
The mt76x2u driver detects the device and makes it available for iwconfig and NetworkManager.
Connecting to Wi-Fi networks is now possible.
Comment 1 Paul Wuerrer 2020-05-04 17:15:42 UTC
Correction: The correct file to be changed would be /usr/share/usb_modeswitch/057c:62ff of course.