Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] No webcam support: are my configs to blame?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
fusion809
n00b
n00b


Joined: 15 Oct 2015
Posts: 71

PostPosted: Sun Apr 02, 2017 4:35 am    Post subject: [SOLVED] No webcam support: are my configs to blame? Reply with quote

Hi,

On my HP Envy 17 laptop I installed Cheese (media-video/cheese) to try and take a picture of my cat but this is what I was greeted by: http://i.imgur.com/1IkK1ZB.png. Now I suspect my configs are to blame so here is my /etc/portage folder https://github.com/fusion809/gentoo-config/tree/master/etc/portage. Note, however, I update it regularly so this link may show something vastly different in a months time so here's the one at the time of posting this https://github.com/fusion809/gentoo-config/tree/a801d3c/etc/portage. Most notably my INPUT_DEVICES variable is:

Code:

INPUT_DEVICES="evdev synaptics"


should there be something else in there? My kernel config is here https://raw.githubusercontent.com/fusion809/gentoo-config/a801d3c/etc/kernels/4.9.18-gentoo-20170330. I used the same config, except without systemd support, on Funtoo Linux (exact same laptop as I'm getting this Gentoo webcam issue on) and I managed to use the webcam without a problem on that system, so I doubt the kernel config is the problem.

Thanks for your time,
Brenton
_________________
Open-source advocate with an inquisitive disposition


Last edited by fusion809 on Sun Apr 02, 2017 12:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43045
Location: 56N 3W

PostPosted: Sun Apr 02, 2017 10:26 am    Post subject: Reply with quote

fusion809,

Show us your lsusb output, so we can see which webcam you have.
Code:
emerge usbutlis
if you don't have lsusb.

Its probably a missing kernel option.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
fusion809
n00b
n00b


Joined: 15 Oct 2015
Posts: 71

PostPosted: Sun Apr 02, 2017 10:58 am    Post subject: Reply with quote

lsusb returns:

Code:

Bus 004 Device 002: ID 8087:8000 Intel Corp.
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:8008 Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 064e:9301 Suyin Corp.
Bus 001 Device 003: ID 0a5c:21fb Broadcom Corp.
Bus 001 Device 002: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 001 Device 005: ID 138a:0050 Validity Sensors, Inc. Swipe Fingerprint Sensor
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

_________________
Open-source advocate with an inquisitive disposition
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43045
Location: 56N 3W

PostPosted: Sun Apr 02, 2017 11:14 am    Post subject: Reply with quote

fusion809,

Google says nothing but there are hints that you need the
Code:
USB Video Class (UVC)
option

That's buried several menu layers under your
Code:
# CONFIG_MEDIA_SUPPORT is not set
option.

The kernel help says
Code:
CONFIG_USB_VIDEO_CLASS:                                                                              │ 
  │                                                                                                      │ 
  │ Support for the USB Video Class (UVC).  Currently only video                                         │ 
  │ input devices, such as webcams, are supported.                                                       │ 
  │                                                                                                      │ 
  │ For more information see: <http://linux-uvc.berlios.de/>                                             │ 
  │                                                                                                      │ 
  │ Symbol: USB_VIDEO_CLASS [=n]                                                                         │ 
  │ Type  : tristate                                                                                     │ 
  │ Prompt: USB Video Class (UVC)                                                                        │ 
  │   Location:                                                                                          │ 
  │     -> Device Drivers                                                                                │ 
  │       -> Multimedia support (MEDIA_SUPPORT [=m])                                                     │ 
  │         -> Media USB Adapters (MEDIA_USB_SUPPORT [=y])                                               │ 
  │   Defined at drivers/media/usb/uvc/Kconfig:1                                                         │ 
  │   Depends on: USB [=y] && MEDIA_SUPPORT [=m] && MEDIA_USB_SUPPORT [=y] && \                          │ 
  │ MEDIA_CAMERA_SUPPORT [=y] && VIDEO_V4L2 [=m]                                                         │ 
  │   Selects: VIDEOBUF2_VMALLOC [=m]         

Either built in or a loadable module will work.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
fusion809
n00b
n00b


Joined: 15 Oct 2015
Posts: 71

PostPosted: Sun Apr 02, 2017 12:16 pm    Post subject: Reply with quote

Thanks, I'm recompiling my kernel as I type.
_________________
Open-source advocate with an inquisitive disposition
Back to top
View user's profile Send private message
fusion809
n00b
n00b


Joined: 15 Oct 2015
Posts: 71

PostPosted: Sun Apr 02, 2017 12:29 pm    Post subject: Reply with quote

Works perfectly now. Thanks.
_________________
Open-source advocate with an inquisitive disposition
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum