Does someone know if it's possible to create a new "/dev/video0" with some informations (e.g idVendor, idProduct, ...). Our problem is that when we plug in our camera, it doesn't create a "/dev/*" device, but we're able to find its address "0xXXXXXX" by using a little java program. If someone has any instructions, that would be pretty cool ! Thanks :) (Our camera is a Celestron NexImage 5)


The command you are looking for is mknod

However, the creation of special device files is not for the faint of heart. Make sure you know exactly what you are doing.

For further reading:

mknod manpage

Writing a simple device driver

  • Do you know if mknod is available on Raspbian ? Because we cannot use this command actually. It's not recognized :/ – Alexandre Ferret Dec 1 '17 at 14:22
  • Ups my bad, we got it, we will look on this way ! Thanks :) – Alexandre Ferret Dec 1 '17 at 14:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.