From owner-freebsd-mobile@FreeBSD.ORG Sat Mar 12 22:58:19 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2B2B16A4CE for ; Sat, 12 Mar 2005 22:58:19 +0000 (GMT) Received: from diamond.34sp.com (diamond.34sp.com [195.50.105.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FCDF43D41 for ; Sat, 12 Mar 2005 22:58:18 +0000 (GMT) (envelope-from list@understudy.net) Received: (qmail 90956 invoked from network); 12 Mar 2005 22:58:17 -0000 Received: from adsl-11-166-118.mia.bellsouth.net (HELO ?10.0.0.114?) (65.11.166.118) by mcp.34sp.com with SMTP; 12 Mar 2005 22:58:16 -0000 Message-ID: <423373FD.5000506@understudy.net> Date: Sat, 12 Mar 2005 17:58:05 -0500 From: Understudy User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050226 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Matthew N. Dodd" References: <20050219040357.47106754@spadger.best.vwh.net> <42197CA3.7050709@understudy.net> <421E331C.10804@siol.net> <20050224181142.B60128@sasami.jurai.net> <421E7780.6050800@understudy.net> <20050224202147.A60128@sasami.jurai.net> <421EAAA5.3090304@understudy.net> <20050225095658.D60128@sasami.jurai.net> <4226996D.3020402@understudy.net> <20050303004752.V16908@sasami.jurai.net> <422B9A6B.6050109@understudy.net> <4230B9DE.6040908@siol.net> <20050310162340.Q63068@sasami.jurai.net> In-Reply-To: <20050310162340.Q63068@sasami.jurai.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: Karel Miklav cc: freebsd-mobile@freebsd.org Subject: Re: Thinkpad 600e interrupt storm X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2005 22:58:19 -0000 Matthew N. Dodd wrote: > On Thu, 10 Mar 2005, Karel Miklav wrote: > >> tp# kldload smapi > > > Right, and the kernel will display something like this if it finds it. > > smapi0: at iomem 0xfe9a0-0xfe9bf on motherboard > smapi0: Version: 0.83, Length: 32, Checksum: 0x43 > smapi0: Information=0x7 > >> smapi: open(/dev/smapi0, ...): No such file or directory >> tp# mknod smapi c 0 0 <-- a wild guess > > > Nope, not with DEVFS. > > I'm guessing that the orm(4) driver has claimed that BIOS region. > You'll have to load the module from the loader. > > Add 'smapi_load="YES"' to /boot/loader.conf > Thanks for the help here is where I am at. I had the file untarred in /tmp already so I just went from there. Slacker# cd usr.sbin/smapi Slacker# ee Makefile I added BINDIR=/usr/sbin tot he Makefile here. Slacker# make all install Warning: Object directory not changed from original /tmp/usr.sbin/smapi install -s -o root -g wheel -m 555 smapi /usr/sbin install -o root -g wheel -m 444 smapi.8.gz /usr/share/man/man8 Slacker# kldload smapi Slacker# kldstat Id Refs Address Size Name 1 8 0xc0400000 42ec90 kernel 2 1 0xc1560000 4000 logo_saver.ko 3 1 0xc1573000 17000 linux.ko 4 1 0xc19d7000 3000 smapi.ko Slacker# rehash Slacker# smapi config serial [Serial Port Settings] Commands: A/ Serial Port A Settigs B/ Serial Port A Settigs MWAVE/ Serial Port A Settigs Port Enabled IRQ Address ----- -------- ---- ------------------------ A No(No) 255(4) 0x2f3d-0x2f44(0x3f8-0x3ff) B No(No) - - MWAVE Yes(Yes) 3(3) 0x2f8-0x2ff(0x2f8-0x2ff) Note: CMOS settings appear inside of (). Slacker# rehash Slacker# Oaky my question is this do I do this: mknod smapi c 0 0 <-- a wild guess or go for another step like Add 'smapi_load="YES"' to /boot/loader.conf ? Sincerely, Brendhan