Re: Problem: After exiting X-intel, console command line wraps around

2011-11-21 Thread alupu
> Nov 21, 2011 12:25:29 PM, Dan Nicholson wrote:

On Nov 19, 2011 9:45 PM, Alex wrote:

>> 1. Reboot to command line (as opposed to graphics)
>> 2. startx ~/xterm   # go to X using the intel driver
>> 3. exit # Exit X to command line
>> 4. PROBLEM:  command line wraps around now [to _same_ line]
>>   (i.e., doesn't go to next line if text reaches end, as would normally 
>> happen)

>>  

> What does $COLUMNS say afterwards? Does "stty columns 80" fix it?

Hi Dan,

echo $COLUMNS -> 80  # as expected
'stty columns 80'  FIXES it  # unexpectedly :)

I'm reiterating:
1.  Problem never happened before (up and including 2.16.0)
2.  Still doesn't happen on vesa driver
3.  Any of the "fixes" (reboot, log out/in, TERM=linux, yours) fixes it for 
good,
i.e. the command line wraparound (to new line) never gets broken again no matter
how many times I go to X and back.

Thanks,
-- Alex

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: al...@verizon.net
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: Problem: After exiting X-intel, console command line wraps around

2011-11-21 Thread Dan Nicholson
On Nov 19, 2011 9:45 PM,  wrote:
>
> Hello,
>
> System: (B)LFS, i686-pc-linux-gnu, kernel-3.1.0, Udev-173, Xorg-7.6
>  xorg-server-1.11.2
>  xf86-video-intel-2.17.0
>  xf86-input-keyboard-1.6.0 (not used - for reference)
>  xf86-input-mouse-1.7.1(not used - for reference)
>  xf86-input-evdev-2.6.0
>  xf86-video-vesa-2.3.0
>  xterm-276
> Board: "ASUS P5E-VM HDMI" with Intel G35/ICH9R
> Monitor: Samsung SM2494, Wide (16:9), DVI input (HDMI->DVI cable)
>
> SEQUENCE OF STEPS LEADING TO THE PROBLEM
>
> 1. Reboot to command line (as opposed to graphics)
> 2. startx ~/xterm   # go to X using the intel driver
> 3. exit # Exit X to command line
> 4. PROBLEM:  command line wraps around now
>   (i.e., doesn't go to next line if text reaches end, as would normally
happen)
>
> COMMENTS
>
> A. Unlike the (default) "intel" driver above, the "vesa" driver doesn't
exhibit problem (4)
>
> B. The wrap-around problem doesn't change back to normal unless/until
>  B1.  At (4) one logouts and logs back in
>  B2.  At (4) one types
>TERM=linux  # Strange (see C below)
>
> C. echo $TERM -> "linux" at _all_ times (in command/text mode)
>
> D. echo $TERM -> "xterm-color" (in X)
>
> E. 'setterm -linewrap on|off' doesn't have any effect (like B above,
> i.e., doesn't restore system to normal)

What does $COLUMNS say afterwards? Does "stty columns 80" fix it?

Dan
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

What will happen when the X server doesn't support XKB(XKEYBOARD)

2011-11-21 Thread Adam Q
There is a X server for win32 which doesn't support XKB extension(I
know it's unbelievable).

There is something strange when I try to use the
gnome-keyboard-properties and system-config-keyboard to change the X
server's keyboard layout.

When using gnome-keyboard-properties,the input of keyboard goes crazy
and can't be used.
When using system-config-keyboard the CLI just prints something like
"XKB extension unsupported" and nothing changed including the keyboard
layout.

I tested serveral X server from the latest Xorg server in Arch and
some old Xorg server in RHEL5.6/5.5 also with latest cygwin/X.
All the servers I tested above can change the keyboard using these 2 GUI.

I assume the problem is the lack of XKB extension but without XKB
extension,the client should just send a lot of ChangeKeyboardLayout
requests (and wireshark shows it really sends) to X server,and the
layout should change even without the XKB extension and no crazy
keyboard.

How can I determine where the problem really is?
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: Failed to compile keymap using ptxdist

2011-11-21 Thread Dirk Wallenstein
On Mon, Nov 21, 2011 at 01:43:05PM +0530, Wingston Sharon wrote:
> thing is i cant find xkbcomp in menuconfig or kernelconfig.. i
> searched through.. is there an easy way to identify where the packages
> menu entry would be?
> [Wilson Wingston Sharon]
Sorry, I don't know pengutronix ptxdist BSP.  Best ask at ptxdist.org.

