Re: [Flightgear-devel] Shift key stuck once pressed

2010-02-17 Thread Melchior FRANZ
JFTR: I confirm recent sporadic keyboard misbehaviour.

m.

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Shift key stuck once pressed

2010-02-17 Thread Viktor Radnai
Hi there,

I couldn't find any reference to osgviewer's keyboard commands. Based on 
some testing with the 'f' key to toggle fullscreen, it does not appear 
to be affected. If you could point me to some key mapping reference, or 
another OSG using app, I would happily do some more testing.

I have rebuilt both simgear and flightgear against the new OSG (and ran 
both ./configure && make clean before rebuilding to be sure). ldd 
confirms this:

e...@valkyrie:~/src/flightgear/flightgear/source$ 
LD_LIBRARY_PATH=/usr/local/lib64 ldd src/Main/fgfs | grep libosg
libosgFX.so.62 => /usr/local/lib64/libosgFX.so.62 (0x7faec0459000)
libosgParticle.so.62 => /usr/local/lib64/libosgParticle.so.62 
(0x7faec0209000)
libosgSim.so.62 => /usr/local/lib64/libosgSim.so.62 (0x7faebff62000)
libosgViewer.so.62 => /usr/local/lib64/libosgViewer.so.62 
(0x7faebfca4000)
libosgGA.so.62 => /usr/local/lib64/libosgGA.so.62 (0x7faebfa46000)
libosgText.so.62 => /usr/local/lib64/libosgText.so.62 
(0x7faebf7f4000)
libosgDB.so.62 => /usr/local/lib64/libosgDB.so.62 (0x7faebf54c000)
libosgUtil.so.62 => /usr/local/lib64/libosgUtil.so.62 
(0x7faebf1b8000)
libosg.so.62 => /usr/local/lib64/libosg.so.62 (0x7faebecfb000)

LD_LIBRARY_PATH is now required to start fgfs, otherwise it would not 
even start up because it wouldn't find the right version of the OSG libs.

Could this be caused by having an older version of another library or an 
out of date keyboard mapping file? (although I think I use the one from 
CVS as well...)

Cheers,
Vik

Csaba Halász wrote:
> On Tue, Feb 16, 2010 at 6:05 PM, Viktor Radnai  
> wrote:
>> Hi there,
>>
>> There's a lot of output and some other information may also be relevant,
>> I'm not sure. The lines from the logs you asked for are here. I added
>> the '//comments' to let you know what I did there:
>>
>> User pressed key 118 with modifiers 0 // this is 'v'
>> User pressed key 86 with modifiers 2  // this is 'V', it works and shift
>> is stuck
>> User pressed key 118 with modifiers 2 // this is 'v' again
>> User pressed key 118 with modifiers 2 // this is 'v' again
>> User pressed key 86 with modifiers 2 //  this is 'V'
>>
>> Hope this helps. Let me know what next.
> 
> Looks like indeed OSG is feeding bad data. Have you tried osgviewer
> for example? Have you recompiled FG using the upgraded OSG?
> 


--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Shift key stuck once pressed

2010-02-16 Thread Csaba Halász
On Tue, Feb 16, 2010 at 6:05 PM, Viktor Radnai  wrote:
> Hi there,
>
> There's a lot of output and some other information may also be relevant,
> I'm not sure. The lines from the logs you asked for are here. I added
> the '//comments' to let you know what I did there:
>
> User pressed key 118 with modifiers 0 // this is 'v'
> User pressed key 86 with modifiers 2  // this is 'V', it works and shift
> is stuck
> User pressed key 118 with modifiers 2 // this is 'v' again
> User pressed key 118 with modifiers 2 // this is 'v' again
> User pressed key 86 with modifiers 2 //  this is 'V'
>
> Hope this helps. Let me know what next.

Looks like indeed OSG is feeding bad data. Have you tried osgviewer
for example? Have you recompiled FG using the upgraded OSG?

-- 
Csaba/Jester

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Shift key stuck once pressed

2010-02-16 Thread Viktor Radnai
Hi there,

There's a lot of output and some other information may also be relevant, 
I'm not sure. The lines from the logs you asked for are here. I added 
the '//comments' to let you know what I did there:

User pressed key 118 with modifiers 0 // this is 'v'
User pressed key 86 with modifiers 2  // this is 'V', it works and shift 
is stuck
User pressed key 118 with modifiers 2 // this is 'v' again
User pressed key 118 with modifiers 2 // this is 'v' again
User pressed key 86 with modifiers 2 //  this is 'V'

Hope this helps. Let me know what next.

Cheers,
Vik


Csaba Halász wrote:
> On Tue, Feb 16, 2010 at 3:10 PM, Viktor Radnai  
> wrote:
>> Hi again,
>>
>> I've built OSG 2.9.6 and rebuilt the latest CVS version of Simgear &
>> Flightgear against it. Unfortunately I still get the problem.
>>
>> (It's fairly certain that I use the latest OSG as my freshly built fgfs
>> won't even start without me setting LD_LIBRARY_PATH -- it would complain
>> about not finding libosgFX.so.62.)
>>
>> What should I try next?
> 
> --log-level=debug
> Among all the other messages, it should give you something like:
> 
> User pressed key 88 with modifiers 2
> User released key 88 with modifiers 3
> User pressed key 120 with modifiers 0
> User released key 120 with modifiers 1
> 
> (that was a X followed by x) The last bit signals a key release.
> 
> The way I read the code, the modifiers are directly coming from OSG.
> You could try another OSG app, such as osgviewer, to see if it has the
> same problem.
> 


--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Shift key stuck once pressed

2010-02-16 Thread Curtis Olson
On Tue, Feb 16, 2010 at 8:57 AM, Jon Stockill wrote:

> Curtis Olson wrote:
> > For what it's worth, the [ ] key bug is also in OSG-2.9.5 (the latest
> > developer release last I checked.)  Bummer to have to open up the
> > property browser to change flap settings on takeoff and landing.  I was
> > hoping this would get fixed quickly because OSG seemed to make frequent
> > releases, but it's been quite some time now since they've rolled up a
> > new release.
>
> It's fixed in 2.9.6, which was released 10th Dec.


ahh, thanks for pointing that out ... time flies I guess!  Fedora just
updated me to gcc-4.4.3 from gcc-4.4.2 so I guess it's time for  FlightGear
et. al. re-compile party. :-)

Curt.
-- 
Curtis Olson: http://baron.flightgear.org/~curt/
--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Shift key stuck once pressed

2010-02-16 Thread Jon Stockill
Curtis Olson wrote:
> For what it's worth, the [ ] key bug is also in OSG-2.9.5 (the latest 
> developer release last I checked.)  Bummer to have to open up the 
> property browser to change flap settings on takeoff and landing.  I was 
> hoping this would get fixed quickly because OSG seemed to make frequent 
> releases, but it's been quite some time now since they've rolled up a 
> new release.

It's fixed in 2.9.6, which was released 10th Dec.

Jon

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Shift key stuck once pressed

2010-02-16 Thread Curtis Olson
For what it's worth, the [ ] key bug is also in OSG-2.9.5 (the latest
developer release last I checked.)  Bummer to have to open up the property
browser to change flap settings on takeoff and landing.  I was hoping this
would get fixed quickly because OSG seemed to make frequent releases, but
it's been quite some time now since they've rolled up a new release.

Curt.


On Tue, Feb 16, 2010 at 8:47 AM, Csaba Halász wrote:

> On Tue, Feb 16, 2010 at 3:10 PM, Viktor Radnai wrote:
> > Hi again,
> >
> > I've built OSG 2.9.6 and rebuilt the latest CVS version of Simgear &
> > Flightgear against it. Unfortunately I still get the problem.
> >
> > (It's fairly certain that I use the latest OSG as my freshly built fgfs
> > won't even start without me setting LD_LIBRARY_PATH -- it would complain
> > about not finding libosgFX.so.62.)
> >
> > What should I try next?
>
> --log-level=debug
> Among all the other messages, it should give you something like:
>
> User pressed key 88 with modifiers 2
> User released key 88 with modifiers 3
> User pressed key 120 with modifiers 0
> User released key 120 with modifiers 1
>
> (that was a X followed by x) The last bit signals a key release.
>
> The way I read the code, the modifiers are directly coming from OSG.
> You could try another OSG app, such as osgviewer, to see if it has the
> same problem.
>
> --
> Csaba/Jester
>
>
> --
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> ___
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>



