From owner-freebsd-hackers Sat Dec 26 21:28:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA12035 for freebsd-hackers-outgoing; Sat, 26 Dec 1998 21:28: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 VAA12030 for ; Sat, 26 Dec 1998 21:28:29 -0800 (PST) (envelope-from netmonger@genesis.ispace.com) Received: from celeris (56k-port4044.ime.net [209.90.195.54]) by ime.net (8.8.7/8.8.7) with SMTP id AAA17841; Sun, 27 Dec 1998 00:28:09 -0500 (EST) Message-Id: <4.1.19981227002412.00a86a10@genesis.ispace.com> X-Sender: netmonger@genesis.ispace.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Sun, 27 Dec 1998 00:25:34 -0500 To: takawata@shidahara1.planet.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: <199812270458.NAA04526@libr.scitec.kobe-u.ac.jp> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 01:58 PM 12/27/98 +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'.) Loki# gcc -o spd spd.c Loki# ./spd OPEN: Invalid argument Nothing too impressive there.. I'm running as root as well. Loki# cd /dev Loki# ls -al smb* crw-r--r-- 1 root wheel 106, 0 Dec 27 00:23 smb0 crw-r--r-- 1 root wheel 106, 1 Dec 27 00:23 smb1 crw-r--r-- 1 root wheel 106, 2 Dec 27 00:23 smb2 crw-r--r-- 1 root wheel 106, 3 Dec 27 00:23 smb3 crw-r--r-- 1 root wheel 106, 4 Dec 27 00:23 smb4 crw-r--r-- 1 root wheel 106, 5 Dec 27 00:24 smb5 even doing u+xrw (chmod) doesn't work either.. ideas? :-) --- 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