All of lore.kernel.org
 help / color / mirror / Atom feed
* Where to put new sensor drivers?
@ 2009-03-01 12:41 Daniel Mack
  2009-03-05 15:03 ` Daniel Mack
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Mack @ 2009-03-01 12:41 UTC (permalink / raw)
  To: linux-kernel; +Cc: Jean Delvare

Hi,

I wrote a driver for an I2C connected ambient light sensor and submitted
it to the linux-i2c list[1]. In the first place, I wasn't aware of
drivers/i2c/chips being deprecated and hencei, I subsequently moved it to
what seemed to match best in the current tree, drivers/hwmon. But as
Jean Delvare pointed out, this is not the place for it either because it
doesn't really monitor the hardware, which is true.

So I posted a proposal[2] patch series that adds drivers/sensors for
such cases (some of the drivers in the legacy folder drivers/i2c/chips
have the same problem than my new one has) but haven't got reply on it
yet, probably because linux-i2c is the wrong place to ask.

Maybe someone here has an oppinon about that?


Thanks,
Daniel


[1] http://article.gmane.org/gmane.linux.drivers.i2c/3148
[2] http://article.gmane.org/gmane.linux.drivers.i2c/3159


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Where to put new sensor drivers?
  2009-03-01 12:41 Where to put new sensor drivers? Daniel Mack
@ 2009-03-05 15:03 ` Daniel Mack
  2009-03-06 18:55   ` Pavel Machek
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Mack @ 2009-03-05 15:03 UTC (permalink / raw)
  To: linux-kernel

On Sun, Mar 01, 2009 at 01:41:34PM +0100, Daniel Mack wrote:
> I wrote a driver for an I2C connected ambient light sensor and submitted
> it to the linux-i2c list[1]. In the first place, I wasn't aware of
> drivers/i2c/chips being deprecated and hencei, I subsequently moved it to
> what seemed to match best in the current tree, drivers/hwmon. But as
> Jean Delvare pointed out, this is not the place for it either because it
> doesn't really monitor the hardware, which is true.
> 
> So I posted a proposal[2] patch series that adds drivers/sensors for
> such cases (some of the drivers in the legacy folder drivers/i2c/chips
> have the same problem than my new one has) but haven't got reply on it
> yet, probably because linux-i2c is the wrong place to ask.

Hmm, no feedback here either? I was pointed to the 'industrial I/O'
thread[1], but that one didn't go mainline yet, and I didn't find any
reference of someone picking up this idea.

Are such drivers not wanted in the kernel? I could also move my code to
userspace, but I though if it's supported by the kernel, more people
can acutally use it easily.

Daniel

[1] http://lkml.org/lkml/2008/12/1/156


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Where to put new sensor drivers?
  2009-03-05 15:03 ` Daniel Mack
@ 2009-03-06 18:55   ` Pavel Machek
  0 siblings, 0 replies; 3+ messages in thread
From: Pavel Machek @ 2009-03-06 18:55 UTC (permalink / raw)
  To: Daniel Mack; +Cc: linux-kernel

On Thu 2009-03-05 16:03:34, Daniel Mack wrote:
> On Sun, Mar 01, 2009 at 01:41:34PM +0100, Daniel Mack wrote:
> > I wrote a driver for an I2C connected ambient light sensor and submitted
> > it to the linux-i2c list[1]. In the first place, I wasn't aware of
> > drivers/i2c/chips being deprecated and hencei, I subsequently moved it to
> > what seemed to match best in the current tree, drivers/hwmon. But as
> > Jean Delvare pointed out, this is not the place for it either because it
> > doesn't really monitor the hardware, which is true.
> > 
> > So I posted a proposal[2] patch series that adds drivers/sensors for
> > such cases (some of the drivers in the legacy folder drivers/i2c/chips
> > have the same problem than my new one has) but haven't got reply on it
> > yet, probably because linux-i2c is the wrong place to ask.
> 
> Hmm, no feedback here either? I was pointed to the 'industrial I/O'
> thread[1], but that one didn't go mainline yet, and I didn't find any
> reference of someone picking up this idea.

Well drivers/sensors sounds  sane. Or maybe drivers/senses :-). 

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-06 18:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-01 12:41 Where to put new sensor drivers? Daniel Mack
2009-03-05 15:03 ` Daniel Mack
2009-03-06 18:55   ` Pavel Machek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.