Activation Codes and Methods, Hardware Details, Sniffing
Post Reply
bugs_
Posts: 2
Joined: 03 Sep 2016, 05:21

Huawei E397Bu-502

Post by bugs_ » 03 Sep 2016, 05:31

I have an E397Bu-502 device that does not work on Fedora 24 but can be made to work by changing the 12d1:1505 file slightly.

original file:
# Huawei EC156, Huawei E372u-8
TargetVendor=0x12d1
TargetProductList="140b,140c,1506,150f,150a"
HuaweiNewMode=1

modified file:
# Huawei EC156, Huawei E372u-8
DefaultVendor=0x12d1
DefaultProduct=0x1505
TargetVendor=0x12d1
TargetProduct=0x1506
MessageContent="55534243123456780000000000000011060000000100000000000000000000"
TargetProductList="1506"
#HuaweiNewMode=1

FYI

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

Re: Huawei E397Bu-502

Post by LOM » 03 Sep 2016, 07:11

That is probably a Fedora packaging problem, which usb_modeswitch version do they include in the distro?

bugs_
Posts: 2
Joined: 03 Sep 2016, 05:21

Re: Huawei E397Bu-502

Post by bugs_ » 03 Sep 2016, 16:18

the fedora 24 packages today are:

usb_modeswitch-data-20160612-3.fc24.noarch
usb_modeswitch-2.4.0-4.fc24.x86_64

so they are fairly up to date

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

Re: Huawei E397Bu-502

Post by LOM » 05 Sep 2016, 15:55

What is it that doesn't work with the original switch method?
The modified message you are using is intended for Windows, the message hiding behind "HuaweiNewMode" is a message for Linux which Huawei has provided for us.

Please provide the relevant 20-25 lines (dongle detection and switching) from dmesg when using the original switch method and also a verbose lasusb listing for the device, both before and after switching.

brownsunny148
Posts: 2
Joined: 18 Jan 2024, 06:21

Re: Huawei E397Bu-502

Post by brownsunny148 » 26 Feb 2024, 07:00

Personal Growth and Development: Armed with self-awareness and insights from the free enneagram test, we can embark on a journey of personal growth and development. By understanding our patterns of behavior and the underlying motivations driving them, we can work towards becoming the best versions of ourselves.

Post Reply