Skip to contentSkip to conversation

Where to put new sensor drivers?

DISCUSSION Daniel Mack 2 participants 3 messages Mar 1, 2009 – Mar 6, 2009

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 11 lines · Daniel Mack

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

#2 lore raw
Quoted 8 lines · Daniel Mack
Quoted 7 lines · Daniel Mack

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.

Quoted 8 lines
Quoted 4 lines

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

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