RockPro Wireless+Bluetooth Issue - Linux (ayufan 0.7.8 and previous) - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=98) +--- Forum: Linux on RockPro64 (https://forum.pine64.org/forumdisplay.php?fid=101) +--- Thread: RockPro Wireless+Bluetooth Issue - Linux (ayufan 0.7.8 and previous) (/showthread.php?tid=6310) |
RockPro Wireless+Bluetooth Issue - Linux (ayufan 0.7.8 and previous) - JeffD - 07-24-2018 I may be overlooking something very simple. Here is what I have observed so far. I am referencing the image file from ayufan, 0.7.8 LDXE RockPro. I have went all the way down from dev releases to the 0.6.X stable releases, but I have the same results. It's actually worse on older builds, which I expected. I have two separate units, with two separate RockPro bt+wifi modules that integrate in to the board. I have ran several commands to try to see the issue, but with no success. The lsusb output does not show the adapter, which is expected since it doesn't use USB. The "lshw -C network" shows that the adapter is wlan0. The "rfkill list" shows that the adapter is there, and wireless isn't blocked. However, it shows that Bluetooth is soft blocked so I issued the unblock all command. This fixed the software block, but the wireless still wouldn't work. iwconfig isnt even available. The "ifconfig wlan0 up" command returns "The operation is not permitted". To validate that it isn't hardware related, I loaded the other Android builds and they work great with wireless. But those builds are extremely limited functionally and visibly without the tablet. Sorry if this is a solid noob question, so feel free to cut jokes, lmao. I just tried about everything I could think of. wicd wasn't even an option, but that's likely due to the build not recognizing the adapter fully. Any help is appreciated!! Thanks all, especially to ayufan for everything! You are a kind soul, and I'll buy you a beer anytime. ;-) RE: RockPro Wireless+Bluetooth Issue - Linux (ayufan 0.7.8 and previous) - evilbunny - 07-25-2018 Lukasz pointed this out to me last night: 0.7.8: Disable sdio (no wifi/bt) to fix pcie/nvme support on 4.4 for RockPro64, RE: RockPro Wireless+Bluetooth Issue - Linux (ayufan 0.7.8 and previous) - JeffD - 07-25-2018 Thanks for the reply! I noticed that in the release notes. I found it by searching with the keyword "wifi", which was mentioned 3 times within his releases. I downgraded to 0.7.7 and even the 0.6.X stable, but still have the issue unfortunately. RE: RockPro Wireless+Bluetooth Issue - Linux (ayufan 0.7.8 and previous) - evilbunny - 07-25-2018 (07-25-2018, 08:57 AM)JeffD Wrote: Thanks for the reply! I noticed that in the release notes. I found it by searching with the keyword "wifi", which was mentioned 3 times within his releases. I downgraded to 0.7.7 and even the 0.6.X stable, but still have the issue unfortunately. I haven't had any luck getting it to work yet either and I've resorted to using the USB one. RE: RockPro Wireless+Bluetooth Issue - Linux (ayufan 0.7.8 and previous) - JeffD - 07-27-2018 (07-25-2018, 04:53 PM)evilbunny Wrote:(07-25-2018, 08:57 AM)JeffD Wrote: Thanks for the reply! I noticed that in the release notes. I found it by searching with the keyword "wifi", which was mentioned 3 times within his releases. I downgraded to 0.7.7 and even the 0.6.X stable, but still have the issue unfortunately. So after a ton of digging, a close friend and I were able to find a solution. Here is what we found. The wireless+bt chip is an AMPAK AP6359SA, but it uses the Broadcom 4359 chipset. After more digging, we found the kernel calling for /system/etc/firmware instead of /etc/firmware which is what the Linux distro uses. After realizing that, we researched the current stable Android release that has working wireless+bt firmware. The folder for the firmware on the stable Android release referenced /system/etc/firmware, which is what the Linux kernel is using. We archived the file on to a USB from the Android release, then brought back up the Linux release. We moved the files over to the folder structure that the Linux kernel was calling. Once we got everything in order, we reissued the rfkill unblock all command then proceeded to reboot. Once rebooted, the wireless module was fully recognized and scanning SSID's. To make it where we didn't have to use a wpa_supplicant file every time(for my wife's usability), I installed WICD. It works pretty well from what we have tested thus far. We still need to validate further. But there is a good thing coming up soon to make this much easier for all, but some may want it quickly so we will write up a report and put the files out for downloading. However in 4.5+, the chipset will be fully supported out of the box. I just wanted to send an update that it is working and that we are going to put something together just in case anyone wants to leverage it prior to the 4.5 release. I should have something written up today, but the information here can be used to get the wireless module up and going. I hope this helps others!! Thanks for being an awesome community and making great boards! RE: RockPro Wireless+Bluetooth Issue - Linux (ayufan 0.7.8 and previous) - Bullet64 - 07-27-2018 @JeffD: Very nice! On which board? v2.0 or v2.1? RE: RockPro Wireless+Bluetooth Issue - Linux (ayufan 0.7.8 and previous) - JeffD - 07-27-2018 (07-27-2018, 10:29 AM)Bullet64 Wrote: @JeffD: Very nice! On which board? v2.0 or v2.1? I don't have the board with me, but it was the second preorder. I imagine it is V2.1, but I'll definitely update that once I get off work! We did heed the release notes for 0.7.8 concerning the wireless being disabled, so we ran with 0.7.7. I will give it a shot on 0.7.8 as well, just for the sake of fun. RE: RockPro Wireless+Bluetooth Issue - Linux (ayufan 0.7.8 and previous) - Bullet64 - 07-27-2018 (07-27-2018, 01:01 PM)JeffD Wrote:(07-27-2018, 10:29 AM)Bullet64 Wrote: @JeffD: Very nice! On which board? v2.0 or v2.1? Yeah, i forgot about 0.7.8 With 0.7.7 on ROCKPro64 v2.1 i got this Code: rock64@rockpro64:~$ rfkill list And Code: rock64@rockpro64:~$ ip a Will need more tests. Thanks for the hint! RE: RockPro Wireless+Bluetooth Issue - Linux (ayufan 0.7.8 and previous) - ayufan - 07-30-2018 Well. I purposely disabled, for now, the sdio (wireless and bt) as more people look at pcie support, and there seems to be some conflict of interest (probably with clocks) that prevents both of them working always, at the same time. I have all other bits to enable it, but since it is not stable yet, I will likely leave it like that for time being RE: RockPro Wireless+Bluetooth Issue - Linux (ayufan 0.7.8 and previous) - martinayotte - 08-01-2018 (07-30-2018, 03:51 PM)ayufan Wrote: I have all other bits to enable it, but since it is not stable yet, I will likely leave it like that for time beingCan you describe what are those "bits to enable it" ? |