Martin Husemann | 1 Nov 2005 08:48
Picon

Re: X.org in NetBSD ?

On Sat, Aug 06, 2005 at 07:03:01AM -0400, Thomas Lecomte wrote:
> Is NetBSD going to use X.org in its future releases ?

This has been proposed, but currently there seems to be no clear consenus.
We have fixed a lot of stuff in xsrc, and failed to feed back lots of the
changes to xfree - this especially is important for non-i386 architectures.

Manually merging those changes into x.org sources is a big job, while the
benefit of switching to x.org is not clear. Yes, I know right now the x.org
server supports some newer PC graphics cards better - but is it just a matter
of time for xfree to pick up those improvements? We don't realy know.

I personally would prefer if we'd sync our stuff with xfree completely first,
and then reconsider the switch.

Martin

George Michaelson | 2 Nov 2005 02:37
Favicon

dualhead screenblank with USB kb/mouse combo doesn't wake up cleanly


I'd hesitate to call this a bug, its probably a quirk of my setup.

I have an IBM X31 with radeon graphix, and a USB keyboard/mouse combo.

when I have dualhead, and screenblank/lock, I can get a situation where
ONLY the on-laptop kb can wake up the laptop screen: the second screen
responds to the USB kb/mouse, but the laptop screen remains blanked
until I press something on it.

Is this X related, or is there some interaction failing to wake
screen on a wscons event?

-G

Scott Presnell | 21 Nov 2005 17:51
Favicon

Dual head with XFree86 4.5.0 nv driver?

Hi Folks,
	I recently obtained a Dell Precision 380 with a NVidia Quatro4 NVS 285
Graphics card.  I can setup a single headed display which works as expected,
but I've not been able to correctly configure XFree86 for a dual headed setup.
Under my trial XF86Config the "LeftScreen" works fine, but  I get nothing on the
"RightScreen" display, the monitor itself presents a message "signal out of range"
(as opposed to "no signal" when not connected).  When not in X, the second monitor
tracks the first (e.g. during boot), but after going in and out of X, th second
monitor studders, or scrolls only some of the time.

I can confirm that the harware combination does work (via winXP configuration).

I understand that the nv driver is not the best for a dual head display.  So I'm
asking: 

1) Does this configuration look correct?

2) I don't see any changes to the nv driver in addition to the 4.5.0 import,
does anybody have patches or hints to guide me?

3) Xorg - does anyone have a dual headed nvidia card working under pkg based Xorg
server?

	Any help would be appreciated.  Thanks.

	- Scott

Hardware:

A single card, with a single connector, which "Y"s into two sub-D analog connectors;
(Continue reading)

zul | 23 Nov 2005 19:52

Unmapped key on my ibook late 2004

Hi list.

I own a late 2004 ibook and I plan to play with NetBSD on it. 
Xfree from  tree seems to work. But I have a few key which are 
not mapped ( ie xev doesn't show any signal when I press the key ).
Note that the key is mapped correctly on wscons ( with keycode 10 ).

The keyboard is a french canadian keyboard.

My Xfree configuration about keyboard is the following

  Option "XkbRules"   "xfree86"
  Option "XkbModel"   "ibook"
  Option "XkbLayout"  "fr"

  Option "Protocol"   "wskbd"
  Option "Device"     "/dev/wskbd"

I try to use xorg too but can't launch it ( error = Fatal server error:
xf86MapVidMem: could not mmap screen [s=80000,a=90000000] (Invalid argument
) even with option OFB_FAKE_VGA_FB.

I would know if someone has already experimented such like trouble ( about
the unmapped key ). I dont't understand really well the X code, if you can
give me some pointer where I must look for a possible solve of this
problem, it will greatly help me.

Thanks for your help.

(Continue reading)

Michael | 23 Nov 2005 20:25
Picon
Favicon

Re: Unmapped key on my ibook late 2004

Hello,

> I own a late 2004 ibook and I plan to play with NetBSD on it. 
> Xfree from  tree seems to work. But I have a few key which are 
> not mapped ( ie xev doesn't show any signal when I press the key ).
> Note that the key is mapped correctly on wscons ( with keycode 10 ).
> 
> The keyboard is a french canadian keyboard.
> 
> My Xfree configuration about keyboard is the following
> 
>   Option "XkbRules"   "xfree86"
>   Option "XkbModel"   "ibook"
>   Option "XkbLayout"  "fr"
> 
>   Option "Protocol"   "wskbd"
>   Option "Device"     "/dev/wskbd"

Well, which version of NetBSD are you using? And you left out the
interesting part here - which keyboard driver do you use? kbd or
keyboard?

> I try to use xorg too but can't launch it ( error = Fatal server
> error:
> xf86MapVidMem: could not mmap screen [s=80000,a=90000000] (Invalid
> argument) even with option OFB_FAKE_VGA_FB.

The address in the error message is NOT the VGA framebuffer so
OFB_FAKE_VGA_FB won't help.
Please check your XFree86 log ( in /var/log/ ) - if XFree messed with
(Continue reading)

zul | 23 Nov 2005 21:45

Re: Unmapped key on my ibook late 2004

On Wed, Nov 23, 2005 at 02:25:02PM -0500, Michael wrote:
> > I own a late 2004 ibook and I plan to play with NetBSD on it. 
> > Xfree from  tree seems to work. But I have a few key which are 
> > not mapped ( ie xev doesn't show any signal when I press the key ).
> > Note that the key is mapped correctly on wscons ( with keycode 10 ).
> > 
> > The keyboard is a french canadian keyboard.
> > 
> > My Xfree configuration about keyboard is the following
> > 
> >   Option "XkbRules"   "xfree86"
> >   Option "XkbModel"   "ibook"
> >   Option "XkbLayout"  "fr"
> > 
> >   Option "Protocol"   "wskbd"
> >   Option "Device"     "/dev/wskbd"
> 
> Well, which version of NetBSD are you using? And you left out the
> interesting part here - which keyboard driver do you use? kbd or
> keyboard?
> 

I have a current-NetBSD ( source fetched two days ago ). I have tried both
driver and I have the same behaviour with the two driver. 

> > I try to use xorg too but can't launch it ( error = Fatal server
> > error:
> > xf86MapVidMem: could not mmap screen [s=80000,a=90000000] (Invalid
> > argument) even with option OFB_FAKE_VGA_FB.
> 
(Continue reading)

Michael | 23 Nov 2005 23:05
Picon
Favicon

Re: Unmapped key on my ibook late 2004

Hello,

> > > I own a late 2004 ibook and I plan to play with NetBSD on it. 
> > > Xfree from  tree seems to work. But I have a few key which are 
> > > not mapped ( ie xev doesn't show any signal when I press the key
> > > ).
> > > Note that the key is mapped correctly on wscons ( with keycode 10
> > > ).
> > > 
> > > The keyboard is a french canadian keyboard.
> > > 
> > > My Xfree configuration about keyboard is the following
> > > 
> > >   Option "XkbRules"   "xfree86"
> > >   Option "XkbModel"   "ibook"
> > >   Option "XkbLayout"  "fr"
> > > 
> > >   Option "Protocol"   "wskbd"
> > >   Option "Device"     "/dev/wskbd"
> > 
> > Well, which version of NetBSD are you using? And you left out the
> > interesting part here - which keyboard driver do you use? kbd or
> > keyboard?
> > 
> 
> I have a current-NetBSD ( source fetched two days ago ). I have tried
> both driver and I have the same behaviour with the two driver. 

Ok.

(Continue reading)

zul | 24 Nov 2005 01:40

Re: Unmapped key on my ibook late 2004

> 
> No use to me, I don't do x.org. You're a bit ambiguous - first you're
> talking about XFree, now all of sudden it's x.org - which problems do
> you have with which Xserver? We did quite a few fixes in NetBSD's own
> XFree ( in xsrc, not the one in pkgsrc although most should have been
> imported into the official xfree86 source ), many of them
> keyboard-related. Please check if your keyboard problem goes away with
> NetBSD's xfree and the kbd driver.

Sorry if I was not clear. The first problem I reported appears on a Xfree
4.5 from xsrc. In a second time, I try to use Xorg from pkgsrc ( to see if
they are some improvement on kbd by chance ) but I expected the
second problem. Don't bother yourself with the second problem : I don't
really want to use xorg, just want to see if it solves my first problem.

Thanks for your help.

Michael | 24 Nov 2005 02:23
Picon
Favicon

Re: Unmapped key on my ibook late 2004

Hello,

> Sorry if I was not clear. The first problem I reported appears on a
> Xfree 4.5 from xsrc. In a second time, I try to use Xorg from pkgsrc (
> to see if they are some improvement on kbd by chance ) but I expected
> the second problem. Don't bother yourself with the second problem : I
> don't really want to use xorg, just want to see if it solves my first
> problem.

Ok.
I have a 2004 iBook G4 too, although the keyboard is 'international' -
more or less US layout - and I don't have any dead keys. 
So - which keys are affected? Does anything change when you use 
Option "XkbModel"   "pc105"
instead? ( make sure you stick to the 'kbd' driver, 'keyboard' has
lots of weird problems with non-PC keyboards ) Yes, that's a blatant lie
but XFree translates everything to PCish scancodes anyway before feeding
it to xkb so the PC keymaps should just work. 

have fun
Michael

Michael | 26 Nov 2005 22:46
Picon
Favicon

Re: Unmapped key on my ibook late 2004

Hello,

> pc105 and kbd fixes the problem for one key but I have still a problem
> for two keys. The first key is not really important : it is the fn key
> ( the key "between" left-ctrl and left-shift ), the  second is the key
> "slash backslash bar" ( cool feature on an unix :)) which is between
> tab and the "1" key.  

The Fn key is handled by the keyboard controller and at least here it
works as expected - it switches to pseudo-numberpad mode. The key left
of 1 and above tab is labeled with a paragraph here and you're right, it
doesn't get translated. I'll have a look, this should be easy to fix.

have fun
Michael


Gmane