From owner-freebsd-mobile@FreeBSD.ORG Fri Feb 25 04:33:18 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 AA98E16A4CE for ; Fri, 25 Feb 2005 04:33:18 +0000 (GMT) Received: from diamond.34sp.com (diamond.34sp.com [195.50.105.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0EAB43D48 for ; Fri, 25 Feb 2005 04:33:17 +0000 (GMT) (envelope-from list@understudy.net) Received: (qmail 69559 invoked from network); 25 Feb 2005 04:33:16 -0000 Received: from adsl-11-166-118.mia.bellsouth.net (HELO ?10.0.0.124?) (65.11.166.118) by mcp.34sp.com with SMTP; 25 Feb 2005 04:33:15 -0000 Message-ID: <421EAAA5.3090304@understudy.net> Date: Thu, 24 Feb 2005 23:33:41 -0500 From: Understudy User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@FreeBSD.ORG 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> In-Reply-To: <20050224202147.A60128@sasami.jurai.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Fri, 25 Feb 2005 04:33:18 -0000 Matthew N. Dodd wrote: > On Thu, 24 Feb 2005, Understudy wrote: > >> This looks pretty cool. Let me see if I understand what I am suppose >> to do with this. I download it and untar it ( done ). Then I saw the >> makefile. So I am thinking I should become root cd to the directory >> where the make file is and run make install clean and then read the >> man smapi pages and attempt to follow the instructions contain therein. > > > Build the userland utility (under usr.sbin/smapi/ in the tar.gz) > Make sure the smapi(4) driver is loaded (sys/modules/bios/smapi) > > Run the command as root. The stuff you're interested in is under > 'smapi config'. > > DO NOT try and alter config settings! This will result in a reboot, > for reasons I have yet to determine. > > Here is my config: > > %%% > # smapi config serial > [Serial Port Settings] > > Commands: > A/ Serial Port A Settings > B/ Serial Port B Settings > MWAVE/ MWAVE Modem Settings > > Port Enabled IRQ Address > ----- -------- ---- ------------------------ > A Yes(Yes) 4(4) 0x3f8-0x3ff(0x3f8-0x3ff) > B No(No) - - > MWAVE Yes(Yes) 3(3) 0x2f8-0x2ff(0x2f8-0x2ff) > > Note: CMOS settings appear inside of (). > > # smapi config ir > [IR Port Settings] > > Current CMOS > ----------- ----------- > Enabled: No No > IRQ: disabled 4 > DMA: disabled 51 > Address: 0x3f8-0x3ff 0x3f8-0x3ff > > # smapi config dsp > [DSP Settings] > > Current CMOS > ----------- ----------- > Enabled: Yes Yes > IRQ: 10 10 > DMA: 1 1 > Address: 0x130-0x13f 0x130-0x13f > > # smapi config parallel > [Parallel Port Settings] > > Current CMOS > ----------- ----------- > Enabled: Yes Yes > Mode: ECP ECP > IRQ: 7 7 > DMA: disabled disabled > Address: 0x3bc-0x3be 0x3bc-0x3be > 0x7bc-0x7be 0x7bc-0x7be > > # smapi config audio > [Audio Settings] > > Current CMOS > ----------- ----------- > Enabled: Yes Yes > IRQ: 5 5 > DMA: 1,3 1,3 > SB Address: 0x220-0x233 0x220-0x233 > WSS Address: 0x530-0x537 0x530-0x537 > > Hi , Okay I untarred it and changed to root. It is in my /home/bhorne/My_Downloads/FreeBSD/ directory. I changed to root and ran make. Seemed to work fine . I ran install. And it requested it a bunch of switches. So I stopped with the install. I then figured I would try man smapi and it brought up the man page. It gives a brief description of what is there. At the bottom of the man page it says see also smapi (9) . I tried man 9 smapi and it came up with not found ( No entry for smapi in section 9 of the manual ). I then went and checked if the module loaded with the install . Slacker# ls -a sys/modules/bios/ ls: sys/modules/bios/: No such file or directory So I need to know how to load the module. So I am getting there I just need to get some final details. Sincerely, Brendhan