[Решено]Помогите завести камеру

Sabayon, Calculate, Funtoo, Exherbo

Модератор: /dev/random

Аватара пользователя
Devider
Сообщения: 476
ОС: GNU/Linux

[Решено]Помогите завести камеру

Сообщение Devider »

Пытаюсь завести камеру. Пока хватило только на
CONFIG_VIDEO_V4L2_COMMON=y
CONFIG_VIDEO_V4L2=y
CONFIG_V4L_USB_DRIVERS=y

lsusb -v показывает следующее:

Код:

Bus 001 Device 003: ID 064e:a116 Suyin Corp. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 239 Miscellaneous Device bDeviceSubClass 2 ? bDeviceProtocol 1 Interface Association bMaxPacketSize0 64 idVendor 0x064e Suyin Corp. idProduct 0xa116 bcdDevice 4.25 iManufacturer 2 SuYin iProduct 1 USB2.0 UVC 1.3M WebCam iSerial 3 CN1316-S30B-MI034-VS-R04.02.05 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 599 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 168mA Interface Association: bLength 8 bDescriptorType 11 bFirstInterface 0 bInterfaceCount 2 bFunctionClass 14 Video bFunctionSubClass 3 Video Interface Collection bFunctionProtocol 0 iFunction 5 USB2.0 UVC 1.3M WebCam Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 1 Video Control bInterfaceProtocol 0 iInterface 5 USB2.0 UVC 1.3M WebCam VideoControl Interface Descriptor: bLength 13 bDescriptorType 36 bDescriptorSubtype 1 (HEADER) bcdUVC 1.00 wTotalLength 103 dwClockFrequency 15.000000MHz bInCollection 1 baInterfaceNr( 0) 1 VideoControl Interface Descriptor: bLength 9 bDescriptorType 36 bDescriptorSubtype 3 (OUTPUT_TERMINAL) bTerminalID 2 wTerminalType 0x0101 USB Streaming bAssocTerminal 0 bSourceID 5 iTerminal 0 VideoControl Interface Descriptor: 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 VideoControl Interface Descriptor: 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 VideoControl Interface Descriptor: 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 VideoControl Interface Descriptor: bLength 11 bDescriptorType 36 bDescriptorSubtype 5 (PROCESSING_UNIT) Warning: Descriptor too short bUnitID 3 bSourceID 1 wMaxMultiplier 0 bControlSize 2 bmControls 0x0000177f Brightness Contrast Hue Saturation Sharpness Gamma White Balance Temperature Backlight Compensation Gain Power Line Frequency White Balance Temperature, Auto iProcessing 0 bmVideoStandards 0x66 NTSC - 525/60 PAL - 625/50 PAL - 525/60 Endpoint Descriptor: 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 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 VideoStreaming Interface Descriptor: bLength 14 bDescriptorType 36 bDescriptorSubtype 1 (INPUT_HEADER) bNumFormats 1 wTotalLength 353 bEndPointAddress 129 bmInfo 0 bTerminalLink 2 bStillCaptureMethod 2 bTriggerSupport 0 bTriggerUsage 0 bControlSize 1 bmaControls( 0) 27 VideoStreaming Interface Descriptor: bLength 27 bDescriptorType 36 bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED) bFormatIndex 1 bNumFrameDescriptors 6 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 VideoStreaming Interface Descriptor: 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 VideoStreaming Interface Descriptor: 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 VideoStreaming Interface Descriptor: 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 VideoStreaming Interface Descriptor: 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 VideoStreaming Interface Descriptor: 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 VideoStreaming Interface Descriptor: bLength 30 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 6 bmCapabilities 0x00 Still image unsupported wWidth 1280 wHeight 1024 dwMinBitRate 23592960 dwMaxBitRate 23592960 dwMaxVideoFrameBufferSize 2621440 dwDefaultFrameInterval 1111111 bFrameIntervalType 1 dwFrameInterval( 0) 1111111 VideoStreaming Interface Descriptor: bLength 26 bDescriptorType 36 bDescriptorSubtype 3 (STILL_IMAGE_FRAME) bEndpointAddress 0 bNumImageSizePatterns 5 wWidth( 0) 640 wHeight( 0) 480 wWidth( 1) 352 wHeight( 1) 288 wWidth( 2) 320 wHeight( 2) 240 wWidth( 3) 176 wHeight( 3) 144 wWidth( 4) 160 wHeight( 4) 120 bNumCompressionPatterns 5 VideoStreaming Interface Descriptor: bLength 6 bDescriptorType 36 bDescriptorSubtype 13 (COLORFORMAT) bColorPrimaries 1 (BT.709,sRGB) bTransferCharacteristics 1 (BT.709) bMatrixCoefficients 4 (SMPTE 170M (BT.601)) Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 1 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: 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 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 2 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: 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 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 3 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: 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 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 4 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: 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 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 5 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: 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 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 6 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: 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 Device Qualifier (for other device speed): 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

Чтобы еще такого сделать?
Спасибо сказали:
Аватара пользователя
DaemonTux
Сообщения: 1480
Статус: Юный падаван
ОС: Gentoo

Re: [Решено]Помогите завести камеру

Сообщение DaemonTux »

Vladivostok Linux User Group
Спасибо сказали:
Аватара пользователя
Devider
Сообщения: 476
ОС: GNU/Linux

Re: [Решено]Помогите завести камеру

Сообщение Devider »

