Jump to content

zav

Members
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. 1) Ops, i've seen that script.bin it is symlink and decided rewrite original. I will change post. 2) I don't think so. I'm used this dongle on many device. it can work fine one month or can freeze in first day. If I'm not mistaken it consumes ~ 100 mA
  2. If you knew how Huawei sounds and what it means in Russian, you would understand why it freeze after few days . Something like "piece of .... " but worse It works normal only as VoIP gateway on asterisk(more than 1 year uptime). I've seen same problem on routers, desktop pc and now here. I think it is modem hardware or software problem.
  3. Thank you very much tkaiser! Thank you all! Works great! Problem solved! Message to descendants : 1) Taking out of control of the respective driver # cd /boot # bin2fex ./bin/orangepione.bin > newbin # nano ./newbin Change line 'usb_drv_vbus_gpio = port:PL02<1><0><default><0>' on 'usb_drv_vbus_gpio = ' # rm ./script.bin # fex2bin ./newbin > script.bin # rm ./newbin !REMEMBER! - after reboot power on USB OTG port will be OFF by default! # reboot 2) Export gpio pin PL02. To obtain the correct number you have to calculate it from the pin name. Use this formula: (position of letter in alphabet - 1) * 32 + pin number (HL02) letter L - stay on 12 position in alphabet. (HL02) pin number - 2 result: (12-1)*32+2=354 Use GPIO sysfs do next: # echo 354 > /sys/class/gpio/export # echo "out" > /sys/class/gpio/gpio354/direction Power ON # echo 1 > /sys/class/gpio/gpio354/value Power OFF # echo 0 > /sys/class/gpio/gpio354/value Enjoy!
  4. It's very interesting, what i need to do to "pull this trigger"? Restart is acceptable but helpless after # reboot modem still frozen
  5. Yes, I read it and even tried this: orangepi PH26<1><0><default><0> PH22<1><0><default><0> It is necessary to cut the wire 5V in the OTG cable and connect via a relay Last chance. Thank you tkiser for your fast and useful respond.
  6. Hello friends! I Am using 3G modem(Huawei E171 connected by OTG cable) on my OPi One for internet, but one problem - modem after few days working freeze. Reboot don't help because not full power off on USB, and after reboot i don't see modem in /dev. Only after physical remove modem and install again it's initialized and work fine. Question: Can i power off USB from cli? # uname -a Linux orangepione 3.4.113-sun8i #18 SMP PREEMPT Thu Jun 15 02:16:06 CEST 2017 armv7l armv7l armv7l GNU/Linu # lsusb Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 002: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E230/E270/E870 HSDPA/HSUPA Modem Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub # ls /dev/ttyU* (in normal state) /dev/ttyUSB0 /dev/ttyUSB1
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines