Falcon Christmas Pocket Beagle Wifi Issue

Hello Everyone!

I am currently working on a project with Falcon Christmas on the Pocket Beagle. I have a USB WIFI dongle to add WIFI to the pocket beagle.

I was following this guide to add the USB type A to it: https://www.teachmemicro.com/pocketbeagle-wifi/.

I am sure that it is wired properly but it doesn’t show up on Falcon as a device when i do “ifconfig”.

The USB however doesn’t seem to be on because the LED on the dongle isn’t lighting up even though there is 5 volts to the USB.

I have made sure that the USB pins are not being used by Falcon through the web interface.

The last thing i have tried was going through “connmanctl” but I get this error when i try to enable WIFI.
“Error wifi: Method “SetProperty” with signature “sv” on interface “net.connman.Technology” doesn’t exist”

Are there any suggestions as to what to try or where to debug this issue?

Thanks for your help!

On the pocket beagle, USB0, which is brought out to the microUSB connector on the board is only intended to be used as a ‘client’, so you can not plug the WiFi there.
You have to use USB1, which is pinned out to the 36 pin connector P1.
USB1 is configured to be a USB master/server.
You will need to hand wire it into the appropriate pins on that connector.
You will also need to supply +5Volts to Vusb on pin P1-5 to tell the Pockebeagle USB1 interface that something is connected.
You also need to decide how you will power the board and supply power to the USB1 connection.
I found the PocketBeagle was unstable if you only supplied power to Vin USB1 (P1-7)
Powering both Vin USB0 (P1-1) and Vin USB1 (P1-7) works much better.
There is no USB current limiter circuitry on USB1, so be careful running without the normal USB power protection.
— Graham

Here is the picture we followed and it sounds like what you are describing:.

Auto Generated Inline Image 1.jpg

The only difference however is we aren’t using the P1-1 to also supply power. I also checked with the pinout and this is the USB 1 correct?

Let me know if there is something i am missing.

Thanks,

Devon

Devon:

Well, did you check to see if there is 5V power coming out of your USB1 port?

How is the PocketBeagle being powered?

— Graham

Auto Generated Inline Image 1.jpg

I’m surprised you haven’t contacted me since I have both PocketScroller (P10/5 controller for PocketBeagle) and F8-PB (ws28xx string controller for PocketBeagle), both based on Falcon/FPP. I have USB wifi working for both of them. I have the KiCad projects I’d be happy to share if you are interested.

The big question is how are you powering the PB? The diagrams you see on the wiki and such only work if you power the PocketBeagle via the micro-usb port. If you are planning on powering the PB via P1/1, then you need to route power separately and handle the switching and such.

Dan

The board is being powered off the micro USB port from my computer at the moment.

The voltage from VI is 5 Volts and VB is 0 Volts. ID is about .8 Volts. I do have 5 Volts on the USB.

I would be interested in seeing those KiCad projects if possible!

Falcon doesn’t seem to be seeing the adapter.

Thanks,

Devon

The board is being powered off the micro USB port from my computer at the moment.

The voltage from VI is 5 Volts and VB is 0 Volts. ID is about .8 Volts. I do have 5 Volts on the USB.

I would be interested in seeing those KiCad projects if possible!

PocketScroller:
https://www.dropbox.com/sh/6xks5tl5l4vr8cm/AAD10ftxImjgVQZbDLvcBRhMa?dl=0

F8-PB:
https://www.dropbox.com/sh/evuux5o7ogv2j50/AABsyxNA2QenPpanllb5lZ5Ha?dl=0

Just recently updated them to KiCad 5 so hopefully they work. Not sure I got all the components re-mapped.

Couple more questions:
What WIFI adapter? By default, FPP blacklists the kernel drivers as they, in general, suck for our use. I have a bunch of the various Realtek blob drivers installed, but by no means all of them. On the network page, you could try flipping to using the Kernel drivers and see if that helps.

BTW: can I ask what you are trying to do? What kind of thing are you trying to design?

Dan

Thanks for sending me those projects! I will take a look over those tomorrow during class!

The project i am doing is a graduation cap led matrix for a class I am in. More info here: https://elinux.org/ECE497_Project_-_LED_Matrix_Graduation_Cap. The page isn’t complete yet but has a link of what we are trying to do. Feel free to follow our progress if you want.

The adapter is Realtek RTL8188CUS i think. How do i see what drivers are installed and how to install them if i need to?

I will try the Linux drivers option tomorrow. Where on the network page can i find the network name/ password? Is that under the tether?

I was looking for explanation of these options but was unsuccessful in finding them.

Thanks,

Devon

Thanks for sending me those projects! I will take a look over those tomorrow during class!

The project i am doing is a graduation cap led matrix for a class I am in. More info here: https://elinux.org/ECE497_Project_-_LED_Matrix_Graduation_Cap. The page isn’t complete yet but has a link of what we are trying to do. Feel free to follow our progress if you want.

The adapter is Realtek RTL8188CUS i think. How do i see what drivers are installed and how to install them if i need to?

rtl8188cus is not one of them. :frowning:

Two options:

  1. Use a different adapter if you have one available.

  2. Flip to the kernel adapters and hope it works for your use case. With FPP 2.0/2.1 images, the setting was on the FPP Setting page. With 2.2 and 2.3, the setting is on the Network settings page.

I will try the Linux drivers option tomorrow. Where on the network page can i find the network name/ password? Is that under the tether?

No. Once you get it to recognize the wlan0 device, you would select it from the list box of devices and then the SSID and password fields will appear. Your need to get wlan0 found first though.

Dan

Daniel,

What wifi adapter were you successfully using? i have tried them all that i have and none of them work. :confused: I will hopefully end up getting the one you go to work and try that.

I tried the linux driver option and none of them came up with wlan0. I also tried lsusb and none of them showed up as a device.

Is there a way to install the drivers/ enable them on falcon??

What wifi adapter were you successfully using? i have tried them all that i have and none of them work. :confused: I will hopefully end up getting the one you go to work and try that.

In general, non of the “dual band” wifi adapters will work very well, if at all. There are drivers for a couple of them, but most don’t work at all.

For the most part, we recommend the Edimax 150MBit adapters. They seem to work the most reliably. I personally use the EDUP 300Mbit adapters, but I cannot find them anymore. :frowning: For the most part, if you go to Amazon and search for “Raspberry Pi Wifi”, what comes up should work.

I tried the linux driver option and none of them came up with wlan0. I also tried lsusb and none of them showed up as a device.

Is there a way to install the drivers/ enable them on falcon??

Yea, if you can find drivers. The script that we use to install drivers on the image is at:
https://github.com/FalconChristmas/fpp/blob/master/SD/FPP-Wifi-Drivers.sh

So you can likely use that as a starting point to see what you need to do. As I said, though, the issue is actually finding drivers for the appropriate chipset.

Dan

Thanks for the update! I ordered some of the suggested adapters and will update this thread if i have success!

I forgot to give an update! I did manage to get it working with the suggested adapter Edimax 150. It turned out that the adapter we were using was faulty somehow. We changed the female adapter and everything started working. Not sure what happened but everything working. Thanks for your help!