Huawei K3772 not switching
Posted: 30 Jul 2014, 15:49
Hi all,
I'm using a Vodafone Huawei K3772 3g dongle.
I found the configuration as following:
When I run it on my minimal Linux platform the modeswitch hangs:
Any suggestions to why it hangs? The last lines of strace are the following:
Any help would be appriciated. I'm running the latest version of usb_modeswitch (self compiled).
Greetings,
Killerbug
I'm using a Vodafone Huawei K3772 3g dongle.
I found the configuration as following:
Code: Select all
# Vodafone / Huawei K3772
DefaultVendor= 0x12d1
DefaultProduct=0x1526
TargetVendor= 0x12d1
TargetProduct= 0x14cf
MessageContent="55534243123456780000000000000011062000000100000000000000000000"Code: Select all
# usb_modeswitch -v 12d1 -p 1526 -V 12d1 -P 14cf -m 0f -M 5553424312345678000000
0000000011062000000100000000000000000000 -W
Take all parameters from the command line
* usb_modeswitch: handle USB devices with multiple modes
* Version 2.2.0 (C) Josua Dietze 2014
* Based on libusb1/libusbx
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x12d1
DefaultProduct= 0x1526
TargetVendor= 0x12d1
TargetProduct= 0x14cf
MessageEndpoint=0x0f
MessageContent="55534243123456780000000000000011062000000100000000000000000000"
NeedResponse=0
Look for target devices ...
found USB ID 0000:0000
found USB ID 12d1:1526
vendor ID matched
found USB ID 0000:0000
No devices in target mode or class found
Look for default devices ...
found USB ID 0000:0000
found USB ID 12d1:1526
vendor ID matched
product ID matched
found USB ID 0000:0000
Found devices in default mode (1)
Access device 003 on bus 001
Current configuration number is 1
Use interface number 0
Use endpoints 0x0f (out) and 0x81 (in)Code: Select all
write(1, "Look for default devices ...\n", 29Look for default devices ...
) = 29
stat("/proc/bus/usb", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
open("/proc/bus/usb", O_RDONLY) = 5
fcntl(5, F_SETFD, FD_CLOEXEC) = 0
getdents(5, /* 5 entries */, 3933) = 84
stat("/proc/bus/usb/002", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
open("/proc/bus/usb/002", O_RDONLY) = 6
fcntl(6, F_SETFD, FD_CLOEXEC) = 0
brk(0x455000) = 0x455000
getdents(6, /* 3 entries */, 3933) = 48
getdents(6, 0x7fbfcb98, 3933out of memory
) = 0
close(6) = 0
stat("/proc/bus/usb/001", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
open("/proc/bus/usb/001", O_RDONLY) = 6
fcntl(6, F_SETFD, FD_CLOEXEC) = 0
getdents(6, /* 4 entries */, 3933) = 64
getdents(6, 0x7fbfcb98, 3933out of memory
) = 0
close(6) = 0
getdents(5, 0x7fbfcb98, 3933out of memory
) = 0
close(5) = 0
write(1, " product ID matched\n", 22 product ID matched
) = 22
write(1, " Found devices in default mode ("..., 35 Found devices in default mode (1)
) = 35
write(1, "Access device 003 on bus 001\n", 29Access device 003 on bus 001
) = 29
open("/proc/bus/usb/001/003", O_RDWR) = 5
write(4, "\1", 1) = 1
read(3, "\1", 1) = 1
write(1, "Current configuration number is "..., 34Current configuration number is 1
) = 34
write(1, "Use interface number 0\n", 23Use interface number 0
) = 23
write(1, "Use endpoints 0x0f (out) and 0x8"..., 39Use endpoints 0x0f (out) and 0x81 (in)
) = 39
clock_gettime(CLOCK_MONOTONIC, {14376, 149782637}) = 0
ioctl(5, USBDEVFS_SUBMITURB, 0x451200) = 0
clock_gettime(CLOCK_MONOTONIC, {14376, 153095682}) = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLOUT, revents=POLLOUT}], 2, 997) = 1
ioctl(5, USBDEVFS_REAPURBNDELAY, 0x7fbfea80) = 0
clock_gettime(CLOCK_MONOTONIC, {14376, 158219999}) = 0
ioctl(5, USBDEVFS_SUBMITURB, 0x451200) = 0
clock_gettime(CLOCK_MONOTONIC, {14376, 161716104}) = 0Greetings,
Killerbug