Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WiFi Setup Mode #1

Open
jakbutler opened this issue Sep 5, 2020 · 3 comments
Open

WiFi Setup Mode #1

jakbutler opened this issue Sep 5, 2020 · 3 comments

Comments

@jakbutler
Copy link

Not sure if this is the appropriate place to report an issue with setup / ask a question. I'm having difficulty with the WiFi Setup Mode using the Hey, Wi-Fi webapp. On the VOICEN mic array board, I noticed that the R light does not illuminate ever when the touch key is depressed, held, or after it's released (all the others seem to be working). Could this be related to an inability to set up via the recommended method and what issue might this indicate is occurring with the set up?

@xiongyihui
Copy link
Member

When Nanopi Neo Air is connected to a computer, there will be a USB virtual serial port.
Are you able to open a terminal via the serial port?
If yes, you can check the LED via IO registers

sudo nmtui        # to connect Wi-Fi
sudo apt install -y sunxi-tools
sudo sunxi-pio -m PC3=1  # turn on Red LED

@jakbutler
Copy link
Author

jakbutler commented Sep 8, 2020

When Nanopi Neo Air is connected to a computer, there will be a USB virtual serial port.
Are you able to open a terminal via the serial port?
If yes, you can check the LED via IO registers

sudo nmtui        # to connect Wi-Fi
sudo apt install -y sunxi-tools
sudo sunxi-pio -m PC3=1  # turn on Red LED

Thank you. After doing the above, it does not appear to have any effect on the Red LED. When I similarly try the below from the IO documentation, I get an error:

root@voicen:~# sudo gpioset 0 67=1
gpioset: error setting the GPIO line values: Device or resource busy

Is this indicative of a possible hardware issue and, if so, is it just cosmetic (i.e. only affecting the LED)?

That being said, connecting via the USB serial port enabled me to get it connected to the WiFi, which is great progress!

@xiongyihui
Copy link
Member

gpioset failed because the io is already be used by a io service. You can stop the io service by:

systemctl stop io

It is likely the red led is broken. You could check if any microphone is broken, as configuring Wi-Fi through sound failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants