PCI interrupt allocation question..
Stijn Hoop
stijn at win.tue.nl
Tue Jan 13 16:20:32 PST 2004
On Tue, Jan 13, 2004 at 04:14:10PM -0800, Julian Elischer wrote:
> xmbmon uses the SMBus to read the temperatures but it does it from
> userland using direct read and write operations
Oh, I didn't know that. Like I said the box is gone so I can't really verify
what I did anymore :(
> and when there are timing glitches caused by the process not getting
> scheduled quite quick enough you get garbage results..
> teh theory is that the kernel driver wouldn't be susceptible to this
> but it looks like unless I resort to polling I will not be able to use
> it because it relies on the interrupts and they are not being delivered.
:(
> ASUS motherboards actually turn off the SMBus. (why?)
> So you need to turn it back on before you can read the temperatures..
> I have a little script that uses pciconf to do it..
The machine I tested this on was a Dell GX115 I think, but even when that
bit was enabled using pciconf there was no SMBus device/reading possible...
Anyway, it seems to be some other problem so I'm off again :)
--Stijn
--
"I used to think I was indecisive, but now I'm not so sure."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20040114/665e52f1/attachment.bin
More information about the freebsd-hackers
mailing list