Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Feb 2005 23:33:41 -0500
From:      Understudy <list@understudy.net>
To:        freebsd-mobile@FreeBSD.ORG
Subject:   Re: Thinkpad 600e interrupt storm
Message-ID:  <421EAAA5.3090304@understudy.net>
In-Reply-To: <20050224202147.A60128@sasami.jurai.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?421EAAA5.3090304>