Advertisement
afterfive7

working camera

Dec 21st, 2024
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.79 KB | None | 0 0
  1. $ lsusb
  2. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  3. Bus 001 Device 002: ID 0a67:c006 Medeli Electronics Co., Ltd K66
  4. Bus 001 Device 003: ID 05e3:0610 Genesys Logic, Inc. Hub
  5. Bus 001 Device 004: ID 0c45:671f Microdia Integrated_Webcam_HD
  6. Bus 001 Device 006: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560 Jefferson Peak (JfP)
  7. Bus 001 Device 007: ID 046d:c08b Logitech, Inc. G502 SE HERO Gaming Mouse
  8. Bus 001 Device 009: ID 25a7:fa70 Areson Technology Corp 2.4G Wireless Receiver
  9. Bus 001 Device 010: ID 1a40:0801 Terminus Technology Inc. USB 2.0 Hub
  10. Bus 001 Device 011: ID 258a:00c8 SINO WEALTH RK Bluetooth Keyboard
  11. Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  12.  
  13.  
  14. $ inxi -Gxz
  15. Graphics:
  16. Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Dell
  17. driver: i915 v: kernel arch: Gen-9.5 bus-ID: 00:02.0
  18. Device-2: NVIDIA GP107M [GeForce GTX 1050 3 GB Max-Q] vendor: Dell
  19. driver: nvidia v: 535.183.01 arch: Pascal bus-ID: 01:00.0
  20. Device-3: Microdia Integrated_Webcam_HD driver: uvcvideo type: USB
  21. bus-ID: 1-5:4
  22. Display: x11 server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.6 driver:
  23. X: loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa dri: iris
  24. gpu: i915,nvidia,nvidia-nvswitch resolution: 1: 1920x1080 2: 1920x1080
  25. API: EGL v: 1.5 drivers: nvidia,swrast platforms:
  26. active: surfaceless,device inactive: gbm,wayland,x11,device-1,device-2
  27. API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: mesa v: 24.0.9-0ubuntu0.3
  28. note: incomplete (EGL sourced) renderer: NVIDIA GeForce GTX 1050/PCIe/SSE2,
  29. llvmpipe (LLVM 17.0.6 256 bits)
  30.  
  31.  
  32. part of $sudo lshw -C multimedia
  33. *-usb:2
  34. description: Video
  35. product: Integrated_Webcam_HD
  36. vendor: CN0M1RXT8LG009ADCMY1A01
  37. physical id: 5
  38. bus info: usb@1:5
  39. version: 85.02
  40. capabilities: usb-2.01
  41. configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
  42.  
  43.  
  44. $ sudo dmesg | grep 1-5
  45. [ 1.853917] usb 1-5: new high-speed USB device number 4 using xhci_hcd
  46. [ 2.013651] usb 1-5: New USB device found, idVendor=0c45, idProduct=671f, bcdDevice=85.02
  47. [ 2.013685] usb 1-5: New USB device strings: Mfr=2, Product=1, SerialNumber=0
  48. [ 2.013692] usb 1-5: Product: Integrated_Webcam_HD
  49. [ 2.013698] usb 1-5: Manufacturer: CN0M1RXT8LG009ADCMY1A01
  50. [ 12.161915] usb 1-5: Found UVC 1.00 device Integrated_Webcam_HD (0c45:671f)
  51.  
  52.  
  53. $ sudo lsusb -D /dev/bus/usb/001/004
  54. Device: ID 0c45:671f Microdia Integrated_Webcam_HD
  55. Device Descriptor:
  56. bLength 18
  57. bDescriptorType 1
  58. bcdUSB 2.01
  59. bDeviceClass 239 Miscellaneous Device
  60. bDeviceSubClass 2 [unknown]
  61. bDeviceProtocol 1 Interface Association
  62. bMaxPacketSize0 64
  63. idVendor 0x0c45 Microdia
  64. idProduct 0x671f Integrated_Webcam_HD
  65. bcdDevice 85.02
  66. iManufacturer 2 CN0M1RXT8LG009ADCMY1A01
  67. iProduct 1 Integrated_Webcam_HD
  68. iSerial 0
  69. bNumConfigurations 1
  70. Configuration Descriptor:
  71. bLength 9
  72. bDescriptorType 2
  73. wTotalLength 0x02c1
  74. bNumInterfaces 2
  75. bConfigurationValue 1
  76. iConfiguration 0
  77. bmAttributes 0x80
  78. (Bus Powered)
  79. MaxPower 500mA
  80. ** UNRECOGNIZED: 28 ff 42 49 53 54 00 01 06 01 10 00 00 00 00 00 d1 10 d0 07 d2 11 f4 01 d3 12 f4 01 d4 13 f4 01 d5 14 d0 07 d6 15 f4 01
  81. Interface Association:
  82. bLength 8
  83. bDescriptorType 11
  84. bFirstInterface 0
  85. bInterfaceCount 2
  86. bFunctionClass 14 Video
  87. bFunctionSubClass 3 Video Interface Collection
  88. bFunctionProtocol 0
  89. iFunction 5 Integrated Webcam
  90. Interface Descriptor:
  91. bLength 9
  92. bDescriptorType 4
  93. bInterfaceNumber 0
  94. bAlternateSetting 0
  95. bNumEndpoints 1
  96. bInterfaceClass 14 Video
  97. bInterfaceSubClass 1 Video Control
  98. bInterfaceProtocol 0
  99. iInterface 5 Integrated Webcam
  100. VideoControl Interface Descriptor:
  101. bLength 13
  102. bDescriptorType 36
  103. bDescriptorSubtype 1 (HEADER)
  104. bcdUVC 1.00
  105. wTotalLength 0x0067
  106. dwClockFrequency 15.000000MHz
  107. bInCollection 1
  108. baInterfaceNr( 0) 1
  109. VideoControl Interface Descriptor:
  110. bLength 9
  111. bDescriptorType 36
  112. bDescriptorSubtype 3 (OUTPUT_TERMINAL)
  113. bTerminalID 5
  114. wTerminalType 0x0101 USB Streaming
  115. bAssocTerminal 0
  116. bSourceID 4
  117. iTerminal 0
  118. VideoControl Interface Descriptor:
  119. bLength 26
  120. bDescriptorType 36
  121. bDescriptorSubtype 6 (EXTENSION_UNIT)
  122. bUnitID 3
  123. guidExtensionCode {28f03370-6311-4a2e-ba2c-6890eb334016}
  124. bNumControls 8
  125. bNrInPins 1
  126. baSourceID( 0) 2
  127. bControlSize 1
  128. bmControls( 0) 0x9f
  129. iExtension 0
  130. VideoControl Interface Descriptor:
  131. bLength 26
  132. bDescriptorType 36
  133. bDescriptorSubtype 6 (EXTENSION_UNIT)
  134. bUnitID 4
  135. guidExtensionCode {0fb885c3-68c2-4547-90f7-8f47579d95fc}
  136. bNumControls 8
  137. bNrInPins 1
  138. baSourceID( 0) 3
  139. bControlSize 1
  140. bmControls( 0) 0xcf
  141. iExtension 0
  142. VideoControl Interface Descriptor:
  143. bLength 18
  144. bDescriptorType 36
  145. bDescriptorSubtype 2 (INPUT_TERMINAL)
  146. bTerminalID 1
  147. wTerminalType 0x0201 Camera Sensor
  148. bAssocTerminal 0
  149. iTerminal 0
  150. wObjectiveFocalLengthMin 0
  151. wObjectiveFocalLengthMax 0
  152. wOcularFocalLength 0
  153. bControlSize 3
  154. bmControls 0x0020000e
  155. Auto-Exposure Mode
  156. Auto-Exposure Priority
  157. Exposure Time (Absolute)
  158. VideoControl Interface Descriptor:
  159. bLength 11
  160. bDescriptorType 36
  161. bDescriptorSubtype 5 (PROCESSING_UNIT)
  162. Warning: Descriptor too short
  163. bUnitID 2
  164. bSourceID 1
  165. wMaxMultiplier 0
  166. bControlSize 2
  167. bmControls 0x0000177f
  168. Brightness
  169. Contrast
  170. Hue
  171. Saturation
  172. Sharpness
  173. Gamma
  174. White Balance Temperature
  175. Backlight Compensation
  176. Gain
  177. Power Line Frequency
  178. White Balance Temperature, Auto
  179. iProcessing 0
  180. bmVideoStandards 0x00
  181. Endpoint Descriptor:
  182. bLength 7
  183. bDescriptorType 5
  184. bEndpointAddress 0x83 EP 3 IN
  185. bmAttributes 3
  186. Transfer Type Interrupt
  187. Synch Type None
  188. Usage Type Data
  189. wMaxPacketSize 0x0010 1x 16 bytes
  190. bInterval 6
  191. Interface Descriptor:
  192. bLength 9
  193. bDescriptorType 4
  194. bInterfaceNumber 1
  195. bAlternateSetting 0
  196. bNumEndpoints 0
  197. bInterfaceClass 14 Video
  198. bInterfaceSubClass 2 Video Streaming
  199. bInterfaceProtocol 0
  200. iInterface 0
  201. VideoStreaming Interface Descriptor:
  202. bLength 15
  203. bDescriptorType 36
  204. bDescriptorSubtype 1 (INPUT_HEADER)
  205. bNumFormats 2
  206. wTotalLength 0x01a3
  207. bEndpointAddress 0x81 EP 1 IN
  208. bmInfo 0
  209. bTerminalLink 5
  210. bStillCaptureMethod 0
  211. bTriggerSupport 0
  212. bTriggerUsage 0
  213. bControlSize 1
  214. bmaControls( 0) 0
  215. bmaControls( 1) 0
  216. VideoStreaming Interface Descriptor:
  217. bLength 11
  218. bDescriptorType 36
  219. bDescriptorSubtype 6 (FORMAT_MJPEG)
  220. bFormatIndex 1
  221. bNumFrameDescriptors 5
  222. bFlags 0
  223. Fixed-size samples: No
  224. bDefaultFrameIndex 1
  225. bAspectRatioX 0
  226. bAspectRatioY 0
  227. bmInterlaceFlags 0x00
  228. Interlaced stream or variable: No
  229. Fields per frame: 1 fields
  230. Field 1 first: No
  231. Field pattern: Field 1 only
  232. bCopyProtect 0
  233. VideoStreaming Interface Descriptor:
  234. bLength 30
  235. bDescriptorType 36
  236. bDescriptorSubtype 7 (FRAME_MJPEG)
  237. bFrameIndex 1
  238. bmCapabilities 0x00
  239. Still image unsupported
  240. wWidth 1280
  241. wHeight 720
  242. dwMinBitRate 442368000
  243. dwMaxBitRate 442368000
  244. dwMaxVideoFrameBufferSize 1843789
  245. dwDefaultFrameInterval 333333
  246. bFrameIntervalType 1
  247. dwFrameInterval( 0) 333333
  248. VideoStreaming Interface Descriptor:
  249. bLength 30
  250. bDescriptorType 36
  251. bDescriptorSubtype 7 (FRAME_MJPEG)
  252. bFrameIndex 2
  253. bmCapabilities 0x00
  254. Still image unsupported
  255. wWidth 960
  256. wHeight 540
  257. dwMinBitRate 248832000
  258. dwMaxBitRate 248832000
  259. dwMaxVideoFrameBufferSize 1037389
  260. dwDefaultFrameInterval 333333
  261. bFrameIntervalType 1
  262. dwFrameInterval( 0) 333333
  263. VideoStreaming Interface Descriptor:
  264. bLength 30
  265. bDescriptorType 36
  266. bDescriptorSubtype 7 (FRAME_MJPEG)
  267. bFrameIndex 3
  268. bmCapabilities 0x00
  269. Still image unsupported
  270. wWidth 848
  271. wHeight 480
  272. dwMinBitRate 195379200
  273. dwMaxBitRate 195379200
  274. dwMaxVideoFrameBufferSize 814669
  275. dwDefaultFrameInterval 333333
  276. bFrameIntervalType 1
  277. dwFrameInterval( 0) 333333
  278. VideoStreaming Interface Descriptor:
  279. bLength 30
  280. bDescriptorType 36
  281. bDescriptorSubtype 7 (FRAME_MJPEG)
  282. bFrameIndex 4
  283. bmCapabilities 0x00
  284. Still image unsupported
  285. wWidth 640
  286. wHeight 480
  287. dwMinBitRate 147456000
  288. dwMaxBitRate 147456000
  289. dwMaxVideoFrameBufferSize 614989
  290. dwDefaultFrameInterval 333333
  291. bFrameIntervalType 1
  292. dwFrameInterval( 0) 333333
  293. VideoStreaming Interface Descriptor:
  294. bLength 30
  295. bDescriptorType 36
  296. bDescriptorSubtype 7 (FRAME_MJPEG)
  297. bFrameIndex 5
  298. bmCapabilities 0x00
  299. Still image unsupported
  300. wWidth 640
  301. wHeight 360
  302. dwMinBitRate 110592000
  303. dwMaxBitRate 110592000
  304. dwMaxVideoFrameBufferSize 461389
  305. dwDefaultFrameInterval 333333
  306. bFrameIntervalType 1
  307. dwFrameInterval( 0) 333333
  308. VideoStreaming Interface Descriptor:
  309. bLength 27
  310. bDescriptorType 36
  311. bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED)
  312. bFormatIndex 2
  313. bNumFrameDescriptors 7
  314. guidFormat {32595559-0000-0010-8000-00aa00389b71}
  315. bBitsPerPixel 16
  316. bDefaultFrameIndex 1
  317. bAspectRatioX 0
  318. bAspectRatioY 0
  319. bmInterlaceFlags 0x00
  320. Interlaced stream or variable: No
  321. Fields per frame: 2 fields
  322. Field 1 first: No
  323. Field pattern: Field 1 only
  324. bCopyProtect 0
  325. VideoStreaming Interface Descriptor:
  326. bLength 30
  327. bDescriptorType 36
  328. bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
  329. bFrameIndex 1
  330. bmCapabilities 0x00
  331. Still image unsupported
  332. wWidth 1280
  333. wHeight 720
  334. dwMinBitRate 147456000
  335. dwMaxBitRate 147456000
  336. dwMaxVideoFrameBufferSize 1843200
  337. dwDefaultFrameInterval 1000000
  338. bFrameIntervalType 1
  339. dwFrameInterval( 0) 1000000
  340. VideoStreaming Interface Descriptor:
  341. bLength 30
  342. bDescriptorType 36
  343. bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
  344. bFrameIndex 2
  345. bmCapabilities 0x00
  346. Still image unsupported
  347. wWidth 640
  348. wHeight 480
  349. dwMinBitRate 147456000
  350. dwMaxBitRate 147456000
  351. dwMaxVideoFrameBufferSize 614400
  352. dwDefaultFrameInterval 333333
  353. bFrameIntervalType 1
  354. dwFrameInterval( 0) 333333
  355. VideoStreaming Interface Descriptor:
  356. bLength 30
  357. bDescriptorType 36
  358. bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
  359. bFrameIndex 3
  360. bmCapabilities 0x00
  361. Still image unsupported
  362. wWidth 640
  363. wHeight 360
  364. dwMinBitRate 110592000
  365. dwMaxBitRate 110592000
  366. dwMaxVideoFrameBufferSize 460800
  367. dwDefaultFrameInterval 333333
  368. bFrameIntervalType 1
  369. dwFrameInterval( 0) 333333
  370. VideoStreaming Interface Descriptor:
  371. bLength 30
  372. bDescriptorType 36
  373. bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
  374. bFrameIndex 4
  375. bmCapabilities 0x00
  376. Still image unsupported
  377. wWidth 424
  378. wHeight 240
  379. dwMinBitRate 48844800
  380. dwMaxBitRate 48844800
  381. dwMaxVideoFrameBufferSize 203520
  382. dwDefaultFrameInterval 333333
  383. bFrameIntervalType 1
  384. dwFrameInterval( 0) 333333
  385. VideoStreaming Interface Descriptor:
  386. bLength 30
  387. bDescriptorType 36
  388. bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
  389. bFrameIndex 5
  390. bmCapabilities 0x00
  391. Still image unsupported
  392. wWidth 320
  393. wHeight 240
  394. dwMinBitRate 36864000
  395. dwMaxBitRate 36864000
  396. dwMaxVideoFrameBufferSize 153600
  397. dwDefaultFrameInterval 333333
  398. bFrameIntervalType 1
  399. dwFrameInterval( 0) 333333
  400. VideoStreaming Interface Descriptor:
  401. bLength 30
  402. bDescriptorType 36
  403. bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
  404. bFrameIndex 6
  405. bmCapabilities 0x00
  406. Still image unsupported
  407. wWidth 320
  408. wHeight 180
  409. dwMinBitRate 27648000
  410. dwMaxBitRate 27648000
  411. dwMaxVideoFrameBufferSize 115200
  412. dwDefaultFrameInterval 333333
  413. bFrameIntervalType 1
  414. dwFrameInterval( 0) 333333
  415. VideoStreaming Interface Descriptor:
  416. bLength 30
  417. bDescriptorType 36
  418. bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
  419. bFrameIndex 7
  420. bmCapabilities 0x00
  421. Still image unsupported
  422. wWidth 160
  423. wHeight 120
  424. dwMinBitRate 9216000
  425. dwMaxBitRate 9216000
  426. dwMaxVideoFrameBufferSize 38400
  427. dwDefaultFrameInterval 333333
  428. bFrameIntervalType 1
  429. dwFrameInterval( 0) 333333
  430. VideoStreaming Interface Descriptor:
  431. bLength 6
  432. bDescriptorType 36
  433. bDescriptorSubtype 13 (COLORFORMAT)
  434. bColorPrimaries 1 (BT.709,sRGB)
  435. bTransferCharacteristics 1 (BT.709)
  436. bMatrixCoefficients 4 (SMPTE 170M (BT.601))
  437. Interface Descriptor:
  438. bLength 9
  439. bDescriptorType 4
  440. bInterfaceNumber 1
  441. bAlternateSetting 1
  442. bNumEndpoints 1
  443. bInterfaceClass 14 Video
  444. bInterfaceSubClass 2 Video Streaming
  445. bInterfaceProtocol 0
  446. iInterface 0
  447. Endpoint Descriptor:
  448. bLength 7
  449. bDescriptorType 5
  450. bEndpointAddress 0x81 EP 1 IN
  451. bmAttributes 5
  452. Transfer Type Isochronous
  453. Synch Type Asynchronous
  454. Usage Type Data
  455. wMaxPacketSize 0x0080 1x 128 bytes
  456. bInterval 1
  457. Interface Descriptor:
  458. bLength 9
  459. bDescriptorType 4
  460. bInterfaceNumber 1
  461. bAlternateSetting 2
  462. bNumEndpoints 1
  463. bInterfaceClass 14 Video
  464. bInterfaceSubClass 2 Video Streaming
  465. bInterfaceProtocol 0
  466. iInterface 0
  467. Endpoint Descriptor:
  468. bLength 7
  469. bDescriptorType 5
  470. bEndpointAddress 0x81 EP 1 IN
  471. bmAttributes 5
  472. Transfer Type Isochronous
  473. Synch Type Asynchronous
  474. Usage Type Data
  475. wMaxPacketSize 0x0100 1x 256 bytes
  476. bInterval 1
  477. Interface Descriptor:
  478. bLength 9
  479. bDescriptorType 4
  480. bInterfaceNumber 1
  481. bAlternateSetting 3
  482. bNumEndpoints 1
  483. bInterfaceClass 14 Video
  484. bInterfaceSubClass 2 Video Streaming
  485. bInterfaceProtocol 0
  486. iInterface 0
  487. Endpoint Descriptor:
  488. bLength 7
  489. bDescriptorType 5
  490. bEndpointAddress 0x81 EP 1 IN
  491. bmAttributes 5
  492. Transfer Type Isochronous
  493. Synch Type Asynchronous
  494. Usage Type Data
  495. wMaxPacketSize 0x0320 1x 800 bytes
  496. bInterval 1
  497. Interface Descriptor:
  498. bLength 9
  499. bDescriptorType 4
  500. bInterfaceNumber 1
  501. bAlternateSetting 4
  502. bNumEndpoints 1
  503. bInterfaceClass 14 Video
  504. bInterfaceSubClass 2 Video Streaming
  505. bInterfaceProtocol 0
  506. iInterface 0
  507. Endpoint Descriptor:
  508. bLength 7
  509. bDescriptorType 5
  510. bEndpointAddress 0x81 EP 1 IN
  511. bmAttributes 5
  512. Transfer Type Isochronous
  513. Synch Type Asynchronous
  514. Usage Type Data
  515. wMaxPacketSize 0x0b20 2x 800 bytes
  516. bInterval 1
  517. Interface Descriptor:
  518. bLength 9
  519. bDescriptorType 4
  520. bInterfaceNumber 1
  521. bAlternateSetting 5
  522. bNumEndpoints 1
  523. bInterfaceClass 14 Video
  524. bInterfaceSubClass 2 Video Streaming
  525. bInterfaceProtocol 0
  526. iInterface 0
  527. Endpoint Descriptor:
  528. bLength 7
  529. bDescriptorType 5
  530. bEndpointAddress 0x81 EP 1 IN
  531. bmAttributes 5
  532. Transfer Type Isochronous
  533. Synch Type Asynchronous
  534. Usage Type Data
  535. wMaxPacketSize 0x1320 3x 800 bytes
  536. bInterval 1
  537. Interface Descriptor:
  538. bLength 9
  539. bDescriptorType 4
  540. bInterfaceNumber 1
  541. bAlternateSetting 6
  542. bNumEndpoints 1
  543. bInterfaceClass 14 Video
  544. bInterfaceSubClass 2 Video Streaming
  545. bInterfaceProtocol 0
  546. iInterface 0
  547. Endpoint Descriptor:
  548. bLength 7
  549. bDescriptorType 5
  550. bEndpointAddress 0x81 EP 1 IN
  551. bmAttributes 5
  552. Transfer Type Isochronous
  553. Synch Type Asynchronous
  554. Usage Type Data
  555. wMaxPacketSize 0x1400 3x 1024 bytes
  556. bInterval 1
  557. Binary Object Store Descriptor:
  558. bLength 5
  559. bDescriptorType 15
  560. wTotalLength 0x0021
  561. bNumDeviceCaps 1
  562. Platform Device Capability:
  563. bLength 28
  564. bDescriptorType 16
  565. bDevCapabilityType 5
  566. bReserved 0
  567. PlatformCapabilityUUID {d8dd60df-4589-4cc7-9cd2-659d9e648a9f}
  568. CapabilityData[0] 0x00
  569. CapabilityData[1] 0x00
  570. CapabilityData[2] 0x00
  571. CapabilityData[3] 0x0a
  572. CapabilityData[4] 0x06
  573. CapabilityData[5] 0x03
  574. CapabilityData[6] 0x01
  575. CapabilityData[7] 0x00
  576. Device Status: 0x0002
  577. (Bus Powered)
  578. Remote Wakeup Enabled
  579.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement