Gentoo Archives: gentoo-user

From: Joseph <syscon780@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] webcam on Gentoo Logitech C270
Date: Mon, 22 Dec 2014 02:48:50
Message-Id: 20141222024901.GB4154@syscon7
In Reply to: Re: [gentoo-user] webcam on Gentoo Logitech C270 by Alexander Kapshuk
1 On 12/21/14 22:08, Alexander Kapshuk wrote:
2 > grep '^CONFIG.*V4L' /usr/src/linux/.config
3 > CONFIG_VIDEO_V4L2=m
4 > CONFIG_V4L_PLATFORM_DRIVERS=y
5 > CONFIG_MEDIA_SUPPORT=m
6 > CONFIG_USB_VIDEO_CLASS=m
7 > CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
8 > CONFIG_USB_GSPCA=m
9 > CONFIG_MEDIA_PCI_SUPPORT=y
10 > grep -s ^LD_PRELOAD .*
11 > .bash_profile:LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so
12 > Also, you may want to try plugging you webcam into a USB2 port, if
13 > available, instead of a USB3 one, as suggested here,
14 > [6]http://linux-kernel.2935.n7.nabble.com/3-15-8-USB-issue-with-uvc-cam
15 > -td920378.html.
16 > Hope this helps.
17
18 When I try to run: guvcview
19
20 I get:
21 guvcview 1.6.1
22 ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.28/work/alsa-lib-1.0.28/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
23 ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.28/work/alsa-lib-1.0.28/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
24 ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.28/work/alsa-lib-1.0.28/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
25 ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.28/work/alsa-lib-1.0.28/src/pcm/pcm_route.c:947:(find_matching_chmap) Found no matching channel map
26 video device: /dev/video0
27 ERROR opening V4L2 interface for /dev/video0
28 unable to detect video devices on your system (0)
29 ERROR opening V4L interface: Permission denied
30 Init video returned -1
31 VIDIOC_REQBUFS - Failed to delete buffers: Inappropriate ioctl for device (errno 25)
32 cleaned allocations - 100%
33 Closing portaudio ...OK
34
35 --
36 Joseph

Replies

Subject Author
Re: [gentoo-user] webcam on Gentoo Logitech C270 meino.cramer@×××.de
Re: [gentoo-user] webcam on Gentoo Logitech C270 Daniel Frey <djqfrey@×××××.com>