Question on platform drivers

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

 



Hi Juerg,

> I rewrote the vt1211 driver to implement it as a platform driver but
> now sensors doesn't see it anymore. The chip is registered at
> /sys/devices/platform/vt1211.24576 but sensors (2.10.0) reports:
> Can't access procfs/sysfs file
> Unable to find i2c bus information;
> For 2.6 kernels, make sure you have mounted sysfs and libsensors
> was compiled with sysfs support!
> For older kernels, make sure you have done 'modprobe i2c-proc'!
>
> SYSFS support is compiled into libsensors and kernel version is
> 2.6.16-rc3-mm1.

Did you register your driver with the hwmon class? libsensors scans
/sys/class/hwmon for hardware monitoring chips. If you device doesn't
show up there, it won't be found.

--
Jean Delvare




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

  Powered by Linux