Re: Pointing device acting as joystick (Peter Hutterer please help!)

2010-11-08 Thread Timothy S. Nelson

On Fri, 29 Oct 2010, Peter Hutterer wrote:


On Fri, Oct 29, 2010 at 11:11:00AM +1100, Timothy S. Nelson wrote:

Hi all (and especially Peter Hutterer, Grand Master of Xorg Input).
I have a SpaceNavigator (6-axis pointing device) which I'd like to
use for scrolling (or even better, scrolling and pointing).

My first problem is that xorg (understandably) seems to think the
device is a joystick, because whenever I let go of the device, it
moves the pointer back towards the centre of the screen.


It's most likely the device sending the events. I know the one on the
wiimote nunchuk thingy did the same thing. There isn't much you can do about
filtering these events.

check with evtest for the data coming out of the device, that should give
you a hint.


You're right, thanks.


 [  4442.562] (**) Option Mode Relative
 [  4442.562] (II) 3Dconnexion SpaceNavigator: initialized for absolute axes.

   In other words, it knows that I told it to use relative mode, but
 it goes ahead and uses absolute anyway (or I'm misunderstanding the
 message :) ).

the two messages are unrelated. mode tells the driver how to forward
axis data but it doesn't change the physical device. your device still has
absolute axes, the driver converts that to relative and forwards them.


	Hmm.  So, after examining the evtest data more carefully, I'm 
wondering about the absolute-relative conversion.  For example, here's a grep 
of the relevant events:


Event: time 1289267574.071171, type 3 (Absolute), code 0 (X), value 2
Event: time 1289267574.087156, type 3 (Absolute), code 0 (X), value 4
Event: time 1289267574.119151, type 3 (Absolute), code 0 (X), value 3
Event: time 1289267574.135155, type 3 (Absolute), code 0 (X), value 0
Event: time 1289267574.407151, type 3 (Absolute), code 0 (X), value 2
Event: time 1289267574.423152, type 3 (Absolute), code 0 (X), value 8
Event: time 1289267574.439153, type 3 (Absolute), code 0 (X), value 16
Event: time 1289267574.455151, type 3 (Absolute), code 0 (X), value 22
Event: time 1289267574.471148, type 3 (Absolute), code 0 (X), value 33
Event: time 1289267574.487061, type 3 (Absolute), code 0 (X), value 46
Event: time 1289267574.503151, type 3 (Absolute), code 0 (X), value 72
Event: time 1289267574.519146, type 3 (Absolute), code 0 (X), value 114
Event: time 1289267574.535152, type 3 (Absolute), code 0 (X), value 176
Event: time 1289267574.551146, type 3 (Absolute), code 0 (X), value 246
Event: time 1289267574.567150, type 3 (Absolute), code 0 (X), value 330
Event: time 1289267574.583147, type 3 (Absolute), code 0 (X), value 394
Event: time 1289267574.599150, type 3 (Absolute), code 0 (X), value 418
Event: time 1289267574.615148, type 3 (Absolute), code 0 (X), value 424
Event: time 1289267574.631149, type 3 (Absolute), code 0 (X), value 432
Event: time 1289267574.647150, type 3 (Absolute), code 0 (X), value 435
Event: time 1289267574.679147, type 3 (Absolute), code 0 (X), value 436
Event: time 1289267574.695145, type 3 (Absolute), code 0 (X), value 438
Event: time 1289267574.727124, type 3 (Absolute), code 0 (X), value 439
Event: time 1289267574.759144, type 3 (Absolute), code 0 (X), value 431
Event: time 1289267574.775145, type 3 (Absolute), code 0 (X), value 415
Event: time 1289267574.791147, type 3 (Absolute), code 0 (X), value 303
Event: time 1289267574.807151, type 3 (Absolute), code 0 (X), value 160
Event: time 1289267574.823145, type 3 (Absolute), code 0 (X), value 101
Event: time 1289267574.839149, type 3 (Absolute), code 0 (X), value 52
Event: time 1289267574.855148, type 3 (Absolute), code 0 (X), value 25

	So, it seems to me that when the value increases, the pointer moves 
right, but when the value decreases, it moves left.  What I'd like to see is 
for the pointer to move right while the value is positive, and left while it's 
negative.  Is there an option for that?




Section InputClass
Identifier  SpaceNavigator
MatchProduct SpaceNavigator
#   MatchIsJoystick On
Driver  evdev
Option  Name   3Dconnexion*
Option  Pass   3
Option  Mode   Relative
Option  XRelativeAxisMap  0
Option  YRelativeAxisMap  1
Option  ZRelativeAxisMap  2
Option  RXRelativeAxisMap 3
Option  RYRelativeAxisMap 4
Option  RZRelativeAxisMap 5
Option  ZRelativeAxisButtons off
Option  EmulateWheel On
Option  XAxisMapping 6 7
EndSection



well, of these options only EmulateWheel, Mode and XAxisMapping exist. the
others aren't interpreted by anything.


	Ah, I see.  I stole them from http://www.fox-toolkit.org/ but didn't 
realise that they only work if you have the proprietary driver installed.


Thanks,


-
| Name: Tim Nelson

Re: Dual-head config broke with update to 1.4.2

2010-02-15 Thread Timothy S. Nelson
On Mon, 15 Feb 2010, Martin Cracauer wrote:

 Your best bet is to switch to using xrandr to configure your card:
 http://wiki.debian.org/XStrikeForce/HowToRandR12
 It will let you dynamically switch between single and multi-head.

 No, that doesn't work for me.  I need classic dualhead with separate
 $DISPLAY so that I have separate virtual desktop switching on each.

Hmm.  I haven't read that link, but I use xrandr to configure each 
screen separately, and Enlightenment (E17) still lets me do separate VD 
switching on each screen.  So unless E17 is better than your current WM... :).


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: X11 fullscreen

2010-01-31 Thread Timothy S. Nelson
On Sun, 31 Jan 2010, Clemens Eisserer wrote:

 Man, don't have a job? Is your time worth anything to you?
 And by the way ... I've never read so many *strange* arguments in one
 discussion.

I don't understand your point.  I think it would be great if GTK 
supported all the features he mentioned.

(Incidentally, I think I heard someone mention that GTK3 would use the 
same primitives for drawing on the screen and on the printer, so that might be 
a step in the right direction).

:)


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Configuring FireMV 2400

2010-01-21 Thread Timothy S. Nelson
On Thu, 21 Jan 2010, Bill Conner wrote:

  I've been fighting with get a ATI FireMV 2400 PCIE for several days now and 
 I've reached a dead end. I was hoping someone has already resolved my issue 
 or can point me in the right direction.

I have a 2400 MV with only two working heads.  I've been following the 
issue moderately closely.  However, I'm no expert on xorg in general.

 Environment details
 Ubuntu 9.10
 2.6.31-18-generic
 xorg-server 2:1.6.4-2ubuntu4.1

 The 2400 is a quad-head board with two M24 chips appearing on separate PCI 
 slots. In my case 0:5:0:0(primary) and 0:6:0:0

 The server has no issue in auto detect mode with the primary M24 and it's 
 dual heads perfectly. The problem is getting the server to recognize the 
 second M24. It sees the card but it fails to load:

The problem is, when xorg was refactored to use/create libpciaccess, 
no-one was testing for support of multiple graphics chips, and it got broken 
along the way.  This has now been fixed, but only in version 1.7.  You will 
need to upgrade to version 1.7 before it will work.

I haven't personally gotten around to installing 1.7 myself.  I plan 
to do this in May.  I'm on Fedora 11, and I'd have to upgrade to Fedora 12 (or 
go through a lot of hassles recompiling half the stuff on my system).  I'm 
waiting for F13.  A quick skim of ubuntu-related information reveals that 
you're on Karmic, which is the latest release.  I was unable to determine what 
version of xorg is going to be used in Lucid.  That's the advantage of Fedora; 
it's already had an xorg 1.7-using version out for months.  It seems to me 
your options are:
1.  Stick with what you have as dual-head
2.  Recompile xorg yourself, which I regard as a vast undertaking (but I'm
no xorg expert)
3.  Start using Fedora, the most up-to-date distro around ;)

Of course, I could've missed another option there.

Note, also, that I don't promise that xorg 1.7 will work, but I do 
know that if you ask questions here, the experts will say upgrade to 1.7.

HTH,


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: PCIe and PCI dual cards?

2009-11-28 Thread Timothy S. Nelson

On Thu, 26 Nov 2009, Jaguar Finch wrote:


I'm trying to get a PCIe and a PCI video card to work together for a 
multi-monitor setup but
I'm getting (EE) No devices detected.  Fatal server error:  no screens found.

This is under Ubunutu 9.04 and both are nvidia cards. According to the log, 
both cards are


[snip]


X.Org X Server 1.6.0
Release Date: 2009-2-25


	Here's your problem.  Dual screen card support was broken for quite a 
while.  Basically, 1.6.x doesn't support them, except by accident.  I'm a 
Fedora user, and it completely failed for me for Fedora versions maybe 9-11. 
Xorg 1.7 (used in Fedora 12) is supposed to support multiple graphics chips. 
So here's what I see your options to be:

1.  Upgrade to xorg 1.7 and see if it helps you (you may have to upgrade
your whole OS to get the xorg upgrade)
2.  Downgrade to one of the versions that used to work (may not support
modern screen cards).
3.  Get a screen card that supports dual monitors on one chip.  Be warned
that these must be on one chip on the card; I have a screen card that
supports 4 monitors, but on Fedora 11 I can only use 2 because the
problem is that there are two chips on the card, and each supports two
monitors, but xorg 1.6 only supports one chip at a time (except under
special circumstances).

HTH,


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-

-END GEEK CODE BLOCK-
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: xinput: Do I want xorg.conf? Do I want hal? Do I want udev?

2009-11-26 Thread Timothy S. Nelson
On Fri, 27 Nov 2009, Peter Hutterer wrote:

 On Thu, Nov 26, 2009 at 09:34:38AM -0500, Tom Horsley wrote:
 On Thu, 26 Nov 2009 09:19:52 -0500
 Tom Horsley wrote:

 That might be the very thing! There is even a fedora package
 for it. I'm off to crank it up and see if I can get it
 to work they way I want. Thanks!

 Unfortunately, just like gnome-mouse-properties, there is
 nothing in this tool that will handle the button mapping or
 drag lock changes I want :-(.

 As with much of input, we've been in a transitional phase for the last years
 to turn from the old static system into a more flexible and dynamic one. X
 is on the bottom of the stack, so any change needs to be reflected in the
 upper layers - and they're not necessarily there yet.

 We're slowly catching up, but not as quick as some would like us and many
 options are still not exposed - drag lock being one example.

 So here's the cardhouse:
 As you said, the single xorg.conf file isn't really suited to evdev (or the
 other way round). The input system is now aimed at per-device, per-session
 (runtime) configuration. Static configuration is possible, but discouraged.
 You can dop keys into the HAL configuration, but that'll go away eventually
 with udev.

Does this mean that he should be configuring udev?  I've written my 
own udev files (for usb storage) before; I found it annoying, but possible.

[For the record, as far as udev was concerned, I just had to make another file 
to go in /etc/udev/rules.d/ ].

HTH,


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: 4 head, dual firemv 2400 radeon support

2009-11-18 Thread Timothy S. Nelson
On Wed, 18 Nov 2009, Donald Kayser wrote:

 Hello,

 Has anyone been able to configure the 4-head supported, dual FireMV
 2400 chip video card. It is my understanding there is a bridge on the
 card between two 2400 chips. I am able to get only the first pair of
 monitors working, whenever I try to get just the second pair of
 monitors working, the system freezes, and the Xorg.0.log gets binary
 data written to it and is not useful. The xorg.conf file below is a
 failing case, needless to say it seems, all four monitors will not
 work either.


 dpkg --list reports:
 i  xserver-xorg 1:7.3+20   the
 X.Org X server
 ii  xserver-xorg-video-radeon1:6.9.0-1+lenny4
 X.Org X server -- ATI Radeon display driver

I have the same hardware on F11, and the same problem.

 rpm -qa | grep xorg-x11 | grep server
xorg-x11-server-utils-7.4-7.1.fc11.x86_64
xorg-x11-server-Xorg-1.6.1.901-1.fc11.x86_64
xorg-x11-server-common-1.6.1.901-1.fc11.x86_64

rpm -qa | grep xorg-x11 | grep radeon
rpm -qa | grep xorg-x11 | grep ati
xorg-x11-drv-ati-6.12.2-14.fc11.x86_64

You can see I have slightly more recent versions than you do.  My 
understanding is that Fedora 12 has a version of xorg that supports this 
hardware (I think they refer to it as version 1.7), but I haven't tried it 
myself.  I'm kind of busy at the moment, and will most likely wait for 
Fedora 13.


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: dual screen setup

2009-10-09 Thread Timothy S. Nelson
On Fri, 9 Oct 2009, Leszek Koltunski wrote:

 I use a dual screen setup and the Gnome DE. My problem is that if I operate 
 on the 2nd screen,
 *some* ( not all! ) of
 windows which are supposed to appear on it appear on the 1st ( primary ) 
 screen instead.

I can confirm that I get similar results using enlightenment. 
However, I can drag windows from one screen to another, so it's not usually 
the end of the world.

Leszek, a suggestion.  Is it always the same applications that have 
this problem?  If so, it may be a fault either in the app itself, or in its 
interactions with everything else.

Anyway, HTH,


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: radeon, screen option

2009-10-08 Thread Timothy S. Nelson
On Fri, 9 Oct 2009, Csillag Kristof wrote:

 Dear all,

 Now that my individual monitors are operational, I would like to create
 the following setup:

Monitor 1Monitor 2Monitor 3
(Connected to  (Connected to  (Connected to
FireMV 2200)  RS690M) FireMV2200)

 If I don't do anything special, the two monitors connected to the same
 card wind up as one big desktop, and I can put the third monitor RightOf
 or LeftOf them. But I want to put it between them!

 How do I do this?

I have a FireMV 2400, but am only using 2 outputs.  I'm hoping that 
Fedora 12 will make using all 4 outputs possible.  Anyway, here's a script 
that gets run when I start my computer:



# Yes, we set the same things multiple times, but strangely, removing
# stuff will make this break.
xrandr --output DVI-0 --mode 1024x768 --crtc 1
xrandr --output DVI-1 --auto --left-of DVI-0 --mode 800x600 --crtc 0
xrandr --output DVI-0 --mode 1280x1024
xrandr --output DVI-0 --mode 1024x768 --crtc 1
xrandr --output DVI-1 --auto --left-of DVI-0 --mode 800x600 --crtc 0



My script above does the following:
1.  Try to set things the way I want (fails for some reason)
2.  Completely change the screen mode of DVI-0
3.  Try to set things up the way I want (works this time)

