Discussion:
unknown
1970-01-01 00:00:00 UTC
Permalink
out in between the two 4 Byte sequences which I will send.
Maybe it is not possible to send the two 4 Byte in a sequences with =
uvcdynctrl in raw mode?
Regards,
Manfred
-----Urspr=FCngliche Nachricht-----
Gesendet: Montag, 05. August 2013 22:23
An: Manfred Baumgartl
Betreff: Re: [linux-uvc-devel] switching light on device Dino-Lite=20
Premier
Ok,
bUnitID 4
guidExtensionCode {7033f028-1163-2e4a-ba2c-6890eb334016}
and
bUnitID 5
guidExtensionCode {3fae1228-d7bc-114e-a357-6f1edef7d61d}
so you should try to get the settings for both these controls
uvcdynctrl -G 4:1 and uvcdynctrl -G 5:1
and maybe with selector 2 also (although only one control is=20
reported for each extension unit)
uvcdynctrl -G 4:2 and uvcdynctrl -G 5:2
then set the values according to the reported minimum, maximum and=20
step values.
Regards,
Paulo
Hello Paulo,
Bus 002 Device 011: ID a168:0840 AnMo Electronics Corporation=20
Device
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 ?
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0xa168 AnMo Electronics Corporation
idProduct 0x0840
bcdDevice 1.00
iManufacturer 2 AnMo Electronics Corporation
iProduct 1 Dino-Lite Premier
iSerial 0
bNumConfigurations 1
bLength 9
bDescriptorType 2
wTotalLength 645
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 168mA
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 14 Video
bFunctionSubClass 3 Video Interface Collection
bFunctionProtocol 0
iFunction 5 Dino-Lite Premier
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 1 Video Control
bInterfaceProtocol 0
iInterface 5 Dino-Lite Premier
bLength 13
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdUVC 1.00
wTotalLength 103
dwClockFrequency 15.000000MHz
bInCollection 1
baInterfaceNr( 0) 1
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 2
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 5
iTerminal 0
bLength 26
bDescriptorType 36
bDescriptorSubtype 6 (EXTENSION_UNIT)
bUnitID 4
guidExtensionCode
{7033f028-1163-2e4a-ba2c-6890eb334016}
bNumControl 8
bNrPins 1
baSourceID( 0) 3
bControlSize 1
bmControls( 0) 0x0f
iExtension 0
bLength 26
bDescriptorType 36
bDescriptorSubtype 6 (EXTENSION_UNIT)
bUnitID 5
guidExtensionCode
{3fae1228-d7bc-114e-a357-6f1edef7d61d}
bNumControl 8
bNrPins 1
baSourceID( 0) 4
bControlSize 1
bmControls( 0) 0xff
iExtension 0
bLength 18
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType 0x0201 Camera Sensor
bAssocTerminal 0
iTerminal 0
wObjectiveFocalLengthMin 0
wObjectiveFocalLengthMax 0
wOcularFocalLength 0
bControlSize 3
bmControls 0x00000000
bLength 11
bDescriptorType 36
bDescriptorSubtype 5 (PROCESSING_UNIT)
Warning: Descriptor too short
bUnitID 3
bSourceID 1
wMaxMultiplier 0
bControlSize 2
bmControls 0x0000062f
Brightness
Contrast
Hue
Saturation
Gamma
Gain
Power Line Frequency
iProcessing 0
bmVideoStandards 0x 0
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 6
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
bLength 14
bDescriptorType 36
bDescriptorSubtype 1 (INPUT_HEADER)
bNumFormats 1
wTotalLength 399
bEndPointAddress 129
bmInfo 0
bTerminalLink 2
bStillCaptureMethod 2
bTriggerSupport 0
bTriggerUsage 0
bControlSize 1
bmaControls( 0) 27
bLength 27
bDescriptorType 36
bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED)
bFormatIndex 1
bNumFrameDescriptors 7
guidFormat
{59555932-0000-1000-8000-00aa00389b71}
bBitsPerPixel 16
bDefaultFrameIndex 1
bAspectRatioX 0
bAspectRatioY 0
bmInterlaceFlags 0x00
Interlaced stream or variable: No
Fields per frame: 2 fields
Field 1 first: No
Field pattern: Field 1 only
bCopyProtect 0
bLength 50
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 1
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 480
dwMinBitRate 3072000
dwMaxBitRate 18432000
dwMaxVideoFrameBufferSize 614400
dwDefaultFrameInterval 333333
bFrameIntervalType 6
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 400000
dwFrameInterval( 2) 500000
dwFrameInterval( 3) 666666
dwFrameInterval( 4) 1000000
dwFrameInterval( 5) 2000000
bLength 50
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 2
bmCapabilities 0x00
Still image unsupported
wWidth 352
wHeight 288
dwMinBitRate 1013760
dwMaxBitRate 6082560
dwMaxVideoFrameBufferSize 202752
dwDefaultFrameInterval 333333
bFrameIntervalType 6
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 400000
dwFrameInterval( 2) 500000
dwFrameInterval( 3) 666666
dwFrameInterval( 4) 1000000
dwFrameInterval( 5) 2000000
bLength 50
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 3
bmCapabilities 0x00
Still image unsupported
wWidth 320
wHeight 240
dwMinBitRate 768000
dwMaxBitRate 4608000
dwMaxVideoFrameBufferSize 153600
dwDefaultFrameInterval 333333
bFrameIntervalType 6
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 400000
dwFrameInterval( 2) 500000
dwFrameInterval( 3) 666666
dwFrameInterval( 4) 1000000
dwFrameInterval( 5) 2000000
bLength 50
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 4
bmCapabilities 0x00
Still image unsupported
wWidth 176
wHeight 144
dwMinBitRate 253440
dwMaxBitRate 1520640
dwMaxVideoFrameBufferSize 50688
dwDefaultFrameInterval 333333
bFrameIntervalType 6
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 400000
dwFrameInterval( 2) 500000
dwFrameInterval( 3) 666666
dwFrameInterval( 4) 1000000
dwFrameInterval( 5) 2000000
bLength 50
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 5
bmCapabilities 0x00
Still image unsupported
wWidth 160
wHeight 120
dwMinBitRate 192000
dwMaxBitRate 1152000
dwMaxVideoFrameBufferSize 38400
dwDefaultFrameInterval 333333
bFrameIntervalType 6
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 400000
dwFrameInterval( 2) 500000
dwFrameInterval( 3) 666666
dwFrameInterval( 4) 1000000
dwFrameInterval( 5) 2000000
bLength 34
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 6
bmCapabilities 0x00
Still image unsupported
wWidth 1280
wHeight 960
dwMinBitRate 12288000
dwMaxBitRate 22118400
dwMaxVideoFrameBufferSize 2457600
dwDefaultFrameInterval 1111111
bFrameIntervalType 2
dwFrameInterval( 0) 1111111
dwFrameInterval( 1) 2000000
bLength 34
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 7
bmCapabilities 0x00
Still image unsupported
wWidth 1280
wHeight 1024
dwMinBitRate 13107200
dwMaxBitRate 23592960
dwMaxVideoFrameBufferSize 2621440
dwDefaultFrameInterval 1111111
bFrameIntervalType 2
dwFrameInterval( 0) 1111111
dwFrameInterval( 1) 2000000
bLength 34
bDescriptorType 36
bDescriptorSubtype 3 (STILL_IMAGE_FRAME)
bEndpointAddress 0
bNumImageSizePatterns 7
wWidth( 0) 1280
wHeight( 0) 1024
wWidth( 1) 1280
wHeight( 1) 960
wWidth( 2) 640
wHeight( 2) 480
wWidth( 3) 352
wHeight( 3) 288
wWidth( 4) 320
wHeight( 4) 240
wWidth( 5) 176
wHeight( 5) 144
wWidth( 6) 160
wHeight( 6) 120
bNumCompressionPatterns 7
bLength 6
bDescriptorType 36
bDescriptorSubtype 13 (COLORFORMAT)
bColorPrimaries 1 (BT.709,sRGB)
bTransferCharacteristics 1 (BT.709)
bMatrixCoefficients 4 (SMPTE 170M (BT.601))
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0080 1x 128 bytes
bInterval 1
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 2
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0100 1x 256 bytes
bInterval 1
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 3
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0320 1x 800 bytes
bInterval 1
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 4
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0b20 2x 800 bytes
bInterval 1
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 5
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x1320 3x 800 bytes
bInterval 1
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 6
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x1400 3x 1024 bytes
bInterval 1
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 ?
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0002
(Bus Powered)
Remote Wakeup Enabled
Regards
Manfred
-----Urspr=FCngliche Nachricht-----
Gesendet: Montag, 05. August 2013 17:17
An: Manfred Baumgartl
Betreff: Re: [linux-uvc-devel] switching light on device Dino-Lite=20
Premier
Hello Paulo,
I found the problem. I didn't have the v4l2 development tools=20
installed ;-)
rasp:/usr/src/libwebcam-code/build # uvcdynctrl -G 4:1 query=20
control size of : 4 query control flags of: 0x3 query minimum =
value
(LE)0x00000100
(BE)0x00010000
query step size of : (LE)0x01000000 (BE)0x00000001
query current value of: (LE)0x01000000 (BE)0x00000001
rasp:/usr/src/libwebcam-code/build # uvcdynctrl -S 4:1 =
'0x07102500'
query control size of : 4
query control flags of: 0x3
query minimum value of: (LE)0x00000000 (BE)0x00000000 query=20
maximum value of: (LE)0xffffffff (BE)0xffffffff query default=20
value
(LE)0x00000100 (BE)0x00010000
query step size of : (LE)0x01000000 (BE)0x00000001
set value of : (LE)0x07102500 (BE)0x00251007
rasp:/usr/src/libwebcam-code/build # uvcdynctrl -S 4:1 =
'0x06100100'
query control size of : 4
query control flags of: 0x3
query minimum value of: (LE)0x00000000 (BE)0x00000000 query=20
maximum value of: (LE)0xffffffff (BE)0xffffffff query default=20
value
(LE)0x07102500 (BE)0x00251007
query step size of : (LE)0x01000000 (BE)0x00000001
set value of : (LE)0x06100100 (BE)0x00011006
Doesn't do anything. Is 4:1 the correct unit_id:selector ?
Can you run the following command as root(sudo) lsusb -v -d
a168:0840
this should list some detailed information about the device=20
including some control information.
I'm not really sure because of the the control value, as you can=20
see the default is 0x00000100
not even close to any of the ones you are trying to set.
Regards,
Paulo
Regards,
Paulo
Regards
Manfred
-----Urspr=FCngliche Nachricht-----
Gesendet: Montag, 05. August 2013 14:26
An: Manfred Baumgartl
Betreff: Re: [linux-uvc-devel] switching light on device Dino-Lite =
Premier
Hi,
you need to update libwebcam, please use the git version.
you must install both uvcdynctrl and libwebcam shared library, all =
functionality is in the shared library, uvcdynctrl just parses the =
command line and calls the appropriate functions from libwebcam.
Regards,
Paulo
Hello Paulo,
I tried to use --get_raw and --set_raw but I get an symbol lookup
error.
c_read_xu_control
c_write_xu_control
Regards,
Manfred
-----Urspr=FCngliche Nachricht-----
Gesendet: Montag, 05. August 2013 11:48
An: Manfred Baumgartl
Betreff: Re: [linux-uvc-devel] switching light on device=20
Dino-Lite Premier
Hi,
you should be able to use uvcdynctrl as is to switch the led =
light.
make sure to use the git version.
you then use the --get_raw and --set_raw options to get and set=20
raw controls.
--//--
-S, --set_raw=3Dunit_id:selector Set the current raw control=20
value, value is a hex string of control size, default is little=20
uvcdynctrl -S 4:1 0x01100c or uvcdynctrl -S 4:1 '(BE)0x0c1001' )
just replace the control string for your particular case.
If you wish you can post a patch for uvcdynctrl xml mapping file, =
this should allow mapping the LED control into a v4l2 control, so =
that it can be used from any v4l2 app. there are examples there=20
already for some logitech models.
regards,
Paulo
Hello Miklas,
in the end we now have the correct control messages (Many thanks =
to Martijn Valkenburg from Dino-Lite Europe) . It is a sequence=20
off two control messages each.
memcpy(buf, "\x07\x10\x25\x00", 0x0000004);
ret =3D usb_control_msg(devh, USB_TYPE_CLASS +=20
USB_RECIP_INTERFACE, 0x0000001, 0x0000100, 0x0000400, buf,=20
0x0000004, 1000);
memcpy(buf, "\x06\x10\x01\x00", 0x0000004);
ret =3D usb_control_msg(devh, USB_TYPE_CLASS +=20
USB_RECIP_INTERFACE, 0x0000001, 0x0000100, 0x0000400, buf,=20
0x0000004, 1000);
memcpy(buf, "\x07\x10\x25\x00", 0x0000004);
ret =3D usb_control_msg(devh, USB_TYPE_CLASS +=20
USB_RECIP_INTERFACE, 0x0000001, 0x0000100, 0x0000400, buf,=20
0x0000004, 1000);
memcpy(buf, "\x06\x10\x04\x00", 0x0000004);
ret =3D usb_control_msg(devh, USB_TYPE_CLASS +=20
USB_RECIP_INTERFACE, 0x0000001, 0x0000100, 0x0000400, buf,=20
0x0000004, 1000);
LED ON : 21 01 00 01 00 04 04 00 07 10 25 00 06 10 01 00 LED =
21
01 00 01 00 04 04 00 07 10 25 00 06 10 04 00
So I am looking forward at the libwebcam project to add the=20
support for dino-lite to the uvcdynctrl.
Regards
Manfred
Gesendet: Sonntag, 28. Juli 2013 17:44
Betreff: Re: AW: [linux-uvc-devel] switching light on device=20
Dino-Lite Premier
Hello Manfred,
It is better now, I have filtered out the isochonous transfers=20
with a PHP script. (Results attached.) Basically I have stripped =
out everything between the lines starting with "--=20
URB_FUNCTION_ISOCH_TRANSFER:" and the "--".
If I bet well the LED on and off command differences should be=20
in the transferred data.
cat out_on.txt | grep "00000000:" > on.txt cat out_off.txt |=20
grep "00000000:" > off.txt diff -u on.txt off.txt
You can see 4 differences in the transferred data on writing and =
TransferFlags =3D 00000001 =
(USBD_TRANSFER_DIRECTION_IN,
~USBD_SHORT_TRANSFER_OK)
TransferBufferLength =3D 00000004
TransferBuffer =3D 09fce7d0
TransferBufferMDL =3D 00000000
UrbLink =3D 00000000
RequestTypeReservedBits =3D 00000000
Request =3D 00000081
Value =3D 00000100
Index =3D 00000400
fido=3D00000000, Irp=3D0a823c10, Context=3D09a836c0, IRQL=3D2
[208153 ms] <<< URB 880 coming back <<<
PipeHandle =3D 0a9a7220
TransferFlags =3D 0000000b (USBD_TRANSFER_DIRECTION_IN,
USBD_SHORT_TRANSFER_OK)
TransferBufferLength =3D 00000004
TransferBuffer =3D 09fce7d0
TransferBufferMDL =3D 0951cf40
00000000: 06 10 04 00
UrbLink =3D 00000000
SetupPacket =3D
00000000: a1 81 00 01 00 04 04 00
This piece of the capture shows a UVC_GET_CUR (request 0x81) on=20
unit
4 (wIndex >> 8) control selector 1 (wValue >> 8).
TransferFlags =3D 00000000 =
(USBD_TRANSFER_DIRECTION_OUT,
~USBD_SHORT_TRANSFER_OK)
TransferBufferLength =3D 00000004
TransferBuffer =3D 09fce7d0
TransferBufferMDL =3D 00000000
00000000: 06 10 05 00
UrbLink =3D 00000000
RequestTypeReservedBits =3D 00000000
Request =3D 00000001
Value =3D 00000100
Index =3D 00000400
fido=3D00000000, Irp=3D0902bac0, Context=3D09a836c0, IRQL=3D2
[208154 ms] <<< URB 882 coming back <<<
PipeHandle =3D 0a9a7220
TransferFlags =3D 0000000a =
(USBD_TRANSFER_DIRECTION_OUT,
USBD_SHORT_TRANSFER_OK)
TransferBufferLength =3D 00000004
TransferBuffer =3D 09fce7d0
TransferBufferMDL =3D 0a98e1a0
UrbLink =3D 00000000
SetupPacket =3D
00000000: 21 01 00 01 00 04 04 00
The next difference is a UVC_SET_CUR to the same extension=20
control with the data 06 10 05 00
At the end it reads it back, and do a UVC_SET_CUR with 06 10 01
00 back to it.
The third byte seems to have some connection with the LED state.
In the ON log: read 4 first (maybe auto), then it write 5 to it.
Then writes
1 at the end.
In the OFF log: read 1 from it, then write 0, then write back 4=20
at the
end.
Does this behaviour aligns somehow with your experiments?
http://sourceforge.net/projects/libwebcam/)
- lsusb -vv a168:0840
In the lsusb output you will see a section with the UVC=20
extension units like
bLength 27
bDescriptorType 36
bDescriptorSubtype 6 (EXTENSION_UNIT)
bUnitID 8
guidExtensionCode
{212de5ff-3080-2c4e-82d9-f587d00540bd}
bNumControl 10
bNrPins 1
baSourceID( 0) 1
bControlSize 2
bmControls( 0) 0x00
bmControls( 1) 0x03
iExtension 0
You should find one which bUnitID is 4. Please note it's
guidExtensionCode.
I propose to test my beliefs with a small piece of C code using=20
libusb, and then start to implement the XML files for the
uvcdynctrl.
https://dl.dropboxusercontent.com/u/4295670/logitech%20C510/C510
/
l
e
d
_
o
ff_manfred.c
https://dl.dropboxusercontent.com/u/4295670/logitech%20C510/C510
/
l
e
d
_
o
n_manfred.c
gcc led_on_manfred.c -lusb -o led_on should compile them, then=20
./led_on
0xA168 0x0840 should turn on the led. It has the possibility=20
that you will have to unload the uvcvideo kernelmodule before=20
you are doing
it.
Ps. playing with XU controls is not a life assurance, it has the =
possibility (even if in our case is minimal) to brick your =
device!
You
have been warned!
:)
Regards,
Miklos
Hello Miklos,
Here are again the two logs. But they are still 10MB and 8MB.
http://www.peony.at/dino-lite/Dino_Lite_on.log
http://www.peony.at/dino-lite/Dino_Lite_off.log
I hope this will help to figure out the right commands.
Many thanks for your help.
Regards
Manfred
Gesendet: Sonntag, 28. Juli 2013 14:33
Betreff: Re: [linux-uvc-devel] switching light on device=20
Dino-Lite Premier
Hello Manfed,
We will need to figure out a way how can we find the proper
transfers.
I have removed the isochronous packets from your dump (these=20
packet used to transfer frames), but we still have a large=20
amount of other
transfers.
I have found this utility which might help you to turn the LED=20
http://www.bigc.com/question/how-do-i-control-the-led-lights-wit
h
o
u
t
-
u
sing-the-dinocapture-software/
If possible please give it a try, and post the results.
Cheers,
Miklos
Hello Miklos,
I was able to capture the USB Bus but it was not possible to=20
disable the image transfer. So I knew that there is a switch on=20
and off inside the captured USB Data (50MB), but I do not know=20
where it is J
http://www.peony.at/dino-lite/UsbSnoop_2.log
Also here is the lsusb =96v on the device.
http://www.peony.at/dino-lite/lsusb_a168_0840.txt
Can you please give me small introduction what we are looking=20
for in the captured data and can you please tell me where I can=20
start to implement the necessary changes in the code and how.
Regards
Manfred
Gesendet: Samstag, 27. Juli 2013 09:37
An: Manfred Baumgartl
Betreff: Re: AW: [linux-uvc-devel] switching light on device=20
Dino-Lite Premier
Hello Manfred,
If you have access to a Windows box please do some sniffing on=20
the USB bus, and post the results.
http://www.linuxtv.org/wiki/index.php/Usbsnoop#A_brief_.22How_to
_
u
s
e
_
u
sbsnoop.22_v1.8
If possible please capture when the image capturing is paused=20
and only the LED switching is done.
If I bet well the LED control is done the through the UVC=20
=
http://sourceforge.net/mailarchive/forum.php?thread_name=3D51267F67.
2
0
8
0 809%40gmail.com&forum_name=3Dlinux-uvc-devel
I will be on holiday next week, and it has the chance that I=20
will not have internet access, but post your logs to the UVC=20
devel, and they will help possibility.
Regards,
Miklos
Hello,
yes with the software from the manufacture under windows the=20
light could be switched on and off.
The PID:VID of my device is a168:0840.
uvcvideo: Found UVC 1.00 device Dino-Lite Premier (a168:0840)
Regards
Manfred
Gesendet: Freitag, 26. Juli 2013 18:02
Betreff: Re: [linux-uvc-devel] switching light on device=20
Dino-Lite Premier
Hello,
- Are you able to control the LEDs under Windows?
- What is the PID:VID id of your device? (lsusb will tell it)
Regards,
Miklos Marton
Hello
I am using a Dino-Lite Premier Microscope camera on a raspberry=20
pi with uvcvideo. I am able to set some capabilities like=20
Brightness,
Contrast etc.
with uvcdynctrl but what I really need is to switch on the=20
LED-light ring which is used to illuminate the samples.
Is there a way to switch the light on while the capability is=20
not
shown?
Regards
Manfred
----------------------------------------------------------------
-
-
-
-
-
-
--------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from=20
AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=3D48808831&iu=3D/4140/ostg.=
c
lktrk
_______________________________________________
Linux-uvc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/linux-uvc-devel
----------------------------------------------------------------
-
-
-
-
-
-
--------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from=20
AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=3D48808831&iu=3D/4140/ostg.=
c
lktrk
_______________________________________________
Linux-uvc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/linux-uvc-devel
----------------------------------------------------------------
-
-
-
-
-
-
-------- Get your SQL database under version control now!
Version control is standard for application code, but databases=20
havent caught up. So what steps can you take to put your SQL=20
databases under version control? Why should you start doing it?
Read more
to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=3D49501711&iu=3D/4140/ostg.=
c lktrk _______________________________________________
Linux-uvc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/linux-uvc-devel
Loading...