Magicsee N5

It looks like some unknown sdio combined wifi+bt chip in use on this device… Cdtech judging by the pictures, I’m guessing your wifi is not working either?

@ffimon @anon88919003 thanks for your reply.
The Wifi is working well on 2.4G and 5G band with limited range capabilities. Performing more test on my device i understood that using an external wifi usb adapter the bluetooth sometimes is working and sometimes not in random and strange behaviour.
If u need more information or logs please do not esitate to ask.
Many thanks.
Skunz

Can you type lsmod on SSH and paste the results

TestBox:~ # lsmod
Module Size Used by
8021q 19039 0
wlan 3451360 0
cfg80211 374882 1 wlan
mali 192433 5
ir_nec_decoder 2741 0
wifi_dummy 806 0
meson_ir 3997 0
rc_core 25833 3 meson_ir,ir_nec_decoder
amlvideodri 12226 0
videobuf_res 5386 1 amlvideodri
videobuf_core 16651 2 amlvideodri,videobuf_res
videodev 152169 1 amlvideodri
dwc_otg 233217 0
fbcon 38031 0
bitblit 4468 1 fbcon
softcursor 1168 1 bitblit
font 7327 1 fbcon

Thanks @ffimon it looks like your device is using the QCA9377 which has a very well developed open-source driver, we already have support for this.

Can you try and do /usr/bin/hciattach -n -s 115200 /dev/ttyS1 qca 2000000

and then hcitool dev

Here it is :slight_smile:

/usr/bin/hciattach -n -s 115200 /dev/ttyS1 qca 2000000

hci_send_vs_cmd: Send failed with ret value: 0
Failed to attach the patch payload to the Controller!
qca_soc_init: Rome Version (0x00000000)
qca_soc_init: Detected unknown ROME version
Can’t initialize device: Success

hcitool dev

Devices:
hci0 A0:9D:C1:F8:B8:8F

After the commands I try again to pair a bluetooth keyboard but without success. Same strange behaviour. First I can se the device, then , after 30 seconds no more devices.
Skunz

The remote files for this can be found here

What is a correct DTB file for this box?

Many thanks !
Skunz

The wifi is working but with low performance. Means…no way to stream up to 720p. I use an external adapter and I’m fine with it.
After three days of test I can say that my Magisee N5 is the cheapest s905x device and apart the bluetooth trouble is working very well.
Skunz.

I did a backup 1GB and copied it from the box at 12MB /second using 5g on wireless. The router was in the same room though.

5GH Same Roo

2.4GH Same Room

Through a double brick wall to second router

@ffimon What DTB file you use

gxl_p212_2g dtb

@anon88919003 did you find any reason of non working bluetooth ? Can I provide additional info ?
Thanks
Skunz

I don’t have any devices with the qca9377 chipset so it’s rather hard to diagnose the issue, I have downloaded the Android ROM to see if we are missing anything but I need more time to look at it.

@ffimon 12MB/s is a good speed, I would not say there is anything wrong with that.

Please excuse the forum mess with all the moving/merging of N5 related threads.
Here try this build:
openvfd.zip (64.1 KB)

Unfortunately not

CoreELEC:~/openvfd3 # dmesg | grep vfd
[   21.595663@0] OpenVFD: vfd_gpio_clk:         #0 = 0x01; #1 = 0x04; #2 = 0x10;
[   21.595669@0] OpenVFD: vfd_gpio_dat:         #0 = 0x01; #1 = 0x05; #2 = 0x10;
[   21.595676@0] OpenVFD: vfd_gpio_stb:         #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[   21.595682@0] OpenVFD: vfd_gpio0:            #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[   21.595688@0] OpenVFD: vfd_gpio1:            #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[   21.595694@0] OpenVFD: vfd_gpio2:            #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[   21.595700@0] OpenVFD: vfd_gpio3:            #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[   21.595707@0] OpenVFD: vfd_chars:            #0 = 0x00; #1 = 0x01; #2 = 0x02; #3 = 0x03; #4 = 0x04;
[   21.595716@0] OpenVFD: vfd_dot_bits:         #0 = 0x00; #1 = 0x01; #2 = 0x02; #3 = 0x03; #4 = 0x04; #5 = 0x05; #6 = 0x06;
[   21.595723@0] OpenVFD: vfd_display_type:     #0 = 0x01; #1 = 0x00; #2 = 0x00; #3 = 0x06;
[   21.595746@0] OpenVFD: Skipping vfd_gpio_stb evaluation (0xFF)
[   21.595750@0] OpenVFD: Skipping vfd_gpio0 evaluation (0xFF)
[   21.595754@0] OpenVFD: Skipping vfd_gpio1 evaluation (0xFF)
[   21.595757@0] OpenVFD: Skipping vfd_gpio2 evaluation (0xFF)
[   21.595761@0] OpenVFD: Skipping vfd_gpio3 evaluation (0xFF)
[   54.736743@3] OpenVFD: vfd_gpio_clk:         #0 = 0x01; #1 = 0x04; #2 = 0x10;
[   54.736751@3] OpenVFD: vfd_gpio_dat:         #0 = 0x01; #1 = 0x05; #2 = 0x10;
[   54.736757@3] OpenVFD: vfd_gpio_stb:         #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[   54.736764@3] OpenVFD: vfd_gpio0:            #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[   54.736770@3] OpenVFD: vfd_gpio1:            #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[   54.736777@3] OpenVFD: vfd_gpio2:            #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[   54.736783@3] OpenVFD: vfd_gpio3:            #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[   54.736790@3] OpenVFD: vfd_chars:            #0 = 0x00; #1 = 0x01; #2 = 0x02; #3 = 0x03; #4 = 0x04;
[   54.736799@3] OpenVFD: vfd_dot_bits:         #0 = 0x00; #1 = 0x01; #2 = 0x02; #3 = 0x03; #4 = 0x04; #5 = 0x05; #6 = 0x06;
[   54.736806@3] OpenVFD: vfd_display_type:     #0 = 0x01; #1 = 0x00; #2 = 0x00; #3 = 0x06;
[   54.736831@3] OpenVFD: Skipping vfd_gpio_stb evaluation (0xFF)
[   54.736834@3] OpenVFD: Skipping vfd_gpio0 evaluation (0xFF)
[   54.736838@3] OpenVFD: Skipping vfd_gpio1 evaluation (0xFF)
[   54.736841@3] OpenVFD: Skipping vfd_gpio2 evaluation (0xFF)
[   54.736845@3] OpenVFD: Skipping vfd_gpio3 evaluation (0xFF)

Can you post a full dmesg log please?

https://hastebin.com/awedipefop.pl

I have no problem with the wifi speed I have the version with the dodgy VFD. Skunz has the version with the working display he complaind about the wifi speed on his. Maybe his router doesnt work well a 5Ghz or he has interference from neighbours wifi