lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Mon, 28 Apr 2008 20:00:18 +0000
From:	"Justin Mattock" <justinmattock@...il.com>
To:	LKML <linux-kernel@...r.kernel.org>
Subject: videodev2.h

With compiling uvcvidoe for the macbook pro, I encounted some errors,
about the definition already defined, to resolve this issue:
I ended up taking out in = include/linux/videodev2.h:

/*#define V4L2_CTRL_CLASS_CAMERA 0x009a0000 */	/* Camera class controls */

/*#define V4L2_CID_POWER_LINE_FREQUENCY	(V4L2_CID_BASE+24)
*enum v4l2_power_line_frequency {
*	V4L2_CID_POWER_LINE_FREQUENCY_DISABLED	= 0,
*	V4L2_CID_POWER_LINE_FREQUENCY_50HZ	= 1,
*	V4L2_CID_POWER_LINE_FREQUENCY_60HZ	= 2,
};*/

/*#define V4L2_CID_EXPOSURE_AUTO			(V4L2_CID_CAMERA_CLASS_BASE+1)
*enum  v4l2_exposure_auto_type {
*	V4L2_EXPOSURE_AUTO = 0,
*	V4L2_EXPOSURE_MANUAL = 1,
*	V4L2_EXPOSURE_SHUTTER_PRIORITY = 2,
*	V4L2_EXPOSURE_APERTURE_PRIORITY = 3
};*/

For the module to install properly. "I think uvcvideo gets confused
with having two videodev.h, and videodev2.h files, but could be wrong"
located in:
include/linux/*
usr/include/linux/*
regards;
-- 
Justin P. Mattock
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