Ahoj,
I have a VoCore2 Ultimate which I bought in October 2022.
I notice that at the LAN socket there are 2 LEDs, but one of them is always lit, the other is always off.
They do not react on LAN cable plug in, nor on data transfer, nor on setting the LED trigger in `/sys/class/leds/mt76-phy0/trigger` (the only other LED present there is the `fuchsia:status` which is the status LED on the VoCore main board, and this can be controlled).
So, how is it possible to make the two LEDs give useful information?
It looks for me that for one of the LEDs some resistors might not be soldered which are soldered for the other LED. Are there really some resistors missing? (If so, this is a feature request to add them, in case that LED could somehow give out more useful information than "always on".)
Regards!
VoCore2 Ultimate: How to control LAN LEDs?
-
dreieck - Posts: 7
- Joined: Mon Sep 04, 2023 3:05 pm
- Vonger
- Posts: 906
- Joined: Sun Oct 19, 2014 6:00 am
Re: VoCore2 Ultimate: How to control LAN LEDs?
You can download sch from vocore.io/v2u.html
One LED is connect to power another is connected to GD32 mcu, you can control from there but not very easy, need to code a lot, also GD32 chip now is for USB2TTL function.
One LED is connect to power another is connected to GD32 mcu, you can control from there but not very easy, need to code a lot, also GD32 chip now is for USB2TTL function.
-
dreieck - Posts: 7
- Joined: Mon Sep 04, 2023 3:05 pm
Re: VoCore2 Ultimate: How to control LAN LEDs?
another is connected to GD32 mcu, you can control from there but not very easy, need to code a lot
OK so there is no ready-made solution yet fot this? You don't have an example? OK. I am not an embedded systems developer or coder; more like an admin.
Thanks for the answer!, it sounds to me that it is beyound my capacities.
VoCore 2 Ultimate.
-
dreieck - Posts: 7
- Joined: Mon Sep 04, 2023 3:05 pm
Re: VoCore2 Ultimate: How to control LAN LEDs?
Can you give a working example for how to control the LED from OpenWRT? shell scripting I am familiar with, so anything that can be controlled by character files in `/sys/`, `/proc/` or `/dev/` should be doable by me, but I need to know how to control the LED.Vonger wrote:another is connected to GD32 mcu, you can control from there but not very easy
Regards!
VoCore 2 Ultimate.
- Vonger
- Posts: 906
- Joined: Sun Oct 19, 2014 6:00 am
Re: VoCore2 Ultimate: How to control LAN LEDs?
First you need to connect LED to GPIO, then you can control gpio from /sys.
This tutorial is for VoCore v1 but control is same https://vonger.cn/?p=473
If you need to control the on board LED, it is already be controlled by Linux kernel for wifi indicator, not sure if it can be used by /sys/class/gpio(remove the LED driver it can be control by /sys/class/gpio)
This tutorial is for VoCore v1 but control is same https://vonger.cn/?p=473
If you need to control the on board LED, it is already be controlled by Linux kernel for wifi indicator, not sure if it can be used by /sys/class/gpio(remove the LED driver it can be control by /sys/class/gpio)
5 posts
Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests