RE: How to manually call i2c_client's probe from i2c-dev.c ioctl

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

 



Jean,

All of this I am very aware of.  However, I still need to solve this
problem. Can you please suggest a solution?

Chuck


> -----Original Message-----
> From: linux-i2c-owner@xxxxxxxxxxxxxxx 
> [mailto:linux-i2c-owner@xxxxxxxxxxxxxxx] On Behalf Of Jean Delvare
> Sent: Wednesday, September 16, 2009 1:53 PM
> To: Chuck Kamas
> Cc: linux-i2c@xxxxxxxxxxxxxxx
> Subject: Re: How to manually call i2c_client's probe from 
> i2c-dev.c ioctl
> 
> On Wed, 16 Sep 2009 09:56:37 -0700, Chuck Kamas wrote:
> > I am trying to backport Michael's patch to add PROBE and 
> REMOVE ioctls 
> > to 2.6.21 
> > 
> http://article.gmane.org/gmane.linux.drivers.i2c/3339/match=ioctls+pro
> > be
> > 
> > I have been able to add the IOCTLS and re-compile the 
> kernel module, 
> > but am confused as to what function to call in the old 
> device model.  
> > I believe that I should use i2c_attach_client() from 
> i2c-core.c.  Is 
> > this correct?
> 
> You are backporting a patch which was rejected upstream, to a 
> model which is deprecated. It's probably time to reconsider 
> your technical choices.
> 
> --
> Jean Delvare
> http://khali.linux-fr.org/wishlist.html
> --
> To unsubscribe from this list: send the line "unsubscribe 
> linux-i2c" in the body of a message to 
> majordomo@xxxxxxxxxxxxxxx More majordomo info at  
> http://vger.kernel.org/majordomo-info.html
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux