jslav Posted October 13, 2020 Share Posted October 13, 2020 In recent armbian for orangepi-pc (Fossil 5.8.y) I encountered /dev/video0 and /dev/video1 I disabled both video and csi devices in dtb, but /dev/video0 and /dev/video1 did not disappear. Same happened with serial ports also. In dtb file 4 serial ports are described. Only one port is enabled, but /dev/ ttyS* contains 8 serial devices /proc/device-tree/soc/serial* directory contains exact number of serial ports as it is described in dtb. does anybody have an experience in disabling devices via device tree? Or the devices are hardcoded in the kernel? 0 Quote Link to comment Share on other sites More sharing options...
martinayotte Posted October 13, 2020 Share Posted October 13, 2020 2 hours ago, jslav said: Or the devices are hardcoded in the kernel? For video, I don't know ... But for serial, Yes ! Doing this command : grep "=8" /boot/config-*-sunxi will reveal : CONFIG_SERIAL_8250_NR_UARTS=8 CONFIG_SERIAL_8250_RUNTIME_UARTS=8 1 Quote Link to comment Share on other sites More sharing options...
MacBreaker Posted October 13, 2020 Share Posted October 13, 2020 @jslav about video* take a look here: Quote That means that the module sunxi_cedrus and sun8i_di has to be blacklisted... check the active modules and blacklist them... 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.