Gentoo Archives: gentoo-user

From: meino.cramer@×××.de
To: Gentoo <gentoo-user@l.g.o>
Subject: [gentoo-user] Webcam under linux-2.6.34.00
Date: Sat, 22 May 2010 10:14:46
Message-Id: 20100522101416.GA4999@solfire
1 Hi,
2
3 Recently I installed linux-2.6.34.00 (vanilla).
4 I adopted the config file where (I thought) it
5 need to.
6
7 The previouse kernel I used was linux-2.6.32.13 (vanilla).
8
9 With the old kernel I was able to use my Web Cam
10 (Sony Playstation Eye/Omnivision ov534 according to
11 usbview -- see below) via VLC media player 1.0.6 Goldeneye
12 and via guvcview (I use a svn snapshot of this application).
13 With the old kernel guvcview does not show any image control
14 sliders but works fine so far.
15
16 Using the new kernel, things are going wrong somehow....
17
18 When accessing the cam for the first time after a boot,
19 there is often a video stream, but the image is much
20 too bright. But guvcview offers image control sliders now
21 even for my cam.
22
23 But: Using that sliders or accessing the cam a second
24 time after restarting as vlc as guvcview results in
25 *nothing*: no stream, no picture. The real incarnation
26 of a black whole.
27
28 When starting guvcview from the command line it prints
29 "device temporarily not accessible/available" or something
30 like that.
31
32 I haven't figured out whether the cam hangs or the driver
33 goes nuts or...
34
35 Powercycling of the Cam via usb unplugging/replugging does
36 not help, though.
37
38 I recompiled libv4l, guvcview and vlc when the new kernel
39 was booted (and the /usr/src/linux symlink was set accordinglingly)
40 but the result was the same.
41
42 What can I do to access and use my webcam under linux-2.6.34.00
43 successfully?
44
45 Below I included information about my system according the webcam:
46
47
48 usbview -v:
49 Bus 001 Device 003: ID 1415:2000 Nam Tai E&E Products Ltd. or OmniVision Technologies, Inc. Sony Playstation Eye
50 Device Descriptor:
51 bLength 18
52 bDescriptorType 1
53 bcdUSB 2.00
54 bDeviceClass 0 (Defined at Interface level)
55 bDeviceSubClass 0
56 bDeviceProtocol 0
57 bMaxPacketSize0 64
58 idVendor 0x1415 Nam Tai E&E Products Ltd. or OmniVision Technologies, Inc.
59 idProduct 0x2000 Sony Playstation Eye
60 bcdDevice 1.00
61 iManufacturer 1 OmniVision Technologies, Inc.
62 iProduct 2 USB Camera-B4.04.27.1
63 iSerial 0
64 bNumConfigurations 1
65 Configuration Descriptor:
66 bLength 9
67 bDescriptorType 2
68 wTotalLength 142
69 bNumInterfaces 3
70 bConfigurationValue 1
71 iConfiguration 0
72 bmAttributes 0x80
73 (Bus Powered)
74 MaxPower 500mA
75 Interface Descriptor:
76 bLength 9
77 bDescriptorType 4
78 bInterfaceNumber 0
79 bAlternateSetting 0
80 bNumEndpoints 3
81 bInterfaceClass 255 Vendor Specific Class
82 bInterfaceSubClass 0
83 bInterfaceProtocol 0
84 iInterface 0
85 Endpoint Descriptor:
86 bLength 7
87 bDescriptorType 5
88 bEndpointAddress 0x81 EP 1 IN
89 bmAttributes 2
90 Transfer Type Bulk
91 Synch Type None
92 Usage Type Data
93 wMaxPacketSize 0x0200 1x 512 bytes
94 bInterval 0
95 Endpoint Descriptor:
96 bLength 7
97 bDescriptorType 5
98 bEndpointAddress 0x02 EP 2 OUT
99 bmAttributes 2
100 Transfer Type Bulk
101 Synch Type None
102 Usage Type Data
103 wMaxPacketSize 0x0200 1x 512 bytes
104 bInterval 0
105 Endpoint Descriptor:
106 bLength 7
107 bDescriptorType 5
108 bEndpointAddress 0x83 EP 3 IN
109 bmAttributes 3
110 Transfer Type Interrupt
111 Synch Type None
112 Usage Type Data
113 wMaxPacketSize 0x0040 1x 64 bytes
114 bInterval 10
115 Interface Descriptor:
116 bLength 9
117 bDescriptorType 4
118 bInterfaceNumber 1
119 bAlternateSetting 0
120 bNumEndpoints 0
121 bInterfaceClass 1 Audio
122 bInterfaceSubClass 1 Control Device
123 bInterfaceProtocol 0
124 iInterface 0
125 AudioControl Interface Descriptor:
126 bLength 9
127 bDescriptorType 36
128 bDescriptorSubtype 1 (HEADER)
129 bcdADC 1.00
130 wTotalLength 42
131 bInCollection 1
132 baInterfaceNr( 0) 2
133 AudioControl Interface Descriptor:
134 bLength 12
135 bDescriptorType 36
136 bDescriptorSubtype 2 (INPUT_TERMINAL)
137 bTerminalID 1
138 wTerminalType 0x0201 Microphone
139 bAssocTerminal 2
140 bNrChannels 4
141 wChannelConfig 0x0000
142 iChannelNames 0
143 iTerminal 0
144 AudioControl Interface Descriptor:
145 bLength 9
146 bDescriptorType 36
147 bDescriptorSubtype 3 (OUTPUT_TERMINAL)
148 bTerminalID 2
149 wTerminalType 0x0101 USB Streaming
150 bAssocTerminal 1
151 bSourceID 3
152 iTerminal 0
153 AudioControl Interface Descriptor:
154 bLength 12
155 bDescriptorType 36
156 bDescriptorSubtype 6 (FEATURE_UNIT)
157 bUnitID 3
158 bSourceID 1
159 bControlSize 1
160 bmaControls( 0) 0x00
161 bmaControls( 1) 0x02
162 Volume
163 bmaControls( 2) 0x02
164 Volume
165 bmaControls( 3) 0x02
166 Volume
167 bmaControls( 4) 0x02
168 Volume
169 iFeature 0
170 Interface Descriptor:
171 bLength 9
172 bDescriptorType 4
173 bInterfaceNumber 2
174 bAlternateSetting 0
175 bNumEndpoints 0
176 bInterfaceClass 1 Audio
177 bInterfaceSubClass 2 Streaming
178 bInterfaceProtocol 0
179 iInterface 0
180 Interface Descriptor:
181 bLength 9
182 bDescriptorType 4
183 bInterfaceNumber 2
184 bAlternateSetting 1
185 bNumEndpoints 1
186 bInterfaceClass 1 Audio
187 bInterfaceSubClass 2 Streaming
188 bInterfaceProtocol 0
189 iInterface 0
190 AudioStreaming Interface Descriptor:
191 bLength 7
192 bDescriptorType 36
193 bDescriptorSubtype 1 (AS_GENERAL)
194 bTerminalLink 2
195 bDelay 1 frames
196 wFormatTag 1 PCM
197 AudioStreaming Interface Descriptor:
198 bLength 11
199 bDescriptorType 36
200 bDescriptorSubtype 2 (FORMAT_TYPE)
201 bFormatType 1 (FORMAT_TYPE_I)
202 bNrChannels 4
203 bSubframeSize 2
204 bBitResolution 16
205 bSamFreqType 1 Discrete
206 tSamFreq[ 0] 16000
207 Endpoint Descriptor:
208 bLength 9
209 bDescriptorType 5
210 bEndpointAddress 0x84 EP 4 IN
211 bmAttributes 5
212 Transfer Type Isochronous
213 Synch Type Asynchronous
214 Usage Type Data
215 wMaxPacketSize 0x0300 1x 768 bytes
216 bInterval 4
217 bRefresh 0
218 bSynchAddress 0
219 AudioControl Endpoint Descriptor:
220 bLength 7
221 bDescriptorType 37
222 bDescriptorSubtype 1 (EP_GENERAL)
223 bmAttributes 0x01
224 Sampling Frequency
225 bLockDelayUnits 0 Undefined
226 wLockDelay 0 Undefined
227 Device Qualifier (for other device speed):
228 bLength 10
229 bDescriptorType 6
230 bcdUSB 2.00
231 bDeviceClass 0 (Defined at Interface level)
232 bDeviceSubClass 0
233 bDeviceProtocol 0
234 bMaxPacketSize0 64
235 bNumConfigurations 1
236 Device Status: 0x0000
237 (Bus Powered)
238
239 lspci:
240 00:00.0 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
241 Subsystem: ASUSTeK Computer Inc. A8V Deluxe
242 Kernel driver in use: agpgart-amd64
243 00:00.1 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
244 00:00.2 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
245 00:00.3 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
246 00:00.4 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
247 00:00.7 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
248 00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South]
249 00:0a.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)
250 Subsystem: ASUSTeK Computer Inc. Marvell 88E8001 Gigabit Ethernet Controller (Asus)
251 Kernel driver in use: skge
252 00:0d.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
253 Subsystem: Avermedia Technologies Inc AverMedia AVerTV DVB-T 771
254 Kernel driver in use: bttv
255 Kernel modules: bttv
256 00:0d.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
257 Subsystem: Avermedia Technologies Inc AverMedia AVerTV DVB-T 771
258 Kernel driver in use: bt878
259 Kernel modules: bt878
260 00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
261 Subsystem: ASUSTeK Computer Inc. A7V600/K8V Deluxe/K8V-X/A8V Deluxe motherboard
262 Kernel driver in use: sata_via
263 00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
264 Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/A8V Deluxe motherboard
265 Kernel driver in use: pata_via
266 00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
267 Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/A8V Deluxe motherboard
268 Kernel driver in use: uhci_hcd
269 Kernel modules: uhci-hcd
270 00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
271 Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/A8V Deluxe motherboard
272 Kernel driver in use: uhci_hcd
273 Kernel modules: uhci-hcd
274 00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
275 Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/A8V Deluxe motherboard
276 Kernel driver in use: uhci_hcd
277 Kernel modules: uhci-hcd
278 00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
279 Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/A8V Deluxe motherboard
280 Kernel driver in use: uhci_hcd
281 Kernel modules: uhci-hcd
282 00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
283 Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/A8V Deluxe motherboard
284 Kernel driver in use: ehci_hcd
285 Kernel modules: ehci-hcd
286 00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
287 Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/A8V Deluxe motherboard
288 Kernel modules: i2c-viapro
289 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
290 Subsystem: ASUSTeK Computer Inc. A8V Deluxe motherboard (Realtek ALC850 codec)
291 Kernel driver in use: VIA 82xx Audio
292 00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 80)
293 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
294 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
295 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
296 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
297 Kernel driver in use: k8temp
298 Kernel modules: k8temp
299 01:00.0 VGA compatible controller: nVidia Corporation G73 [GeForce 7600 GT] (rev a2)
300 Subsystem: Micro-Star International Co., Ltd. Device 0640
301 Kernel driver in use: nvidia
302 Kernel modules: nvidia
303
304
305
306 Thank you very much in advance for any help! :)
307 Best regards,
308 mcc
309
310
311
312
313 --
314 Please don't send me any Word- or Powerpoint-Attachments
315 unless it's absolutely neccessary. - Send simply Text.
316 See http://www.gnu.org/philosophy/no-word-attachments.html
317 In a world without fences and walls nobody needs gates and windows.