Re: smbus & hardware monitoring problem
In the immortal words of Matthew Seaman <[EMAIL PROTECTED]>... > Errr... > > happy-idiot-talk:...sys/i386/conf:% grep amdpm LINT > # amdpm AMD 756 Power Management Unit > device amdpm > > Looks like it is in LINT to me. Hmm... > > >http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/conf/Attic/LINT?only_with_tag=RELENG_4 > > Seems like it was an oversight that has been corrected only in the > last two or so weeks. Mine still shows nothing, but I haven't done a cvsup in about a week (automatic on Saturday mornings with /etc/weekly.local) - grep output - bofh.zaphod [8:46am] [/usr/src/sys/i386/conf] >grep "apm" LINT # apm: Laptop Advanced Power Management (experimental) # The flags takes the following meaning for apm0: # If apm is omitted, some systems require sysctl -w kern.timecounter.method=1 device apm0 # apm under `Miscellaneous hardware' # viapm VIA VT82C586B,596,686A and VT8233 SMBus controllers device viapm bofh.zaphod [8:46am] [/usr/src/sys/i386/conf] > - end grep output - either that or my LINT file isn't being updated by cvsup? Anyhow, thanks again for your help, it's saved the last of my hair follicles from being forcibly removed. Cheers Tim -- | The most exciting phrase to | Tim Aslat <[EMAIL PROTECTED]> | | hear in science, the one that | http://www.spyderweb.com.au | | heralds new discoveries, is | Spyderweb Consulting | | not "Eureka!" (I found it!) | P: 82270800M: 0401088479 | | but "That's funny ..."| Webmaster for| | -- Isaac Asimov | http://www.goodiesruleok.com | | No, "Eureka" is Greek for | The Ultimate Goody Fansite | | "This bath is too hot!| [EMAIL PROTECTED] | | -- Dr Who | | To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: smbus & hardware monitoring problem
On Wed, Jan 22, 2003 at 08:34:17AM +1030, Tim Aslat wrote: > In the immortal words of Matthew Seaman > <[EMAIL PROTECTED]>... > > > Of course, immediately I sent the above, I noticed what was wrong with > > that picture. > > > > Try adding > > > > device amdpm > > > > to you kernel config... > > Thank you. It worked like a charm, and now that I know what I was > lacking, I discovered that it isn't actually listed in LINT hence the > reason I couldn't find it without help. Errr... happy-idiot-talk:...sys/i386/conf:% grep amdpm LINT # amdpm AMD 756 Power Management Unit device amdpm Looks like it is in LINT to me. Hmm... http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/conf/Attic/LINT?only_with_tag=RELENG_4 Seems like it was an oversight that has been corrected only in the last two or so weeks. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: smbus & hardware monitoring problem
In the immortal words of Matthew Seaman <[EMAIL PROTECTED]>... > Of course, immediately I sent the above, I noticed what was wrong with > that picture. > > Try adding > > device amdpm > > to you kernel config... Thank you. It worked like a charm, and now that I know what I was lacking, I discovered that it isn't actually listed in LINT hence the reason I couldn't find it without help. Of course, now that I know what it is, I'm finding all kinds of information about it. I assume that it was a minor oversight not having this entry in LINT, or are there a lot of things not there deliberately? Cheers & thanks again Tim -- | The most exciting phrase to | Tim Aslat <[EMAIL PROTECTED]> | | hear in science, the one that | http://www.spyderweb.com.au | | heralds new discoveries, is | Spyderweb Consulting | | not "Eureka!" (I found it!) | P: 82270800M: 0401088479 | | but "That's funny ..."| Webmaster for| | -- Isaac Asimov | http://www.goodiesruleok.com | | No, "Eureka" is Greek for | The Ultimate Goody Fansite | | "This bath is too hot!| [EMAIL PROTECTED] | | -- Dr Who | | To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: smbus & hardware monitoring problem
On Tue, Jan 21, 2003 at 09:25:39AM +, Matthew Seaman wrote: > On Tue, Jan 21, 2003 at 10:21:55AM +1030, Tim Aslat wrote: > > > I have a M7MKA mainboard (Biostar) slot A Athlon, with a AMD751/756 > > chipset. According to the documentation I've found it has a winbond > > W83782D hardware monitor which is supposed to be supported by healthd. > > > > My current attempt at kernel configuration has the following differences > > from GENERIC. > > additional entries to GENERIC > > # trying to get smbus working for hardware monitoring > > device smbus # Bus support, required for smb below. > > device intpm > > device alpm > > device ichsmb > > device viapm > > device smb > > > > device iicbus # Bus support, required for > > device iicbb > > device ic > > device iic > > device iicsmb # smb over i2c bridge > > device pcf0 > > end addition entries - > > > > dmesg doesn't come up with any indication that smbus or smb devices are > > found/configured and I'm beginning to tear my hair out. > > Well, you've done everything pretty much right so far --- however, > although you seem to have added all of the possible variants of SMBus > controller chips, your kernel isn't picking up the hardware on your > motherboard. That might simply be because the exact chipset you have > isn't recognised, although from what you've said above, I'd expect the > amdpm driver to probe successfully. Of course, immediately I sent the above, I noticed what was wrong with that picture. Try adding device amdpm to you kernel config... Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: smbus & hardware monitoring problem
On Tue, Jan 21, 2003 at 10:21:55AM +1030, Tim Aslat wrote: > I have a M7MKA mainboard (Biostar) slot A Athlon, with a AMD751/756 > chipset. According to the documentation I've found it has a winbond > W83782D hardware monitor which is supposed to be supported by healthd. > > My current attempt at kernel configuration has the following differences > from GENERIC. > additional entries to GENERIC > # trying to get smbus working for hardware monitoring > device smbus # Bus support, required for smb below. > device intpm > device alpm > device ichsmb > device viapm > device smb > > device iicbus # Bus support, required for > device iicbb > device ic > device iic > device iicsmb # smb over i2c bridge > device pcf0 > end addition entries - > > dmesg doesn't come up with any indication that smbus or smb devices are > found/configured and I'm beginning to tear my hair out. Well, you've done everything pretty much right so far --- however, although you seem to have added all of the possible variants of SMBus controller chips, your kernel isn't picking up the hardware on your motherboard. That might simply be because the exact chipset you have isn't recognised, although from what you've said above, I'd expect the amdpm driver to probe successfully. What is the output of: pciconf -lv please? Cheers, Matthew PS. The 'device pcf0' entry in your kernel config is incorrect. It should be: device pcf0 at isa? port? irq 5 however, that won't make a difference unless you actually have a Philips PCF8584 I2C controller on your system. -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message