Hi! Is there a legal way to alter the configuration files which are produced by sax? At the moment I am interested in changing default font directories, and the only place I have found is /usr/share/sax/api/data/StaticFontPathList, however I find myself a bit reluctant to edit it, as it's supposed to be rpm-controlled and not edited by hands. BTW, I have noticed that sax doesn't recognizes my mouse correctly. I have a synaptics touchpad built-in in the notebook and an external wireless logitech, while sax detects 3 mouses, of which 2 are detected incorrectly and without manual intervention I couldn't get a working wheel. -- Best regards, Alexander.
Hi all ! Alexander S. Usov wrote:
At the moment I am interested in changing default font directories, and the only place I have found is /usr/share/sax/api/data/StaticFontPathList, however I find myself a bit reluctant to edit it, as it's supposed to be rpm-controlled and not edited by hands.
I'm not the final expert, but I guess you will need to do some changes by hand. Question is how often the changes need to be made and how big is the effort to maintain the whole story. I would do the following: - Change to "/etc/X11" - Save working "xorg.conf" to e.g. "xorg.conf-saxorg" - Edit "xorg.conf" - Save edited "xorg.conf" to e.g. "xorg.conf-mod" As soon as a new versions of related files of tools are applied you need to check if changes need to be transfered. But that should not happen to often ... Hand work, but should work. Of course you could do similar things with the "StaticFontPathList"
BTW, I have noticed that sax doesn't recognizes my mouse correctly. I have a synaptics touchpad built-in in the notebook and an external wireless logitech, while sax detects 3 mouses, of which 2 are detected incorrectly and without manual intervention I couldn't get a working wheel.
What is the output of the command "hwinfo --mouse" ? To compare it I included the output of this command issued on my notebook: ========== [output of "hwinfo --mouse"] ========== 18: USB 00.0: 10503 USB Mouse [Created at usb.122] UDI: /org/freedesktop/Hal/devices/usb_device_d62_a100_noserial_if0_logicaldev_input Unique ID: KRJj.KNGgMra41aC Parent ID: uIhY.ZmOycjy+TeA SysFS ID: /devices/pci0000:00/0000:00:1d.2/usb3/3-1/3-1:1.0 SysFS BusID: 3-1:1.0 Hardware Class: mouse Model: "Darfon USB Optical Mouse" Hotplug: USB Vendor: usb 0x0d62 "Darfon" Device: usb 0xa100 "USB Optical Mouse" Revision: "3.00" Compatible to: int 0x0210 0x0013 Driver: "usbhid" Device File: /dev/input/mice (/dev/input/mouse1) Device Files: /dev/input/mice, /dev/input/mouse1, /dev/input/event3 Device Number: char 13:63 (char 13:33) Speed: 1.5 Mbps Module Alias: "usb:v0D62pA100d0300dc00dsc00dp00ic03isc01ip02" Driver Info #0: Buttons: 3 Wheels: 1 XFree86 Protocol: explorerps/2 GPM Protocol: exps2 Config Status: cfg=no, avail=yes, need=no, active=unknown Attached to: #17 (Hub) 25: PS/2 00.0: 10500 PS/2 Mouse [Created at input.157] UDI: /org/freedesktop/Hal/devices/computer_i8042_Aux_3_Port_logicaldev_input Unique ID: AH6Q.845qvaQafo3 Hardware Class: mouse Model: "SynPS/2 Synaptics TouchPad" Vendor: int 0x0212 Device: int 0x0001 "SynPS/2 Synaptics TouchPad" Compatible to: int 0x0210 0x0003 Device File: /dev/input/mice (/dev/input/mouse0) Device Files: /dev/input/mice, /dev/input/mouse0, /dev/input/event2 Device Number: char 13:63 (char 13:32) Driver Info #0: Buttons: 3 Wheels: 0 XFree86 Protocol: explorerps/2 GPM Protocol: exps2 Config Status: cfg=no, avail=yes, need=no, active=unknown ========== [/output of "hwinfo --mouse"] ========== I don't know if it helps, but here is the configuration of my notebook (external USB mouse [non-wireless / non-logitech] and Synaptics touchpad) ========== [extract of "/etc/X11/xorg.conf"] ========== Section "InputDevice" Driver "mouse" Identifier "Mouse[1]" Option "Buttons" "5" Option "Device" "/dev/input/mice" Option "Name" "Darfon USB Optical Mouse" Option "Protocol" "explorerps/2" Option "Vendor" "Sysp" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Driver "synaptics" Identifier "Mouse[3]" Option "Device" "/dev/input/mice" Option "Emulate3Buttons" "on" Option "InputFashion" "Mouse" Option "Name" "Synaptics;Touchpad" Option "Protocol" "explorerps/2" Option "SHMConfig" "on" Option "Vendor" "Sysp" Option "ZAxisMapping" "4 5" EndSection ========== [/extract of "/etc/X11/xorg.conf"] ========== Never give up ! Best regards, Reinhard.
On Thursday 27 October 2005 20:56, Reinhard Gimbel wrote:
Hi all !
Alexander S. Usov wrote:
At the moment I am interested in changing default font directories, and the only place I have found is /usr/share/sax/api/data/StaticFontPathList, however I find myself a bit reluctant to edit it, as it's supposed to be rpm-controlled and not edited by hands.
I'm not the final expert, but I guess you will need to do some changes by hand.
Question is how often the changes need to be made and how big is the effort to maintain the whole story.
I would do the following:
- Change to "/etc/X11" - Save working "xorg.conf" to e.g. "xorg.conf-saxorg" - Edit "xorg.conf" - Save edited "xorg.conf" to e.g. "xorg.conf-mod"
As soon as a new versions of related files of tools are applied you need to check if changes need to be transfered. But that should not happen to often ...
Hand work, but should work. Of course you could do similar things with the "StaticFontPathList"
It's really pity. Maybe I should try to file a bug report on it?
BTW, I have noticed that sax doesn't recognizes my mouse correctly. I have a synaptics touchpad built-in in the notebook and an external wireless logitech, while sax detects 3 mouses, of which 2 are detected incorrectly and without manual intervention I couldn't get a working wheel.
What is the output of the command "hwinfo --mouse" ? To compare it I included the output of this command issued on my notebook:
========== [output of "hwinfo --mouse"] ==========
18: USB 00.0: 10503 USB Mouse I have a similar output here, just that model/device fields contain USB RECEIVER instead of mouse, and some crazy info is filled in "Driver Info", like 8 buttons and 2 wheels :)
25: PS/2 00.0: 10500 PS/2 Mouse This one is the same.
========== [/output of "hwinfo --mouse"] ==========
I don't know if it helps, but here is the configuration of my notebook (external USB mouse [non-wireless / non-logitech] and Synaptics touchpad)
========== [extract of "/etc/X11/xorg.conf"] ==========
I have one more section. Strange point is that "explorerps/2" protocol doesn't works for me correctly, and I had to correct it to "imps/2".
========== [/extract of "/etc/X11/xorg.conf"] ==========
Never give up !
Ha! I am quite experienced FreeBSD user, and usually just do it all by hand. So in this sense I am a wrong person to get scared with incorrect mouse detection in SaX :) In the worst case I could simply uninstall it, and do all in the traditional way ;) -- Best regards, Alexander.
Am Freitag 28 Oktober 2005 21:32 schrieb "Alexander S. Usov": > On Thursday 27 October 2005 20:56, Reinhard Gimbel wrote: > > Alexander S. Usov wrote: > > > ... > > - Edit "xorg.conf" > > ========== [extract of "/etc/X11/xorg.conf"] ========== Section "InputDevice" Driver "synaptics" Identifier "Mouse[1]" Option "Device" "auto-dev" Option "SHMConfig" "on" EndSection Section "InputDevice" Driver "mouse" Identifier "Mouse[3]" Option "Buttons" "5" Option "Device" "/dev/input/mice" Option "Protocol" "imps/2" Option "ZAxisMapping" "4 5" EndSection > > ========== [/extract of "/etc/X11/xorg.conf"] ========== man synaptics -- mdc
On Saturday 29 October 2005 15:33, meister@netz00.com wrote:
Am Freitag 28 Oktober 2005 21:32 schrieb "Alexander S. Usov"
: On Thursday 27 October 2005 20:56, Reinhard Gimbel wrote:
Alexander S. Usov wrote:
...
- Edit "xorg.conf" ========== [extract of "/etc/X11/xorg.conf"] ==========
Section "InputDevice" Driver "synaptics" Identifier "Mouse[1]" Option "Device" "auto-dev" Option "SHMConfig" "on" EndSection
Section "InputDevice" Driver "mouse" Identifier "Mouse[3]" Option "Buttons" "5" Option "Device" "/dev/input/mice" Option "Protocol" "imps/2" Option "ZAxisMapping" "4 5" EndSection
========== [/extract of "/etc/X11/xorg.conf"] ==========
man synaptics
Sorry, I didn't understood the point. You mean that one doesn't have to specify the exact device for synaptics driver? -- Best regards, Alexander.
Am Samstag 29 Oktober 2005 22:13 schrieb "Alexander S. Usov"
- Edit "xorg.conf" ========== [extract of "/etc/X11/xorg.conf"] ==========
Section "InputDevice" Driver "synaptics" Identifier "Mouse[1]" Option "Device" "auto-dev" Option "SHMConfig" "on" EndSection
Section "InputDevice" Driver "mouse" Identifier "Mouse[3]" Option "Buttons" "5" Option "Device" "/dev/input/mice" Option "Protocol" "imps/2" Option "ZAxisMapping" "4 5" EndSection
========== [/extract of "/etc/X11/xorg.conf"] ==========
man synaptics
Sorry, I didn't understood the point.
Hi Alexander,
You mean that one doesn't have to specify the exact device for synaptics driver?
the InputDevice stanza that sax generated does not work properly for me. The Device for a synaptics touchpad is not /dev/input/mice. auto-dev should find the correct device (/dev/input/eventX). Maybe you have to use another Device for the external mouse, for me /dev/input/mice works, but if not, try /dev/input/eventY Also the Protocol is not explorerps2 because synaptics has much more features, look at the man-page. (Substitute X and Y by the correct numbers for your system) -- mdc
On Sunday 30 October 2005 14:00, meister@netz00.com wrote:
Am Samstag 29 Oktober 2005 22:13 schrieb "Alexander S. Usov"
: - Edit "xorg.conf" ========== [extract of "/etc/X11/xorg.conf"] ==========
Section "InputDevice" Driver "synaptics" Identifier "Mouse[1]" Option "Device" "auto-dev" Option "SHMConfig" "on" EndSection
Section "InputDevice" Driver "mouse" Identifier "Mouse[3]" Option "Buttons" "5" Option "Device" "/dev/input/mice" Option "Protocol" "imps/2" Option "ZAxisMapping" "4 5" EndSection
========== [/extract of "/etc/X11/xorg.conf"] ==========
man synaptics
Sorry, I didn't understood the point.
Hi Alexander,
You mean that one doesn't have to specify the exact device for synaptics driver?
the InputDevice stanza that sax generated does not work properly for me. The Device for a synaptics touchpad is not /dev/input/mice. auto-dev should find the correct device (/dev/input/eventX). Maybe you have to use another Device for the external mouse, for me /dev/input/mice works, but if not, try /dev/input/eventY Also the Protocol is not explorerps2 because synaptics has much more features, look at the man-page. (Substitute X and Y by the correct numbers for your system)
Strange, it seems to work fine for me. I have a following entry for the touchpad: Section "InputDevice" Driver "synaptics" Identifier "Mouse[3]" Option "Device" "/dev/input/mice" Option "Emulate3Buttons" "on" Option "Name" "Touchpad" Option "SHMConfig" "on" Option "Vendor" "Synaptics" Option "ZAxisMapping" "4 5" EndSection -- Best regards, Alexander.
Am Sonntag 30 Oktober 2005 18:35 schrieb "Alexander S. Usov"
On Sunday 30 October 2005 14:00, meister@netz00.com wrote:
- Edit "xorg.conf" ========== [extract of "/etc/X11/xorg.conf"] ==========
Section "InputDevice" Driver "synaptics" Identifier "Mouse[1]" Option "Device" "auto-dev" Option "SHMConfig" "on" EndSection
Section "InputDevice" Driver "mouse" Identifier "Mouse[3]" Option "Buttons" "5" Option "Device" "/dev/input/mice" Option "Protocol" "imps/2" Option "ZAxisMapping" "4 5" EndSection
========== [/extract of "/etc/X11/xorg.conf"] ========== man synaptics You mean that one doesn't have to specify the exact device for synaptics driver?
Am Samstag 29 Oktober 2005 22:13 schrieb "Alexander S. Usov"
: the InputDevice stanza that sax generated does not work properly for me. The Device for a synaptics touchpad is not /dev/input/mice. auto-dev should find the correct device (/dev/input/eventX). Maybe you have to use another Device for the external mouse, for me /dev/input/mice works, but if not, try /dev/input/eventY Also the Protocol is not explorerps2 because synaptics has much more features, look at the man-page. (Substitute X and Y by the correct numbers for your system) Strange, it seems to work fine for me. I have a following entry for the touchpad:
Section "InputDevice" Driver "synaptics" Identifier "Mouse[3]" Option "Device" "/dev/input/mice" Option "Emulate3Buttons" "on" Option "Name" "Touchpad" Option "SHMConfig" "on" Option "Vendor" "Synaptics" Option "ZAxisMapping" "4 5" EndSection
Hi Alexander, try the package "ksynaptic" and try to make the two-finger-tap or three- finger-tap work. Did not work for me with /dev/input/mice and explorerps2. Also I tried two different mice: one Logitech USB and one NoName (well...Hama) USB. Logitech and Synaptics work if both have /dev/input/mice, their timing (resolution) seems to be close enough. But the second mouse didn't: either the touchpad was too slow or the mouse was too fast, their timing (resolution) were too different. But as I used two different devices (/dev/input/event1 and /dev/input/event2), I was able to use both. -- mdc
participants (3)
-
Alexander S. Usov
-
meister@netz00.com
-
Reinhard Gimbel