im LAN soll für die Überwachung eines 3D-Druckers eine Webcam installiert werden.
Im Debian System wird die Webcam nach dem Einstecken des USB-Steckers automatisch erkannt:
dmesg:
Code: Alles auswählen
[ 2663.681118] usb 1-1.3: new high-speed USB device number 6 using dwc_otg
[ 2663.846159] usb 1-1.3: New USB device found, idVendor=045e, idProduct=0772, bcdDevice= 1.13
[ 2663.846192] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2663.846215] usb 1-1.3: Product: Microsoft® LifeCam Studio(TM)
[ 2663.846234] usb 1-1.3: Manufacturer: Microsoft
[ 2663.861661] uvcvideo: Found UVC 1.00 device Microsoft® LifeCam Studio(TM) (045e:0772)
[ 2663.932233] uvcvideo 1-1.3:1.0: Entity type for entity Extension 5 was not initialized!
[ 2663.932273] uvcvideo 1-1.3:1.0: Entity type for entity Processing 4 was not initialized!
[ 2663.932303] uvcvideo 1-1.3:1.0: Entity type for entity Selector 3 was not initialized!
[ 2663.932332] uvcvideo 1-1.3:1.0: Entity type for entity Camera 1 was not initialized!
[ 2663.933562] input: Microsoft® LifeCam Studio(TM): as /devices/platform/soc/20980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input2
[ 2664.331799] hid-generic 0003:045E:0772.000bcam 3: hiddev96,hidraw0: USB HID v1.01 Device [Microsoft Microsoft® LifeCam Studio(TM)] on usb-20980000.usb-1.3/input4
$ fswebcam image.jpg
Code: Alles auswählen
--- Opening /dev/video0...
Trying source module v4l2...
/dev/video0 opened.
No input was specified, using the first.
Adjusting resolution from 384x288 to 352x288.
--- Capturing frame...
Captured frame in 0.00 seconds.
--- Processing captured image...
Writing JPEG image to 'image.jpg'.
$ fswebcam --list-controls
Code: Alles auswählen
Trying source module v4l2...
/dev/video0 opened.
No input was specified, using the first.
Available Controls Current Value Range
------------------ ------------- -----
Brightness 133 (45%) 30 - 255
Contrast 5 0 - 10
Saturation 103 (51%) 0 - 200
White Balance Temperature, Auto True True | False
Power Line Frequency 60 Hz Disabled | 50 Hz | 60 Hz
White Balance Temperature 4500 (26%) 2500 - 10000
Sharpness 25 (50%) 0 - 50
Backlight Compensation 5 0 - 10
Exposure, Auto Aperture Priority Mode Manual Mode | Aperture Priority Mode
Exposure (Absolute) 156 (1%) 1 - 10000
Pan (Absolute) 0 (50%) -529200 - 529200
Tilt (Absolute) 0 (50%) -432000 - 432000
Focus (absolute) 0 (0%) 0 - 40
Focus, Auto True True | False
Zoom, Absolute 0 (0%) 0 - 317
Adjusting resolution from 384x288 to 352x288.
--- Capturing frame...
Captured frame in 0.00 seconds.
--- Processing captured image...
There are unsaved changes to the image.
Hintergrund:
Auf dem System läuft "OctoPrint" zur Ansteuerung und Verwaltung des 3D Druckers. Unter den Einstellungen zur Webcam muss eine Stream-URL angegeben werden.
Kann mir da jemand weiterhelfen?