Date: Sun, 27 Dec 1998 00:25:34 -0500 From: Drew Baxter <netmonger@genesis.ispace.com> To: takawata@shidahara1.planet.kobe-u.ac.jp Cc: hackers@FreeBSD.ORG Subject: Re: Please test my code for Intel onboard SMBus function. Message-ID: <4.1.19981227002412.00a86a10@genesis.ispace.com> In-Reply-To: <199812270458.NAA04526@libr.scitec.kobe-u.ac.jp> References: <Your message of "Sat, 26 Dec 1998 14:07:03 EST." <4.1.19981226140415.00c2a8b0@genesis.ispace.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.1.19981227002412.00a86a10>