> 
> 
> On Mon, Nov 21, 2011 at 1:30 PM, Dirk Wallenstein  wrote:
> > On Fri, Nov 18, 2011 at 02:09:17PM +0530, Wingston Sharon wrote:
> >>  I'm using the pengutronix ptxdist BSP for the mini2440 and i wanted
> >> to set up an xwindow system.
> >>
> >> but got this error.. when trying to start Xorg.. i have enabled
> >> anxkeymap entry in menuconfig but i cant find a keymap   entry in
> >> eithermenuconfig or kernelconfig.doing a ptxdist clean xorg and then
> >> ptxdist go doesnt help either.. asin ptxdist says that theres nothing
> >> to be done for world.
> >> (==) Logfile: "/var/log/Xorg.0.log", Time: Thu Oct  2 23:41:35
> >> 2008(==) Using config file: "/etc/X11/xorg.conf"(==) Using system
> >> config directory"/usr/lib/X11/xorg.conf.d"sh: /usr/bin/xkbcomp: not 
> >> found(EE) Error compiling keymap (server-0)(EE) XKB: Couldn't compile
> > Sounds like you need to install xkbcomp.
> >
> >> keymap         XKB: Failed to compile keymap                  Keyboard
> >> initialization failed. This could be amissing or incorrect setup of x.
> >>    Fatal server error:    Failed to activate core
> >> devices.-doing a little more digging around i came
> >> across the xorg -configureoption.. this though gives me this little
> >> gem of knowledge..
> >> root@mini2440:~ Xorg -configure
> >> X.Org X Server 1.9.3Release Date: 2010-12-13X Protocol Version 11,
> >> Revision 0Build Operating System:Linux- PtxdistCurrent Operating
> >> System: Linux mini2440 3.1.1-ptx-2011.11.0 #0 PREEMPT Fri NovlKernel
> >> command line: console=ttySAC0,115200 mini2440=6tbc
> >> ip=192.168.1.2:192.16)Build Date: 18 November 2011  11:37:52AM
> >> Current version of pixman: 0.21.2       Before reporting problems,
> >> check http://www.pengutronix.de/software/ptxl       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:
> >> Thu Oct  2 23:53:52 2008List ofvideo drivers:       dummy       v4l
> >>    fbdev            No devices to configure.  Configuration failed.
> >> ---i gues my device is fbdev.. but i'm stumped how i would be
> >> able to getit to configure the xorg.config file.[Wilson Wingston
> >> Sharon]
> >
> > --
> > Cheers,
> >  Dirk
> >

-- 
Cheers,
  Dirk
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: Failed to compile keymap using ptxdist

2011-11-21 Thread Dirk Wallenstein
On Fri, Nov 18, 2011 at 02:09:17PM +0530, Wingston Sharon wrote:
>  I'm using the pengutronix ptxdist BSP for the mini2440 and i wanted
> to set up an xwindow system.
> 
> but got this error.. when trying to start Xorg.. i have enabled
> anxkeymap entry in menuconfig but i cant find a keymap   entry in
> eithermenuconfig or kernelconfig.doing a ptxdist clean xorg and then
> ptxdist go doesnt help either.. asin ptxdist says that theres nothing
> to be done for world.
> (==) Logfile: "/var/log/Xorg.0.log", Time: Thu Oct  2 23:41:35
> 2008(==) Using config file: "/etc/X11/xorg.conf"(==) Using system
> config directory"/usr/lib/X11/xorg.conf.d"sh: /usr/bin/xkbcomp: not found(EE) 
> Error compiling keymap (server-0)(EE) XKB: Couldn't compile
Sounds like you need to install xkbcomp.

> keymap         XKB: Failed to compile keymap                  Keyboard
> initialization failed. This could be amissing or incorrect setup of x.
>    Fatal server error:    Failed to activate core
> devices.-doing a little more digging around i came
> across the xorg -configureoption.. this though gives me this little
> gem of knowledge..
> root@mini2440:~ Xorg -configure
> X.Org X Server 1.9.3Release Date: 2010-12-13X Protocol Version 11,
> Revision 0Build Operating System:Linux- PtxdistCurrent Operating
> System: Linux mini2440 3.1.1-ptx-2011.11.0 #0 PREEMPT Fri NovlKernel
> command line: console=ttySAC0,115200 mini2440=6tbc
> ip=192.168.1.2:192.16)Build Date: 18 November 2011  11:37:52AM
> Current version of pixman: 0.21.2       Before reporting problems,
> check http://www.pengutronix.de/software/ptxl       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:
> Thu Oct  2 23:53:52 2008List ofvideo drivers:       dummy       v4l
>    fbdev            No devices to configure.  Configuration failed.
> ---i gues my device is fbdev.. but i'm stumped how i would be
> able to getit to configure the xorg.config file.[Wilson Wingston
> Sharon]

-- 
Cheers,
  Dirk
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com