lukqw
2 July 2018 17:35
22
Thanks for your answers!
I’ve collected lsmod
’s from both system before and while running the same python script which depends on the joystick. (I think the before/after was not necessary)
Additionally I did dmesg
on both devices.
And I included /boot/config.txt
You can find the paste here: https://pastebin.com/ZS8P9edb
One thing I noticed is this: [ 10.801822] Under-voltage detected! (0x00050005)
on line 353, could be a thing to try out with a different psu.
Another thing I noticed is that on osmc lirc_rpi
is also running - can I disable this to check if it’s interfering with the joystick?
I would recommend resolving PSU issues first.
I don’t think lirc_rpi would cause issues, but you can run sudo rmmod lirc_rpi to test.
lukqw
2 July 2018 22:24
24
PSU issues are resolved now.
I didn’t disable lirc_rpi because it’s in use.
Edit: Comparing the two lsmod
's while the systems ran the python script, these are the differences:
OSMC is not running:
cmac
btbcm
serdev
And these modules are used by osmc more than in raspbian (should not be important)
evdev 1 more
iptables 3 more
x_tables 3 more
ipv6 30 more
lukqw
9 July 2018 20:38
25
I missed your recommendation about the ini file. How would I go about only installing that one file on osmc?
You should download the .deb package:
cd /tmp
apt-get download sense-hat
Then extract the files:
dpkg -X <file-name> sh
which will write all files from the package to (newly-created) directory /tmp/sh.