1. Modem przywrócony do fabrycznego stanu czyli działa cd zero oraz sdcard
2. Configi z pliku 3g_dongle.cfg standardowe (nie zmieniane)
3. Plik /system/etc/usb_modeswitch.d/12d1_1c05 usunięte automatycznie po komendzie:
echo "12d1 1c05" > /sys/bus/usb-serial/drivers/option1/new_id przełącza na plik 12d1_1c0b
po wpisaniu komendy u3gmonitor pokazuje:
127|app_66@android:/ # echo "12d1 1c05" > /sys/bus/usb-serial/drivers/option1/new_id
127|app_66@android:/ # cd /system/bin
127|app_66@android:/system/bin # u3gmonitor
/system/etc/usb_modeswitch.d/05e3_0608 does not exist.
/system/etc/usb_modeswitch.d/0a81_0101 does not exist.
Reading config file: /system/etc/usb_modeswitch.d/12d1_1c0b
* usb_modeswitch: handle USB devices with multiple modes
* Version 1.2.0 © Josua Dietze 2011
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x12d1
DefaultProduct= 0x1c0b
TargetVendor= 0x12d1
TargetProduct= not set
TargetClass= not set
TargetProductList="1c05,1c08"
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
QisdaMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
CiscoMode=0
MessageEndpoint= not set
MessageContent="55534243123456780000000000000011062000000100000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
InquireDevice disabled
Success check enabled, max. wait time 20 seconds
System integration mode disabled
usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 001
usb_os_find_devices: Found 006 on 001
usb_os_find_devices: Found 003 on 001
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
Looking for target devices ...
searching devices, found USB ID 12d1:1c0b
found matching vendor ID
searching devices, found USB ID 0a81:0101
searching devices, found USB ID 05e3:0608
searching devices, found USB ID 1d6b:0001
No devices in target mode or class found
Looking for default devices ...
searching devices, found USB ID 12d1:1c0b
found matching vendor ID
found matching product ID
adding device
searching devices, found USB ID 0a81:0101
searching devices, found USB ID 05e3:0608
searching devices, found USB ID 1d6b:0001
Found devices in default mode, class or configuration (1)
Accessing device 006 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using first interface: 0x00
Using endpoints 0x0f (out) and 0x8f (in)
USB description data (for identification)
-------------------------
Manufacturer: HUAWEI
Product: HUAWEI Mobile
Serial No.: not provided
-------------------------
Looking for active driver ...
OK, driver found ("usbfs")
OK, driver "usbfs" detached
Setting up communication with interface 0
Check that you have permissions to write to 001/006 and, if you don't, that you set up hotplug ( Linux Hotplugging ) correctly.
USB error: could not claim interface 0: Device or resource busy
Could not claim interface (error -16). Skipping message sending
Checking for mode switch (max. 20 times, once per second) ...
Searching for target devices ...
usb_os_find_busses: Found 001
usb_os_find_devices: Found 003 on 001
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
searching devices, found USB ID 0a81:0101
searching devices, found USB ID 05e3:0608
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
usb_os_find_busses: Found 001
usb_os_find_devices: Found 003 on 001
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
searching devices, found USB ID 0a81:0101
searching devices, found USB ID 05e3:0608
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
usb_os_find_busses: Found 001
usb_os_find_devices: Found 003 on 001
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
searching devices, found USB ID 0a81:0101
searching devices, found USB ID 05e3:0608
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
usb_os_find_busses: Found 001
usb_os_find_devices: Found 003 on 001
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
searching devices, found USB ID 0a81:0101
searching devices, found USB ID 05e3:0608
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
usb_os_find_busses: Found 001
usb_os_find_devices: Found 007 on 001
usb_os_find_devices: Found 003 on 001
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
searching devices, found USB ID 12d1:1c05
found matching vendor ID
found matching product ID from list
searching devices, found USB ID 0a81:0101
searching devices, found USB ID 05e3:0608
searching devices, found USB ID 1d6b:0001
Found target device, now opening
Found target device 007 on bus 001
Target device description data
-------------------------
Manufacturer: HUAWEI
Product: HUAWEI Mobile
Serial No.: not provided
-------------------------
Found correct target device
Mode switch succeeded. Bye.
/system/etc/usb_modeswitch.d/12d1_1c05 does not exist.
---------- Post dołączono o 10:47 ---------- Poprzedni post napisano o 10:33 ----------
Cofnij wszystkie zmiany jakich dokonałeś i podłącz normalnie ustawiony modem. Przejdź do edycji punktów dostępowych - jeżeli się coś wyświetla lub przy dodawaniu punktu pola MCC i MNC są uzupełnione automatycznie to modem jest rozpoznawany OK. Pytanie tylko, czy łączy się na właściwym porcie?
🙂
Są cofnięte w punktach dostępowych nie są uzupełnianie pola.
---------- Post dołączono o 10:56 ---------- Poprzedni post napisano o 10:47 ----------
1. W jaki sposób sprawdzić czy łączy sie na właściwym porcie ? (Po Twojemu):oczy:
2. W jaki sposób ustawić właściwy port (Po Twojemu):oczy:
---------- Post dołączono o 11:11 ---------- Poprzedni post napisano o 10:56 ----------
Dostarczam jeszcze paru informacji:
app_66@android:/system/bin # usb_modeswitch -v 12d1 -p 1c05 -I
Looking for default devices ...
Found devices in default mode, class or configuration (1)
Accessing device 007 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using first interface: 0x00
USB description data (for identification)
-------------------------
Manufacturer: HUAWEI
Product: HUAWEI Mobile
Serial No.: not provided
-------------------------
Warning: no switching method given.
-> Run lsusb to note any changes. Bye.
app_66@android:/system/bin #
---------- Post dołączono o 11:15 ---------- Poprzedni post napisano o 11:11 ----------
CZY TO CZASEM NIE BĘDZIE KERNEL PROBLEM ?:przestraszony:
---------- Post dołączono o 11:49 ---------- Poprzedni post napisano o 11:15 ----------
oto winik KOMENDY dmesg po podłączeniu modemu zapina się na trzech portach a później rozłącza i podłącza dlatego go nie widzi GoClever A73 z 4.0.4 STOCK na ttyUSB 0 1 2:
app_66@android:/ $ export PATH=/data/local/bin:$PATH
app_66@android:/ $ su
app_66@android:/ # dmesg
= 7, ep = 13, dir = in
7 4728.610604 WRN:L2286(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, end 5 RX proto error(0x1004)
3 4728.620567 option: option_instat_callback: error -104
7 4728.626710 WRN:L2286(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, end 5 RX proto error(0x4)
3 4728.636693 option: option_instat_callback: error -104
7 4728.642581 WRN:L2286(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, end 5 RX proto error(0x4)
3 4728.652568 option: option_instat_callback: error -104
7 4728.658456 WRN:L2286(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, end 5 RX proto error(0x4)
3 4728.668443 option: option_instat_callback: error -104
7 4728.674330 WRN:L2286(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, end 5 RX proto error(0x4)
3 4728.684316 option: option_instat_callback: error -104
7 4728.690206 WRN:L2286(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, end 5 RX proto error(0x4)
3 4728.700194 option: option_instat_callback: error -104
7 4728.706080 WRN:L2286(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, end 5 RX proto error(0x4)
3 4728.716068 option: option_instat_callback: error -104
7 4728.721958 WRN:L2286(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, end 5 RX proto error(0x4)
3 4728.731944 option: option_instat_callback: error -104
7 4728.737830 WRN:L2286(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, end 5 RX proto error(0x4)
3 4728.747818 option: option_instat_callback: error -104
7 4728.753708 WRN:L2286(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, end 5 RX proto error(0x4)
3 4728.763694 option: option_instat_callback: error -104
7 4728.769584 WRN:L2286(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, end 5 RX proto error(0x4)
3 4728.779569 option: option_instat_callback: error -104
7 4728.785457 WRN:L2286(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, end 5 RX proto error(0x4)
3 4728.795444 option: option_instat_callback: error -104
7 4728.801333 WRN:L2286(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, end 5 RX proto error(0x4)
3 4728.811319 option: option_instat_callback: error -104
7 4728.817218 WRN:L2286(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, end 5 RX proto error(0x4)
3 4728.827205 option: option_instat_callback: error -104
7 4728.833083 WRN:L2286(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, end 5 RX proto error(0x4)
3 4728.843069 option: option_instat_callback: error -104
7 4728.848957 WRN:L2286(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, end 5 RX proto error(0x4)
3 4728.858944 option: option_instat_callback: error -104
7 4728.864835 WRN:L2286(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, end 5 RX proto error(0x4)
3 4728.874820 option: option_instat_callback: error -104
7 4728.880706 WRN:L2286(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, end 5 RX proto error(0x4)
3 4728.890694 option: option_instat_callback: error -104
6 4728.896253 usb 1-1.4: USB disconnect, device number 7
7 4728.901418 WRN:L2286(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, end 5 RX proto error(0x4)
3 4728.911394 option: option_instat_callback: error -104
6 4728.918306 option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
6 4728.927033 option 1-1.4:1.0: device disconnected
6 4728.933441 option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
6 4728.942192 option 1-1.4:1.1: device disconnected
6 4728.948471 option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
6 4728.957158 option 1-1.4:1.2: device disconnected
7 4729.011173 sw_hcd: sw_hcd_h_disable, epnum = 0
7 4729.020149 sw_hcd: sw_hcd_h_disable, epnum = 0
7 4729.030130 sw_hcd: sw_hcd_h_disable, epnum = 8a
7 4729.034944 sw_hcd: sw_hcd_h_disable, epnum = b
7 4729.039654 sw_hcd: sw_hcd_h_disable, epnum = 8b
7 4729.065056 sw_hcd: sw_hcd_h_disable, epnum = c
7 4729.065142 sw_hcd: sw_hcd_h_disable, epnum = 8c
7 4729.065150 sw_hcd: sw_hcd_h_disable, epnum = d
7 4729.065157 sw_hcd: sw_hcd_h_disable, epnum = 8d
7 4729.065164 sw_hcd: sw_hcd_h_disable, epnum = e
7 4729.065171 sw_hcd: sw_hcd_h_disable, epnum = 8e
7 4729.065178 sw_hcd: sw_hcd_h_disable, epnum = f
7 4729.065185 sw_hcd: sw_hcd_h_disable, epnum = 8f
6 4736.270276 usb 1-1.4: new high speed USB device number 8 using sw_hcd_host0
7 4736.681438 sw_hcd: sw_hcd_h_disable, epnum = 0
7 4736.686143 sw_hcd: sw_hcd_h_disable, epnum = 0
6 4736.751727 scsi8 : usb-storage 1-1.4:1.0
6 4736.762370 scsi9 : usb-storage 1-1.4:1.1
5 4737.750910 scsi 8:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
5 4737.761310 scsi 9:0:0:0: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2
7 4737.770432 WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 5 STALL(0x240)
7 4737.781370 sr0: scsi-1 drive
7 4737.786213 Wait for media ready, retries = 0
7 4737.812901 sr 8:0:0:0: Attached scsi CD-ROM sr0
7 4738.801488 Wait for media ready, retries = 1
7 4738.816749 WRN:L1724(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_h_ep0_irq, no response, csr0 0010
7 4738.816768 WRN:L1738(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_h_ep0_irq, ep aborting
6 4738.846417 usb 1-1.4: USB disconnect, device number 8
5 4739.810350 sd 9:0:0:0: sda READ CAPACITY failed
6 4739.815187 sd 9:0:0:0: sda Result: hostbyte=0x01 driverbyte=0x00
5 4739.821700 sd 9:0:0:0: sda Sense not available.
5 4739.826629 sd 9:0:0:0: sda Write Protect is on
7 4739.831377 sd 9:0:0:0: sda Mode Sense: 20 23 b0 c0
3 4739.836484 sd 9:0:0:0: sda No Caching mode page present
3 4739.841997 sd 9:0:0:0: sda Assuming drive cache: write through
5 4739.886264 sd 9:0:0:0: sda Attached SCSI removable disk
7 4739.912861 sw_hcd: sw_hcd_h_disable, epnum = 0
7 4739.917578 sw_hcd: sw_hcd_h_disable, epnum = 0
7 4739.934423 sw_hcd: sw_hcd_h_disable, epnum = e
7 4739.950164 sw_hcd: sw_hcd_h_disable, epnum = 8e
7 4739.965385 sw_hcd: sw_hcd_h_disable, epnum = f
7 4739.976648 sw_hcd: sw_hcd_h_disable, epnum = 8f
6 4743.430265 usb 1-1.4: new high speed USB device number 9 using sw_hcd_host0
7 4743.728855 sw_hcd: sw_hcd_h_disable, epnum = 0
7 4743.733582 sw_hcd: sw_hcd_h_disable, epnum = 0
6 4743.794356 option 1-1.4:1.0: GSM modem (1-port) converter detected
6 4743.805388 usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB0
6 4743.816021 option 1-1.4:1.1: GSM modem (1-port) converter detected
6 4743.827449 usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB1
6 4743.835812 option 1-1.4:1.2: GSM modem (1-port) converter detected
6 4743.844031 usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB2
6 4743.852206 scsi10 : usb-storage 1-1.4:1.3
6 4743.859036 scsi11 : usb-storage 1-1.4:1.4
6 4743.981232 init: waitpid returned pid 6625, status = 00000000
3 4743.987151 init: untracked pid 6625 exited
5 4744.850929 scsi 10:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
5 4744.861552 scsi 11:0:0:0: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2
7 4744.871659 WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 1 STALL(0x240)
7 4744.882670 sr0: scsi-1 drive
7 4744.889652 sr 10:0:0:0: Attached scsi CD-ROM sr0
7 4744.896659 Wait for media ready, retries = 0
7 4744.914881 WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 1 STALL(0x240)
7 4744.946840 WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 1 STALL(0x40)
7 4744.958590 WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 1 STALL(0x40)
7 4744.974807 WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 1 STALL(0x40)
7 4744.987120 WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 1 STALL(0x240)
7 4744.998477 WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 1 STALL(0x40)
7 4745.009711 WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 1 STALL(0x40)
7 4745.021539 WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 1 STALL(0x240)
7 4745.032831 WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 1 STALL(0x40)
7 4745.049270 WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 1 STALL(0x40)
7 4745.061416 WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 1 STALL(0x240)
7 4745.072779 WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 1 STALL(0x40)
6 4745.826940 init: waitpid returned pid 6652, status = 00000000
3 4745.832997 init: untracked pid 6652 exited
7 4745.910847 Wait for media ready, retries = 1
7 4746.920842 Wait for media ready, retries = 2
7 4747.930921 Wait for media ready, retries = 3
7 4748.940907 Wait for media ready, retries = 4
5 4748.957068 sd 11:0:0:0: sda Attached SCSI removable disk
7 4837.621211 sw_usb_enable_hcd: usbc_num = 2
7 4837.625451 sw-ehci2: sw_usb_enable_ehci
7 4837.629585 sw-ehci2: probe, pdev-name: sw-ehci, pdev-id: 2, sw_ehci: 0xc0876030
7 4837.637396 sw-ehci2: open clock
7 4837.664192 sw-ehci2: Set USB Power ON
6 4837.668149 sw-ehci sw-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
6 4837.675725 sw-ehci sw-ehci.2: new USB bus registered, assigned bus number 2
6 4837.683121 sw-ehci sw-ehci.2: irq 40, io mem 0xf1c1c000
6 4837.700075 sw-ehci sw-ehci.2: USB 0.0 started, EHCI 1.00
7 4837.705536 ehci_irq: port change detect
6 4837.712642 hub 2-0:1.0: USB hub found
6 4837.716664 hub 2-0:1.0: 1 port detected
7 4837.721959 sw-ohci2: sw_usb_enable_ohci
7 4837.726172 sw-ohci2: probe, pdev-name: sw-ohci, pdev-id: 2, sw_ohci: 0xc0876144
7 4837.733986 sw-ohci2: open clock
6 4837.760754 sw-ohci sw-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver
6 4837.767974 sw-ohci sw-ohci.2: new USB bus registered, assigned bus number 3
6 4837.775126 sw-ohci sw-ohci.2: irq 65, io mem 0xf1c1c400
6 4837.846461 hub 3-0:1.0: USB hub found
6 4837.850541 hub 3-0:1.0: 1 port detected
7 4837.855751 rtw driver version=v3.4.2_3727.20120404
7 4837.860805 Build at: Jun 28 2012 09:23:41