I'm wondering, if you play with xrandr long enough, will you get 
something useful?

Say you want monitors 1, 2, and 3 in that order.  I'd be at least 
thinking about ending with a sequence that went something like this:

1.  Put monitor 3 to the left of monitor 1 (or maybe above)
2.  Put monitor 2 to the right of monitor 1 (the right-of slot should be
free now that monitor 3 isn't in it)
3.  *Now* put monitor 3 to the right of monitor 2

I figure there's a bug in xrandr somewhere since my init script has to 
run some bits twice, but I've worked around it.  Maybe you can too.

HTH :)


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: examples of using xinput?

2009-09-20 Thread Timothy S. Nelson
On Sun, 20 Sep 2009, Peter Hutterer wrote:

 Excerpts from Tom Horsley's message of Sun Sep 20 09:52:17 +1000 2009:
 OK, I've been trying to understand the official new way to configure
 my trackball for draglock and to shuffle buttons around to my liking,
 and while I can tell from web searches that the xinput tool may indeed
 be the way to do this, I am left completely bumfuzzled by how the heck
 I am supposed to use it. The man page is utterly cryptic and many hours of
 web searches have turned up zero examples that might give me a hint.
 Or if the xinput tool isn't really what I want, what is the tool I want?

 xinput may be used to configure devices at runtime, yes. It's like a swiss
 army knife though and while quite universally applicable for this not the
 best user interface. Ideally, the desktop environments will configure this
 stuff soon but until then:

 xinput --set-int-prop device name property name format value value
 

As someone who doesn't use a desktop environment, but does use Fedora, 
I dump my xinput commands into

/etc/X11/xinit/xinitrc.d/46-SpaceNavigator-settings.sh

...because I have a SpaceNavigator pointing device.

I also have a USB keyboard that keeps dropping out on me, so I have a 
special scrip tfor configuring that too.

HTH,


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: desired keyboard behavior

2009-09-17 Thread Timothy S. Nelson
What about this one:

http://www.cherrycorp.com/english/keyboards/POS/SPOS_Rows_Columns/index.htm

I don't own one or anything, or even know whether it works with xorg 
(I presume it does), but it looks like it should be customisable to do just 
about anything.  I can't answer the rest of your questions, so I'll leave them 
to others.

HTH,


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: LeftOf in monitor section is not completely honored

2009-09-15 Thread Timothy S. Nelson
On Mon, 14 Sep 2009, Csillag Kristof wrote:

 Hi all,

 I am trying to set up a dual-head configuration.
 (Triple-head actually, but let's forget that for a moment.)

Sounds like exactly what I've been doing.  I'm currently using a 
FireMV 2400 hooked to three screens, only two of which work.

 The monitor connected to DVI-0 should be on the right,
 and the monitor connected to DVI-1 should be on the left.

 Therefore, I have added Option LeftOf DVI-0
 to the monitor section belonging to DVI-1.

 However, DVI-1 still shows up on the right of DVI-0.

 If I execute xrandr --output DVI-1 --left-of DVI-0,
 it goes where I want it to be, but initially it appears
 of the right.

 I have tried replacing LeftOf with RightOf
 (maybe there is some kind of inversion),
 and I have also tried putting the position information
 to the monitor section belonging to DVI-0
 (setting the position RightOf / LeftOf DVI-1),
 but the results were the same: DVI-1 on the right.

 I have also tried to give the position using the Position
 option, but that does not seem to work, either.

 However, the option is not completely ignored,
 because if I omit it, the two monitors start
 up in sime kind of clone mode, but if the option
 is present, they appear side-be-side
 - but the order is wrong.

 Am I doing something wrong? (I have attached the xorg.conf.)
 Or is this a bug?

Ha!  That was simpler than mine.  I'm using Fedora 11, and I created a 
file called /etc/X11/xinit/xinitrc.d/45-FireMV-settings.sh and here's what it 
contained:

# Yes, we set the same things multiple times, but strangely, removing
# stuff will make this break.
xrandr --output DVI-0 --mode 1024x768 --crtc 1
xrandr --output DVI-1 --auto --left-of DVI-0 --mode 800x600 --crtc 0
xrandr --output DVI-0 --mode 1280x1024
xrandr --output DVI-0 --mode 1024x768 --crtc 1
xrandr --output DVI-1 --auto --left-of DVI-0 --mode 800x600 --crtc 0

So I don't know what's going on.  IIRC, it was simpler when DVI-0 was 
the big screen, but I decided I wanted them the other way around.

 Since it can be worked around by executing
 xrandr manually, this is not as bad
 as the twitching image problem, or the random pixels problem,
 or the lack of support for the 3rd and 4th head of the FireMV 2400,
 but still, it is annoying.

Also, the VGA Arbiter code (required for multiple GPUs) is (from what 
I can tell on the list) accepted into HEAD, and should be in the next xorg 
release (unless it was in the last one).  This has happened within maybe the 
last 2 weeks, so it won't be in the distros yet.  I know Fedora 12 has this 
fairly high on their priority list, so I'm expecting it to be in that. 
Because 2 was important for me, but the third can wait, I'll be waiting for 
Fedora 12 before trying the third head.

HTH,


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Would SLI speed-up Xinerama?

2009-09-11 Thread Timothy S. Nelson
On Fri, 11 Sep 2009, Sascha wrote:

 Hello List!

 I currently use a triple-head setup with 2 nvidia-cards:

What version of xorg?

I'm doing dual head on xorg 1.6.1/7.4 (Fedora 11), but with one 
graphics card.  The graphics card has 4 outputs, but I can't seem to get the 
second pair to work.  I'm under the impression that they effectively operate 
as a separate card, but I'm unsure of that.

HTH,


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Space Navigator 3D

2009-08-31 Thread Timothy S. Nelson
On Mon, 31 Aug 2009, Peter Hutterer wrote:

  Have we considered the possibility of mapping things using an xkb-like
 set of config files?  Or even integrating it into xkb?  I note that we
 have:
 -Something that maps a physical axis (scroll wheel) to a virtual set of
  buttons

 I'm not sure if this is the right solution.
 The reason why scroll wheels are mapped to buttons 4-7 is that the core
 protocol didn't allow a third and forth axis. XInput sort-of addressed this
 but had a different focus and remained essentially unused bar tablet support.

 now we have the infrastructure (mostly) in place so a better approach would
 be to fix applications to interpret additional axes as the user wants. this
 can then be on a per-application basis, etc.

Ok, sounds good, except I don't see apps doing this :-/.  What's their 
incentive, when everyone's scroll wheel already works?  Anyway, I'll ask on 
maybe the gtk channel or something.

 -Something that maps virtual buttons to physical buttons

 mapping virtual buttons to physical buttons - we already have that, albeit
 the other way round. you can map physical button 1 to logical button 3
 (think left-handed mouse) why would we need a mapping virtual button to
 physical buttons?

Sorry, my mistake -- I only meant to imply that virtual and physical 
could be hooked up in different ways, not that we could go from virtual to 
physical.

 -Things that invert and swap axes

 a simple axis mapping similar to the button mapping should suffice, and a
 couple of additional flags for inversion.

  I don't see any reason why these couldn't be done in an xkb-like
 fashion, although in the second and third cases, these might need to be
 implemented in the driver instead of via xmodmap (assuming I understand
 xmodmap correctly).

 xkb is overkill for fairly simple functionality like this. implementing it
 in the driver leads to duplications. which isn't that great either. ideally,
 this would be supported in the DIX.

I know people who think xkb is overkill for keyboard maps :).  I guess 
my thoguht was that we could make xkb an all-in-one solution for input 
mapping, so that we could map buttons to keypresses and vice versa.  Also if 
the mouse chording 3-button emulation were generalised we could allow for 
chording keyboards :).  But I guess I should stop getting carried away :).

I agree about not implementing it in the driver, though.

  Am I correct in understanding that, in this diagram:

 http://computerstuff.jdarx.info/content/keystroke-flow-xorg

  ...the xmodmap program also affects the dark green box (possibly at the
 point where the word compiles appears)?

 (this page is currently down so I'm looking at the google cache)
 anyway, xmodmap tweaks the core tables, not the XKB ones. so it can be
 place squarely into the white (== unchartered territory) area of the Server
 box. interactions between core tables and XKB is tricky at the best of times
 and even undefined for a few cases.

Ok, does it work like this?

-   xkb writes to core tables, ignoring xmodmap
-   xmodmap writes to core tables, ignoring xkb
-   client reads from core tables

If there's something that explains all this that I should read, please 
let me know.

HTH,


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


OT: Re: HD-Video Hardwar Acceleration?

2009-08-31 Thread Timothy S. Nelson
On Mon, 31 Aug 2009, Arjen van der Meijden wrote:

 On 29-8-2009 12:53, Harald Braumann wrote:
 I for one care less about 3D acceleration. But it's very frustrating
 that it's still not possible to watch full HD videos on Linux.

 This is slightly off-topic, but I had to comment on your statement.

I know I cured some audio stutters by getting the kernel-rt package 
(kernel with realtime patches) from the CCRMA project (I'm on Fedora).  Maybe 
this would work with Video too.

:)


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Space Navigator 3D

2009-08-30 Thread Timothy S. Nelson
Hi all.

I have a pointing device with 5 axes (a Space Navigator).  Does anyone 
know how I can assign one of them to be a scroll wheel?

:)


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Space Navigator 3D

2009-08-30 Thread Timothy S. Nelson
On Mon, 31 Aug 2009, Peter Hutterer wrote:

 On Mon, Aug 31, 2009 at 09:13:01AM +1000, Timothy S. Nelson wrote:
 I have a pointing device with 5 axes (a Space Navigator).  Does anyone
 know how I can assign one of them to be a scroll wheel?

 provided that the space navigator gives you x/y axes and you're running
 evdev from master, enable wheel emulation on button 0.

Hmm.  Like this?

Device '3Dconnexion SpaceNavigator':
Device Enabled (133):   1
Evdev Reopen Attempts (266):10
Evdev Axis Inversion (267): 0, 0
Evdev Axis Calibration (268):
Evdev Axes Swap (269):  0
Evdev Middle Button Emulation (270):2
Evdev Middle Button Timeout (271):  50
Evdev Wheel Emulation (272):1
Evdev Wheel Emulation Axes (273):   0, 0, 4, 5
Evdev Wheel Emulation Inertia (274):0
Evdev Wheel Emulation Timeout (275):200
Evdev Wheel Emulation Button (276): 0
Evdev Drag Lock Buttons (277):  0

Because I still get mouse movements when I do that.

 tis turns every motion into a scroll wheel event.

Hmm.  But I want to map two of the axes to mouse movements, and two to 
scroll.  Can that be done?

 for horizontal scrolling, you need to set the XAxisMapping option, it is
 unset by default. set it to 6/7 for left/right scrolling.

Ok, I haven't tried this yet, but use this tip when I get the 
scrolling working.

:)


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Space Navigator 3D

2009-08-30 Thread Timothy S. Nelson
On Mon, 31 Aug 2009, Peter Hutterer wrote:

 On Mon, Aug 31, 2009 at 01:11:54PM +1000, Timothy S. Nelson wrote:
 On Mon, Aug 31, 2009 at 09:13:01AM +1000, Timothy S. Nelson wrote:
 I have a pointing device with 5 axes (a Space Navigator).  Does anyone
 know how I can assign one of them to be a scroll wheel?

 provided that the space navigator gives you x/y axes and you're running
 evdev from master, enable wheel emulation on button 0.

  Hmm.  Like this?

 Device '3Dconnexion SpaceNavigator':
  Device Enabled (133):   1
  Evdev Reopen Attempts (266):10
  Evdev Axis Inversion (267): 0, 0
  Evdev Axis Calibration (268):
  Evdev Axes Swap (269):  0
  Evdev Middle Button Emulation (270):2
  Evdev Middle Button Timeout (271):  50
  Evdev Wheel Emulation (272):1
  Evdev Wheel Emulation Axes (273):   0, 0, 4, 5
  Evdev Wheel Emulation Inertia (274):0
  Evdev Wheel Emulation Timeout (275):200
  Evdev Wheel Emulation Button (276): 0
  Evdev Drag Lock Buttons (277):  0

  Because I still get mouse movements when I do that.

 set the inertia to 10 or something like that. not sure how you ended up with
 0, that's not a valid value.

Sorry, that's my fault.  I tried it both ways.

 other than that it looks alright. remember that
 you need evdev from git, evdev 2.2 doesn't allow it.

Ok, that explains it then.  I'm on 2.2.4.

 tis turns every motion into a scroll wheel event.

  Hmm.  But I want to map two of the axes to mouse movements, and two to
 scroll.  Can that be done?

 not yet, sorry. scroll handling is a bit weird, due to the requirement that
 it is converted into button events before posting. the driver has the wheel
 axes hardcoded. it'd be possible to add a configuration option for that but
 you'd have to write the patch yourself. it's not that hard, but it requires
 lots of testing to make sure it doesn't interfere with other button and axis
 mappings.

Have we considered the possibility of mapping things using an xkb-like 
set of config files?  Or even integrating it into xkb?  I note that we have:
-   Something that maps virtual buttons to physical buttons
-   Something that maps a physical axis (scroll wheel) to a virtual set of
buttons
-   Things that invert and swap axes

I don't see any reason why these couldn't be done in an xkb-like 
fashion, although in the second and third cases, these might need to be 
implemented in the driver instead of via xmodmap (assuming I understand 
xmodmap correctly).

Am I correct in understanding that, in this diagram:

http://computerstuff.jdarx.info/content/keystroke-flow-xorg

...the xmodmap program also affects the dark green box (possibly at 
the point where the word compiles appears)?

Thanks,


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Need help with setting up Infocus Screenplay 5000 projector

2009-07-29 Thread Timothy S. Nelson
On Wed, 29 Jul 2009, john smith wrote:

 I have had an Infocus Screenplay 5000 for a few weeks now, and its a
 great projector. After first getting it and the 30 ft DVI cable I
 bought for it, I hooked it straight up to my graphics card and after a
 few hours of tweaking xorg.conf I got it working nicely. However,I
 ended up migrating to Sabayon (a Gentoo based distro). I saved my

I'm not the right person to answer the question, but I can tell you 
two things they'll ask for.
1.  What version of xorg were you previously using, and what are you using
now?
2.  Where's your Xorg.0.log (or whatever the file is).

HTH,


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: XI2 = moving target?

2009-07-26 Thread Timothy S. Nelson
On Sat, 25 Jul 2009, Jim Gettys wrote:

 For curiosity's sake, have people actually seen keyboards with more than 248 
 keys?
 - Jim

No, but I had this idea, see, of having one keyboard for each hand, 
and merging their events together at the kernel level.

:)


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: XI2 = moving target?

2009-07-25 Thread Timothy S. Nelson
On Sat, 25 Jul 2009, Peter Hutterer wrote:

 - When will the XI2 API be finalized?

 I think it is now, though I have to have a final glossover on monday to make
 sure I didn't forget anything.

Quick question: What's the maximum number of keys per keyboard it 
supports?

Thanks :)


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: add a second keyboard with a different mapping

2009-07-21 Thread Timothy S. Nelson
On Tue, 21 Jul 2009, Peter Hutterer wrote:

  The next thing was to test running the keyboards with different maps.
 Now that configuration I'm after is like this:

 Keyboard 1: Standard us+pc105+inet setup
 Keyboard 2: 4 layouts; us-intl, el (Greek), il (Hebrew), and a custom layout
  that lets me type various mathematical symbols

  So, the configuration of keyboard 1 is automatically the way I want it,
 so I don't have to do anything to it except ensure that I don't mess it
 up.  For keyboard 2, I have a script that gets run when I log in to
 XWindows that runs this command:

 setxkbmap -device deviceid 'layouts'

 nipick: not XWindows, its your desktop environment. gnome-settings-daemon
 will set the configuration earlier chosen but apply it to all devices and
 hence overwrite your xorg.conf/HAL configuration.
 KDE doesn't overwrite the keyboard config by default, so this is less of an
 issue.

I'm not 100% sure you're right here.  I don't appear to be using 
either of these.  My .xsession contains the following line:

${HOME}/local/bin/devicefinder --set

...where devicefinder is a script I wrote.

[snip]

Thanks for snipped advice.  I may be in a position to act on some of 
it at some point in the future.

:)


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: getting all kbd events

2009-07-08 Thread Timothy S. Nelson

On Wed, 8 Jul 2009, Nokan Emiro wrote:


Hi,
The next simple program tries to subscribe to all keyboard events, and print a 
short
message on all received ones.  I expected to see the short message on all 
keypresses, for
example if I press 'a', 'b', ..., '1', '2', ...,  or 'F1', 'F2', etc.  But this 
program
prints messages only on Alt, Control, Shift, and Windows keys.  How can I 
change the
XkbSelectEvents's parameters to be messaged on all keypresses?


	I'm not an X programmer, but doesn't xev do this already?  And if so, 
couldn't you just look at the xev source?


:)


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-

-END GEEK CODE BLOCK-
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

/usr/share/X11/locale/*/Compose

2009-06-23 Thread Timothy S. Nelson
Who's in charge of that?  It doesn't seem to be xkeyboard-config; is 
it xorg?  I ask because we now have a keyboard map for the APL programming 
language, and it will need its own special compose sequences for the Unicode 
APL symbols.

Thanks,


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: /usr/share/X11/locale/*/Compose

2009-06-23 Thread Timothy S. Nelson
On Tue, 23 Jun 2009, Timothy S. Nelson wrote:

   Who's in charge of that?  It doesn't seem to be xkeyboard-config; is
 it xorg?  I ask because we now have a keyboard map for the APL programming
 language, and it will need its own special compose sequences for the Unicode
 APL symbols.

Nevermind, and sorry to have bothered everyone -- I found that I asked 
this question on IRC some time ago.  For the mailing list archive, it went 
like this:

[20:25] wayland76 Who's responsible for the xorg locale files?
[20:25] wayland76 eg. /usr/share/X11/locale/en_US.UTF-8/Compose on my Fedora 
system?
[20:27] wayland76 ie. is it the xorg people, or xkeyboard-config, or someone 
else?
[20:29] jcristau wayland76: xorg
[20:30] wayland76 ok, thanks
[20:31] jcristau (it's the 'Lib/Xlib (data)' component in bugzilla)
[20:31] wayland76 Is it possible to make those files go include otherfile 
?
[20:31] wayland76 ok, thanks,
[20:32] wayland76 Or rather, let me ask a more general question -- If I want
  to add combinations that do other symbols, is there a way to do that other
  than editing the locale Compose file?
[20:34] jcristau include otherfile works, yes
[20:34] jcristau and for local changes you can edit ~/.XCompose
[20:36] jcristau ('include %L' in ~/.XCompose will give you the standards
  combinations, and then you can add yours)
[20:36] jcristau standard, even

Sorry again...

-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Having multiple X users on the console

2009-06-21 Thread Timothy S. Nelson
On Sun, 21 Jun 2009, Angel Tsankov wrote:

 I need to set up a workstation for use by two (or more) users.  Each of them
 will have their own account and will use X with some desktop environment --
 most probably Xfce -- to do their work.  In this scenario, will it be
 possible for any of them to use his/her account on the console without
 having other users end their X sessions?

If I understand correctly, you could do this:
1.  Ensure you set up something like xlock for each user
2.  Teach them how to use Ctrl+Alt+F7 (or whatever) to go to the different
virtual consoles.
3.  Either put a gdm/xdm/whatever on a few different consoles, or teach
them to use  startx -- :1   as their X starting command line


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Keystroke flow in X.org

2009-06-12 Thread Timothy S. Nelson
On Fri, 12 Jun 2009, Peter Hutterer wrote:

 On Fri, Jun 12, 2009 at 02:36:44PM +1000, Timothy S. Nelson wrote:
  Here's a rather mundane article with a good diagram that I just wrote.
 It should probably be linked to from http://www.x.org/wiki/XKB but since I
 don' tappear to have access to do that, I'm posting the link on the mailing
 list instead.

 http://computerstuff.jdarx.info/content/keystroke-flow-xorg

  Also, if people with some clues about xkb could review it, that would
 be great.

 First - I appreciate that you wrote up some documentation and that you're
 putting it online. However, in this case I'm really sorry to say this is
 seriously wrong (and also a bit confusing).

Yay clueful people!  :).  I'm reordering your post so that my replies 
make sense.

 Those are just the points I can find in a quick 3 minute read. Please take
 this offline, I shudder at the thought of the collatoral damage of digg,
 reddit or slashdot picking this up. In years from now we'll still have to
 correct people that that's now how it works at all.

I agree that (after reading what you said) it needs correction. 
However, I hope to have a corrected version on-line after I've gotten some 
further clarification.

 - the files in xkb/* are only read by xkbcomp to compile the original
  description, key events don't go that path at all

Ok, I think this can be incorporated into the diagram with no 
problems.

 Here's a few quick points:
 - drivers don't have anything to do with XKB anymore (in git anyway). XKB is
  purely handled in the server now.
 - the client still receives keycodes andn not keysyms, the KC-KS
  translation is done in the client after retreiving the keymap table (which
  is usually done before the events arrive anyway).
 - scancodes == keycodes
 - what you (I think) refer to are symbolic names for some keys used in the
  xkb description files. they have nothing to do with anything other than
  help mapping during the key table creation


So, here's my impression of how it works based on what you've just 
said.

-   When a keystroke comes from the hardware, it gets picked up and
translated by the xmodmap map from a key/scan code into a symbol.
-   The translation table is generated from xkb/*.
-   The compose/locale stuff happens after the xmodmap translation table.

Am I at all right?

:)


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Keystroke flow in X.org

2009-06-12 Thread Timothy S. Nelson
On Fri, 12 Jun 2009, Timothy S. Nelson wrote:

   So, here's my impression of how it works based on what you've just 
 said.

[snip]

Yuck.  Let me do some more reworking.

-   When a keystroke comes from the hardware, it gets picked up and sent
to the client (ie. application/program). 
-   The application program (calling on ???) translates it into a
character using the following process:
-   Translates from a key/scan code into a symbol using the xmodmap 
map
-   The translation table is generated from xkb/*.
-   The compose/locale stuff happens after the xmodmap translation 
table.

Is that better?

:)


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Keystroke flow in X.org

2009-06-12 Thread Timothy S. Nelson
On Fri, 12 Jun 2009, Peter Hutterer wrote:

 yeah, close enough, except that in most cases xmodmap has little influence

Ok.  s/xmodmap/XKB/

 if the physical keyboard changes, the server sends out a keymap notify event
 and the cycle starts at 2 again. Hopefully, anyway, otherwise the amount of

Is this if the keyboard device changes from eg. the first to the 
second, or is it if you unplug your keyboard and plug in another?

Anyway, I've revised the article and diagram; if you could have 
another skim over, and let me know if there are any other obvious problems, 
that would be great.

Here's the link again:

http://computerstuff.jdarx.info/content/keystroke-flow-xorg

:)


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Keystroke flow in X.org

2009-06-11 Thread Timothy S. Nelson
Here's a rather mundane article with a good diagram that I just wrote. 
It should probably be linked to from http://www.x.org/wiki/XKB but since I 
don' tappear to have access to do that, I'm posting the link on the mailing 
list instead.

http://computerstuff.jdarx.info/content/keystroke-flow-xorg

Also, if people with some clues about xkb could review it, that would 
be great.

:)


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Switching between virtual desktops

2009-06-02 Thread Timothy S. Nelson
This may not be helpful at the moment, but should you decide that you 
need to go down the multiple displays route eventually, there exist screen 
cards that do 4 VGA ports on the one card.  Unfortunately the only one I know 
of requires PCI Express, but I'm fairly sure there are others.

HTH,

-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


New APL keyboard maps

2009-05-14 Thread Timothy S. Nelson
	Hi all.  I've been interacting with the APL community to create 
keyboard maps for their special-purpose keyboards (I don't use APL myself, 
though).  I've created some keyboard maps that, while probably not perfect, 
are probably a step ahead of the complete lack of support that we currently 
have for APL.


My question is, is this the correct place to send them?

[Note for those not familiar with APL: APL is a programming language that uses 
a large number of symbols to represent its syntax; it's semi-mathematical, and 
allows a very concise representation of an algorithm.  It has regularly had 
specialised keyboards provided for it in the past. 
http://en.wikipedia.org/wiki/APL_(programming_language) ]


	Oh, incidentally, has there been any thought given to making xkbprint 
support unicode?


Keyboard map follows:



// APL Keyboard Layouts

// This file supports:
// -The Sharp APL for Unix (SAX) layout
// -The IBM APL2 layout
// -The Manugistics APL*PLUS II (Version 5.1, 1993) keyboard layout

// Unicode APL table: http://aplwiki.com/UnicodeAplTable
// ...and another: http://publibfp.boulder.ibm.com/epubs/pdf/h2110611.pdf 
(appendix A)
// Generic Unicode stuff: 
http://www.fileformat.info/info/unicode/category/index.htm

// Tim Nelson (this file's creator) says:

// This file doesn't deal with all the combining stuff -- I'm not an APL 
programmer,
// and am not quite sure what's needed here.  However, it may be possible to 
get this
// working with dead keys and the like.  Patches gratefully accepted.

// Some of the shift-key assignments may differ from the APL tradition.  If
// that's not considered acceptable, it should be possible to remap the 
// shift keys.  I have striven, however, to ensure that the use of shift keys

// in these maps is at least self-consistent.

// I'm assuming that this will be used with another keyboard layout (ie. for 
// your language), with a special shift key to use these maps.


partial alphanumeric_keys modifier_keys 
xkb_symbols common {

name[Group1]= APL Keyboard Symbols: Common;

key AE01 { [diaeresis   ] };
key AE02 { [U00AF   ] }; // ¯ -- Macron
key AE03 { [less] };
key AE04 { [U2264   ] }; // â?¤ -- Less-than Or Equal To
key AE05 { [equal   ] };
key AE06 { [U2265   ] }; // â?¥ -- Greater-than Or Equal To
key AE07 { [greater ] };
key AE08 { [U2260   ] }; // â?  -- Not Equal To
key AE09 { [U2228   ] }; // â?¨ -- Logical Or
key AE10 { [U2227   ] }; // â?§ -- Logical And

// Q
key AD01 { [question] };
// W
key AD02 { [U2375   ] }; // â?µ -- APL Functional Symbol 
Omega
// E
key AD03 { [U220A   ] }; // â?? -- Small Element Of
// R
key AD04 { [U2374   ] }; // â?´ -- APL Functional Symbol 
Rho
// T
key AD05 { [asciitilde  ] };
// Y
key AD06 { [U2191   ] }; // â?? -- Upwards Arrow
// U
key AD07 { [U2193   ] }; // â?? -- Downwards Arrow
// I
key AD08 { [U2373   ] }; // â?³ -- APL Functional Symbol Iota
// O
key AD09 { [U25CB   ] }; // â?? -- White Circle
// P
key AD10 { [U22C6   ] }; // â?? -- Should this be a plain 
asterisk, or the star operator???
// [
key AD11 { [U2190   ] }; // â?? -- Leftwards Arrow

// A
key AC01 { [U237A   ] }; // â?º -- APL Functional Symbol Alpha
// S
key AC02 { [U2308   ] }; // â?? -- Left Ceiling
// D
key AC03 { [U230A   ] }; // â?? -- Left Floor
// F
key AC04 { [underscore  ] };
// G
key AC05 { [U2207   ] }; // â?? -- Nabla
// H
key AC06 { [U2206   ] }; // â?? -- Increment
// J
key AC07 { [U2218   ] }; // â?? -- Ring Operator
// K
key AC08 { [apostrophe ] };
// L
key AC09 { [U2395   ] }; // â?? -- APL Functional Symbol Quad

// Z
key AB01 { [U2282   ] }; // â?? -- Subset Of
// X
key AB02 { [U2283   ] }; // â?? -- Superset Of
// C
key AB03 { [U2229   ] }; // â?© -- Intersection
// V
key AB04 { [U222A   ] }; // â?ª -- Union
// B
key AB05 { [U22A5   ] }; // â?¥ -- Up Tack
// N
key AB06 { [U22A4   ] }; // â?¤ -- Down Tack
// M
key AB07 { [U007C   ] }; // | -- Vertical Line
};

// Keys common to a number of keyboards that allow normal language usage 
alongside APL
partial alphanumeric_keys modifier_keys 
xkb_symbols unified {

name[Group1]= APL Keyboard Symbols: Unified Layout;

include apl(common)

// `

Re: modify keyboard layout

2009-05-10 Thread Timothy S. Nelson
On Sat, 9 May 2009, mobidyc wrote:

 Hello,

 all I want to do is to redefine the keyboard mapping for the first row.

 I tried to modify the /usr/share/X11/xkb/symbols/fr file like this:
[snip]

How did you go about ensuring that you had the correct keyboard map 
loaded?  Have you tried setxkbmap with the -print option?

(Btw, I'm no expert, and I haven't been able to find documentation 
either).

HTH,


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Xorg and multiple graphics cards

2009-04-28 Thread Timothy S. Nelson
On Tue, 28 Apr 2009, Tiago Vignatti wrote:

 Alex Deucher escreveu:
 On Tue, Apr 28, 2009 at 3:07 PM, martin f krafft madd...@madduck.net wrote:
 Your best bet short term is to use xserver 1.4.x.
 Any idea how long that short term is? 1.4.x works fine for me at
 the moment, but I'd rather not build on that basis for indeterminate
 time...

 Hard to say, depends on when the work gets done.  The universal fix
 would be to get int10 and vga stuff working with libpciaccess, which
 on Linux at least, requires a kernel vga arbiter.  Not sure about
 other OSs.  radeon specific fixes would be to fix the non-int10 post
 code in the radeon driver or switch to the kms/mm enabled radeon drm
 and fix up any multi-card issues that may be lurking there.

 Yeah, I'm trying to solve part of this.

 Martin, if you want to help in some way, test this patch and see if it
 works, please:

http://lists.x.org/archives/xorg-devel/2009-April/000794.html

Can I point out that 
https://bugs.freedesktop.org/show_bug.cgi?id=20816 and its dependencies are 
the appropriate bugs for the issue?  Not that I want to discourage mailing 
list comment, or anything, but merely to point any relevant people at what's 
already been done, and what hasn't.

I'm hoping, sometime within the next month or two, to be temporarily 
in a position where I can at least do some testing on this; I'll have access 
to a dual NVidia/SiS system that I can install random stuff on.

Thanks all for your time...


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Multi-card Xorg

2009-03-24 Thread Timothy S. Nelson
Hi all.  For those of you who are interested in having Xorg work with 
multiple graphics cards, I've created a bugzilla bug to track the issue.

https://bugs.freedesktop.org/show_bug.cgi?id=20816

If the issue is something you want to keep an eye on, feel free to add 
yourself to the CC field on the bug.

HTH,


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: libpciaccess patch for multiple videocards/int 10 problem

2009-03-13 Thread Timothy S. Nelson
On Thu, 12 Mar 2009, Francisco Jerez wrote:

 Hi,

 Timothy S. Nelson wayl...@wayland.id.au writes:

  Hi all.  There's a patch that's attached to bugzilla bug 18160 that
 fixes the problem specified in that bug; now that it prevents xorg from
 hanging the machine, other bugs have become visible, but the patch attached 
 to
 comment 30 seems to solve the problem.  How do we go about getting this
 applied to libpciaccess?

 https://bugs.freedesktop.org/show_bug.cgi?id=18160

  :)


 If I've understood correctly, the patch at comment 30 mainly ensures
 that the device has been pci_device_enable()'ed when the ROM is about
 to be read. That looks like something the X server should care about
 (in fact it already does, see xserver commit
 ea4ec9e9983e25d94a3edf8a77ed2ad1db193284).

Great!  I think the patch fixes some other things, but I didn't write 
the patch, so I'm not going to worry too much about them.

The patch, while it prevents my machine from locking up with two video 
cards (and I presume the other xserver commit does the same), didn't actually 
make either of them work; the only way I was able to obtain a working config 
was to comment out one of the screens.  That's why I believe there's still 
work to be done on it.  I had two screens working with a pre-libpciaccess 
version of xorg, but now they don't work.

Thanks,


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


libpciaccess patch for multiple videocards/int 10 problem

2009-03-04 Thread Timothy S. Nelson
Hi all.  There's a patch that's attached to bugzilla bug 18160 that 
fixes the problem specified in that bug; now that it prevents xorg from 
hanging the machine, other bugs have become visible, but the patch attached to 
comment 30 seems to solve the problem.  How do we go about getting this 
applied to libpciaccess?

https://bugs.freedesktop.org/show_bug.cgi?id=18160

:)


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: int10 using vbios from wrong card

2009-02-21 Thread Timothy S. Nelson
On Fri, 20 Feb 2009, Steven J Newbury wrote:

 While trying to figure out where my VGA-SCART video output has
 disappeared, I noticed my secondary Radeon 9250 is being booted with the
 VBIOS from the primary X800 as can be seen in the attached log.  Older
 logs from working versions seem to show the same thing, so that's not
 necessarily caused my immediate problem of no modes on VGA-0...

Does it look like it's at all related to my final comments on this bug 
here?

https://bugs.freedesktop.org/show_bug.cgi?id=18160

Looking at my log, it doesn't mention the BIOS either way, but I'm 
using the nv and sis drivers, not radeon, so that may have something to do 
with it.

You may or may not find some of the information attached to that bug 
report helpful.

HTH.

:)


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Multihead Displays

2008-12-31 Thread Timothy S. Nelson

On Wed, 31 Dec 2008, Jason Gauthier wrote:


So, I?m left wondering how to accomplish this task.  Any insight is helpful!


	I'm under the impression that this problem can be solved at both the X 
level and the Window Manager level.  If no solutions are forthcoming at the X 
level, you may want to investigate a Window Manager that will co-ordinate 
these for you.


I'm no expert on any of this, though, so YMMV.

HTH some.


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-

-END GEEK CODE BLOCK-
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: multi head failsafe

2008-12-17 Thread Timothy S. Nelson
On Wed, 17 Dec 2008, Carl Karsten wrote:

 I have 3 video cards:

 01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 
 400]
 (rev b2)
 02:08.0 VGA compatible controller: ATI Technologies Inc Rage 128 PP/PRO TMDS
 [Xpert 128]
 02:09.0 VGA compatible controller: ATI Technologies Inc 210888GX [Mach64 GX]
 (rev 03)

 I am pretty sure I had all 3 working at one point, then I did 'something' and
 lost one.  last night I installed ubntu ibex and now I can only get the nvidia
 one to work.  I use the extra monitors for IRC and doc files, so I don't need
 much in the way of graphics.

 What I am hoping for is something very basic and low end that will help me
 verify that cables are plugged in, boards are still working, etc.  And in the
 future, help me and others troubleshoot.

If it locks or doesn't run at that point, you're probably running into 
this bug:

https://bugs.freedesktop.org/show_bug.cgi?id=18160

(I noticed your log finishes with initializing int10, which is what 
mine finished with when I ran into this bug).

The cause is that, at a certain point, Xorg got rid of its inbuilt PCI 
handling code, and has been relying on the kernel PCI code.  Unfortunately, 
there's been a bug in the Xorg code, and a bug in the kernel as well.  Either 
Alex Villacis-Lasso (excuse lack of diacritics) will fix it, or my book on PCI 
architecture will arrive, and I'll give it a go myself (but it may be beyond 
me).

The workaround is to downgrade to an older version of Xorg.  I forget 
what version worked, but IIRC, it worked in Fedora 8, but not Fedora 9 (I 
went straight from Fedora 6 to Fedora 10 myself, so I'm unsure).

HTH some.


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: new Xorg + btnx

2008-12-11 Thread Timothy S. Nelson
On Fri, 12 Dec 2008, Peter Hutterer wrote:

 On Thu, Dec 11, 2008 at 12:38:31PM -0800, William Tracy wrote:
 http://ubersoft.net/void-initrand/misc-wherein-i-curse-ubuntu-needlessly-breaking-something-useful

 1. I don't use btnx, so I don't share his problem. Ask him for details, not 
 me.
 2. The root of the problem seems related to changes in Xorg, so I
 thought I'd pass it along. If it actually has more to do with a Linux
 kernel change, my apologies for spamming the list.

 Short summary: btnx is a program for remapping extra mouse buttons to
 different actions. A recent Xorg release (supposedly related to the
 introduction of evdev) seems to break the API it depends on.

 Now, if there's just a *different* API available now for accessing raw
 mouse input, and the user-visible applications just need to catch up,
 then fine. However, if this information is simply no longer available
 to clients, then this list should at least be aware of the issue.

 How exactly does btnx work?
 The above rant is more whining than actually explaining what is broken and I
 don't have the time to distill whatever little information there is.

I don't use it, but I had a quick flick round, and the developer says:

 It seems that the kernel input event pipes can no longer be read.

Found that here: http://www.ollisalonen.com/btnx/

Am I right in guessing that it's just what the original poster would 
call A different API?

HTH,


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: X Hangs at Initializing int10

2008-12-02 Thread Timothy S. Nelson
On Tue, 2 Dec 2008, Matthieu Herrb wrote:

 Timothy S. Nelson wrote:
 Hi all. I'm upgrading from Fedora 6 to Fedora 10. I did a clean
 install of Fedora 10 and then, as the default X config didn't work, I
 copied across my old xorg.conf file. Naturally I had to comment out a
 few lines in that file.

 Now a word on my setup. I have two screens, one hanging off an
 nVidia card, and the other on a SiS card. Both of them work just fine
 under Fedora 6.

 Most of the setups with 2 graphics cards are broken in xserver 1.5.x.

Thanks! (no sarcasm; now I can stop banging my head against a wall :) 
).

 Anyway, after I did the steps above, I found it didn't work, so I've
 been trying one screen at a time. The SiS one works (unless I install
 the proprietary nVidia driver, so I removed that). The nVidia one
 doesn't work. I've tried the nv driver, the fbdev driver, and the vesa
 driver, all of which failed, although not always with the same error
 message. As nv is the one that worked with Fedora 6, that's the way I'd
 prefer to go (because it should be possible), but I'm open to other
 solutions.

 When I try to use the nv driver, the console appears to be hung, but
 it's still possible to ssh into the machine. The last entry in the log
 read as follows:

 

 (II) Loading /usr/lib/xorg/modules//libint10.so
 (II) Module int10: vendor=X.Org Foundation
 compiled for 1.5.3, module version = 1.0.0
 ABI class: X.Org Video Driver, version 4.1
 (II) NV(0): Initializing int10


 Did you remove the SiS card, or make it inactive in the BIOS in some way
 before trying that, or is it still there as primary card?

Nah, still there as primary.  All I was trying to do was ensure my 
configuration wasn't causing the problem :).

 This is generally caused by the pci_device_read_rom() function in
 libpciaccess returning wrong data, probably because ROM and memory
 access to the secondary card were not enabled correctly before accessing
 it.

In my case, this probably goes through to 
pci_device_linux_sysfs_read_rom as I'm on a Linux box.  This brings me to some 
questions:
1.  Is there a function I could call in libpciaccess that would output
stuff somewhere useful, preferably Xorg.0.log or whatever? 
2.  Where's the code that enables ROM and memory access?  How do I tell
when they're enabled properly.

Feel free to refer me to doco for either of the above.

 The int10 code is then looping endlessly in a maze of 0xff.

I presume the ff is a parameter passed to the int10 call?

Thanks again :).


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: [EMAIL PROTECTED]| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: X Hangs at Initializing int10

2008-12-02 Thread Timothy S. Nelson
On Tue, 2 Dec 2008, Timothy S. Nelson wrote:

 1.Is there a function I could call in libpciaccess that would output
   stuff somewhere useful, preferably Xorg.0.log or whatever?

Or, alternatively, where do those writes to stderr go?

:)

-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: [EMAIL PROTECTED]| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-
-END GEEK CODE BLOCK-

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


X Hangs at Initializing int10

2008-12-01 Thread Timothy S. Nelson
	Hi all. I'm upgrading from Fedora 6 to Fedora 10. I did a clean 
install of Fedora 10 and then, as the default X config didn't work, I copied 
across my old xorg.conf file. Naturally I had to comment out a few lines in 
that file.


	Now a word on my setup. I have two screens, one hanging off an nVidia 
card, and the other on a SiS card. Both of them work just fine under Fedora 6.


	Anyway, after I did the steps above, I found it didn't work, so I've 
been trying one screen at a time. The SiS one works (unless I install the 
proprietary nVidia driver, so I removed that). The nVidia one doesn't work. 
I've tried the nv driver, the fbdev driver, and the vesa driver, all of which 
failed, although not always with the same error message. As nv is the one that 
worked with Fedora 6, that's the way I'd prefer to go (because it should be 
possible), but I'm open to other solutions.


	When I try to use the nv driver, the console appears to be hung, but 
it's still possible to ssh into the machine. The last entry in the log read as 
follows:




(II) Loading /usr/lib/xorg/modules//libint10.so
(II) Module int10: vendor=X.Org Foundation
compiled for 1.5.3, module version = 1.0.0
ABI class: X.Org Video Driver, version 4.1
(II) NV(0): Initializing int10



	The last line you see is the last line in the file. I tried the 
NoInt10 option, and then it seemed to get a lot further, but eventually failed 
with Fatal server error: AddScreen/ScreenInit failed for driver 0.  The vesa 
driver failed at the same point.


I'll attach my xorg.conf and my X.0.log; any help would be appreciated.

I've also asked this question at:
http://forums.fedoraforum.org/showthread.php?t=206005

...but haven't received an answer, so thought I'd ask here too.

Thanks all...


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: [EMAIL PROTECTED]| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+++ PGP-+++ R(+) !tv b++ DI D G+ e++ h! y-

-END GEEK CODE BLOCK-

X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.18-92.1.10.el5 i686 
Current Operating System: Linux rhys.nelson.org.au 2.6.27.5-117.fc10.i686 #1 
SMP Tue Nov 18 12:19:59 EST 2008 i686
Build Date: 16 November 2008  08:29:02PM
Build ID: xorg-x11-server 1.5.3-5.fc10 
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Mon Dec  1 13:04:10 2008
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout single head configuration
(**) |--Screen Screen0 (0)
(**) |   |--Monitor Monitor0
(**) |   |--Device Videocard0
(**) |--Input Device Mouse0
(**) |--Input Device Keyboard0
(**) Option AIGLX on
(==) Automatically adding devices
(==) Automatically enabling devices
(==) Including the default font path catalogue:/etc/X11/fontpath.d,built-ins.
(**) FontPath set to:
unix/:7100,
catalogue:/etc/X11/fontpath.d,
built-ins
(**) ModulePath set to /usr/lib/xorg/modules
(**) Extension Composite is enabled
(WW) AllowEmptyInput is on, devices using drivers 'kbd' or 'mouse' will be 
disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Loader magic: 0x81f4400
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 4.1
X.Org XInput driver : 2.1
X.Org Server Extension : 1.1
X.Org Font Renderer : 0.6
(II) Loader running on linux
(--) using VT number 7

(--) PCI: ([EMAIL PROTECTED]:0:0) nVidia Corporation NV17 [GeForce4 MX 440] rev 
163, Mem @ 0xf000/0, 0xe000/0, 0xe800/0, BIOS @ 0x/131072
(--) PCI:*([EMAIL PROTECTED]:2:0) Silicon Integrated Systems [SiS] 86C326 
5598/6326 rev 11, Mem @ 0xf400/0, 0xf300/0, I/O @ 0x9800/0, BIOS @ 
0x/65536
(II) System resource ranges:
[0] -1  0   0x - 0x (0x1) MX[B]
[1] -1  0   0x000f - 0x000f (0x1) MX[B]
[2] -1  0   0x000c - 0x000e (0x3) MX[B]
[3] -1  0   0x - 0x0009 (0xa) MX[B]
[4] -1  0   0x - 0x (0x1) IX[B]
[5] -1  0   0x - 0x (0x1) IX[B]
(II) extmod will be loaded. This was enabled by default and also specified in 
the config file.
(II) dbe