Can't switch Alcatel onetouch X602D successfully
Hi All,
I need to switch Alcatel X602D with my linux system. The device info is:
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=ef(unk. ) Sub=02 Prot=01 MxPS=64 #Cfgs= 2
P: Vendor=1bbb ProdID=022c Rev= 0.00
S: Manufacturer=Spreadtrum
S: Product=HSPA+ USB Modem
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=250mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
C: #Ifs= 4 Cfg#= 2 Atr=80 MxPwr=200mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
I: If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=
E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
I: If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
I: If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=
E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
My linux kernel and usb_modeswitch version is
Linux version 3.12-kali1-686-pae (debian-kernel@lists.debian.org) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP Debian 3.12.6-2kali1 (2014-01-06)
* usb_modeswitch: handle USB devices with multiple modes
* Version 2.2.0 (C) Josua Dietze 2014
* Based on libusb1/libusbx
! PLEASE REPORT NEW CONFIGURATIONS !
I tried the configuration of the same vendor(1bbb), the log showed it finished. But in fact ,the device didn't change mode.
usb_modeswitch -v 1bbb -p 022c -c ./usb_modeswitch.d/1bbb\:f017
Look for target devices ...
No devices in target mode or class found
Look for default devices ...
product ID matched
Found devices in default mode (1)
Access device 008 on bus 001
Current configuration number is 1
Use interface number 0
Use endpoints 0x01 (out) and 0x81 (in)
Ambiguous Class/InterfaceClass: 0xef/0x08
USB description data (for identification)
-------------------------
Manufacturer: Spreadtrum
Product: HSPA+ USB Modem
Serial No.: not provided
-------------------------
Looking for active driver ...
OK, driver detached
Set up interface 0
Use endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Reset response endpoint 0x81
Reset message endpoint 0x01
-> Run lsusb to note any changes. Bye!
Could you give me some suggestion.
Thank you !
I need to switch Alcatel X602D with my linux system. The device info is:
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=ef(unk. ) Sub=02 Prot=01 MxPS=64 #Cfgs= 2
P: Vendor=1bbb ProdID=022c Rev= 0.00
S: Manufacturer=Spreadtrum
S: Product=HSPA+ USB Modem
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=250mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
C: #Ifs= 4 Cfg#= 2 Atr=80 MxPwr=200mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
I: If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=
E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
I: If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
I: If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=
E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
My linux kernel and usb_modeswitch version is
Linux version 3.12-kali1-686-pae (debian-kernel@lists.debian.org) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP Debian 3.12.6-2kali1 (2014-01-06)
* usb_modeswitch: handle USB devices with multiple modes
* Version 2.2.0 (C) Josua Dietze 2014
* Based on libusb1/libusbx
! PLEASE REPORT NEW CONFIGURATIONS !
I tried the configuration of the same vendor(1bbb), the log showed it finished. But in fact ,the device didn't change mode.
usb_modeswitch -v 1bbb -p 022c -c ./usb_modeswitch.d/1bbb\:f017
Look for target devices ...
No devices in target mode or class found
Look for default devices ...
product ID matched
Found devices in default mode (1)
Access device 008 on bus 001
Current configuration number is 1
Use interface number 0
Use endpoints 0x01 (out) and 0x81 (in)
Ambiguous Class/InterfaceClass: 0xef/0x08
USB description data (for identification)
-------------------------
Manufacturer: Spreadtrum
Product: HSPA+ USB Modem
Serial No.: not provided
-------------------------
Looking for active driver ...
OK, driver detached
Set up interface 0
Use endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Reset response endpoint 0x81
Reset message endpoint 0x01
-> Run lsusb to note any changes. Bye!
Could you give me some suggestion.
Thank you !
Re: Can't switch Alcatel onetouch X602D successfully
I attached the log I captured when using X602D under windows XP system. It switched successfully. But I can't get its switch command.
- Attachments
-
- x602_xp_bushound.log
- log in xp system
- (53.83 KiB) Downloaded 1077 times
Re: Can't switch Alcatel onetouch X602D successfully
Section below starts with a configuration descriptor, config 1 has only one interface - the virtual cd-rom
After comes another configuration , config 2 which has four interfaces
should switch it over so you can access the interfaces in config 2.
Your currently active configuration is indicated by a "*" after C: in the configuration descriptor, your device/interface listing was made when the usb port was in config 1 which is the default config.
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=250mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
After comes another configuration , config 2 which has four interfaces
usb_modeswitch -v 1bbb -p 022c -u 2C: #Ifs= 4 Cfg#= 2 Atr=80 MxPwr=200mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
I: If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=
E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
I: If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
I: If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=
E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
should switch it over so you can access the interfaces in config 2.
Your currently active configuration is indicated by a "*" after C: in the configuration descriptor, your device/interface listing was made when the usb port was in config 1 which is the default config.
Re: Can't switch Alcatel onetouch X602D successfully
My post above was not of any help for you?
Re: Can't switch Alcatel onetouch X602D successfully
LOM wrote:My post above was not of any help for you?
Hi LOM,
Sorry for no update to you these days. Because this device dailing ppp keep failed so I debug on it. And I'm not sure the configuration is OK or not.
Recent, it is proved that my ppp app issue and dail successfully.
I'm back here to update the news to you. The command "usb_modeswitch -v 1bbb -p 022c -u 2" is work!
Thank you very much.
Re: Can't switch Alcatel onetouch X602D successfully
Thanks Sonya, a confirmation is always appreciated even for a straightforward and simple solution.
The id will be added in next issue of usb_modeswitch data package which will be out soon.
Right Josh?
The id will be added in next issue of usb_modeswitch data package which will be out soon.
Right Josh?
Re: Can't switch Alcatel onetouch X602D successfully
Hi,
I had switched the x602d to config #2 successfully. But gnome-ppp in Kali couldn't detect 3g modem and PPP Widget in Android 4.4.2 prints "Unknown device". What solution?
(my kernel doesn't contains /proc/bus/usb/devices)
Thx for any help.
I had switched the x602d to config #2 successfully. But gnome-ppp in Kali couldn't detect 3g modem and PPP Widget in Android 4.4.2 prints "Unknown device". What solution?
(my kernel doesn't contains /proc/bus/usb/devices)
Thx for any help.
- Attachments
-
- lsusb.log
- lsusb before and after switching
- (573 Bytes) Downloaded 832 times
-
- usb_modeswitch.log
- switching
- (1.43 KiB) Downloaded 877 times
-
- dmesg.log
- dmesg after switching
- (59.45 KiB) Downloaded 842 times
Re: Can't switch Alcatel onetouch X602D successfully
The device is still fresh and not included with usb_modeswitch and PPP Widget yet. New release is imminent though.
Re: Can't switch Alcatel onetouch X602D successfully
Do I need to await the new version of PPP Widget or PPP Widget 2? thx.Josh wrote:The device is still fresh and not included with usb_modeswitch and PPP Widget yet. New release is imminent though.
Re: Can't switch Alcatel onetouch X602D successfully
Hi!
Tried Alcatel OT X602D with Fedora 22, CentOS 6.5 and Fedora 20. No luck at all.
Fedora 22 have a record for it, but end with segfault:
How can I help to locate a bug?
PS. trying to update modem firmware in case this is firmware issue.
Tried Alcatel OT X602D with Fedora 22, CentOS 6.5 and Fedora 20. No luck at all.
Fedora 22 have a record for it, but end with segfault:
[16486.107043] usb 1-3: new high-speed USB device number 9 using ehci-pci
[16486.222126] usb 1-3: New USB device found, idVendor=1bbb, idProduct=022c
[16486.222132] usb 1-3: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[16486.222135] usb 1-3: Product: HSPA+ USB Modem
[16486.222138] usb 1-3: Manufacturer: Spreadtrum
[16486.222565] usb-storage 1-3:1.0: USB Mass Storage device detected
[16486.240819] scsi host8: usb-storage 1-3:1.0
[16487.246027] scsi 8:0:0:0: CD-ROM USBModem Mass Storage 2.31 PQ: 0 ANSI: 2
[16487.254403] sr 8:0:0:0: [sr1] scsi-1 drive
[16487.254692] sr 8:0:0:0: Attached scsi CD-ROM sr1
[16487.254870] sr 8:0:0:0: Attached scsi generic sg6 type 5
[16496.294403] ISO 9660 Extensions: Microsoft Joliet Level 1
[16496.297024] ISO 9660 Extensions: IEEE_P1282
[16507.447899] usb 1-3: usbfs: interface 0 claimed by usb-storage while 'usb_modeswitch' sets config #2
[16507.481080] usb_modeswitch[8941]: segfault at 100000002 ip 00007f28bf98ce72 sp 00007ffcf3e35b10 error 4 in libc-2.21.so[7f28bf909000+1b6000]
And its reproduced each time I connect modem to laptop.rpm -q usb_modeswitch
usb_modeswitch-2.2.1-1.fc22.x86_64
rpm -q usb_modeswitch-data
usb_modeswitch-data-20150115-1.fc22.noarch
rpm -q libusbx
libusbx-1.0.19-2.fc22.x86_64
libusbx-1.0.19-2.fc22.i686
ldd /usr/sbin/usb_modeswitch
...
libusb-1.0.so.0 => /lib64/libusb-1.0.so.0 (0x00007f4f93673000)
...
How can I help to locate a bug?
PS. trying to update modem firmware in case this is firmware issue.
Re: Can't switch Alcatel onetouch X602D successfully
There have been some fixes in the usb_modeswitch binary in the latest versions (now at 2.2.3). Try to swap your binary of 2.2.1 with the new one. You can rename the original and keep it while testing the new one; it's in /usr/sbin.
Re: Can't switch Alcatel onetouch X602D successfully
Code: Select all
DisableSwitching=1
Code: Select all
usb-modeswitch-2.2.3]$ make
cc -o usb_modeswitch usb_modeswitch.c -Wall `pkg-config --libs --cflags libusb-1.0`
sed 's_!/usr/bin/tclsh_!'"/usr/bin/jimsh"'_' < usb_modeswitch.tcl > usb_modeswitch_dispatcher
Code: Select all
# usb_modeswitch -W
* usb_modeswitch: handle USB devices with multiple modes
* Version 2.2.2 (C) Josua Dietze 2014
dmesg
Code: Select all
[ 6238.803059] usb 1-3: new high-speed USB device number 11 using ehci-pci
[ 6238.918092] usb 1-3: New USB device found, idVendor=1bbb, idProduct=022c
[ 6238.918099] usb 1-3: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[ 6238.918103] usb 1-3: Product: HSPA+ USB Modem
[ 6238.918106] usb 1-3: Manufacturer: Spreadtrum
[ 6238.918536] usb-storage 1-3:1.0: USB Mass Storage device detected
[ 6238.924048] scsi host9: usb-storage 1-3:1.0
[ 6239.927761] scsi 9:0:0:0: CD-ROM USBModem Mass Storage 2.31 PQ: 0 ANSI: 2
[ 6239.936976] sr 9:0:0:0: [sr1] scsi-1 drive
[ 6239.938115] sr 9:0:0:0: Attached scsi CD-ROM sr1
[ 6239.938455] sr 9:0:0:0: Attached scsi generic sg6 type 5
[ 6240.629682] ISO 9660 Extensions: Microsoft Joliet Level 1
[ 6240.656586] ISO 9660 Extensions: IEEE_P1282
Code: Select all
# LIBUSB_DEBUG=4 usb_modeswitch -v 1bbb -p 022c -u 2
[timestamp] [threadID] facility level [function call] <message>
--------------------------------------------------------------------------------
[ 0.000107] [000025d5] libusb: debug [libusb_init] created default context
[ 0.000292] [000025d5] libusb: debug [libusb_init] libusb v1.0.19.10903
[ 0.000403] [000025d5] libusb: debug [find_usbfs_path] found usbfs at /dev/bus/usb
[ 0.000465] [000025d5] libusb: debug [op_init] bulk continuation flag supported
[ 0.000497] [000025d5] libusb: debug [op_init] zero length packet flag supported
[ 0.000551] [000025d5] libusb: debug [op_init] sysfs can relate devices
[ 0.000578] [000025d5] libusb: debug [op_init] sysfs has complete descriptors
[ 0.001032] [000025d6] libusb: debug [linux_udev_event_thread_main] udev event thread entering.
[ 0.001817] [000025d5] libusb: debug [linux_get_device_address] getting address for device: usb2 detached: 0
[ 0.001892] [000025d5] libusb: debug [linux_get_device_address] scan usb2
[ 0.002045] [000025d5] libusb: debug [linux_get_device_address] bus=2 dev=1
[ 0.002084] [000025d5] libusb: debug [linux_enumerate_device] busnum 2 devaddr 1 session_id 513
[ 0.002115] [000025d5] libusb: debug [linux_enumerate_device] allocating new device for 2/1 (session 513)
[ 0.002443] [000025d5] libusb: debug [linux_get_device_address] getting address for device: 2-1 detached: 0
[ 0.002480] [000025d5] libusb: debug [linux_get_device_address] scan 2-1
[ 0.002605] [000025d5] libusb: debug [linux_get_device_address] bus=2 dev=2
[ 0.002640] [000025d5] libusb: debug [linux_enumerate_device] busnum 2 devaddr 2 session_id 514
[ 0.002687] [000025d5] libusb: debug [linux_enumerate_device] allocating new device for 2/2 (session 514)
[ 0.002819] [000025d5] libusb: debug [linux_get_parent_info] Dev 0x13f8570 (2-1) has parent 0x13f84b0 (usb2) port 1
[ 0.003025] [000025d5] libusb: debug [linux_get_device_address] getting address for device: 2-2 detached: 0
[ 0.003061] [000025d5] libusb: debug [linux_get_device_address] scan 2-2
[ 0.003192] [000025d5] libusb: debug [linux_get_device_address] bus=2 dev=3
[ 0.003227] [000025d5] libusb: debug [linux_enumerate_device] busnum 2 devaddr 3 session_id 515
[ 0.003257] [000025d5] libusb: debug [linux_enumerate_device] allocating new device for 2/3 (session 515)
[ 0.003374] [000025d5] libusb: debug [linux_get_parent_info] Dev 0x13f9020 (2-2) has parent 0x13f84b0 (usb2) port 2
[ 0.003576] [000025d5] libusb: debug [linux_get_device_address] getting address for device: 2-4 detached: 0
[ 0.003611] [000025d5] libusb: debug [linux_get_device_address] scan 2-4
[ 0.003759] [000025d5] libusb: debug [linux_get_device_address] bus=2 dev=4
[ 0.003794] [000025d5] libusb: debug [linux_enumerate_device] busnum 2 devaddr 4 session_id 516
[ 0.003823] [000025d5] libusb: debug [linux_enumerate_device] allocating new device for 2/4 (session 516)
[ 0.003938] [000025d5] libusb: debug [linux_get_parent_info] Dev 0x13f90c0 (2-4) has parent 0x13f84b0 (usb2) port 4
[ 0.004223] [000025d5] libusb: debug [linux_get_device_address] getting address for device: usb1 detached: 0
[ 0.004259] [000025d5] libusb: debug [linux_get_device_address] scan usb1
[ 0.004391] [000025d5] libusb: debug [linux_get_device_address] bus=1 dev=1
[ 0.004425] [000025d5] libusb: debug [linux_enumerate_device] busnum 1 devaddr 1 session_id 257
[ 0.004453] [000025d5] libusb: debug [linux_enumerate_device] allocating new device for 1/1 (session 257)
[ 0.004749] [000025d5] libusb: debug [linux_get_device_address] getting address for device: 1-3 detached: 0
[ 0.004785] [000025d5] libusb: debug [linux_get_device_address] scan 1-3
[ 0.004916] [000025d5] libusb: debug [linux_get_device_address] bus=1 dev=11
[ 0.004951] [000025d5] libusb: debug [linux_enumerate_device] busnum 1 devaddr 11 session_id 267
[ 0.004979] [000025d5] libusb: debug [linux_enumerate_device] allocating new device for 1/11 (session 267)
[ 0.005095] [000025d5] libusb: debug [linux_get_parent_info] Dev 0x13f8670 (1-3) has parent 0x13f9160 (usb1) port 3
[ 0.005300] [000025d5] libusb: debug [linux_get_device_address] getting address for device: 1-7 detached: 0
[ 0.005335] [000025d5] libusb: debug [linux_get_device_address] scan 1-7
[ 0.005465] [000025d5] libusb: debug [linux_get_device_address] bus=1 dev=5
[ 0.005500] [000025d5] libusb: debug [linux_enumerate_device] busnum 1 devaddr 5 session_id 261
[ 0.005528] [000025d5] libusb: debug [linux_enumerate_device] allocating new device for 1/5 (session 261)
[ 0.005659] [000025d5] libusb: debug [linux_get_parent_info] Dev 0x13f8250 (1-7) has parent 0x13f9160 (usb1) port 7
[ 0.005834] [000025d5] libusb: debug [usbi_add_pollfd] add fd 6 events 1
[ 0.005877] [000025d5] libusb: debug [usbi_add_pollfd] add fd 9 events 1
[ 0.005916] [000025d5] libusb: debug [usbi_io_init] using timerfd for timeouts
[ 0.005944] [000025d5] libusb: debug [usbi_add_pollfd] add fd 11 events 1
Look for default devices ...
[ 0.006025] [000025d5] libusb: debug [libusb_get_device_list]
[ 0.006071] [000025d5] libusb: debug [libusb_get_device_descriptor]
[ 0.006100] [000025d5] libusb: debug [libusb_get_device_descriptor]
product ID matched
Get the current device configuration ...
[ 0.006244] [000025d5] libusb: debug [libusb_get_device_descriptor]
[ 0.006275] [000025d5] libusb: debug [libusb_get_device_descriptor]
[ 0.006302] [000025d5] libusb: debug [libusb_get_device_descriptor]
[ 0.006327] [000025d5] libusb: debug [libusb_get_device_descriptor]
[ 0.006356] [000025d5] libusb: debug [libusb_get_device_descriptor]
Found devices in default mode (1)
Access device 011 on bus 001
[ 0.006436] [000025d5] libusb: debug [libusb_open] open 1.11
[ 0.006505] [000025d5] libusb: debug [usbi_add_pollfd] add fd 12 events 4
Current configuration number is 1
[ 0.006638] [000025d5] libusb: debug [libusb_get_device_descriptor]
Use interface number 0
Ambiguous Class/InterfaceClass: 0xef/0x08
[ 0.006729] [000025d5] libusb: debug [libusb_get_device_descriptor]
[ 0.006765] [000025d5] libusb: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
[ 0.006836] [000025d5] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.006870] [000025d5] libusb: debug [handle_events] poll() 4 fds with timeout in 60000ms
[ 0.006967] [000025d5] libusb: debug [handle_events] poll() returned 1
[ 0.007004] [000025d5] libusb: debug [reap_for_handle] urb type=2 status=0 transferred=4
[ 0.007032] [000025d5] libusb: debug [handle_control_completion] handling completion status 0
[ 0.007059] [000025d5] libusb: debug [disarm_timerfd]
[ 0.007091] [000025d5] libusb: debug [usbi_handle_transfer_completion] transfer 0x13f83e0 has callback 0x7f97872a0550
[ 0.007119] [000025d5] libusb: debug [sync_transfer_cb] actual_length=4
[ 0.007160] [000025d5] libusb: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
[ 0.007198] [000025d5] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.007228] [000025d5] libusb: debug [handle_events] poll() 4 fds with timeout in 60000ms
[ 0.007316] [000025d5] libusb: debug [handle_events] poll() returned 1
[ 0.007350] [000025d5] libusb: debug [reap_for_handle] urb type=2 status=0 transferred=22
[ 0.007378] [000025d5] libusb: debug [handle_control_completion] handling completion status 0
[ 0.007405] [000025d5] libusb: debug [disarm_timerfd]
[ 0.007434] [000025d5] libusb: debug [usbi_handle_transfer_completion] transfer 0x13f83e0 has callback 0x7f97872a0550
[ 0.007461] [000025d5] libusb: debug [sync_transfer_cb] actual_length=22
[ 0.007497] [000025d5] libusb: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
[ 0.007536] [000025d5] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.007565] [000025d5] libusb: debug [handle_events] poll() 4 fds with timeout in 60000ms
[ 0.007718] [000025d5] libusb: debug [handle_events] poll() returned 1
[ 0.007765] [000025d5] libusb: debug [reap_for_handle] urb type=2 status=0 transferred=4
[ 0.007793] [000025d5] libusb: debug [handle_control_completion] handling completion status 0
[ 0.007820] [000025d5] libusb: debug [disarm_timerfd]
[ 0.007847] [000025d5] libusb: debug [usbi_handle_transfer_completion] transfer 0x13f83e0 has callback 0x7f97872a0550
[ 0.007875] [000025d5] libusb: debug [sync_transfer_cb] actual_length=4
[ 0.007908] [000025d5] libusb: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
[ 0.007945] [000025d5] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.007976] [000025d5] libusb: debug [handle_events] poll() 4 fds with timeout in 60000ms
[ 0.008063] [000025d5] libusb: debug [handle_events] poll() returned 1
[ 0.008096] [000025d5] libusb: debug [reap_for_handle] urb type=2 status=0 transferred=32
[ 0.008124] [000025d5] libusb: debug [handle_control_completion] handling completion status 0
[ 0.008150] [000025d5] libusb: debug [disarm_timerfd]
[ 0.008178] [000025d5] libusb: debug [usbi_handle_transfer_completion] transfer 0x13f83e0 has callback 0x7f97872a0550
[ 0.008205] [000025d5] libusb: debug [sync_transfer_cb] actual_length=32
USB description data (for identification)
-------------------------
Manufacturer: Spreadtrum
Product: HSPA+ USB Modem
Serial No.: not provided
-------------------------
Change configuration to 2 ...
[ 0.008376] [000025d5] libusb: debug [libusb_set_configuration] configuration 2
Device is busy, try to detach kernel driver
Looking for active driver ...
[ 0.008460] [000025d5] libusb: debug [libusb_kernel_driver_active] interface 0
[ 0.008491] [000025d5] libusb: debug [libusb_detach_kernel_driver] interface 0
OK, driver detached
[ 0.031615] [000025d5] libusb: debug [libusb_set_configuration] configuration 2
OK, configuration set
Get the current device configuration ...
Segmentation fault (core dumped)
Code: Select all
[ 6249.013774] usb 1-3: usbfs: interface 0 claimed by usb-storage while 'usb_modeswitch' sets config #2
[ 6249.040447] usb_modeswitch[9685]: segfault at 100000003 ip 00007f9786f59e72 sp 00007ffed03d25c0 error 4 in libc-2.21.so[7f9786ed6000+1b6000]
Re: Can't switch Alcatel onetouch X602D successfully
I'd guess that your problem is glibc, see if you can either update it or downgrade to 2.20
Re: Can't switch Alcatel onetouch X602D successfully
Will try on old distros and new usb_modeswitch release...
Re: Can't switch Alcatel onetouch X602D successfully
Fedora 19 32bit with glibc-2.17 and latest usb_modeswitch - segfault in libc-2.17...