DaemonTux писал(а):
07.01.2012 17:48
ТЫЦ

В
Device Drivers --->
Multimedia support --->
[*] Video capture adapters --->
[*] V4L USB devices --->
<*> GSPCA based webcams --->

нет моей камеры. Ну или она как-то по-другому называется.
Спасибо сказали:
Аватара пользователя
taaroa
Сообщения: 1319

Re: [Решено]Помогите завести камеру

Сообщение taaroa »

Devider писал(а):
07.01.2012 17:58
нет моей камеры. Ну или она как-то по-другому называется.

http://kmuto.jp/debian/hcl/ X drivers, ISA, USB, IEEE1394 or any other devices are out of the focus.
модель девайса напишите как оно есть на упаковке. возможно, что коллективным разумом мы её одолеем.
ах да, есть ещё вот такое http://www.linux-usb.org/
:wq
Спасибо сказали:
Аватара пользователя
taaroa
Сообщения: 1319

Re: [Решено]Помогите завести камеру

Сообщение taaroa »

как-то так пока http://www.ideasonboard.org/uvc/
:wq
Спасибо сказали:
Аватара пользователя
Devider
Сообщения: 476
ОС: GNU/Linux

Re: [Решено]Помогите завести камеру

Сообщение Devider »

taaroa писал(а):
07.01.2012 18:00
Devider писал(а):
07.01.2012 17:58
нет моей камеры. Ну или она как-то по-другому называется.

http://kmuto.jp/debian/hcl/ X drivers, ISA, USB, IEEE1394 or any other devices are out of the focus.
модель девайса напишите как оно есть на упаковке. возможно, что коллективным разумом мы её одолеем.
ах да, есть ещё вот такое http://www.linux-usb.org/

По первой ссылке камера не нашлась, получилось вот что:
80860044 Yes Intel Corporation Core Processor DRAM Controller intel-agp
80860045 Intel Corporation Core Processor PCI Express x16 Root Port
80863b64 Intel Corporation 5 Series/3400 Series Chipset HECI Controller
80863b3c Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller
80863b56 Yes Intel Corporation 5 Series/3400 Series Chipset High Definition Audio snd-hda-intel
80863b42 Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1
80863b44 Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2
80863b46 Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3
80863b4c Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6
80863b34 Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller
80862448 Yes Intel Corporation 82801 Mobile PCI Bridge i810_rng
80863b09 Yes Intel Corporation Mobile 5 Series Chipset LPC Interface Controller iTCO_wdt v2.6.33-
80863b29 Yes Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller ahci v2.6.31-
80863b30 Yes Intel Corporation 5 Series/3400 Series Chipset SMBus Controller i2c-i801 v2.6.28-
100268e0 Yes Advanced Micro Devices [AMD] nee ATI Manhattan [Mobility Radeon HD 5400 Series] radeon v2.6.35-
1002aa68 Advanced Micro Devices [AMD] nee ATI Manhattan HDMI Audio [Mobility Radeon HD 5000 Series]
168c002b Yes Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) ath9k v2.6.29-
197b2382 Yes JMicron Technology Corp. SD/MMC Host Controller sdhci-pci v2.6.27-
197b2381 Yes JMicron Technology Corp. Standard SD Host Controller sdhci-pci v2.6.24-
197b2383 Yes JMicron Technology Corp. MS Host Controller jmb38x_ms v2.6.25-
197b2384 JMicron Technology Corp. xD Host Controller
197b0250 Yes JMicron Technology Corp. JMC250 PCI Express Gigabit Ethernet Controller jme v2.6.29-
80862c62 Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers
80862d01 Intel Corporation Core Processor QuickPath Architecture System Address Decoder
80862d10 Intel Corporation Core Processor QPI Link 0
80862d11 Intel Corporation Core Processor QPI Physical 0
80862d12 Intel Corporation Core Processor Reserved
80862d13 Intel Corporation Core Processor Reserved

Модель посмотреть на коробке не могу, камера встроена в ноут. Ноут Asus k52jr A1.


taaroa писал(а):
07.01.2012 18:25
как-то так пока http://www.ideasonboard.org/uvc/

Тут смущает следующее:
# lsusb -d 046d:08cb -v | grep "14 Video"
#

(FAQ)

PS. Точно помню что камера работала.ТО ли в убунте,то ли в арче.
Спасибо сказали:
Аватара пользователя
taaroa
Сообщения: 1319

Re: [Решено]Помогите завести камеру

Сообщение taaroa »

Devider писал(а):
07.01.2012 18:27
PS. Точно помню что камера работала.ТО ли в убунте,то ли в арче.

с этого и надо было начинать. конфиг ядра из убунту взять, например. и поставить весь необходимый юзерспейсный софт.
http://www.calculate-linux.org/boards/16/topics/5803
:wq
Спасибо сказали:
Аватара пользователя
Devider
Сообщения: 476
ОС: GNU/Linux

Re: [Решено]Помогите завести камеру

Сообщение Devider »

taaroa писал(а):
07.01.2012 18:43
Devider писал(а):
07.01.2012 18:27
PS. Точно помню что камера работала.ТО ли в убунте,то ли в арче.

с этого и надо было начинать. конфиг ядра из убунту взять, например. и поставить весь необходимый юзерспейсный софт.
http://www.calculate-linux.org/boards/16/topics/5803

Победа! Всем спасибо!
Спасибо сказали: