G-sensor device not found

Which system do you use? Android, Ubuntu, OOWOW or others?

Ubuntu

Which version of system do you use? Please provide the version of the system here:

22.04

Please describe your issue below:

G-sensor device is not found as described here:
VIM3/3L G-Sensor [Khadas Docs]

ll /dev/accel
ls: cannot access ‘/dev/accel’: No such file or directory

Post a console log of your issue below:


**Delete this line and post your log here.**

Hi @Eero_Rossinen
Try this fireware:
https://dl.khadas.com/products/vim3/firmware/ubuntu/emmc/vim3-ubuntu-22.04-gnome-linux-5.15-fenix-1.6.9-240618-emmc.img.xz

Hi,

/dev/accel for with this one, but my problem now is that I cannot get docker running. ```
sudo update-alternatives --config iptables to legacy fixes it in the newer kernel, but there we are missing /dev/accel. Do you have any hint how to fix docker?

Here are the error message from dockerd:

sudo dockerd
INFO[2024-07-03T15:28:44.158914921Z] Starting up
INFO[2024-07-03T15:28:44.245406005Z] [graphdriver] using prior storage driver: overlay2
INFO[2024-07-03T15:28:44.245883509Z] Loading containers: start.
INFO[2024-07-03T15:28:44.253033144Z] unable to detect if iptables supports xlock: ‘iptables --wait -L -n’: iptables v1.8.7 (legacy): can't initialize iptables table filter’: Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded. error="exit status 3" INFO[2024-07-03T15:28:44.295178782Z] stopping event stream following graceful shutdown error="<nil>" module=libcontainerd namespace=moby failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to register "bridge" driver: failed to create NAT chain DOCKER: iptables failed: iptables -t nat -N DOCKER: iptables v1.8.7 (legacy): can't initialize iptables tablenat’: Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
(exit status 3)

@Eero_Rossinen please follow steps 1&2 alone in this guide, it should solve your issue.

https://docs.khadas.com/products/sbc/vim3/configurations/firewall

Thanks guys, problems solved. Now I have both g-sensor and docker running.