google / aiyprojects-raspbian

API libraries, samples, and system images for AIY Projects (Voice Kit and Vision Kit)
https://aiyprojects.withgoogle.com/
Apache License 2.0
1.63k stars 694 forks source link

Files to load kennel modules see systemctl status systemd-modules-load.service provides no clues except to show modules are not loaded! #570

Open rusty377 opened 5 years ago

dmitriykovalev commented 5 years ago

It's not clear from your description what kind of problem you have. Please provide more information, e.g. kernel module names.

tarzanek commented 5 years ago

quick fix is:

apt-get install --reinstall pwm-soft-dkms
systemctl status systemd-modules-load.service

systemctl start systemd-modules-load.service
tarzanek commented 5 years ago

that said ... @dmitriykovalev I think with new update of raspbian the kernel is now v7+ "Building for 4.14.98+ and 4.14.98-v7+ "

so it seems all aiy dkms drivers don't get rebuilt upon latest dist-upgrade ... so all these would need a rebuild/reinstall:

root@raspberrypi:~# apt-cache search aiy |grep dkms aiy-dkms - Hardware device drivers for AIY Projects Kits. aiy-vision-dkms - AIY Vision DKMS driver. aiy-voicebonnet-soundcard-dkms - AIY Voice DKMS driver. leds-ktd202x-dkms - Hardware device drivers for AIY Projects Kits. pwm-soft-dkms - Hardware device drivers for AIY Projects Kits.

@dmitriykovalev could it be the dkms modules won't get picked up? (I know in Ubuntu/Debian dkms works properly, e.g. virtualbox modules rebuild just fine with new kernels, even in CentOS I think)