![](https://seccdn.libravatar.org/avatar/c43faa0436e97925199c77c24e85dc4b.jpg?s=120&d=mm&r=g)
Thanks. But what if I put a new device. E.g. a webcam. The kernel can see it but how do I find out what device it's attached to. Like is it /dev/video0 /dev/usbvideo /dev/usb/ttyxx or whatever.
This depends upon the type of connection that the camera uses. If it is a USB camera, then it will use /dev/usb (which may well be symlinked to another device under /dev). If it is a serial connection, then it will be: /dev/ttyS[0..4] depending upon port. Once you have ascertained this, you yourself can create a symlink to the appropriate "/dev" by doing: ln -s /dev/port /dev/camera where "/dev/port" is your device. If you specify no symlinks, then the camera will simply use the standard port, as described above. I hope that makes sense, Regards, Thomas Adam ------------ "This is Linux country. If you listen carefully, you can hear the sound of Windows rebooting....."
participants (1)
-
THOMAS ADAM