Le 12.11.2005 21:03:14, fred a écrit :
"Jean-Luc Coulon (f5ibh)" <[EMAIL PROTECTED]> a écrit :> J'ai une quickcam messenger et le micro intégré fonctionne. > Il faut le module snd-usb-audio Ah. Y a eu un thread là-dessus sur la liste linux-driver-quickcam.general, qui s'est conclu par ce que j'ai cité plus haut. 1) tu utilises qc-usb-messenger ou qc-usb-source, paquet Debian ?
qc-usb-messenger : c'est une messenger. usb id : 046d:08f0
qc-usb-messenger est prévu pour Messenger, qc-usb-source pour Express. 2) qcset me donne : Name : Logitech QuickCam USB Type : capture Channels : 1 Audio devices : 0 <--- pas glop Maxsize : 324,248 Minsize : 160,120 Overlay coords: 1532713819,1532713819 Capture size : 324,248 Chromakey : 1532713819 Flags :
[EMAIL PROTECTED] % qcset -i ~
Name : Logitech QuickCam USB
Type : capture
Channels : 1
Audio devices : 0
*************** Et pourtant ...
Maxsize : 324,248
Minsize : 160,120
Overlay coords: 1532713819,1532713819
Capture size : 324,248
Chromakey : 1532713819
Flags :
Channel : 0
Name : Camera
Tuners : 0
Flags :
Type : camera
Norm : 0
Brightness : 32768
Hue : 32768
Color : 32768
Contrast : 32768
Whiteness : 32768
Depth : 24
Palette : RGB888 packed into 24bit words.
sudo lsusb -v
Bus 1 Device 4: ID 046d:08f0 Logitech, Inc. QuickCam Messenger
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 8
idVendor 0x046d Logitech, Inc.
idProduct 0x08f0 QuickCam Messenger
bcdDevice 1.00
iManufacturer 0
iProduct 1 Camera
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 173
bNumInterfaces 3
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 16
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x03ff 1x 1023 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 16
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 1 Control Device
bInterfaceProtocol 0
iInterface 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdADC 2.00
wTotalLength 39
bInCollection 1
baInterfaceNr( 0) 2
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType 0x0201 Microphone
**************<<<------------
bAssocTerminal 0
bNrChannels 1
wChannelConfig 0x0000
iChannelNames 0
iTerminal 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 2
bSourceID 1
bControlSize 2
bmaControls( 0) 0x43
bmaControls( 0) 0x00
Mute
Volume
Automatic Gain
iFeature 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 3
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 2
iTerminal 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 9
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
bRefresh 0
bSynchAddress 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
AudioStreaming Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 1 (AS_GENERAL)
bTerminalLink 3
bDelay 1 frames
wFormatTag 1 PCM
AudioStreaming Interface Descriptor:
bLength 20
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 1
bSubframeSize 2
bBitResolution 16
bSamFreqType 4 Discrete
tSamFreq[ 0] 8000
tSamFreq[ 1] 11025
tSamFreq[ 2] 16000
tSamFreq[ 3] 22050
Endpoint Descriptor:
bLength 9
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0034 1x 52 bytes
bInterval 1
bRefresh 0
bSynchAddress 0
AudioControl Endpoint Descriptor:
bLength 7
bDescriptorType 37
bDescriptorSubtype 1 (EP_GENERAL)
bmAttributes 0x01
Sampling Frequency
bLockDelayUnits 0 Undefined
wLockDelay 0 Undefined
Device Status: 0x0000
(Bus Powered)
qcset dit non pour l'audio mais on retrouve bien le micro dans le lsusb
Même leswitch au dessus est présetn at actif (mais je en sais pas quoi
en faire).
Lorsque je charge le module, j'ai : kernel: quickcam [21.286122]: struct quickcam size: 4328kernel: quickcam: QuickCam USB camera found (driver version QuickCam Messenger/Communicate USB $Date: 2004/12/30 10:00:00 $) kernel: quickcam: Kernel:2.6.14-k8-4 bus:1 class:FF subclass:FF vendor:046D product:08F0<7>ieee1394: Host added: ID:BUS[0-00:1023] GUID[00e0180000ac308c]
kernel: quickcam [21.321273]: poisoning qc in qc_usb_init kernel: quickcam [21.325014]: E00A contains 08F0 kernel: quickcam: Sensor VV6450 detectedkernel: quickcam [21.334603]: Quickcam snapshot button registered on usb-0000:00:10.0-2/input0
kernel: quickcam: Registered device: /dev/video0 kernel: usbcore: registered new driver quickcam On voit que udev a créé une nouvelle entrée /dev/video0 À cette entrée correspond le ... microphone.Si je fais un cat < /dev/video0 > /dev/dsp, je peux entendre dasn mes enceintes, avec un léger retard, ce qui se dit dans le micro.
Jean-Luc
pgpUn2VmPP3oz.pgp
Description: PGP signature

