Subject: Re: Installing a UPS for a NetBSD server... software and procedures?
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: Gilles Gravier <Gilles@Gravier.org>
List: netbsd-users
Date: 04/27/2007 20:51:46
Steve,
I've put the
ugen* at uhub? port ? vendor "0x051d" flags 1
at the end of my config file... rebuild a kernel... booted on it... and
it still gets recognized as hid :
bash-3.2# usbdevs -d
addr 1: UHCI root hub, VIA Technologies
uhub0
addr 1: UHCI root hub, VIA Technologies
uhub1
addr 2: Back-UPS CS 650 FW:817.v4.I USB FW:v4, American Power Conversion
uhidev0
addr 1: UHCI root hub, VIA Technologies
uhub2
addr 1: UHCI root hub, VIA Technologies
uhub3
addr 1: EHCI root hub, VIA Technologie
uhub4
I'm now trying to rebuild putting this line BEFORE the hid lines...
hoping that detection is serial. Wait for my next mail in 10 minutes.
Gilles.
Steven M. Bellovin wrote:
> On Mon, 23 Apr 2007 14:27:33 +0200
> Gilles Gravier <Gilles@Gravier.org> wrote:
>
>
>> Steve,
>>
>> Can you help me there? How do you use that specific line? In what?
>>
>>
>
> That goes in a kernel config file, for any system 4.0beta or later.
> (That describes all of my machines -- I upgraded the last one
> yesterday to let it talk to at UPS.) You then build a custom kernel
> according to the instructions in the NetBSD guide.
>
> Here's my config file on that machine:
>
> include "arch/i386/conf/GENERIC"
>
> options SHMMAXPGS=32768 # 2048 pages is the default
> options IPSEC # IP security
> options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
> options PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS)"
> options HZ=1000
>
> ugen* at uhub? port ? vendor "0x051d" flags 1
>
> Note the 'include' line -- it saves a lot of trouble if you're willing
> to accept all of the unnecessary drivers in GENERIC. (I am -- trimming
> it down would save me very little memory, as such things go.)
>
>
> --Steve Bellovin, http://www.cs.columbia.edu/~smb
>
--
/*Gilles Gravier*/ *=* *Gilles@Gravier.org* <mailto:Gilles@Gravier.org>
*=* *http://www.gravier.org/*
ICQ : *77488526*
<http://www.icq.com/whitepages/about_me.php?Uin=77488526> * || *MSN
Messenger : Gilles@Gravier.org <http://members.msn.com/Gilles@Gravier.org>*
*Skype : ggravier <callto://ggravier>* || *Y! : ggravier
<http://profiles.yahoo.com/ggravier> || AOL : gillesgravier
<aim:goim?screenname=gillesgravier>
PGP Key ID : *0x8DE6D026*
<http://pgp.mit.edu:11371/pks/lookup?search=0x8DE6D026&op=index>
"Chastity is its own punishment." (/Solomon Short/) [/David Gerrold/]
"De toutes les aberrations sexuelles, la chasteté est la plus
aberrante." [Anatole France]