batocera-linux / batocera.linux

batocera.linux
https://batocera.org
Other
2.05k stars 528 forks source link

Wifi and bluetooth not working on A95X F3 Air #4530

Closed joao-pedro-barbosa closed 2 years ago

joao-pedro-barbosa commented 3 years ago

Hi,

Wifi and bluetooth are not working since version 31 supports s905gen3. I have tried all dtb as meson-sm1-a95xf3-air-2g.dtb, meson-sm1-a95xf3-air-4g.dtb or meson-sm1-h96-max.dtb.

I tried also a 32DEV with today date 09-01-2021 with no luck.

Thanks.

dmanlfc commented 3 years ago

Did it work in v30?

joao-pedro-barbosa commented 3 years ago

Hi Daniel Martin

I think 31 is the first offering support to s905gen3.

If I’m wrong, where can I get it?

Thanks,

Pedro Barbosa @.***

El 3 sept 2021, a las 0:35, Daniel Martin @.***> escribió:

Did it work in v30?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/batocera-linux/batocera.linux/issues/4530#issuecomment-912106360, or unsubscribe https://github.com/notifications/unsubscribe-auth/APBSHHGB55EKY7S6KMD2IGLT773ZPANCNFSM5DGHR2SQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

dmanlfc commented 3 years ago

Pedro,

please provide the output of

lsusb | grep Ethernet && lspci | grep Ethernet

joao-pedro-barbosa commented 3 years ago

Result is nothing first command without filter:

lsusb

Bus 002 Device 002: ID ab12:34cd USB30 External Disk Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 054c:0268 Sony Corp. Batoh Device / PlayStation 3 Controller Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

--

lspci

(end)

joao-pedro-barbosa commented 3 years ago

Notice I edited the dtb's because I originally write wrong dtbs. Thanks

dmanlfc commented 3 years ago

Ok the kernel isn't seeing the device hardware and on investigation the MediaTek chipset MT7668 is not supported in the Linux Kernel.

The chipset also connects to the SDIO bus on your device too.

So unless this gets upstreamed to the Kernel by MediaTek or someone else you're out of luck I'm afraid. I don't have the device to try and make it work either.

dmanlfc commented 3 years ago

Can you confirm CoreElec works with wifi & Bluetooth on this device?

joao-pedro-barbosa commented 3 years ago

I can confirm now that is all working on Emuelec. I dont test Coreelec but I can do it.

Enviado desde smartphone

El 4 set 2021, a les 0:08, Daniel Martin @.***> va escriure:

 Can you confirm CoreElec works with wifi & Bluetooth on this device?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

dmanlfc commented 3 years ago

What is the kernel version in Emuelec? do a uname -a unless it tells you easily in the GUI.

dmanlfc commented 3 years ago

Looking into it further this is not going to be achievable with my knowledge. Basically the source code for drivers available is for the 4.9 kernel. We're on a 5.8.x kernel release for the s905gen3 and so even if we got the code it would not compile against the kernel we use without major modification.

Until the driver goes upstream or we can find a more modern source, you'll have to add a USB dongle to the back of the device for wifi & bluetooth.

joao-pedro-barbosa commented 3 years ago

Okay @dmanlfc. Thanks for your analysis :)

georgedarocha commented 2 years ago

I can confirm now that is all working on Emuelec. I dont test Coreelec but I can do it. Enviado desde smartphone El 4 set 2021, a les 0:08, Daniel Martin @.***> va escriure:  Can you confirm CoreElec works with wifi & Bluetooth on this device? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

Hi @joao-pedro-barbosa , how did you confirm this? I have a A95X F3 Air and tried some CoreElec images from Galisteo and in none of them the Bluetooth worked, only wifi. I guess it was made using Emuelec v4.5 but I'll check it out when I get home.