Re: kdb and mouse are disabled on HP Pavilion dv5210us by X.org 7.4.1 (7.2-R)

2009-05-19 Thread Saifi Khan
On Mon, 18 May 2009, Jin Guojun[VFF] wrote:

 Hi Saifi,
 
 Xorg 7.4_1 seems having some issues with dbus and hald.
 The --Option  AllowEmptyInput false -- is the must, but dbus and 
 hald
 can cause system useless.
 
 On this laptop, I only run dbus and hald once. Then I disabled both of them
 and X window works well.
 
 On a couple of Desktop machines (4-core Phenom and Intel P4+506) with GeForce
 graphic cards, without
 dbus and halt, X Window run fine except no F-key works. Enable and run dbus
 and hald, All F-key work,
 but output device is almost dead.
 
 Top shows system is completely idle, but typing will not show on any xterm
 till the mouse is moving.
 
 For example, run TOP on a xterm, the entire window system has no thing change.
 The clock of on the upper right
 corner of the TOP xterm is stopped (actually is running, but no output to
 display). Once mouse is moving,
 the clock and top section are updated. Once mouse stops moving, then no thing
 is change (no output anywhere).
 
 Similar to the typing. Typing a command will not show on the Xterm still mouse
 is moved. About less than 5%
 of time, I can type and see the output right way. Without dbus and hald
 running, there is no such problem.
 
 Has anyone encountered the same problem?
 
 The other main difference between this xorg.conf and previous on is the
 Module section.
 This xorg.conf, generated by X -configure, has -- Load  dri2 where previous
 one has -- Load  GLcore. I am not sure if this is an issue.
 
 -Jin
 

Hi Jin:

Yes, i've encountered the same symptom on both my servers:
 . Intel P4 + ATI Radeon
 . AMD64X2  + nVidia

So, what i do is move the mouse once and then get to the typing
of code/mail etc.

But once i use rich X based application like browser, krita, it
is very difficult and exasperating to use the app. Currently, i
just switch to my Gentoo laptop to access web browser /
graphics editing.

Thanks for sharing the observation or else this conversation
wouldn't have got started.

thanks
Saifi.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: kdb and mouse are disabled on HP Pavilion dv5210us by X.org 7.4.1 (7.2-R)

