Where did option-2 and option-3 go?

Where did option-2 and option-3 go?

Post by Dan Saba » Wed, 13 Oct 1999 04:00:00



Is there a known change in the 2.2.12 kernel that disables option-2 and
option-3 emulation of right and middle mouse clicks? On a lombard
powerbook, these worked with the vmlinux.lombard kernel, but not with
2.2.12. I welcome any suggestions, and I apologize if this has been
covered before (although a Deja News search didn't turn up the answer for
me).

Thanks,

Dan

--
Daniel E. Sabath, M.D., Ph.D.
Scientific Writing Consultants, Inc.
http://www.scientificwriting.com

 
 
 

Where did option-2 and option-3 go?

Post by Andrew Plotki » Wed, 13 Oct 1999 04:00:00



> Is there a known change in the 2.2.12 kernel that disables option-2 and
> option-3 emulation of right and middle mouse clicks? On a lombard
> powerbook, these worked with the vmlinux.lombard kernel, but not with
> 2.2.12.

Option-2 and option-3 are features of the Xpmac X server. Did you change
to XFree86FBDev, or however you spell that?

--Z

"And Aholibamah bare Jeush, and Jaalam, and Korah: these were the
borogoves..."

 
 
 

Where did option-2 and option-3 go?

Post by Tom Wrigh » Wed, 13 Oct 1999 04:00:00



> Option-2 and option-3 are features of the Xpmac X server. Did you change
> to XFree86FBDev, or however you spell that?

What's the difference between XFree86FBDev and Xpmac and how do I change
between them? Do I just have to repoint the symbolic link 'X' in .../X11/bin?

Thanks,

Tom

 
 
 

Where did option-2 and option-3 go?

Post by Jason Haa » Wed, 13 Oct 1999 04:00:00




> > Option-2 and option-3 are features of the Xpmac X server. Did you change
> > to XFree86FBDev, or however you spell that?

> What's the difference between XFree86FBDev and Xpmac and how do I change
> between them? Do I just have to repoint the symbolic link 'X' in .../X11/bin?

XF68FBDev is a "frame buffer" server that works better with machines
that have supported video cards.  The Power Macs in the 7x00-9x00 range,
some G3s, and iMac can use it, along with PBG3s.

Xpmac is designed more to get you video, even if it's not very fast. It
just goes. One of its feautres is the built-in Opt-2 Opt-3 mouse button
emulation. With the FB server, you have to have a 3 btn mouse (I have a
USB PCI card in my 7500 with a USB 3-btn mouse), or assign different
keys via BootX.

It's messy and someone really needs to make a good page about it.
<making a note of that..>

Cheers,


LinuxPPC Inc,  www.linuxppc.com

 
 
 

Where did option-2 and option-3 go?

Post by ndk » Thu, 14 Oct 1999 04:00:00





> > > Option-2 and option-3 are features of the Xpmac X server. Did you change
> > > to XFree86FBDev, or however you spell that?

> > What's the difference between XFree86FBDev and Xpmac and how do I change
> > between them? Do I just have to repoint the symbolic link 'X' in .../X11/bin?

> XF68FBDev is a "frame buffer" server that works better with machines
> that have supported video cards.  The Power Macs in the 7x00-9x00 range,
> some G3s, and iMac can use it, along with PBG3s.

> Xpmac is designed more to get you video, even if it's not very fast. It
> just goes. One of its feautres is the built-in Opt-2 Opt-3 mouse button
> emulation. With the FB server, you have to have a 3 btn mouse (I have a
> USB PCI card in my 7500 with a USB 3-btn mouse), or assign different
> keys via BootX.

> It's messy and someone really needs to make a good page about it.
> <making a note of that..>

> Cheers,


> LinuxPPC Inc,  www.linuxppc.com

I have a different opinion on the subject: Nothing beats Xpmac for speed.

N.Krinis

 
 
 

Where did option-2 and option-3 go?

Post by Shinji Ikar » Thu, 14 Oct 1999 04:00:00


where do i find XPmac then?

it was faster for me then XFree86FBDev ever was (in linuxppc r4)





> > > > Option-2 and option-3 are features of the Xpmac X server. Did you change
> > > > to XFree86FBDev, or however you spell that?

> > > What's the difference between XFree86FBDev and Xpmac and how do I change
> > > between them? Do I just have to repoint the symbolic link 'X' in .../X11/bin?

> > XF68FBDev is a "frame buffer" server that works better with machines
> > that have supported video cards.  The Power Macs in the 7x00-9x00 range,
> > some G3s, and iMac can use it, along with PBG3s.

> > Xpmac is designed more to get you video, even if it's not very fast. It
> > just goes. One of its feautres is the built-in Opt-2 Opt-3 mouse button
> > emulation. With the FB server, you have to have a 3 btn mouse (I have a
> > USB PCI card in my 7500 with a USB 3-btn mouse), or assign different
> > keys via BootX.

> > It's messy and someone really needs to make a good page about it.
> > <making a note of that..>

> > Cheers,


> > LinuxPPC Inc,  www.linuxppc.com

> I have a different opinion on the subject: Nothing beats Xpmac for speed.

> N.Krinis

 
 
 

Where did option-2 and option-3 go?

Post by Jason Haa » Thu, 14 Oct 1999 04:00:00



> where do i find XPmac then?

It's in every Linux/PPC distribution, in /usr/X11R6/bin.

> it was faster for me then XFree86FBDev ever was (in linuxppc r4)


> > I have a different opinion on the subject: Nothing beats Xpmac for speed.

> > N.Krinis

For some machines, it is.  However, XFBDev is much faster on my machine
than Xpmac.  Right now, video is one of the least-happy areas for Linux
on PowerPC.
 
 
 

Where did option-2 and option-3 go?

