From owner-freebsd-hackers Sun Jan 5 0:11:44 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FE3F37B401 for ; Sun, 5 Jan 2003 00:11:42 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 3007943EC2 for ; Sun, 5 Jan 2003 00:11:41 -0800 (PST) (envelope-from mdcki@gmx.net) Received: (qmail 1855 invoked by uid 0); 5 Jan 2003 08:11:38 -0000 Received: from cvpn011.gwdg.de (HELO gmx.net) (134.76.22.11) by mail.gmx.net (mp022-rz3) with SMTP; 5 Jan 2003 08:11:38 -0000 Message-ID: <3E17E936.8070808@gmx.net> Date: Sun, 05 Jan 2003 09:13:42 +0100 From: Marcin Dalecki User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021230 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rahul Siddharthan Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Synaptics touchpad extendid support. References: <20030105065921.GA1481@papagena.rockefeller.edu> In-Reply-To: <20030105065921.GA1481@papagena.rockefeller.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Rahul Siddharthan wrote: > Marcin Dalecki wrote: > >>Here is my first cut at support for the Synaptics touchpads, which are >>commonly used on notebooks. Contrary to the default "Windows >>installation mode" those devices come up at boot, this is enabling >>full support for all buttons present on the device and works nicely >>with moused together. > > > I just tried it. Couple of issues: > > 1. The "speed" of the pointer on the screen is way faster now. I > corrected that with some XF86Config options. Yes that was intentional, since there are two ways to scale the speed, namely moused and XFree. However the speed you can see is already scaled down by an significant amount anyway. Unfortunately the current sysmouse dosn't understand a witt about absolute mouse coordinates as far as I understand the code... > 2. The pad has 4 buttons; left and right work as before. In between, > there are a small up and down button. Now the up button acts as the > middle button (button 3?) -- ie I can paste with it. The down button > still does nothing. I tried playing with the moused parameters and > the XF86Config ZAxisMapping settings, to no avail. Well for certain the down button does something in esp. it is posting button 4 events. Watch out xev please - you should see it there. Having a middle button was the reaon per se I did this hack in first place, so this choice of numbering is likely here to stay. > 3. Earlier, tapping on the touchpad would emulate a left click. It > no longer does anything (not sure whether that's good or bad). Yes this kind of functionality is still not there, since it would involve quite a lot of code, which I didn't find apriopriate to place in kernel space. > What I'd like is to emulate 3 buttons with simultaneous left-right > clicking, as before; have the "up" button behave like scrolling a > mousewheel up; and have the "down" button behave like scrolling a > mousewheel down. I thought the > Option "ZAxisMapping" "4 5" Option Buttons 5? > in XF86Config, and > moused -m 4=3 -m 5=4 > would do it. But no luck (though the above moused options do stop the > up button from acting like a middle button). moused -m 4=2 -m 5=4 should do it. left is 1 up is 2 right is 3 down is 4 > Any ideas, anyone? Yes. The next cut should define a custom SYNAPTICS mouse protocol and move the whole logics out of the kernel to moused. There it should be possible to implement all the extendid features one desires without too much hassle. And without in esp. frequent reboots due to kernel crashing :-). > Thanks I'm glad this thingee works not just for my own hardware. Would you dare to report the firmware version on your system. > Rahul > > -- Marcin Dalecki To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jan 5 2:13:47 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 692A137B405 for ; Sun, 5 Jan 2003 02:13:46 -0800 (PST) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id B879C43ED1 for ; Sun, 5 Jan 2003 02:13:43 -0800 (PST) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.12.5/8.12.5) with ESMTP id h05ADXTJ095294; Sun, 5 Jan 2003 13:13:33 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Sun, 5 Jan 2003 13:13:33 +0300 (MSK) From: Dmitry Morozovsky To: "M. Warner Losh" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: freebsd running on a cdrom In-Reply-To: <20030105.001255.53237870.imp@bsdimp.com> Message-ID: <20030105131030.X264@woozle.rinet.ru> References: <20030102220350.5971.qmail@web41013.mail.yahoo.com> <20030105001014.GA76756@cs.huji.ac.il> <20030105.001255.53237870.imp@bsdimp.com> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 5 Jan 2003, M. Warner Losh wrote: MWL> : CD-ROM is not what I would call a reliable media. May I suggest MWL> : booting from the network (PXE) or booting from a hard disk and MWL> : mounting the partitions read-only? MWL> MWL> It is usually the case that solid-state media, properly configured, is MWL> more reliable. CF cards have a TrueIDE mode that allows them to be MWL> accessed as a disk on the IDE bus. Timing Solutions uses this MWL> technology in all its embedded systems and we've noticed a huge MWL> reduction in RMAs from the previous generation of systems with IDE MWL> hard disks in them. MWL> MWL> I'd suspect that cdrom drives will break more often than hard disks in MWL> harsh environments. Well, while I'd certainly agree with you regarding reliability (BTW, how many _read_ cycles do contemporary flashdisks support?), there is at least one major question: where to boot from? especially in the case of standalone moving-parts-free router ;-) Sincerely, D.Marck [DM5020, DM268-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jan 5 2:16: 0 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FF2337B401 for ; Sun, 5 Jan 2003 02:15:59 -0800 (PST) Received: from puffin.mail.pas.earthlink.net (puffin.mail.pas.earthlink.net [207.217.120.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBD0B43E4A for ; Sun, 5 Jan 2003 02:15:58 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0024.cvx21-bradley.dialup.earthlink.net ([209.179.192.24] helo=mindspring.com) by puffin.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 18V7of-0005qS-00; Sun, 05 Jan 2003 02:15:38 -0800 Message-ID: <3E180576.B10C26CD@mindspring.com> Date: Sun, 05 Jan 2003 02:14:14 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "M. Warner Losh" Cc: vadik-hackers@freebsd.vygo.net, freebsd-hackers@FreeBSD.ORG Subject: Re: freebsd running on a cdrom References: <20030102220350.5971.qmail@web41013.mail.yahoo.com> <20030105001014.GA76756@cs.huji.ac.il> <20030105.001255.53237870.imp@bsdimp.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a41ae52eb800640abe2a5eafda2fd7599d2601a10902912494350badd9bab72f9c350badd9bab72f9c Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "M. Warner Losh" wrote: > : CD-ROM is not what I would call a reliable media. May I suggest > : booting from the network (PXE) or booting from a hard disk and > : mounting the partitions read-only? [ ... ] > > I'd suspect that cdrom drives will break more often than hard disks in > harsh environments. CDROMs are simply not built for a continuous duty cycle, period, I think. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jan 5 3:15:56 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F3E737B401; Sun, 5 Jan 2003 03:15:47 -0800 (PST) Received: from server2.fastmail.fm (ny2.fastmail.fm [66.111.4.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57A1543EA9; Sun, 5 Jan 2003 03:15:47 -0800 (PST) (envelope-from brettglass@ml1.net) Received: from www.fastmail.fm (server1.internal [10.202.2.132]) by fastmail.fm (Postfix) with ESMTP id 8935E1D62B; Sun, 5 Jan 2003 06:15:45 -0500 (EST) Received: from 127.0.0.1 ([127.0.0.1] helo=www.fastmail.fm) by fastmail.fm with SMTP; Sun, 05 Jan 2003 06:15:41 -0500 Received: by www.fastmail.fm (Postfix, from userid 99) id DB70E1A0D0; Sun, 5 Jan 2003 06:15:41 -0500 (EST) Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.2 (F2.71; T1.001; A1.51; B2.12; Q2.03) From: "Brett Glass" To: hackers@freebsd.org Date: Sun, 05 Jan 2003 03:15:41 -0800 X-Epoch: 1041765341 X-Sasl-enc: 7J0RoUwJDWYPwuP7HNUIhA Cc: questions@freebsd.org Subject: bgcc, an idea Message-Id: <20030105111541.DB70E1A0D0@www.fastmail.fm> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG After the thread on GPL'd parts of FreeBSD, specially the compiler, I've decided to contribute my bit to the FreeBSD community. I'm proud to preset bgcc, 'The Brett Glass compiler collection', released under the BSD license, of course. As a lot of you know, I'm a professional programmer who does mostly embedded systems work, and the need for a truly free (free as in Richard Stallman blows dead goats) has arised many times. People can try an early beta, currently builds on FreeBSD and NetBSD. Get it from: http://www.brettglass.com/downloads/bgcc-0.0.tar.gz Brett Glass to the rescue one more time. Sincerely, -- Brett Glass brettglass@ml1.net -- http://fastmail.fm - Or how I learned to stop worrying and love email again To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jan 5 3:21:29 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D26837B401 for ; Sun, 5 Jan 2003 03:21:20 -0800 (PST) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4209743EC2 for ; Sun, 5 Jan 2003 03:21:19 -0800 (PST) (envelope-from wkb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.12.6/8.12.6) with ESMTP id h05BLCUe043546; Sun, 5 Jan 2003 12:21:12 +0100 (CET) (envelope-from wkb@freebie.xs4all.nl) Received: (from wkb@localhost) by freebie.xs4all.nl (8.12.6/8.12.6/Submit) id h05BLC4a043545; Sun, 5 Jan 2003 12:21:12 +0100 (CET) Date: Sun, 5 Jan 2003 12:21:12 +0100 From: Wilko Bulte To: "M. Warner Losh" Cc: vadik-hackers@freebsd.vygo.net, freebsd-hackers@FreeBSD.ORG Subject: Re: freebsd running on a cdrom Message-ID: <20030105122112.B43208@freebie.xs4all.nl> References: <20030102220350.5971.qmail@web41013.mail.yahoo.com> <20030105001014.GA76756@cs.huji.ac.il> <20030105.001255.53237870.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030105.001255.53237870.imp@bsdimp.com>; from imp@bsdimp.com on Sun, Jan 05, 2003 at 12:12:55AM -0700 X-OS: FreeBSD 4.7-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jan 05, 2003 at 12:12:55AM -0700, M. Warner Losh wrote: > In message: <20030105001014.GA76756@cs.huji.ac.il> > Vadim Vygonets writes: > : Quoth Joe on Thu, Jan 02, 2003: > : > I've been trying to get FreeBSD to run off a cdrom. Why, > : > well longs story, the shot version is it needs to be able to be > : > turned off and on like a lite switch. (I understand the on part > : > will take longer, but the off is just hit the button). > : > : CD-ROM is not what I would call a reliable media. May I suggest > : booting from the network (PXE) or booting from a hard disk and > : mounting the partitions read-only? > > It is usually the case that solid-state media, properly configured, is > more reliable. CF cards have a TrueIDE mode that allows them to be > accessed as a disk on the IDE bus. Timing Solutions uses this > technology in all its embedded systems and we've noticed a huge > reduction in RMAs from the previous generation of systems with IDE > hard disks in them. > > I'd suspect that cdrom drives will break more often than hard disks in > harsh environments. Absolutely, typically airborne dust affects them. Cleaning resolves it in my experience but from an RMA standpoint that does not help you much. Core memory, nothing but good old magnetic core memory :) -- | / o / /_ _ wilko@FreeBSD.org |/|/ / / /( (_) Bulte To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jan 5 3:21:55 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7446237B405 for ; Sun, 5 Jan 2003 03:21:54 -0800 (PST) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id D255D43ED1 for ; Sun, 5 Jan 2003 03:21:49 -0800 (PST) (envelope-from wkb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.12.6/8.12.6) with ESMTP id h05BLkUe043569; Sun, 5 Jan 2003 12:21:46 +0100 (CET) (envelope-from wkb@freebie.xs4all.nl) Received: (from wkb@localhost) by freebie.xs4all.nl (8.12.6/8.12.6/Submit) id h05BLkHK043564; Sun, 5 Jan 2003 12:21:46 +0100 (CET) Date: Sun, 5 Jan 2003 12:21:46 +0100 From: Wilko Bulte To: Dmitry Morozovsky Cc: "M. Warner Losh" , freebsd-hackers@FreeBSD.ORG Subject: Re: freebsd running on a cdrom Message-ID: <20030105122146.C43208@freebie.xs4all.nl> References: <20030102220350.5971.qmail@web41013.mail.yahoo.com> <20030105001014.GA76756@cs.huji.ac.il> <20030105.001255.53237870.imp@bsdimp.com> <20030105131030.X264@woozle.rinet.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030105131030.X264@woozle.rinet.ru>; from marck@rinet.ru on Sun, Jan 05, 2003 at 01:13:33PM +0300 X-OS: FreeBSD 4.7-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jan 05, 2003 at 01:13:33PM +0300, Dmitry Morozovsky wrote: > On Sun, 5 Jan 2003, M. Warner Losh wrote: > > MWL> : CD-ROM is not what I would call a reliable media. May I suggest > MWL> : booting from the network (PXE) or booting from a hard disk and > MWL> : mounting the partitions read-only? > MWL> > MWL> It is usually the case that solid-state media, properly configured, is > MWL> more reliable. CF cards have a TrueIDE mode that allows them to be > MWL> accessed as a disk on the IDE bus. Timing Solutions uses this > MWL> technology in all its embedded systems and we've noticed a huge > MWL> reduction in RMAs from the previous generation of systems with IDE > MWL> hard disks in them. > MWL> > MWL> I'd suspect that cdrom drives will break more often than hard disks in > MWL> harsh environments. > > Well, while I'd certainly agree with you regarding reliability (BTW, how many > _read_ cycles do contemporary flashdisks support?), there is at least one major > question: where to boot from? especially in the case of standalone > moving-parts-free router ;-) You can boot from CompactFlash cards, they behave like IDE drives. -- | / o / /_ _ wilko@FreeBSD.org |/|/ / / /( (_) Bulte To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jan 5 3:28:12 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 163E937B401 for ; Sun, 5 Jan 2003 03:28:11 -0800 (PST) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id F383043EA9 for ; Sun, 5 Jan 2003 03:28:09 -0800 (PST) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.12.5/8.12.5) with ESMTP id h05BRwTJ095850; Sun, 5 Jan 2003 14:27:58 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Sun, 5 Jan 2003 14:27:58 +0300 (MSK) From: Dmitry Morozovsky To: Wilko Bulte Cc: "M. Warner Losh" , "" Subject: Re: freebsd running on a cdrom In-Reply-To: <20030105122146.C43208@freebie.xs4all.nl> Message-ID: <20030105142342.Y264@woozle.rinet.ru> References: <20030102220350.5971.qmail@web41013.mail.yahoo.com> <20030105001014.GA76756@cs.huji.ac.il> <20030105.001255.53237870.imp@bsdimp.com> <20030105131030.X264@woozle.rinet.ru> <20030105122146.C43208@freebie.xs4all.nl> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 5 Jan 2003, Wilko Bulte wrote: WB> > Well, while I'd certainly agree with you regarding reliability (BTW, how many WB> > _read_ cycles do contemporary flashdisks support?), there is at least one major WB> > question: where to boot from? especially in the case of standalone WB> > moving-parts-free router ;-) WB> WB> You can boot from CompactFlash cards, they behave like IDE drives. Aha, that makes sense... But then, I suppose, one needs some IDE<->CF converting device... Would you point me to the resources 'bout them? I'm interested much as this scheme would allow us to build cheap and reliable remote routers at deep'n'far corners of our residential networks... You know, usually in totally unmaintainable corners ;-) Thanks in advance. Sincerely, D.Marck [DM5020, DM268-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jan 5 4:47:36 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4ABBF37B401 for ; Sun, 5 Jan 2003 04:47:35 -0800 (PST) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AB2243EB2 for ; Sun, 5 Jan 2003 04:47:34 -0800 (PST) (envelope-from wkb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.12.6/8.12.6) with ESMTP id h05ClTUe043870; Sun, 5 Jan 2003 13:47:29 +0100 (CET) (envelope-from wkb@freebie.xs4all.nl) Received: (from wkb@localhost) by freebie.xs4all.nl (8.12.6/8.12.6/Submit) id h05ClTLe043869; Sun, 5 Jan 2003 13:47:29 +0100 (CET) Date: Sun, 5 Jan 2003 13:47:29 +0100 From: Wilko Bulte To: Dmitry Morozovsky Cc: "M. Warner Losh" , freebsd-hackers@FreeBSD.ORG Subject: Re: freebsd running on a cdrom Message-ID: <20030105134729.A43854@freebie.xs4all.nl> References: <20030102220350.5971.qmail@web41013.mail.yahoo.com> <20030105001014.GA76756@cs.huji.ac.il> <20030105.001255.53237870.imp@bsdimp.com> <20030105131030.X264@woozle.rinet.ru> <20030105122146.C43208@freebie.xs4all.nl> <20030105142342.Y264@woozle.rinet.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030105142342.Y264@woozle.rinet.ru>; from marck@rinet.ru on Sun, Jan 05, 2003 at 02:27:58PM +0300 X-OS: FreeBSD 4.7-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jan 05, 2003 at 02:27:58PM +0300, Dmitry Morozovsky wrote: > On Sun, 5 Jan 2003, Wilko Bulte wrote: > > WB> > Well, while I'd certainly agree with you regarding reliability (BTW, how many > WB> > _read_ cycles do contemporary flashdisks support?), there is at least one major > WB> > question: where to boot from? especially in the case of standalone > WB> > moving-parts-free router ;-) > WB> > WB> You can boot from CompactFlash cards, they behave like IDE drives. > > Aha, that makes sense... But then, I suppose, one needs some IDE<->CF > converting device... Would you point me to the resources 'bout them? http://www.tapr.org/tapr/html/Fcfa.html is what I have. Just remember one thing: in IDE-mode the CF cards can *not* be hotplugged! -- | / o / /_ _ wilko@FreeBSD.org |/|/ / / /( (_) Bulte To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jan 5 4:55:32 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57A2D37B401 for ; Sun, 5 Jan 2003 04:55:30 -0800 (PST) Received: from pip.lemonia.org (pc-80-192-57-7-az.blueyonder.co.uk [80.192.57.7]) by mx1.FreeBSD.org (Postfix) with SMTP id 8E07343EB2 for ; Sun, 5 Jan 2003 04:55:28 -0800 (PST) (envelope-from lemon@aldigital.co.uk) Received: (qmail 67292 invoked from network); 5 Jan 2003 12:55:33 -0000 Received: from unknown (HELO aldigital.co.uk) (192.168.1.3) by 192.168.1.4 with SMTP; 5 Jan 2003 12:55:33 -0000 Message-ID: <3E182B54.4090007@aldigital.co.uk> Date: Sun, 05 Jan 2003 12:55:48 +0000 From: lemon User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021126 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: getnameinfo contacting 'wrong' resolver for lookup Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi, i have a 4.7-STABLE box running two nameservers: a djbdns dnscache on 127.0.0.1 to serve local requests, and have recently added a djbdns tinydns on my external address to serve domains i host, viz: $ sockstat -4 | grep :53 dnscache dnscache 37679 3 udp4 127.0.0.1:53 *:* dnscache dnscache 37679 4 tcp4 127.0.0.1:53 *:* tinydns tinydns 37672 3 udp4 192.168.1.2:53 *:* the box's resolv.conf has a single nameserver entry for localhost. my problem: since adding the external tinydns listener, my openssh sessions take ages to log in. thinking a reverse lookup oddity i did some digging, and saw that the getnameinfo call in sshd appears to query the external listener (albeit thru loopback) first. this external listener can't reverse the connection's address since it only resolves domains hosted on the box itself. after a long timeout, the correct nameserver is contacted and the login succeeds. some tcpdumping reveals: # tcpdump -ni lo0 tcpdump: listening on lo0 [ 'wrong' listener being contacted ] 18:02:38.448117 192.168.1.2.1226 > 192.168.1.2.53: 24805+ PTR? 7.57.192.80.in-addr.arpa. (42) 18:02:43.452867 192.168.1.2.1227 > 192.168.1.2.53: 24805+ PTR? 7.57.192.80.in-addr.arpa. (42) 18:02:53.462937 192.168.1.2.1228 > 192.168.1.2.53: 24805+ PTR? 7.57.192.80.in-addr.arpa. (42) 18:03:13.473076 192.168.1.2.1229 > 192.168.1.2.53: 24805+ PTR? 7.57.192.80.in-addr.arpa. (42) [ long timeout, then the correct listener ] 18:03:53.485796 127.0.0.1.1230 > 127.0.0.1.53: 57265+ PTR? 7.57.192.80.in-addr.arpa. (42) 18:03:53.486280 127.0.0.1.53 > 127.0.0.1.1230: 57265 1/0/0 PTR[|domain] 18:03:53.743123 127.0.0.1.1231 > 127.0.0.1.53: 57266+ PTR? 7.57.192.80.in-addr.arpa. (42) 18:03:53.744654 127.0.0.1.53 > 127.0.0.1.1231: 57266 1/0/0 PTR[|domain] 18:03:53.745014 127.0.0.1.1232 > 127.0.0.1.53: 57267+ A? pc-80-192-57-7-az.blueyonder.co.uk. (52) 18:03:53.746016 127.0.0.1.53 > 127.0.0.1.1232: 57267 1/0/0 A[|domain] the code fragment in openssh responsible is this: /usr/src/crypto/openssh/canohost.c debug3("Trying to reverse map address %.100s.", ntop); /* Map the IP address to a host name. */ if (getnameinfo((struct sockaddr *)&from, fromlen, name, sizeof(name), NULL, 0, NI_NAMEREQD) != 0) { /* Host name not found. Use ip address. */ log("Could not reverse map address %.100s.", ntop); return xstrdup(ntop); } i note that an old 3.4-RELEASE box i have, which has no native getnameinfo call and so uses the one in the portable openssh distribution doesn't behave the same - it correctly contacts 127.0.0.1:53 straight off. am i missing something or is this genuinely odd behaviour from a newish function? regards, l. FreeBSD rind.lemonia.org 4.7-STABLE FreeBSD 4.7-STABLE #0: Thu Dec 12 17:24:37 GMT 2002 root@rind.lemonia.org:/usr/obj/usr/src/sys/RIND i386 -- lemon@aldigital.co.uk +44 020 8742 0755 www.aldigital.co.uk system administrivia c6 h8 o7 www.thebunker.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jan 5 5: 7:27 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA44A37B401 for ; Sun, 5 Jan 2003 05:07:26 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA07A43EB2 for ; Sun, 5 Jan 2003 05:07:24 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.6/8.12.3) with ESMTP id h05D7M1e053079; Sun, 5 Jan 2003 06:07:23 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 05 Jan 2003 06:06:26 -0700 (MST) Message-Id: <20030105.060626.74232678.imp@bsdimp.com> To: marck@rinet.ru Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: freebsd running on a cdrom From: "M. Warner Losh" In-Reply-To: <20030105131030.X264@woozle.rinet.ru> References: <20030105001014.GA76756@cs.huji.ac.il> <20030105.001255.53237870.imp@bsdimp.com> <20030105131030.X264@woozle.rinet.ru> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <20030105131030.X264@woozle.rinet.ru> Dmitry Morozovsky writes: : Well, while I'd certainly agree with you regarding reliability (BTW, how many : _read_ cycles do contemporary flashdisks support?), there is at least one major : question: where to boot from? especially in the case of standalone : moving-parts-free router ;-) Read cycles is very huge, like 10^10 or so. The CF parts can be made bootable, so not a problem. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jan 5 5:56:50 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E4D937B401 for ; Sun, 5 Jan 2003 05:56:49 -0800 (PST) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4614443E4A for ; Sun, 5 Jan 2003 05:56:48 -0800 (PST) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.12.5/8.12.5) with ESMTP id h05DuZTJ097035; Sun, 5 Jan 2003 16:56:35 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Sun, 5 Jan 2003 16:56:35 +0300 (MSK) From: Dmitry Morozovsky To: Wilko Bulte Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: freebsd running on a cdrom In-Reply-To: <20030105134729.A43854@freebie.xs4all.nl> Message-ID: <20030105165407.Y96460@woozle.rinet.ru> References: <20030102220350.5971.qmail@web41013.mail.yahoo.com> <20030105001014.GA76756@cs.huji.ac.il> <20030105.001255.53237870.imp@bsdimp.com> <20030105131030.X264@woozle.rinet.ru> <20030105122146.C43208@freebie.xs4all.nl> <20030105142342.Y264@woozle.rinet.ru> <20030105134729.A43854@freebie.xs4all.nl> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 5 Jan 2003, Wilko Bulte wrote: WB> On Sun, Jan 05, 2003 at 02:27:58PM +0300, Dmitry Morozovsky wrote: WB> > On Sun, 5 Jan 2003, Wilko Bulte wrote: WB> > WB> > WB> > Well, while I'd certainly agree with you regarding reliability (BTW, how many WB> > WB> > _read_ cycles do contemporary flashdisks support?), there is at least one major WB> > WB> > question: where to boot from? especially in the case of standalone WB> > WB> > moving-parts-free router ;-) WB> > WB> WB> > WB> You can boot from CompactFlash cards, they behave like IDE drives. WB> > WB> > Aha, that makes sense... But then, I suppose, one needs some IDE<->CF WB> > converting device... Would you point me to the resources 'bout them? WB> WB> http://www.tapr.org/tapr/html/Fcfa.html WB> WB> is what I have. Just remember one thing: in IDE-mode the CF cards can WB> *not* be hotplugged! Yeah, thanks, just have found some at Google. Unfortunately, none of these devices seem to be easily available here in RU, but we'll try to workaround this ;-) Hotplug unavailability is not of great sense since in situation described CF would be the only ATAPI device in whole system. Thanks again for your help. Sincerely, D.Marck [DM5020, DM268-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jan 5 6: 2:28 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5598837B401; Sun, 5 Jan 2003 06:02:27 -0800 (PST) Received: from server2.fastmail.fm (ny2.fastmail.fm [66.111.4.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CC8643EC2; Sun, 5 Jan 2003 06:02:21 -0800 (PST) (envelope-from brettglass@ml1.net) Received: from www.fastmail.fm (server1.internal [10.202.2.132]) by fastmail.fm (Postfix) with ESMTP id D94ED15EF7; Sun, 5 Jan 2003 09:02:07 -0500 (EST) Received: from 127.0.0.1 ([127.0.0.1] helo=www.fastmail.fm) by fastmail.fm with SMTP; Sun, 05 Jan 2003 09:02:04 -0500 Received: by www.fastmail.fm (Postfix, from userid 99) id 2E78E1A03D; Sun, 5 Jan 2003 09:02:04 -0500 (EST) Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.2 (F2.71; T1.001; A1.51; B2.12; Q2.03) From: "Brett Glass" To: hackers@freebsd.org Date: Sun, 05 Jan 2003 06:02:04 -0800 X-Epoch: 1041775324 X-Sasl-enc: 8EaY+IAvEaVLWiZNxL7tKQ Cc: obrien@freebsd.org Subject: Re: bgcc, an idea Message-Id: <20030105140204.2E78E1A03D@www.fastmail.fm> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David O'Brien wrote: > Excellent job, Brett, however, it gives me an error when I try to compile this: > main () > { > int i; > i="Hello, world"; > printf("%i\n",i); > return 0; > } David, don't send this kind of newbie programmer question to the hackers list, or to any of the FreeBSD lists. If you're not up to the job, don't bother sending bogus bug reports and patches. Now go and read a book on Unix programming. Sincerely, -- Brett Glass brettglass@ml1.net -- http://fastmail.fm - One of many happy users: http://www.fastmail.fm/docs/quotes.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jan 5 6:36:59 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2EB5C37B401 for ; Sun, 5 Jan 2003 06:36:58 -0800 (PST) Received: from wonkity.com (wonkity.com [63.93.4.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6916B43EA9 for ; Sun, 5 Jan 2003 06:36:57 -0800 (PST) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.12.6/8.12.6) with ESMTP id h05Eauvl001721; Sun, 5 Jan 2003 07:36:56 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.12.6/8.12.6/Submit) with ESMTP id h05Eat07001718; Sun, 5 Jan 2003 07:36:55 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 5 Jan 2003 07:36:55 -0700 (MST) From: Warren Block To: Dmitry Morozovsky Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: freebsd running on a cdrom In-Reply-To: <20030105142342.Y264@woozle.rinet.ru> Message-ID: <20030105073008.W1704@wonkity.com> References: <20030102220350.5971.qmail@web41013.mail.yahoo.com> <20030105001014.GA76756@cs.huji.ac.il> <20030105.001255.53237870.imp@bsdimp.com> <20030105131030.X264@woozle.rinet.ru> <20030105122146.C43208@freebie.xs4all.nl> <20030105142342.Y264@woozle.rinet.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 5 Jan 2003, Dmitry Morozovsky wrote: > Aha, that makes sense... But then, I suppose, one needs some IDE<->CF > converting device... Would you point me to the resources 'bout them? http://www.mesanet.com http://siliconkit.dnsalias.com/cart The CF-to-IDE adapters are really cheap, $20 or less. -Warren Block * Rapid City, South Dakota USA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jan 5 8:36:44 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD78837B401; Sun, 5 Jan 2003 08:36:43 -0800 (PST) Received: from server2.fastmail.fm (ny2.fastmail.fm [66.111.4.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 386E343EA9; Sun, 5 Jan 2003 08:36:38 -0800 (PST) (envelope-from brettglass@ml1.net) Received: from www.fastmail.fm (server1.internal [10.202.2.132]) by fastmail.fm (Postfix) with ESMTP id D21513F163; Sun, 5 Jan 2003 11:36:29 -0500 (EST) Received: from 127.0.0.1 ([127.0.0.1] helo=www.fastmail.fm) by fastmail.fm with SMTP; Sun, 05 Jan 2003 11:36:26 -0500 Received: by www.fastmail.fm (Postfix, from userid 99) id 1F57C19DD1; Sun, 5 Jan 2003 11:36:26 -0500 (EST) Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.2 (F2.71; T1.001; A1.51; B2.12; Q2.03) From: "Brett Glass" To: hackers@freebsd.org Date: Sun, 05 Jan 2003 08:36:26 -0800 X-Epoch: 1041784586 X-Sasl-enc: tVTFlbvMj/rObejtoLU6iQ Cc: billf@freebsd.org Subject: Re: bgcc, an idea Message-Id: <20030105163626.1F57C19DD1@www.fastmail.fm> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bill Fumerola wrote: > Fuck you Brett, we don't want you here. Speak for yourself asshole. Or have you forgotten already that it was you who caused asmodai to resign? A lot of people have contacted me already and given positive feedback for the 0.0 beta, so shut up. Sincerely, -- Brett Glass brettglass@ml1.net -- http://fastmail.fm - Or how I learned to stop worrying and love email again To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jan 5 8:52:14 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D3FC37B401 for ; Sun, 5 Jan 2003 08:52:13 -0800 (PST) Received: from electricrain.com (electricrain.com [64.71.143.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6390E43ED8 for ; Sun, 5 Jan 2003 08:52:12 -0800 (PST) (envelope-from fuzzy@electricrain.com) Received: (qmail 32664 invoked by uid 540); 5 Jan 2003 16:52:02 -0000 Date: Sun, 5 Jan 2003 08:52:02 -0800 From: Chris Doherty To: hackers@freebsd.org, questions@freebsd.org Subject: Re: bgcc, an idea Message-ID: <20030105165202.GA32357@zot.electricrain.com> Reply-To: chris-freebsd@randomcamel.net References: <20030105111541.DB70E1A0D0@www.fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030105111541.DB70E1A0D0@www.fastmail.fm> User-Agent: Mutt/1.4i X-Operating-System: XEmacs X-Koan: mu. Organization: The Inside Foundation Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jan 05, 2003 at 03:15:41AM -0800, Brett Glass said: > After the thread on GPL'd parts of FreeBSD, specially the compiler, I've > decided to contribute my bit to the FreeBSD community. I'm proud to > preset bgcc, 'The Brett Glass compiler collection', released under the > BSD license, of course. As a lot of you know, I'm a professional > programmer who does mostly embedded systems work, and the need for a > truly free (free as in Richard Stallman blows dead goats) has arised many > times. before anyone gets all excited, the real Brett Glass appears to be Brett Glass and the given URL is a 404. probably the same bitter, unemployed tech worker with too much free time (I do sympathize there) who's been doing poor impersonations of Matt Dillon. I'm also pretty sure the real Brett Glass wouldn't say "arised". please don't feed the troll. c not that anyone gung-ho on a flame war is going to read farther into the thread than the original post, and the irony of writing an email to stop emails doesn't escape me... ------------------------------- Chris Doherty chris [at] randomcamel.net "I think," said Christopher Robin, "that we ought to eat all our provisions now, so we won't have so much to carry." -- A. A. Milne ------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jan 5 9: 2:29 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 963B537B401 for ; Sun, 5 Jan 2003 09:02:27 -0800 (PST) Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11FCC43ED1 for ; Sun, 5 Jan 2003 09:02:27 -0800 (PST) (envelope-from rsidd@papagena.rockefeller.edu) Received: from user-0cev12d.cable.mindspring.com ([24.239.132.77] helo=bluerondo) by swan.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18VEAD-0007IX-01 for freebsd-hackers@FreeBSD.ORG; Sun, 05 Jan 2003 09:02:17 -0800 Received: (qmail 72667 invoked by uid 1001); 5 Jan 2003 17:02:13 -0000 Date: Sun, 5 Jan 2003 12:02:13 -0500 From: Rahul Siddharthan To: Marcin Dalecki Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Synaptics touchpad extendid support. Message-ID: <20030105170213.GA72623@papagena.rockefeller.edu> References: <20030105065921.GA1481@papagena.rockefeller.edu> <3E17E936.8070808@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E17E936.8070808@gmx.net> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Marcin Dalecki wrote: > >>Here is my first cut at support for the Synaptics touchpads, > >2. The pad has 4 buttons; left and right work as before. In between, > >there are a small up and down button. Now the up button acts as the > >middle button (button 3?) -- ie I can paste with it. The down button > >still does nothing. > Well for certain the down button does something in esp. it is posting > button 4 events. Watch out xev please - you should see it there. Actually, I don't. If I run moused without button options, ie moused -t auto -d /dev/psm0 I see the up button but not the down button. If I run either moused -t auto -d /dev/psm0 -3 or moused -t auto -d /dev/psm0 -m 4=2 -m 5=4 I see neither the up button nor the down button in xev. > >What I'd like is to emulate 3 buttons with simultaneous left-right > >clicking, as before; have the "up" button behave like scrolling a > >mousewheel up; and have the "down" button behave like scrolling a > >mousewheel down. I thought the > > Option "ZAxisMapping" "4 5" > Option Buttons 5? Yes, that was there. > >in XF86Config, and > > moused -m 4=3 -m 5=4 > >would do it. But no luck (though the above moused options do stop the > >up button from acting like a middle button). > > moused -m 4=2 -m 5=4 should do it. No luck, see above. Perhaps my hardware isn't a Synaptics touchpad? (although it gets detected as one with your patch). It's a Compaq Presario 1200 around a year old. Thanks - Rahul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jan 5 9:17:18 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33DC837B401 for ; Sun, 5 Jan 2003 09:17:15 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 025D243ED8 for ; Sun, 5 Jan 2003 09:17:14 -0800 (PST) (envelope-from mdcki@gmx.net) Received: (qmail 6232 invoked by uid 0); 5 Jan 2003 17:17:12 -0000 Received: from cvpn022.gwdg.de (HELO gmx.net) (134.76.22.22) by mail.gmx.net (mp014-rz3) with SMTP; 5 Jan 2003 17:17:12 -0000 Message-ID: <3E186917.3080606@gmx.net> Date: Sun, 05 Jan 2003 18:19:19 +0100 From: Marcin Dalecki User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021230 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rahul Siddharthan Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Synaptics touchpad extendid support. References: <20030105065921.GA1481@papagena.rockefeller.edu> <3E17E936.8070808@gmx.net> <20030105170213.GA72623@papagena.rockefeller.edu> In-Reply-To: <20030105170213.GA72623@papagena.rockefeller.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Rahul Siddharthan wrote: > Marcin Dalecki wrote: > >>>>Here is my first cut at support for the Synaptics touchpads, > > > >>>2. The pad has 4 buttons; left and right work as before. In between, >>>there are a small up and down button. Now the up button acts as the >>>middle button (button 3?) -- ie I can paste with it. The down button >>>still does nothing. > > >>Well for certain the down button does something in esp. it is posting >>button 4 events. Watch out xev please - you should see it there. > > > Actually, I don't. If I run moused without button options, ie > moused -t auto -d /dev/psm0 > I see the up button but not the down button. If I run either > moused -t auto -d /dev/psm0 -3 > or > moused -t auto -d /dev/psm0 -m 4=2 -m 5=4 > I see neither the up button nor the down button in xev. Please take a look at your dmesg. Here is what I get reported: Synaptics Touchpad: model: 1 firmware ver.: 4.6 rot180: Yes portrait: No sensor: 18 hardware: 47 newABS: Yes capPen: No simpleCmd: Yes geometry: 1 capExtended: Yes capSleep: Yes capFourButtons: Yes capMultiFinger: Yes capPalmDetect: Yes psm0: irq 12 on atkbdc0 psm0: model Synaptics TouchPad, device ID 0 orm0: