From owner-freebsd-hackers Mon Dec 28 10:38:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA00610 for freebsd-hackers-outgoing; Mon, 28 Dec 1998 10:38:30 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ime.net (ime.net [209.90.192.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA00605 for ; Mon, 28 Dec 1998 10:38:27 -0800 (PST) (envelope-from netmonger@genesis.ispace.com) Received: from celeris (56k-port4040.ime.net [209.90.195.50]) by ime.net (8.8.7/8.8.7) with SMTP id NAA28919; Mon, 28 Dec 1998 13:38:00 -0500 (EST) Message-Id: <4.1.19981228133327.00a14ee0@genesis.ispace.com> X-Sender: netmonger@genesis.ispace.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Mon, 28 Dec 1998 13:35:04 -0500 To: Nicolas Souchu , takawata@shidahara1.planet.sci.kobe-u.ac.jp From: Drew Baxter Subject: Re: Please test my code for Intel onboard SMBus function. Cc: hackers@FreeBSD.ORG In-Reply-To: <19981228203456.48462@breizh.prism.uvsq.fr> References: <199812270458.NAA04526@libr.scitec.kobe-u.ac.jp> <4.1.19981226140415.00c2a8b0@genesis.ispace.com> <199812270458.NAA04526@libr.scitec.kobe-u.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 08:34 PM 12/28/98 +0000, Nicolas Souchu wrote: >On Sun, Dec 27, 1998 at 01:58:06PM +0900, >takawata@shidahara1.planet.kobe-u.ac.jp wrote: >> >>In message <4.1.19981226140415.00c2a8b0@genesis.ispace.com>, Mr./Ms. Drew >Baxter wrote. >> >>>I get this: >>>Loki# ./spd >>>OPEN: No such file or directory >>> >>>It'd probably help to have the stuff to throw into mknod, because I don't >>>have a /dev/smb*.. :-) >> >>% cd /dev >>% mknod smb0 c 106 0 >>.. >>.. >>.. >>% mknod smb5 c 106 5 >> >>I'll incorporate it later. >> >>And currently the generic driver code does not have the way to report >>error to userland,and device name is hard coded.(Sorry.) >>So if you get odd result,replace device name into /dev/smb[1-4]. >>(Normally you will get output 'Bytes used:128'.) > >Last smbus/iicbus commit breaks this code, sorry. But it now handles >properly the addressing scheme. e.g you may give the slave address to >each ioctl. > >Which errors should be reported Takanori? > I got most of my bugs fixed when I built for CURRENT-1226.. I usually make world every two weeks or so.. sometimes more.. However as I said, just to result in crashing my machine :).. Eh I'm getting better, we had 3 months on it.. Am I supposed to point this thing as SMB0, which it says in my /var/log/messages is LM78... or am I supposed to point it at SMB1-5 which it says is a DIMM socket? --- Drew "Droobie" Baxter Network Admin/Professional Computer Nerd(TM) OneEX: The OneNetwork Exchange, Bangor Maine USA http://www.droo.orland.me.us PGP ID: 409A1F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message