Post by Michael Schmit » Thu, 14 Oct 1999 04:00:00



> XF68FBDev is a "frame buffer" server that works better with machines
> that have supported video cards.  The Power Macs in the 7x00-9x00 range,
> some G3s, and iMac can use it, along with PBG3s.

> Xpmac is designed more to get you video, even if it's not very fast. It
> just goes. One of its feautres is the built-in Opt-2 Opt-3 mouse button
> emulation. With the FB server, you have to have a 3 btn mouse (I have a
> USB PCI card in my 7500 with a USB 3-btn mouse), or assign different
> keys via BootX.

> It's messy and someone really needs to make a good page about it.
> <making a note of that..>

I think you got it backwards: XF86FBDev works even for cards that have
no specific support code in the kernel (worst case by using the OF
framebuffer
device). Writing a basic framebuffer device for a new card is not much
more than figuring out base address and video memory organization. No
card specific code needed in the X server (for non accelerated X). Xpmac
probably is more like the traditional X servers on Intel: card specific
support code needed in the X server (I haven't seen the Xpmac code
though).

The mouse button thing is right - Xpmac uses mouse button emulation (and
the whole mouse data) in a completely different way, it reads the mouse
via the keyboard driver. The kernel option is adb_buttons=<btn2>,<btn3>
for the busmouse driver used by XF86FBDev. The emulation keycodes can be
determined by showkey, or by adding 8 to the key codes reported by xev.

        Michael

 
 
 

Where did option-2 and option-3 go?

Post by Dan Saba » Thu, 14 Oct 1999 04:00:00




>The mouse button thing is right - Xpmac uses mouse button emulation (and
>the whole mouse data) in a completely different way, it reads the mouse
>via the keyboard driver. The kernel option is adb_buttons=<btn2>,<btn3>
>for the busmouse driver used by XF86FBDev. The emulation keycodes can be
>determined by showkey, or by adding 8 to the key codes reported by xev.

So I got this to work, assigning my option and command keys to buttons 2
and 3. Is there any way to assign buttons 2 and 3 to a key combination?
I'm pessimistic only because showkey only recognizes individual key
presses (i.e., option-2 is read as one key down, then a second key down,
then two key releases).

Dan

--
Daniel E. Sabath, M.D., Ph.D.
Department of Laboratory Medicine
University of Washington
http://depts.washington.edu/labweb/Faculty/Sabath.Dan.html

 
 
 

Where did option-2 and option-3 go?

Post by Dietmar Herrend?rfe » Thu, 14 Oct 1999 04:00:00



> XF68FBDev is a "frame buffer" server that works better with machines
> that have supported video cards.  The Power Macs in the 7x00-9x00 range,
> some G3s, and iMac can use it, along with PBG3s.

> Xpmac is designed more to get you video, even if it's not very fast. It
> just goes. One of its feautres is the built-in Opt-2 Opt-3 mouse button
> emulation. With the FB server, you have to have a 3 btn mouse (I have a
> USB PCI card in my 7500 with a USB 3-btn mouse), or assign different
> keys via BootX.

I think there is much less difference than your comment suggests. Someone
correct me if I am wrong, but both, Xpmac _and_ XF68FBDev work on
frame buffer devices! Xpmac has a somewhat different interface to the
kernel (framebuffer device), labelled "backward compatibility with xpmac"
in the kernel config - don't know about the "backward", plenty of people are
still using Xpmac.

Both X-servers can work with the OpenFirmware driver, which should
work on all Macs, even though it's somewhat slow. I am not sure though
if Xpmac benefits from the "acclerated" frame-buffers in _all_ cases, but
I think it does.

Dietmar

Dietmar

 
 
 

Where did option-2 and option-3 go?

Post by Shinji Ikar » Fri, 15 Oct 1999 04:00:00


Xpmac wont start for me, it comes up with the X cursor and background but
nothing else happens =/


> > XF68FBDev is a "frame buffer" server that works better with machines
> > that have supported video cards.  The Power Macs in the 7x00-9x00 range,
> > some G3s, and iMac can use it, along with PBG3s.

> > Xpmac is designed more to get you video, even if it's not very fast. It
> > just goes. One of its feautres is the built-in Opt-2 Opt-3 mouse button
> > emulation. With the FB server, you have to have a 3 btn mouse (I have a
> > USB PCI card in my 7500 with a USB 3-btn mouse), or assign different
> > keys via BootX.

> I think there is much less difference than your comment suggests. Someone
> correct me if I am wrong, but both, Xpmac _and_ XF68FBDev work on
> frame buffer devices! Xpmac has a somewhat different interface to the
> kernel (framebuffer device), labelled "backward compatibility with xpmac"
> in the kernel config - don't know about the "backward", plenty of people are
> still using Xpmac.

> Both X-servers can work with the OpenFirmware driver, which should
> work on all Macs, even though it's somewhat slow. I am not sure though
> if Xpmac benefits from the "acclerated" frame-buffers in _all_ cases, but
> I think it does.

> Dietmar

> Dietmar

 
 
 

Where did option-2 and option-3 go?

Post by Dietmar Herrend?rfe » Mon, 18 Oct 1999 04:00:00



> Xpmac wont start for me, it comes up with the X cursor and background but
> nothing else happens =/

You probably should try to get to read any error messages, when starting up
X. For this it is very helpful to start X from a console login - for all (most?)
RedHat based Linuxes you'll get this by entering runlevel 3 ("/sbin/init 3").
Then use something like (this is for bash, ksh, ... shells)
"startx > /tmp/log 2>&1 &" to start X, piping all messages to /tmp/log.
Hopefully you get more clues from this, because Xpmac simply just getting
stuck is otherwise somewhat hard to diagnose.

Dietmar