2009-05-18 Thread Saifi Khan
On Sun, 17 May 2009, Jin Guojun[VFF] wrote:

 When installed FreeBSD 7.2 release with xorg-7.4.1, the X server does not work
 on
 HP Pavilion dv5210us laptop due to the key board and mouse are disabled
 somehow.
 Some Hot keys (Ctrl-Altr-F#) are working but mouse is not movable and cannot
 type in a Xterm.
 
 (**) ModulePath set to /usr/local/lib/xorg/modules
 (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse'
 will be disabled.
 (WW) Disabling Mouse0
 (WW) Disabling Keyboard0
 
 Does anyone hasve an idea how to fix this problem?
 Both Xorg.0.log and xorg.conf are attached.
 
 Thanks,
 -Jin
 

Hi Jin:

You need to add an additional line to your 'ServerLayout' or
'ServerFlags'.

Option  AllowEmptyInput false

Please see the sample xorg.conf file that i'm running on my
Compaq laptop.


Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceKeyboard0 CoreKeyboard
InputDeviceMouse0 CorePointer
#   InputDeviceMouse1 SendCoreEvents
EndSection

Section ServerFlags
Option  DontZap Off
Option  AllowEmptyInput false
Option  AllowEmptyInput false
#   Option  AllowMouseOpenFailon
EndSection

Section Files
FontPathunix/:7101
FontPath /usr/local/lib/X11/fonts/100dpi/
FontPath /usr/local/lib/X11/fonts/75dpi/
FontPath /usr/local/lib/X11/fonts/OTF
FontPath /usr/local/lib/X11/fonts/TTF/
FontPath /usr/local/lib/X11/fonts/Type1/
FontPath /usr/local/lib/X11/fonts/URW/
FontPath /usr/local/lib/X11/fonts/bistream-vera/
FontPath /usr/local/lib/X11/fonts/cyrillic/
FontPath /usr/local/lib/X11/fonts/dejavu/
FontPath /usr/local/lib/X11/fonts/freefont/
FontPath /usr/local/lib/X11/fonts/local/
FontPath /usr/local/lib/X11/fonts/misc/
FontPath /usr/local/lib/X11/fonts/terminus-font/
FontPath /usr/local/lib/X11/fonts/urwfonts-ttf/
FontPath /usr/local/lib/X11/fonts/util/
FontPath /usr/local/lib/X11/fonts/webfonts/
FontPath /usr/local/share/ghostscript/fonts/
FontPath /usr/local/lib/X11/fonts/sharefont/
FontPath /usr/local/lib/X11/fonts/texcm-ttf/
FontPath /usr/local/lib/X11/fonts/local/sgi/
FontPath /usr/local/lib/X11/fonts/ppantsfonts/
ModulePath   /usr/local/lib/xorg/modules
EndSection


Section Module
Load  extmod
Load  record
Load  dbe
Load  glx
Load  dri
Load  dri2
Loadfreetype
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option  Protocol  Standard
Option  XkbLayout us
Option  XkbModel  pc104
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  ZAxisMapping 4 5 6 7
EndSection

Section InputDevice
Identifier  Mouse1
Driver  synaptics
Option  Device /dev/sysmouse
Option  Emulate3Buttons   on
Option  SHMConfig on
Option  ZAxisMapping 4 5
EndSection

Section Monitor
Identifier   Monitor0
VendorName   Monitor Vendor
ModelNameMonitor Model
HorizSync30-62
VertRefresh  50-60
Option   DPMS
EndSection

Section Device
Identifier  Card0
Driver  intel
VendorName  Intel Corporation
BoardName   Mobile 945GM/GMS, 943/940GML Express Integrated Graphics 
Controller
BusID   PCI:0:2:0
Option  FramebufferCompressionfalse
Option  AccelMethod   XAA
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth 24
SubSection Display
Viewport   0 0
Depth 24
Modes 1280x800 1024x768 800x600
EndSubSection
EndSection

#Section DRI
#   Group   video
#   Mode0660
#EndSection

Additionally, it is required that you place the following
configurations in the /etc/rc.conf file

 hald_enable=YES
 dbus_enable=YES


thanks
Saifi.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: kdb and mouse are disabled on HP Pavilion dv5210us by X.org 7.4.1 (7.2-R)

2009-05-18 Thread Jin Guojun[VFF]

Hi Saifi,

Xorg 7.4_1 seems having some issues with dbus and hald.
The --  Option  AllowEmptyInput false -- is the must, but dbus and hald can 
cause system useless.

On this laptop, I only run dbus and hald once. Then I disabled both of them and 
X window works well.

On a couple of Desktop machines (4-core Phenom and Intel P4+506) with GeForce 
graphic cards, without
dbus and halt, X Window run fine except no F-key works. Enable and run dbus and 
hald, All F-key work,
but output device is almost dead.

Top shows system is completely idle, but typing will not show on any xterm till 
the mouse is moving.

For example, run TOP on a xterm, the entire window system has no thing change. 
The clock of on the upper right
corner of the TOP xterm is stopped (actually is running, but no output to 
display). Once mouse is moving,
the clock and top section are updated. Once mouse stops moving, then no thing 
is change (no output anywhere).

Similar to the typing. Typing a command will not show on the Xterm still mouse 
is moved. About less than 5%
of time, I can type and see the output right way. Without dbus and hald 
running, there is no such problem.

Has anyone encountered the same problem?

The other main difference between this xorg.conf and previous on is the 
Module section.
This xorg.conf, generated by X -configure, has -- Load  dri2 where previous one has -- Load  GLcore. 
I am not sure if this is an issue.


-Jin


Saifi Khan wrote:


On Sun, 17 May 2009, Jin Guojun[VFF] wrote:

 


When installed FreeBSD 7.2 release with xorg-7.4.1, the X server does not work
on
HP Pavilion dv5210us laptop due to the key board and mouse are disabled
somehow.
Some Hot keys (Ctrl-Altr-F#) are working but mouse is not movable and cannot
type in a Xterm.

(**) ModulePath set to /usr/local/lib/xorg/modules
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse'
will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0

Does anyone hasve an idea how to fix this problem?
Both Xorg.0.log and xorg.conf are attached.

Thanks,
-Jin

   



Hi Jin:

You need to add an additional line to your 'ServerLayout' or
'ServerFlags'.

Option  AllowEmptyInput false

Please see the sample xorg.conf file that i'm running on my
Compaq laptop.


Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceKeyboard0 CoreKeyboard
InputDeviceMouse0 CorePointer
#   InputDeviceMouse1 SendCoreEvents
EndSection

Section ServerFlags
Option  DontZap Off
Option  AllowEmptyInput false
Option  AllowEmptyInput false
#   Option  AllowMouseOpenFail  on
EndSection

Section Files
FontPathunix/:7101
FontPath /usr/local/lib/X11/fonts/100dpi/
FontPath /usr/local/lib/X11/fonts/75dpi/
FontPath /usr/local/lib/X11/fonts/OTF
FontPath /usr/local/lib/X11/fonts/TTF/
FontPath /usr/local/lib/X11/fonts/Type1/
FontPath /usr/local/lib/X11/fonts/URW/
FontPath /usr/local/lib/X11/fonts/bistream-vera/
FontPath /usr/local/lib/X11/fonts/cyrillic/
FontPath /usr/local/lib/X11/fonts/dejavu/
FontPath /usr/local/lib/X11/fonts/freefont/
FontPath /usr/local/lib/X11/fonts/local/
FontPath /usr/local/lib/X11/fonts/misc/
FontPath /usr/local/lib/X11/fonts/terminus-font/
FontPath /usr/local/lib/X11/fonts/urwfonts-ttf/
FontPath /usr/local/lib/X11/fonts/util/
FontPath /usr/local/lib/X11/fonts/webfonts/
FontPath /usr/local/share/ghostscript/fonts/
FontPath /usr/local/lib/X11/fonts/sharefont/
FontPath /usr/local/lib/X11/fonts/texcm-ttf/
FontPath /usr/local/lib/X11/fonts/local/sgi/
FontPath /usr/local/lib/X11/fonts/ppantsfonts/
ModulePath   /usr/local/lib/xorg/modules
EndSection


Section Module
Load  extmod
Load  record
Load  dbe
Load  glx
Load  dri
Load  dri2
Loadfreetype
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option  ProtocolStandard
Option  XkbLayout   us
Option  XkbModelpc104
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  ZAxisMapping 4 5 6 7
EndSection

Section InputDevice
Identifier  Mouse1
Driver  synaptics
Option  Device /dev/sysmouse
Option  Emulate3Buttons on
Option  SHMConfig   on
Option  ZAxisMapping 4 5
EndSection

Section Monitor
Identifier   Monitor0
VendorName   Monitor Vendor
ModelNameMonitor Model
HorizSync30-62
VertRefresh  50-60
Option   DPMS
EndSection

Section 

kdb and mouse are disabled on HP Pavilion dv5210us by X.org 7.4.1 (7.2-R)

2009-05-17 Thread Jin Guojun[VFF]
When installed FreeBSD 7.2 release with xorg-7.4.1, the X server does 
not work on
HP Pavilion dv5210us laptop due to the key board and mouse are disabled 
somehow.
Some Hot keys (Ctrl-Altr-F#) are working but mouse is not movable and 
cannot type in a Xterm.


(**) ModulePath set to /usr/local/lib/xorg/modules
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 
'vmmouse' will be disabled.

(WW) Disabling Mouse0
(WW) Disabling Keyboard0

Does anyone hasve an idea how to fix this problem?
Both Xorg.0.log and xorg.conf are attached.

Thanks,
-Jin

X.Org X Server 1.6.0
Release Date: 2009-2-25
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 7.2-PRERELEASE i386 
Current Operating System: FreeBSD mobile32.Belkin 7.2-RELEASE FreeBSD 
7.2-RELEASE #0: Fri May  1 08:49:13 UTC 2009 
r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Build Date: 22 April 2009  02:40:51PM
 
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: Sun May 17 10:02:22 2009
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout X.org Configured
(**) |--Screen Screen0 (0)
(**) |   |--Monitor Monitor0
(**) |   |--Device Card0
(**) |--Input Device Mouse0
(**) |--Input Device Keyboard0
(==) Automatically adding devices
(==) Automatically enabling devices
(**) FontPath set to:
/usr/local/lib/X11/fonts/misc/,
/usr/local/lib/X11/fonts/TTF/,
/usr/local/lib/X11/fonts/OTF,
/usr/local/lib/X11/fonts/Type1/,
/usr/local/lib/X11/fonts/100dpi/,
/usr/local/lib/X11/fonts/75dpi/,
/usr/local/lib/X11/fonts/misc/,
/usr/local/lib/X11/fonts/TTF/,
/usr/local/lib/X11/fonts/OTF,
/usr/local/lib/X11/fonts/Type1/,
/usr/local/lib/X11/fonts/100dpi/,
/usr/local/lib/X11/fonts/75dpi/,
built-ins
(**) ModulePath set to /usr/local/lib/xorg/modules
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' 
will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(II) Loader magic: 0x6a0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 5.0
X.Org XInput driver : 4.0
X.Org Server Extension : 2.0
(II) Loader running on freebsd
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

(--) PCI:*(0...@1:5:0) ATI Technologies Inc Radeon XPRESS 200M 5955 (PCIE) rev 
0, Mem @ 0xc800/134217728, 0xc010/65536, I/O @ 0x9000/256, BIOS @ 
0x/65536
(II) System resource ranges:
[0] -1  0   0x000f - 0x000f (0x1) MX[B]
[1] -1  0   0x000c - 0x000e (0x3) MX[B]
[2] -1  0   0x - 0x0009 (0xa) MX[B]
[3] -1  0   0x - 0x (0x1) IX[B]
[4] -1  0   0x - 0x00ff (0x100) IX[B]
(II) extmod will be loaded. This was enabled by default and also specified in 
the config file.
(II) dbe will be loaded. This was enabled by default and also specified in 
the config file.
(II) glx will be loaded. This was enabled by default and also specified in 
the config file.
(II) record will be loaded. This was enabled by default and also specified in 
the config file.
(II) dri will be loaded. This was enabled by default and also specified in 
the config file.
(II) dri2 will be loaded. This was enabled by default and also specified in 
the config file.
(II) LoadModule: dbe
(II) Loading /usr/local/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor=X.Org Foundation
compiled for 1.6.0, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: dri
(II) Loading /usr/local/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor=X.Org Foundation
compiled for 1.6.0, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: dri2
(II) Loading /usr/local/lib/xorg/modules/extensions//libdri2.so
(II) Module dri2: vendor=X.Org Foundation
compiled for 1.6.0, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: extmod
(II) Loading /usr/local/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor=X.Org Foundation
compiled for 1.6.0, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension 

Re: kdb and mouse are disabled on HP Pavilion dv5210us by X.org 7.4.1 (7.2-R)

2009-05-17 Thread Charles Oppermann

Jin Guojun[VFF] wrote:
When installed FreeBSD 7.2 release with xorg-7.4.1, the X server does 
not work on
HP Pavilion dv5210us laptop due to the key board and mouse are disabled 
somehow.
Some Hot keys (Ctrl-Altr-F#) are working but mouse is not movable and 
cannot type in a Xterm.


A quick search should indicate the solution.  Xorg prefers using HALD 
for hardware access.  If the Hal Daemon isn't running, regular 
keyboard/mouse input won't work.


You can add the following to /etc/rc.conf to automatically start the HAL 
and DBus daemons:


dbus_enable=YES
hald_enable=YES

After adding, use the following commands to start the services:

/usr/local/etc/rc.d/dbus start
/user/local/etc/rc.d/hald start

Alternatively, you can add the following line to the ServerLayout 
section of your /etc/X11/xorg.conf file:


Option AllowEmptyInput false

Hope this helps.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org