Hi Dave,
I would need to do some investigation - we had the same problem with the UKUBE ground station, with several audio cards and serial adaptors it was important to make them load consistently. I recall latterly similar issues with DATV Express. UDEV is designed to do exactly this, so if you want it to load as /dev/video1 you can do this with UDEV. The following is in linux lingo so may not make sense to many sorry.
Firstly we need the vendor code. I don't know how consistent these are. Plugging in the capture device and running the dmesg command piped through grep usb to reduce the verbiage indicates in my case
pi@raspberrypi:~ $ dmesg |grep usb
....
[ 328.387835] usb 1-1.3: new high-speed USB device number 6 using dwc_otg
[ 328.519572] usb 1-1.3: New USB device found, idVendor=534d, idProduct=0021
[ 328.519585] usb 1-1.3: New USB device strings: Mfr=1, Product=0, SerialNumber=0
[ 328.519594] usb 1-1.3: Manufacturer: MACROSIL
pi@raspberrypi:~ $ dmesg |grep video
....
[ 328.520649] uvcvideo: Found UVC 1.00 device <unnamed> (534d:0021)
[ 328.520888] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
[ 328.521569] uvcvideo 1-1.3:1.0: Entity type for entity Processing 2 was not initialized!
[ 328.521590] uvcvideo 1-1.3:1.0: Entity type for entity Camera 1 was not initialized!
and just for the record lsusb
pi@raspberrypi:~ $ lsusb
Bus 001 Device 006: ID 534d:0021
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
And video for linux shows that the device has defaulted to /dev/video0
pi@raspberrypi:~ $ v4l2-ctl -d 0 --all
Driver Info (not using libv4l2):
Driver name : uvcvideo
Card type : UVC Camera (534d:0021)
Bus info : usb-3f980000.usb-1.3
Driver version: 4.9.24
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
Width/Height : 720/480
Pixel Format : 'YUYV'
Field : None
Bytes per Line: 1440
Size Image : 691200
Colorspace : Unknown (00000000)
Flags :
Crop Capability Video Capture:
Bounds : Left 0, Top 0, Width 720, Height 480
Default : Left 0, Top 0, Width 720, Height 480
Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 720, Height 480
Selection: crop_bounds, Left 0, Top 0, Width 720, Height 480
Streaming Parameters Video Capture:
Capabilities : timeperframe
Frames per second: 30.000 (30/1)
Read buffers : 0
brightness (int) : min=0 max=255 step=1 default=-8193 value=32
contrast (int) : min=0 max=255 step=1 default=57343 value=128
saturation (int) : min=0 max=255 step=1 default=57343 value=128
hue (int) : min=0 max=127 step=1 default=-8193 value=0
gamma (int) : min=0 max=50 step=1 default=57343 value=25
brightness (int) : min=0 max=255 step=1 default=-8193 value=32
contrast (int) : min=0 max=255 step=1 default=57343 value=128
saturation (int) : min=0 max=255 step=1 default=57343 value=128
hue (int) : min=0 max=127 step=1 default=-8193 value=0
gamma (int) : min=0 max=50 step=1 default=57343 value=25
So we know the capture cards vendor and device ID idVendor=534d, idProduct=0021
I was going to write instructions but then recalled they are already there in this post
http://www.batc.org.uk/forum/viewtopic. ... 744#p11292
and even better here
http://www.djsadhu.com/software/linux-h ... dev-rules/
Now this will simply map video0, and video1 to the same name each time but might not solve the problem if the software is hardwired to /video0. I think there is a way to make the capture driver module go to video1 but it will need more research. IT seems the answer is via the module uvcvideo but I need to find the manual.
Mike