-- 
Curtis Olson: http://baron.flightgear.org/~curt/
--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Shift key stuck once pressed

2010-02-16 Thread Csaba Halász
On Tue, Feb 16, 2010 at 3:10 PM, Viktor Radnai  wrote:
> Hi again,
>
> I've built OSG 2.9.6 and rebuilt the latest CVS version of Simgear &
> Flightgear against it. Unfortunately I still get the problem.
>
> (It's fairly certain that I use the latest OSG as my freshly built fgfs
> won't even start without me setting LD_LIBRARY_PATH -- it would complain
> about not finding libosgFX.so.62.)
>
> What should I try next?

--log-level=debug
Among all the other messages, it should give you something like:

User pressed key 88 with modifiers 2
User released key 88 with modifiers 3
User pressed key 120 with modifiers 0
User released key 120 with modifiers 1

(that was a X followed by x) The last bit signals a key release.

The way I read the code, the modifiers are directly coming from OSG.
You could try another OSG app, such as osgviewer, to see if it has the
same problem.

-- 
Csaba/Jester

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Shift key stuck once pressed

2010-02-16 Thread Viktor Radnai
Hi again,

I've built OSG 2.9.6 and rebuilt the latest CVS version of Simgear & 
Flightgear against it. Unfortunately I still get the problem.

(It's fairly certain that I use the latest OSG as my freshly built fgfs 
won't even start without me setting LD_LIBRARY_PATH -- it would complain 
about not finding libosgFX.so.62.)

What should I try next?

Cheers,
Vik

Csaba Halász wrote:
> On Mon, Feb 15, 2010 at 11:37 PM, Viktor Radnai  
> wrote:
>> It's version 2.8.2-1 that comes with Debian unstable.
>>
>> Should I try 2.9.6 instead?
> 
> Yes. 2.8.2 reportedly also has the [ ] key bug.
> 


--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Shift key stuck once pressed

2010-02-15 Thread Csaba Halász
On Mon, Feb 15, 2010 at 11:37 PM, Viktor Radnai  wrote:
>
> It's version 2.8.2-1 that comes with Debian unstable.
>
> Should I try 2.9.6 instead?

Yes. 2.8.2 reportedly also has the [ ] key bug.

-- 
Csaba/Jester

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Shift key stuck once pressed

2010-02-15 Thread Viktor Radnai
Hi Csaba,

It's version 2.8.2-1 that comes with Debian unstable.

ii  libopenscenegraph-dev 2.8.2-1 
  3D scenegraph development files
ii  libopenscenegraph56   2.8.2-1 
  low level graphics library for openscenegrap
ii  openscenegraph2.8.2-1 
  3D scenegraph binary files
ii  openscenegraph-doc2.8.2-1 
  3D scenegraph documentation

Should I try 2.9.6 instead?

Cheers,
Vik

Csaba Halász wrote:
> On Mon, Feb 15, 2010 at 10:42 PM, Viktor Radnai  
> wrote:
>> I built the latest Flightgear version out of CVS and I'm using it with
>> the data directory straight out of CVS as well.
> 
> How about OSG? What version do you have?
> 


--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Shift key stuck once pressed

2010-02-15 Thread Csaba Halász
On Mon, Feb 15, 2010 at 10:42 PM, Viktor Radnai  wrote:
>
> I built the latest Flightgear version out of CVS and I'm using it with
> the data directory straight out of CVS as well.

How about OSG? What version do you have?

-- 
Csaba/Jester

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Shift key stuck once pressed

2010-02-15 Thread Viktor Radnai
Hi all,

(Please let me know if it would be more appropriate to report these 
issues at some bug tracker or the flightgear users list)

I built the latest Flightgear version out of CVS and I'm using it with 
the data directory straight out of CVS as well.

I have found a strange problem. When I load any model and then press one 
of the Shift keys, it gets 'stuck'. By this I mean that 
devices/status/keyboard/shift indicates 'true' even after I release the 
key, and all the lowercase keys (v for view, h for HUD, etc) stop 
functioning while uppercase keys (eg. H for HUD brightness) continue to 
work.

And only the shift key does this, all the other modifiers (Ctrl, Alt, 
Super) appear to work correctly. No errors are logged on the console. 
Any ideas how to go about debugging this?

Thanks in advance.

Cheers,
Vik

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel