Posts made by György Farkas
RE: How to disable blue (power)LED on PowerDock2? & expled not working properly?
@Vukan-Vuk Yes, @CAP-33 is correct - you can not turn off the POWER LED of Power Dock without some hardware action / modification.
expledtool - originally - is able to control the RGB LED of an Expansion Dock via GPIO15, 16, 17.
See also Expansion Dock > Using the Dock > Controlling the RGB LED
Power Dock 2 has a virtual PB (PushButton) that we can push with the
power-dock2utility via GPIO16 (or unintentionally because GPIO16 is floating by default ;-).
See also Checking the Battery Level
Up to now I thought that PB is effective only if a battery is connected to the board.
It seems you have found a creative way when you are keep pushing it with an
expledcommand - theoretically 200 times per second ;-).
You should try to stop the PWM signal on GPIO16 with
fast-gpio set-input 16- this was the default state of GPIO16.
Using the Omega’s GPIOs > Fast-GPIO > Generating a PWM signal on a GPIO:
Generate a software-based Pulse Width Modulated (PWM) signal on a selected pin. Specify the desired duty cycle and frequency of the PWM signal.
fast-gpio pwm <gpio> <freq in Hz> <duty cycle percentage>
This will launch a background processthat will generate the PWM signal.
To stop the PWM signal, set the GPIO’s value:
fast-gpio <gpio> 0
fast-gpio set <gpio> 0- set the output LOW (if there's an active LOW LED then it will be ON) or
fast-gpio set <gpio> 1- set the output HIGH (if there's an active LOW LED then it will be OFF).
# Omega2+ v0.2.2 b201 root@Omega-99A5:~# expled 0xf21133 Setting LEDs to: f21133 Duty: 6 94 80 root@Omega-99A5:~# ps | grep fast-gpio 4641 root 1160 S fast-gpio pwm 17 200 6 4644 root 1160 S fast-gpio pwm 16 200 94 4647 root 1160 S fast-gpio pwm 15 200 80 4761 root 1188 S grep fast-gpio
fast-gpio pwm ...processes running in the background really?
RE: powering omega from the expansion dock header
Does applying 5v to the 5v pin on the expansion dock have the same effect as applying 5v to the micro USB port?
Yes. Regarded by the schematic each VCC_5V point of the board is joint.
Be careful. In this case you should avoid to use the serial connection (via the micro USB port) due to back-powering the USB port of the host PC.
Please correct me if I'm wrong because I don't have any genuine Onion Expansion Docks.
RE: Omega2+ incorrectly detects all SSIDs as hidden
What names are these AP's seen as by your other devices?
I also would be curious.
RE: Omega2+ incorrectly detects all SSIDs as hidden
@D-S If I were you I'd try to solve this issue simply with a Factory Reset (except if this is some academic research ;-).
================ uci show wireless ================
If OslerWiFi is not a public AP then now the owner should change the 0SL3R2017 password - just in case.
RE: Updated to newest Omega2+ firmware, now can't install block-mount
@chris-Ó-Luanaigh Try to use:
opkg install block-mount
# Omega2+ v0.2.2 b201 root@Omega-5533:/# opkg update Downloading http://repo.onion.io/omega2/packages/core/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_core Downloading http://repo.onion.io/omega2/packages/core/Packages.sig Signature check passed. Downloading http://repo.onion.io/omega2/packages/base/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_base Downloading http://repo.onion.io/omega2/packages/base/Packages.sig Signature check passed. Downloading http://repo.onion.io/omega2/packages/packages/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_packages Downloading http://repo.onion.io/omega2/packages/packages/Packages.sig Signature check passed. Downloading http://repo.onion.io/omega2/packages/routing/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_routing Downloading http://repo.onion.io/omega2/packages/routing/Packages.sig Signature check passed. Downloading http://repo.onion.io/omega2/packages/onion/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_onion Downloading http://repo.onion.io/omega2/packages/onion/Packages.sig Signature check passed. root@Omega-5533:/# opkg install block-mount Installing block-mount (2017-06-30-bdcb075f-1) to root... Downloading http://repo.onion.io/omega2/packages/core/block-mount_2017-06-30-bdcb075f-1_mipsel_24kc.ipk Configuring block-mount. this file has been obsoleted. please call "/sbin/block mount" directly
RE: what's mean option mode '9' in /etc/config/network file?
@jongrock-chun I think your screenshot - your 'wireless' config file - is a mix.
These are the default (out-of-the-box) '/etc/config/wireless' files of Omega2.
As you know the Omega's WiFi AP (ap) is working by default,
but the Omega's WiFi client / station (sta) has not set yet.
# Closed source MediTek WiFi driver up to firmware v0.1.10-b160 root@Omega-5BE1:/# cat /etc/config/wireless config wifi-device 'ra0' option type 'ralink' option mode '9' option channel 'auto' option txpower '100' option ht '20' option country 'US' option disabled '0' config wifi-iface option device 'ra0' option network 'wlan' option mode 'ap' option encryption 'psk2' option key '12345678' option ApCliEnable '1' option ApCliSsid 'yourwifissid' option ApCliAuthMode 'WPA2PSK' option ApCliEncrypType 'AES' option ApCliPassWord 'yourpassword' option ssid 'Omega-5BE1 #------------------------------------------------------------------------------------------ # Closed source WARP CORE V1.0 Onion Enhanced MT7688 WiFi Driver from firmware v0.2.0-b175 root@Omega-5BE1:/# cat /etc/config/wireless config wifi-device 'radio0' option type 'ralink' option variant 'mt7628' option country 'US' option hwmode '11g' option htmode 'HT40' option channel 'auto' option disabled '0' option device_mode 'apsta' option op_mode 'preference' config wifi-iface 'ap' option device 'radio0' option mode 'ap' option network 'wlan' option ifname 'ra0' option encryption 'psk2' option key '12345678' option disabled '0' option ssid 'Omega-5BE1' config wifi-iface 'sta' option device 'radio0' option mode 'sta' option ifname 'apcli0' option encryption 'psk2' option ssid 'YourSsidHere' option key 'YourPasswordHere' option network 'wwan' option disabled '1'
Here you are a guide for the MediaTek driver:
If I know well sadly there isn't any guide, man or tutorial for the WARP CORE V1.0 Onion Enhanced MT7688 WiFi Driver.
You want to know on FW v0.2.2 b201 ... perhaps
- 'mode 9' is for 'WirelessMode 9: 11BGN mixed'
- 'sta' is for 'WiFi station'
- 'MT' is for 'MediaTek' or 'MT7688' (this is the SoC of Omega2) or any other MediaTek SoC
About WiFi versions, channels, 20/40 MHz bandwidth, etc. see also - for example - Wi-Fi ;-)