Re: Mouse and keyboard don't work in Xorg 7.4

2009-10-20 Thread Ondřej Majerech
2009/10/20 Polytropon :
>
>> Mouse and keyboard works without it too.
>
> I just re-read the chapters on X in the handbook. Setting
> a specific keyboard language (german in my case) now involves
> messing with XML in the HAL configuration.
>
> I'm just keen to know where I now have to set my mouse in
> order to work properly. It's a three-button mouse from Sun.
>
> In the past, all X settings (resolution, mouse, keyboard,
> fonts etc.) could be controlled via one centralized file.
> Sadly, this seems to be scattered among many subsystems
> now...

You can still do it this way -- just disable HAL device autodetection
and everything works as usual.  I also have keyboard layouts set up in
my xorg.conf file.  In fact, I'd be willing to bet that your current
xorg.conf will work on a newer X.org version, if you just add the line
to disable HAL autodetection.

~ Ondra M.
___
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: Mouse and keyboard don't work in Xorg 7.4

2009-10-19 Thread Polytropon
Allthough X is not an urgent topic to me at the moment
(because I'm still running "old" X without all the HAL
and DBUS magic), I always interestedly read such threads
in order to keep up to date. On my testing system I just
had the same problem. XFCE 4 started, but mouse didn't
move, no keyboard input. And starting X (startx command)
lasts 20 seconds, that's annoying. :-(


On Tue, 20 Oct 2009 04:13:24 +0200, herbert langhans  
wrote:
> If you dont need it for another reason, you can compile
> xorg-server without hal (#make config).

The packages of X.org seem to require DBUS and HAL. I am
currently running a testing environment with 8.0-RC1 and
everything from packages (1,7 GHz AMD with 512 MB RAM, so
no compiling joy). 



> Mouse and keyboard works without it too.

I just re-read the chapters on X in the handbook. Setting
a specific keyboard language (german in my case) now involves
messing with XML in the HAL configuration.

I'm just keen to know where I now have to set my mouse in
order to work properly. It's a three-button mouse from Sun.

In the past, all X settings (resolution, mouse, keyboard,
fonts etc.) could be controlled via one centralized file.
Sadly, this seems to be scattered among many subsystems
now...

Another question, especially when running without a xorg.conf
file: Where is the functionality of Option "DontZap" "false"
represented? Or is it possible to run X with a partial
xorg.conf file?


> This solved all such problems on my laptop.

I hope it will solve them for me, too, when I revive my
laptop. Seems that I have to do much compiling, bit I will
do that on a different machine (laptop is AMD 500 MHt with
256 MB RAM).



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Mouse and keyboard don't work in Xorg 7.4

2009-10-19 Thread Polytropon
On Mon, 19 Oct 2009 22:52:24 +0400, Andrey Zhidenkov 
 wrote:
> Section "ServerFlags"
> Option "AutoAddDevises" "off"
 ^
AutoAddDevices? :-)




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Mouse and keyboard don't work in Xorg 7.4

2009-10-19 Thread herbert langhans
If you dont need it for another reason, you can compile xorg-server without hal 
(#make config). Mouse and keyboard works without it too. This solved all such 
problems on my laptop.

Cheers
herb langhans

On Mon, Oct 19, 2009 at 10:52:24PM +0400, Andrey Zhidenkov wrote:
> I've installed FreeBSD 7.2 with Xorg 7.4 server, but mouse (usb)
> and keyboard don't work. when I start X server the only way to exit
> is Ctrl-Alt-F* and kill the process.
> 
> I've find out that Xorg now uses hal and dbus to configure mouse and
> maybe this is a problem.
> 
> #tail /var/log/messages
> 
> Oct 19 22:10:14 freebsd kernel: info: [drm] writeback test succeeded in 1 
> usecs
> Oct 19 22:10:14 freebsd kernel: drm0: [ITHREAD]
> Oct 19 22:10:34 freebsd kernel: info: [drm] Num pipes: 1
> Oct 19 22:35:02 freebsd hald[48486]: 22:35:02.636 [E] hald_dbus.c:5747: 
> dbus_bus_get(): Failed to connect to socket /var/run/dbus/system_bus_socket: 
> No such file or directory
> Oct 19 22:36:03 freebsd kernel: info: [drm] Setting GART location based on 
> new memory map
> Oct 19 22:36:03 freebsd kernel: info: [drm] Loading R500 Microcode
> Oct 19 22:36:03 freebsd kernel: info: [drm] Num pipes: 1
> Oct 19 22:36:03 freebsd kernel: info: [drm] writeback test succeeded in 1 
> usecs
> Oct 19 22:36:03 freebsd kernel: drm0: [ITHREAD]
> Oct 19 22:36:09 freebsd kernel: info: [drm] Num pipes: 1
> 
> When I start hald (/usr/local/etc/rc.d/hald start) it don't tell anything, 
> even in
> verbose mode, except of:
> 
> #/usr/local/sbin/hald --verbose=yes
> 22:48:16.400 [I] hald.c:669: hal 0.5.11
> 22:48:16.400 [I] hald.c:678: Will daemonize
> 22:48:16.400 [I] hald.c:679: Becoming a daemon
> 
> But:
> 
> #ps aux | grep hal
> mutex 68396  0.0  0.1  1660  1060  p0  D+   10:48PM   0:00.00 grep hal
> 
> So I think it doesn't starts.
> 
> This is my xorg.conf (generated by `Xorg -configure):
> 
> ---
> 
> Section "ServerLayout"
>   Identifier "X.org Configured"
>   Screen  0  "Screen0" 0 0
>   InputDevice"Mouse0" "CorePointer"
>   InputDevice"Keyboard0" "CoreKeyboard"
> EndSection
> 
> Section "ServerFlags"
> Option "AutoAddDevises" "off"
> EndSection
> 
> Section "Files"
>   ModulePath   "/usr/local/lib/xorg/modules"
>   FontPath "/usr/local/lib/X11/fonts/misc/"
>   FontPath "/usr/local/lib/X11/fonts/TTF/"
>   FontPath "/usr/local/lib/X11/fonts/OTF"
>   FontPath "/usr/local/lib/X11/fonts/Type1/"
>   FontPath "/usr/local/lib/X11/fonts/100dpi/"
>   FontPath "/usr/local/lib/X11/fonts/75dpi/"
> EndSection
> 
> Section "Module"
> # Load  "dbe"
> # Load  "dri"
> # Load  "dri2"
> # Load  "extmod"
>   Load  "glx"
> # Load  "record"
> EndSection
> 
> Section "InputDevice"
>   Identifier  "Keyboard0"
>   Driver  "kbd"
> EndSection
> 
> Section "InputDevice"
>   Identifier  "Mouse0"
>   Driver  "mouse"
>   Option  "Protocol" "auto"
>   Option  "Device" "/dev/sysmouse"
>   Option  "ZAxisMapping" "4 5 6 7"
> EndSection
> 
> Section "Monitor"
>   Identifier   "Monitor0"
>   VendorName   "Monitor Vendor"
>   ModelName"Monitor Model"
> EndSection
> 
> Section "Device"
>   Identifier  "Card0"
>   Driver  "radeon"
>   VendorName  "ATI Technologies Inc"
>   BoardName   "RV515 [Radeon X1300]"
>   BusID   "PCI:4:0:0"
> EndSection
> 
> Section "Screen"
>   Identifier "Screen0"
>   Device "Card0"
>   Monitor"Monitor0"
>   SubSection "Display"
>   Viewport   0 0
>   Depth 1
>   EndSubSection
>   SubSection "Display"
>   Viewport   0 0
>   Depth 4
>   EndSubSection
>   SubSection "Display"
>   Viewport   0 0
>   Depth 8
>   EndSubSection
>   SubSection "Display"
>   Viewport   0 0
>   Depth 15
>   EndSubSection
>   SubSection "Display"
>   Viewport   0 0
>   Depth 16
>   EndSubSection
>   SubSection "Display"
>   Viewport   0 0
>   Depth 24
>   EndSubSection
> EndSection
> -
> 
> Any help will be greatly appreciated ...
>  
> 
> -- 
> ___
> 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"

-- 
sprachtraining langhans
herbert langhans, warschau
http://www.langhans.com.pl
herbert dot raimund at gmx dot net
+0048 603 341 441

___
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: Mouse and keyboard don't work in Xorg 7.4

2009-10-19 Thread Warren Block

On Mon, 19 Oct 2009, Andrey Zhidenkov wrote:


I've installed FreeBSD 7.2 with Xorg 7.4 server, but mouse (usb)
and keyboard don't work. when I start X server the only way to exit
is Ctrl-Alt-F* and kill the process.

I've find out that Xorg now uses hal and dbus to configure mouse and
maybe this is a problem.


xorg-server uses if configured to use hal.


When I start hald (/usr/local/etc/rc.d/hald start) it don't tell anything, even 
in
verbose mode, except of:

#/usr/local/sbin/hald --verbose=yes
22:48:16.400 [I] hald.c:669: hal 0.5.11
22:48:16.400 [I] hald.c:678: Will daemonize
22:48:16.400 [I] hald.c:679: Becoming a daemon

But:

#ps aux | grep hal
mutex 68396  0.0  0.1  1660  1060  p0  D+   10:48PM   0:00.00 grep hal

So I think it doesn't starts.


dbus_enable="YES" and hald_enable="YES" in /etc/rc.conf?


This is my xorg.conf (generated by `Xorg -configure):

---

Section "ServerLayout"
Identifier "X.org Configured"
Screen  0  "Screen0" 0 0
InputDevice"Mouse0" "CorePointer"
InputDevice"Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
   Option "AutoAddDevises" "off"
EndSection


That's spelled wrong.  ("AutoAddDevices")

By turning that off, you are telling xorg-server to ignore hal detection 
of devices.  So even if hal was running, it would be ignored.


If you let xorg use hal, you can remove the InputDevice sections above 
and below.


The Handbook section on xorg configuration is pretty thorough:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html

-Warren Block * Rapid City, South Dakota USA
___
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: Mouse and keyboard don't work in Xorg 7.4

2009-10-19 Thread Manolis Kiagias
Andrey Zhidenkov wrote:
> On Mon, Oct 19, 2009 at 10:30:27PM +0300, Manolis Kiagias wrote:
>   
>> Andrey Zhidenkov wrote:
>> 
>>> I've installed FreeBSD 7.2 with Xorg 7.4 server, but mouse (usb)
>>> and keyboard don't work. when I start X server the only way to exit
>>> is Ctrl-Alt-F* and kill the process.
>>>
>>> I've find out that Xorg now uses hal and dbus to configure mouse and
>>> maybe this is a problem.
>>>   
>>>   
>> It will probably work fine if you add the following two lines into
>> /etc/rc.conf and reboot:
>>
>> dbus_enable="YES"
>> hald_enable="YES"
>> 
> I've added yet, but it doesn't helps ;(. And when I reboot I can't found any
> hald or dbus messages in dmesg.
>
>   
>> Have  a look at the updated Handbook section that describes this
>> procedure in more detail:
>>
>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html
>> 
> Thank you, I've readed.
>   

I also noticed you have a ServerFlags section with "AutoAddDevices off"
Could you try removing this and see if it works?
You may in fact try running X without an xorg.conf at all.
___
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: Mouse and keyboard don't work in Xorg 7.4

2009-10-19 Thread Andrey Zhidenkov
On Mon, Oct 19, 2009 at 10:30:27PM +0300, Manolis Kiagias wrote:
> Andrey Zhidenkov wrote:
> > I've installed FreeBSD 7.2 with Xorg 7.4 server, but mouse (usb)
> > and keyboard don't work. when I start X server the only way to exit
> > is Ctrl-Alt-F* and kill the process.
> >
> > I've find out that Xorg now uses hal and dbus to configure mouse and
> > maybe this is a problem.
> >   
> 
> It will probably work fine if you add the following two lines into
> /etc/rc.conf and reboot:
> 
> dbus_enable="YES"
> hald_enable="YES"
I've added yet, but it doesn't helps ;(. And when I reboot I can't found any
hald or dbus messages in dmesg.

> Have  a look at the updated Handbook section that describes this
> procedure in more detail:
> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html
Thank you, I've readed.
-- 
___
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: Mouse and keyboard don't work in Xorg 7.4

2009-10-19 Thread Manolis Kiagias
Andrey Zhidenkov wrote:
> I've installed FreeBSD 7.2 with Xorg 7.4 server, but mouse (usb)
> and keyboard don't work. when I start X server the only way to exit
> is Ctrl-Alt-F* and kill the process.
>
> I've find out that Xorg now uses hal and dbus to configure mouse and
> maybe this is a problem.
>   

It will probably work fine if you add the following two lines into
/etc/rc.conf and reboot:

dbus_enable="YES"
hald_enable="YES"

Have  a look at the updated Handbook section that describes this
procedure in more detail:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html
___
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"


Mouse and keyboard don't work in Xorg 7.4

2009-10-19 Thread Andrey Zhidenkov
I've installed FreeBSD 7.2 with Xorg 7.4 server, but mouse (usb)
and keyboard don't work. when I start X server the only way to exit
is Ctrl-Alt-F* and kill the process.

I've find out that Xorg now uses hal and dbus to configure mouse and
maybe this is a problem.

#tail /var/log/messages

Oct 19 22:10:14 freebsd kernel: info: [drm] writeback test succeeded in 1 usecs
Oct 19 22:10:14 freebsd kernel: drm0: [ITHREAD]
Oct 19 22:10:34 freebsd kernel: info: [drm] Num pipes: 1
Oct 19 22:35:02 freebsd hald[48486]: 22:35:02.636 [E] hald_dbus.c:5747: 
dbus_bus_get(): Failed to connect to socket /var/run/dbus/system_bus_socket: No 
such file or directory
Oct 19 22:36:03 freebsd kernel: info: [drm] Setting GART location based on new 
memory map
Oct 19 22:36:03 freebsd kernel: info: [drm] Loading R500 Microcode
Oct 19 22:36:03 freebsd kernel: info: [drm] Num pipes: 1
Oct 19 22:36:03 freebsd kernel: info: [drm] writeback test succeeded in 1 usecs
Oct 19 22:36:03 freebsd kernel: drm0: [ITHREAD]
Oct 19 22:36:09 freebsd kernel: info: [drm] Num pipes: 1

When I start hald (/usr/local/etc/rc.d/hald start) it don't tell anything, even 
in
verbose mode, except of:

#/usr/local/sbin/hald --verbose=yes
22:48:16.400 [I] hald.c:669: hal 0.5.11
22:48:16.400 [I] hald.c:678: Will daemonize
22:48:16.400 [I] hald.c:679: Becoming a daemon

But:

#ps aux | grep hal
mutex 68396  0.0  0.1  1660  1060  p0  D+   10:48PM   0:00.00 grep hal

So I think it doesn't starts.

This is my xorg.conf (generated by `Xorg -configure):

---

Section "ServerLayout"
Identifier "X.org Configured"
Screen  0  "Screen0" 0 0
InputDevice"Mouse0" "CorePointer"
InputDevice"Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
Option "AutoAddDevises" "off"
EndSection

Section "Files"
ModulePath   "/usr/local/lib/xorg/modules"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/OTF"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
#   Load  "dbe"
#   Load  "dri"
#   Load  "dri2"
#   Load  "extmod"
Load  "glx"
#   Load  "record"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver  "kbd"
EndSection

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

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName"Monitor Model"
EndSection

Section "Device"
Identifier  "Card0"
Driver  "radeon"
VendorName  "ATI Technologies Inc"
BoardName   "RV515 [Radeon X1300]"
BusID   "PCI:4:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"
SubSection "Display"
Viewport   0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport   0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport   0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport   0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport   0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport   0 0
Depth 24
EndSubSection
EndSection
-

Any help will be greatly appreciated ...
 

-- 
___
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"