Question about VID

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

 



There is something like this in the ADM1026 driver.

The pins are actually GPIO, but the data sheet shows them "typically" 
connected as VID.  So the driver makes a "rash" assumption that they are 
connected as suggested on the datasheet.

But I did two other things.  I allowed the VID value to be *written* to 
override the assumed value, and I export the GPIO pins raw as "gpio" so 
that an expression in sensors.conf can set the vid value from the gpio 
value by bitsifts (multiply and divide by 2) and masking.

:v)

Mark Studebaker wrote:

> just assume the vid pins are always there.
> If they aren't hooked up, it's no different than for any
> other chip or driver.
> vid is only used for calculation of limits in sensors.conf.
> how many people bother to program the correct "VRM" specification
> setting anyway, I don't know, probably isn't that high...
>
> Mark M. Hoffman wrote:
>
>> Hello everyone:
>>
>> Looks like w83627thf doesn't have dedicated VID pins.  But, it has a
>> few GPIO pins... some of which just happen to be the same pin #s as
>> the dedicated VID pins on the w83627hf.  Haven't tried it yet, but I'd
>> bet money that's how it's wired too.  Any clever ideas about how to
>> support something like that in the driver?  I'm thinking of just using
>> some #ifdef's, but that's not very clever.
>>
>> Regards,
>>
>
>




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

  Powered by Linux