LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 10-22-2002, 06:54 PM   #1
skoorbj
LQ Newbie
 
Registered: Oct 2002
Posts: 22

Rep: Reputation: 15
jog dial


ANyone know if you can configure Linux to use the jogdial as a 3rd mouse button - don't care about being able to scroll, just need that middle mouse button!!!

When I installed RH 8.0 and then 7.3 (see earlier post!!!) it seemed to think that I had a 3 button PS/2 mouse installed, so thought clicking the jogdail might have worked. Have tried the imps/2 protocol in XF86Config-4, to no avail.... :-(

Any clues??

Thanks.
 
Old 10-24-2002, 11:31 AM   #2
vladkrack
Member
 
Registered: Oct 2002
Location: Curitiba - Brazil
Distribution: Conectiva
Posts: 334

Rep: Reputation: 30
Hi skoorbj,

You can try to put these lines in your XF86Config-4 file:

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/mouse"
Option "Protocol" " "IMPS/2"
Option "Emulate 3Buttons" "yes"
Option "ZAxisMapping" "4 5"

Last edited by vladkrack; 10-24-2002 at 11:37 AM.
 
Old 10-24-2002, 12:15 PM   #3
skoorbj
LQ Newbie
 
Registered: Oct 2002
Posts: 22

Original Poster
Rep: Reputation: 15
does this work for you???

I tried setting the mouse protocol to "imps/2" in
XF86Config-4 with no joy - if it worked surely I wouldn't
need to emulate 3 buttons???

Cheers,

Jon.
 
Old 10-24-2002, 01:18 PM   #4
vladkrack
Member
 
Registered: Oct 2002
Location: Curitiba - Brazil
Distribution: Conectiva
Posts: 334

Rep: Reputation: 30
Yes it works for me , as a button, and as a scroll;

try to set in mouseconfig tehe protocol Microsoft IntelliMouse (PS/2)

I read somewhere (can't remember now) that some mouse types don't work right with this module, but the problem was only the scroll.

see ya
 
Old 10-25-2002, 04:43 AM   #5
skoorbj
LQ Newbie
 
Registered: Oct 2002
Posts: 22

Original Poster
Rep: Reputation: 15
Unhappy weird!

Hi VladKrack

Here's the relevant sections of my XF86Config file (RH8 has dropped the -4)?? Unless I'm looking in the wrong place!

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

So first off I was really suprised to see 2 entries. If I change the protocol entry for Mouse0 to "IMPS/2" as you suggested and reboot then the mouse moves really erratically - jumping all over the place!!!

Any suggestions? Anyone?


Jon.
 
Old 10-26-2002, 11:15 AM   #6
vladkrack
Member
 
Registered: Oct 2002
Location: Curitiba - Brazil
Distribution: Conectiva
Posts: 334

Rep: Reputation: 30
Hi,

At least for what I know, XF86Config was a configuration file for XFree86 v3, and XF86Config-4 are for XFree86-4.x.x., but if is it working for you, it's a wise option to keep it ...

About your two entries "Mouse0" and "Mouse1" they are usualy used to have 2 mouses at same screen, but, if you want to know what of then your system is using, look at the first section, it will be something like:

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"

Have you already tried # mouseconfig?
 
Old 10-26-2002, 11:38 AM   #7
skoorbj
LQ Newbie
 
Registered: Oct 2002
Posts: 22

Original Poster
Rep: Reputation: 15
got it working....read on

Hi,

Thanks Vladkrack, though in the end the solution was not
editing XF86Config, but enabling a kernel module (sonypi) that
did the trick.

Running RH7.3 with kernel 2.4.18-3

First I put the following two lines into /etc/modules.conf

options sonypi minor=61
alias char-major-10-61 sonypi

rebooted

then running lsmod shows "sonypi" in the list of loaded modules

then you need to download sonypid from someplace on the net
(alcove?) I forget where - p.s. various people have hacked
sonypid to make the jogdial do what ever they want it to.

Compile sonypid and run it with sonypid & then you can use the
jogdial as a middle mouse button.

What a pain in the arse!!!!

Yours,

Jon.
 
Old 10-28-2002, 08:03 AM   #8
beyond_2000
Member
 
Registered: Oct 2002
Location: Guangdong,Chinese
Distribution: Redhat AS 3.0 + FC1
Posts: 72

Rep: Reputation: 15
My computer is GR390, but the sound card doesn't work properly, when I play a song, the sound pause and again. How can I make it works well?
 
Old 10-28-2002, 09:45 AM   #9
skoorbj
LQ Newbie
 
Registered: Oct 2002
Posts: 22

Original Poster
Rep: Reputation: 15
Wink not sure this has anything to do with jogdial

Hi,

I have read that using ALSA is the way to get sound configured,
though I don't have any personal experience of this.

It seems like getting acpi to work may also be a prerequisite.

Yours,

Jon.
 
Old 10-28-2002, 05:08 PM   #10
beyond_2000
Member
 
Registered: Oct 2002
Location: Guangdong,Chinese
Distribution: Redhat AS 3.0 + FC1
Posts: 72

Rep: Reputation: 15
ACPI does not work properly. When I try to configure it in system control center, it says ACPI maybe have start-up, but not work properly.
SuSE8.1 have installed ALSA and OSS together, should I must reinstall by myself?
 
Old 10-28-2002, 08:17 PM   #11
aliensub
Member
 
Registered: Apr 2002
Location: Denmark
Distribution: OS X
Posts: 306

Rep: Reputation: 30
Quote:
Originally posted by vladkrack
Hi,

At least for what I know, XF86Config was a configuration file for XFree86 v3, and XF86Config-4 are for XFree86-4.x.x., but if is it working for you, it's a wise option to keep it ...
When x-server 4.x starts it first look for a XF86Config and if that doesnīt exist it looks for an XF86Config-4 (or the other way round, canīt remember....)
 
Old 10-29-2002, 06:03 AM   #12
skoorbj
LQ Newbie
 
Registered: Oct 2002
Posts: 22

Original Poster
Rep: Reputation: 15
Smile you're right

Jon

Last edited by skoorbj; 10-29-2002 at 06:04 AM.
 
Old 06-30-2005, 03:23 AM   #13
bence8810
Member
 
Registered: Nov 2004
Location: Budapest, Hungary
Distribution: Debian
Posts: 110

Rep: Reputation: 15
Hi

I just found this thread, and I would like to achieve exactly the opposit that you guys achieved. I have a Vaio, and the 2.6.11 kernel. For me, I didnt need to set anything, just load the sonypi module, and scrolling and jogdial press works as a middle mouse button. Now, when I want to use some jogdial-app, like rsjog, or sjog, and when I press the jogdial, the menu pops up, and also it acts as a middle mouse button. So two things at the same time. I think that from 2.6.9 kernel, the middle mouse button and scroll is by default. So now, something is already listening to the jogdial, and when I load the optional application, rsjog, it will also listen to it. So when I press it, it will execute two things. Really annoying. Any ways to disable the default middle mouse clicking from the jogdial?

Thanks

Bence
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dial-In PPP dial-in server/ Cable-modem & LAN / Setting up "dannyboyOnline" dannyboy259 Linux - Networking 2 01-12-2007 12:40 AM
Dial-Up Dovid Linux - Newbie 1 09-24-2004 02:09 PM
Cousin having trouble with dial up in kppp with SBC dial, please help Fear58 Linux - Networking 1 07-03-2004 09:11 PM
Setting-up dial-in & dial-up server in same machine sebastianjustin Linux - Networking 1 09-20-2003 02:35 PM
jog-dial woes! skoorbj Linux - Hardware 0 10-25-2002 05:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 08:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration