Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Webcam drivers for packard bell easynote - mx14

Those new to MEPIS or not very experienced can post their questions here.
Post Reply
Message
Author
dziekuje
Forum Novice
Forum  Novice
Posts: 2
Joined: Thu Jun 19, 2014 2:50 pm

Webcam drivers for packard bell easynote - mx14

#1 Post by dziekuje » Thu Aug 04, 2016 4:39 pm

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

samineater
Forum Novice
Forum  Novice
Posts: 7
Joined: Sun Jul 31, 2016 12:59 pm

Re: Webcam drivers for packard bell easynote - mx14

#2 Post by samineater » Thu Aug 04, 2016 8:12 pm

I hope OP is at leastbiligual (lol) -- https://doc.ubuntu-fr.org/syntek

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 15802
Joined: Fri Dec 15, 2006 8:07 pm

Re: Webcam drivers for packard bell easynote - mx14

#3 Post by Stevo » Thu Aug 04, 2016 8:46 pm

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

User avatar
kmathern
Forum Veteran
Forum Veteran
Posts: 9293
Joined: Wed Jul 12, 2006 2:26 pm

Re: Webcam drivers for packard bell easynote - mx14

#4 Post by kmathern » Thu Aug 04, 2016 9:09 pm

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.

User avatar
kmathern
Forum Veteran
Forum Veteran
Posts: 9293
Joined: Wed Jul 12, 2006 2:26 pm

Re: Webcam drivers for packard bell easynote - mx14

#5 Post by kmathern » Fri Aug 05, 2016 12:26 pm

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
Last edited by kmathern on Fri Aug 05, 2016 9:05 pm, edited 1 time in total.

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 21945
Joined: Wed Jul 19, 2006 6:13 am

Re: Webcam drivers for packard bell easynote - mx14

#6 Post by Jerry3904 » Fri Aug 05, 2016 12:41 pm

Well done. I dropped that in the Wiki:

http://www.mepiscommunity.org/wiki/hardware/webcams
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

dziekuje
Forum Novice
Forum  Novice
Posts: 2
Joined: Thu Jun 19, 2014 2:50 pm

Re: Webcam drivers for packard bell easynote - mx14

#7 Post by dziekuje » Fri Aug 05, 2016 4:12 pm

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

User avatar
aus9
Forum Regular
Forum Regular
Posts: 521
Joined: Sat Jul 02, 2016 1:14 am

Re: Webcam drivers for packard bell easynote - mx14

#8 Post by aus9 » Fri Aug 05, 2016 7:51 pm

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
good Luck from MX-16 user

User avatar
kmathern
Forum Veteran
Forum Veteran
Posts: 9293
Joined: Wed Jul 12, 2006 2:26 pm

Re: Webcam drivers for packard bell easynote - mx14

#9 Post by kmathern » Fri Aug 05, 2016 8:34 pm

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.

User avatar
aus9
Forum Regular
Forum Regular
Posts: 521
Joined: Sat Jul 02, 2016 1:14 am

Re: Webcam drivers for packard bell easynote - mx14

#10 Post by aus9 » Sat Aug 06, 2016 1:09 am

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?
good Luck from MX-16 user

Post Reply

Return to “Newbies”