From owner-freebsd-mobile Tue Jan 15 0:44:58 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from vaio.aviaport.ru (vaio.aviaport.ru [217.69.199.242]) by hub.freebsd.org (Postfix) with ESMTP id 5A1AE37B416 for ; Tue, 15 Jan 2002 00:44:54 -0800 (PST) Received: by vaio.aviaport.ru (Postfix, from userid 1001) id 5BF47E2B1B; Tue, 15 Jan 2002 11:44:48 +0300 (MSK) Date: Tue, 15 Jan 2002 11:44:48 +0300 From: Juriy Goloveshkin To: CHOI Junho Cc: Will Andrews , freebsd-mobile@freebsd.org Subject: Re: vaio's jogdial & moused Message-ID: <20020115084448.GA7051@aviaport.ru> References: <20020114223408.GA4272@aviaport.ru> <20020114180711.L73815@squall.waterspout.com> <20020115055759.GA5224@aviaport.ru> <20020115080639.GA6174@aviaport.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Jan 15, 2002 at 05:28:29PM +0900, CHOI Junho wrote: > > But all I can get is that jogdial button works as button 1. > JG> hmm, looks good. how you tested jogdial under X? > JG> I've tested with xterm and mozilla. > I've tested it with xterm... how? the rigth way is to tape 'enter' unless screen rolls, then use wheel under xterm. > > JG> netscape, for example, requires specific settings for wheel. > JG> anyway, try moused -t jodgial -p /dev/jogdial -d -f > JG> if dz will be -1 or 1 when you roll jogdial, X has to work. > Here is the output: the following event is scrolling down and up > respectively. > > # moused -t jogdial -p /dev/jogdial -d -f > moused: port: /dev/jogdial interface: unknown type: jogdial model: generic > moused: received char 0x72 > moused: assembled full packet (len 1) 72,0,0,0,0,0,0,0 > moused: tv: 1011083091 941081 > moused: flags:80000000 buttons:00000000 obuttons:00000000 > moused: activity : buttons 0x00000000 dx 0 dy 0 dz 1 > moused: received char 0x6c > moused: assembled full packet (len 1) 6c,0,0,0,0,0,0,0 > moused: tv: 1011083093 963377 > moused: flags:80000000 buttons:00000000 obuttons:00000000 > moused: activity : buttons 0x00000000 dx 0 dy 0 dz -1 very good. > JG> what do you receive when you roll jogdial? (cat /dev/jogdial) > # cat /dev/jogdial > lrdu > (scroll up, down, pressing button down and up respectively) It has to work. ;( try to change dz to dx in the patch. is mouse move when you roll? -- bye Juriy Goloveshkin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message