Page 1 of 1

Webcam drivers for packard bell easynote - mx14

Posted: Thu Aug 04, 2016 4:39 pm
by dziekuje
Hello,
I have installed mx14 on a packard bell easynote fitted with a webcam

ref Bus 005 Device 003: ID 174f:a821 Syntek Web Cam - Packard Bell BU45, PB Easynote MX66-208W

But I am having trouble finding a driver for the webcam (to use with skype) Can any one help me?

Please note - complete newb - please be gentle with me!

Bob

Re: Webcam drivers for packard bell easynote - mx14

Posted: Thu Aug 04, 2016 8:12 pm
by samineater
I hope OP is at leastbiligual (lol) -- https://doc.ubuntu-fr.org/syntek

Re: Webcam drivers for packard bell easynote - mx14

Posted: Thu Aug 04, 2016 8:46 pm
by Stevo
I looked at the driver on sourceforge, and it's old and won't build on any 3.X kernel. The kernel itself has a Syntek driver adapted from the SF one (drivers/media/usb/stkwebcam/stk-webcam.c in the kernel source), but it only has support for a couple of models:

Code: Select all

/* Some cameras have audio interfaces, we aren't interested in those */
static struct usb_device_id stkwebcam_table[] = {
	{ USB_DEVICE_AND_INTERFACE_INFO(0x174f, 0xa311, 0xff, 0xff, 0xff) },
	{ USB_DEVICE_AND_INTERFACE_INFO(0x05e1, 0x0501, 0xff, 0xff, 0xff) },
	{ }
Maybe adding your device to the list could make it work:

Code: Select all

/* Some cameras have audio interfaces, we aren't interested in those */
static struct usb_device_id stkwebcam_table[] = {
	{ USB_DEVICE_AND_INTERFACE_INFO(0x174f, 0xa311, 0xff, 0xff, 0xff) },
	{ USB_DEVICE_AND_INTERFACE_INFO(0x174f, 0xa821, 0xff, 0xff, 0xff) },
	{ USB_DEVICE_AND_INTERFACE_INFO(0x05e1, 0x0501, 0xff, 0xff, 0xff) },
	{ }
Rather than rebuild a whole kernel, it may be possible to get the media driver source, edit that specific file as shown, then build and install just those drivers: https://www.linuxtv.org/wiki/index.php/ ... ce_Drivers

Re: Webcam drivers for packard bell easynote - mx14

Posted: Thu Aug 04, 2016 9:09 pm
by kmathern
I can get a module to build for the 4.6 kernel by following some of what's in the archlinux PKGBUILD file from here https://aur.archlinux.org/packages/stk11xx-svn/
(you need to git clone it)

Code: Select all

$ /sbin/modinfo stk11xx
filename:       /lib/modules/4.6.2-antix.1-amd64-smp/misc/stk11xx.ko
url:            http://sourceforge.net/projects/syntekdriver/
version:        v3.0.0
description:    Syntek USB Video Camera
author:         Nicolas VIVIEN
license:        GPL
srcversion:     815BD13094B918C4AE3D02E
alias:          usb:v05E1p0501d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v05E1p0500d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v05E1p0408d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v174Fp6D51d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v174Fp6A54d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v174Fp6A51d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v174Fp6A33d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v174Fp6A31d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v174FpAA11d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v174FpA821d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v174FpA311d*dc*dsc*dp*ic*isc*ip*in*
depends:        videodev
vermagic:       4.6.2-antix.1-amd64-smp SMP preempt mod_unload modversions 
parm:           fps:Frames per second [5-30] (int)
parm:           hflip:Horizontal image flip (int)
parm:           vflip:Vertical image flip (int)
parm:           brightness:Brightness setting (int)
parm:           whiteness:Whiteness setting (int)
parm:           colour:Colour setting (int)
parm:           contrast:Contrast setting (int)
parm:           norm:Norm setting (0=NTSC, 1=PAL) (int)
I don't know how you would convert it to debianized source though.

Re: Webcam drivers for packard bell easynote - mx14

Posted: Fri Aug 05, 2016 12:26 pm
by kmathern
kmathern wrote:I can get a module to build for the 4.6 kernel by following some of what's in the archlinux PKGBUILD file from here https://aur.archlinux.org/packages/stk11xx-svn/
(you need to git clone it) ...
Here's a small script I created that will download, patch, build, install the stk11xx driver. It seems to work okay with MX-15, I haven't tried it in MX-14.

Code: Select all

#!/bin/bash

#prep prior to downloading/building/installing
sudo apt-get update && sudo m-a prepare

#install packages that are needed to download and/or build source 
sudo apt-get install git-core subversion exuberant-ctags

#clone  git repo
git clone https://aur.archlinux.org/stk11xx-svn.git
cd stk11xx-svn

#get actual source
svn co $(grep ^_svntrunk PKGBUILD | cut -f2 -d\") -r $(grep ^pkgver PKGBUILD | cut -f2 -d=) $(grep ^_svnmod PKGBUILD | cut -f2 -d\")

#apply archlinux patches
cd $(grep ^_svnmod PKGBUILD | cut -f2 -d\")
for i in ../*.patch; do patch -p1 -i $i; done

#build module
make -f Makefile.standalone

#install the module
sudo mkdir /lib/modules/$(uname -r)/misc
sudo cp stk11xx.ko /lib/modules/$(uname -r)/misc/
sudo depmod

#show module that was just built & installed
echo
echo
/sbin/modinfo stk11xx


edit #1: added a apt-get update

Re: Webcam drivers for packard bell easynote - mx14

Posted: Fri Aug 05, 2016 12:41 pm
by Jerry3904
Well done. I dropped that in the Wiki:

http://www.mepiscommunity.org/wiki/hardware/webcams

Re: Webcam drivers for packard bell easynote - mx14

Posted: Fri Aug 05, 2016 4:12 pm
by dziekuje
Thank you all for your help and prompt responses. I have tried all the suggestions but without success. I will install MX15 when I return home and then start again.

Thank you again.

Bob

Re: Webcam drivers for packard bell easynote - mx14

Posted: Fri Aug 05, 2016 7:51 pm
by aus9
when you get a chance to install MX-15, was your lsusb a copy and paste?
I can't spot your product id unless a821 is a812
http://www.ideasonboard.org/uvc/#devices

Is a list, it may be out of date, that allows you to run a GUI webcam software to modify settings for use with other webcam software
or as a stand alone, record snaps or videos in various formats etc. GUI= guvcview

For me, I have a kernel module that can be discovered by command and output

Code: Select all

 lsmod | grep uvc
uvcvideo               90112  0 
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_core         49152  1 uvcvideo
videodev              167936  3 uvcvideo,v4l2_common,videobuf2_core
media                  24576  2 uvcvideo,videodev
usbcore               233472  8 snd_usb_audio,uvcvideo,snd_usbmidi_lib,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
in screen shot the I have moved the cam away from my face as you may be eating food :bagoverhead:
but there are a bundle of settings in the pulldown top section and on the screen.

Being lazy I tend to use the web browser and youtube to record any small videos and I have not made any videos for a long time.

Image

Re: Webcam drivers for packard bell easynote - mx14

Posted: Fri Aug 05, 2016 8:34 pm
by kmathern
aus9 wrote:when you get a chance to install MX-15, was your lsusb a copy and paste?
I can't spot your product id unless a821 is a812 ...
The /usr/share/misc/usb.ids list shows a 'a821' Syntek device.

Code: Select all

$ grep '174f  Syntek' /usr/share/misc/usb.ids -A20
174f  Syntek
	1105  SM-MS/Pro-MMC-XD Card Reader
	110b  HP Webcam
	1403  Integrated Webcam
	1404  USB Camera device, 1.3 MPixel Web Cam
	5212  USB 2.0 UVC PC Camera
	5a11  PC Camera
	5a31  Sonix USB 2.0 Camera
	5a35  Sonix 1.3MPixel USB 2.0 Camera
	6a31  Web Cam - Asus A8J, F3S, F5R, VX2S, V1S
	6a33  Web Cam - Asus F3SA, F9J, F9S
	6a51  2.0MPixel Web Cam - Asus Z96J, Z96S, S96S
	6a54  Web Cam
	6d51  2.0Mpixel Web Cam - Eurocom D900C
	8a12  Syntek 0.3MPixel USB 2.0 UVC PC Camera
	8a33  Syntek USB 2.0 UVC PC Camera
	a311  1.3MPixel Web Cam - Asus A3A, A6J, A6K, A6M, A6R, A6T, A6V, A7T, A7sv, A7U
	a312  1.3MPixel Web Cam
	a821  Web Cam - Packard Bell BU45, PB Easynote MX66-208W
	aa11  Web Cam
1753  GERTEC Telecomunicacoes Ltda.

Re: Webcam drivers for packard bell easynote - mx14

Posted: Sat Aug 06, 2016 1:09 am
by aus9
Fair enough. We shall see if he needs to mod his settings with whatever webcam software he is using and can't do it internally to that software?