Re: Stuck creating sysfs hooks for a driver..

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

 



On Wed, Feb 15, 2006 at 01:24:28PM +0530, Kaiwan N Billimoria wrote:
> Hello All,
> 
> I am in the process of porting a 2.4 temperature sensor device driver (the 
> National Semiconductor LM70CILD-3 temperature sensor eval board) to the 2.6 
> Linux kernel (specifically to v 2.6.15.3 <http://2.6.15.3>), with the 
> intention of submitting it for inclusion. All ok, except this: am stuck on 
> inserting an entry in /sys instead of /proc for the
> driver (as that is suggested as the new "correct" interface to userspace).

Have you read Documentation/hwmon/sysfs-interface?  I think that,
combined with using the hwmon class code is what you want to use here.

Hope this helps,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux