[Fwd: userland i2c ioctl commands..]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 06, 2003 at 02:45:23PM -0800, Philip Edelbrock wrote:
> 
> I'm guessing somebody else can answer this better than I can.  Who wants 
> to take a stab?
> 
> 
> Phil
> 
> -------- Original Message --------
> From: 	- Thu Nov 6 14:43:07 2003
> X-UIDL: 	63bd79ec803c391a
> X-Mozilla-Status: 	0001
> X-Mozilla-Status2: 	00000000
> Return-Path: 	<kkyzivat at physiometrix.com>
> Received: 	from mercury.physiometrix.com (mercury.physiometrix.com 
> [66.112.162.232]) by Ren.netroedge.com (8.12.10/8.12.8) with ESMTP id 
> hA6MSoJE002924 for <phil at netroedge.com>; Thu, 6 Nov 2003 14:28:50 -0800
> Received: 	from MA01WK-KK.physiometrix.com [192.168.168.83] by 
> mercury.physiometrix.com with XWall v3.28 ; Thu, 6 Nov 2003 17:42:14 -0500
> Message-ID: 	<3FAACE45.3010200 at physiometrix.com>
> Date: 	Thu, 06 Nov 2003 17:42:13 -0500
> From: 	Keith Kyzivat <kkyzivat at physiometrix.com>
> User-Agent: 	Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) 
> Gecko/20030924 Thunderbird/0.3
> X-Accept-Language: 	en-us, en
> MIME-Version: 	1.0
> To: 	phil at netroedge.com
> Subject: 	userland i2c ioctl commands..
> Content-Type: 	text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 	7bit
> X-Quarentine-Loop: 	Processed
> X-Spambayes-Classification: 	ham; 0.01
> 
> 
> 
> Hello Phil,
> 
> I'm trying to track down why i2c ioctl command defines and other 
> userland useful bits were left out of i2c-dev.h in the kernel includes. 

Do not use kernel headers in your userspace programs.  If you need them,
then duplicate the file in your own program like lmsensors does.

See the many discussions about this on the linux-kernel mailing list as
to why this is the current way of doing things.

thanks,

greg k-h



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux