From owner-freebsd-questions@FreeBSD.ORG Sun Oct 14 19:56:12 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 123F716A418 for ; Sun, 14 Oct 2007 19:56:12 +0000 (UTC) (envelope-from bruce.alcock@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.191]) by mx1.freebsd.org (Postfix) with ESMTP id CE12A13C447 for ; Sun, 14 Oct 2007 19:56:11 +0000 (UTC) (envelope-from bruce.alcock@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so1116410rvb for ; Sun, 14 Oct 2007 12:56:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=1FtXsjpJoRd4womIbqyG0iMutfeoQkkdYdjQ6fJlmlA=; b=FCvnGo9BDfchEN8ewphPmT77Kilx6Zy7S2+SvK1WV6TcFCVlt2oKTueH8E0Lvnm1OCWOQp+OOvCNZ3m+RSr5lI+8EVk05iw7QXQU2RFJ2inG/ThnSjuK0b4JZQ4iOFMb3B2CQyFFkEJpXCVbyrSR565R0WjdZich91kWNMrZF0g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=fBrS2faD60r4oqehhG/aLkBwksGj5sWCfcVn785f/Ml/AS21c13uLIQp7QePvlxADmn2Q3Y61Ak0vZkjpFq8ReqE9/U9/HhV+PFHVuJBBBRTX+OUtIK/sqy/kcvjKxZENAvFhnPfLZxSZ/5nBhXsZ71QNVe98soG51x0pVD2Ly0= Received: by 10.141.198.8 with SMTP id a8mr2388268rvq.1192391771086; Sun, 14 Oct 2007 12:56:11 -0700 (PDT) Received: by 10.140.202.10 with HTTP; Sun, 14 Oct 2007 12:56:11 -0700 (PDT) Message-ID: Date: Sun, 14 Oct 2007 21:56:11 +0200 From: "Bruce Alcock" To: freebsd-questions@freebsd.org In-Reply-To: MIME-Version: 1.0 References: <20071014100539.GA72686@slackbox.xs4all.nl> <20071014192106.GA72081@slackbox.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Logitech G15 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Oct 2007 19:56:12 -0000 --------- Forwarded message ---------- From: Bruce Alcock Date: Oct 14, 2007 9:49 PM Subject: Re: Logitech G15 To: freebsd-questions@freebsd.org On 10/14/07, Roland Smith wrote: > > On Sun, Oct 14, 2007 at 08:11:30PM +0200, Bruce Alcock wrote: > > > > > It doesn't generate keysyms...hence the problem. Thanks, should've > mentioned > > that. Anyone got any ideas how to map keys that don't generate keysyms? > Or > > how to make them make keysyms rather? > > Does they generate KeyPress and KeyRelease events, with a keycode? If > the buttons don't generate events, I think there isn't anything you can > do with those keys. :-) But if they do, you can assign them a keysym in > ~/.Xmodmap. See xmodmap(1). > > A list of keysyms is available in /usr/local/include/X11/keysymdef.h. > You should remove the 'XK_' prefix from each keysym, though. I suggest > you pick a couple of unused ones instead of defining your own. > > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) > > No, it does absolutely nothing. I've mapped keysyms for a multimedia keyboard with xmodmap before, so I know what I'm doing there. There's a linux driver program ( http://g15tools.sourceforge.net/) which allows you to use everything, including the LCD screen on the keyboard. Unfortunately it requires linux kernel support to work, which obviously I can't give it in FreeBSD...any ideas? Really keen to just be able to use the extra keys, dont care about the LCD :-P Bruce Let me just add to that: I've compiled g15tools and g15daemon and installed them in FreeBSD...when I run the g15daemon program i get: An Error Occured - 2 : ( Unable to initialize keyboard ) received Which I think is because it tries to load itself into the linux kernel at that point... Regards Bruce