Jump to content

disable /dev/video0 and /dev/ttyS* in kernel 5.8.y with device tree


jslav
 Share

Recommended Posts

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?

 

 

Link to comment
Share on other sites

Search Before Posting!

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...