View previous topic :: View next topic |
Author |
Message |
shgadwa Guru
Joined: 12 Mar 2009 Posts: 327
|
Posted: Sat Mar 14, 2009 9:45 pm Post subject: |
|
|
You know what... thank you all for your time and help but I have so many other problems (related to not setting the CFLAGS and USE flags properly BEFORE compiling everything. I have learned a lot though. I think I will just do a reinstall now. I have been getting faster at it each time and learning more each time.
Be Blessed.
~Shawn
EDIT: If anyone wants to help me before I do the install, please see this link. https://forums.gentoo.org/viewtopic-p-5562518.html#5562518
God bless you all. |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Sat Mar 14, 2009 11:03 pm Post subject: |
|
|
There's no 'qwerty' variant for 'gb' layout either.
Doesn't empty variant work for you or do you have more random strings to test ? |
|
Back to top |
|
|
FizzyWidget Veteran
Joined: 21 Nov 2008 Posts: 1133 Location: 127.0.0.1
|
Posted: Sun Mar 15, 2009 12:11 am Post subject: |
|
|
it was in the file you told me to look at, i have removed it now anyway and the touchpad is working, as i have already stated _________________ I know 43 ways to kill with a SKITTLE, so taste my rainbow bitch. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Sun Mar 15, 2009 2:33 am Post subject: |
|
|
Also, before starting your migration, a good advice is to run this :
With that, you will see what HAL detect and also what config you use actually. |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Sun Mar 15, 2009 2:55 am Post subject: |
|
|
You've probably misunderstood that file, I said there was no variant 'qwerty'
for 'gb' layout - except for empty value, the only ones I see are
Code: |
intl gb: International (with dead keys)
dvorak gb: Dvorak
dvorakukp gb: Dvorak (UK Punctuation)
mac gb: Macintosh
colemak gb: Colemak
|
|
|
Back to top |
|
|
FizzyWidget Veteran
Joined: 21 Nov 2008 Posts: 1133 Location: 127.0.0.1
|
Posted: Sun Mar 15, 2009 9:34 am Post subject: |
|
|
more than likely i was up early and was rather tired by the time i had completed the update - tired body tired eyes even the quick touch bar works now _________________ I know 43 ways to kill with a SKITTLE, so taste my rainbow bitch. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Sun Mar 15, 2009 2:29 pm Post subject: |
|
|
Nice
Can you post your fdi files then |
|
Back to top |
|
|
FizzyWidget Veteran
Joined: 21 Nov 2008 Posts: 1133 Location: 127.0.0.1
|
Posted: Sun Mar 15, 2009 4:04 pm Post subject: |
|
|
they were copied from yours - but as you asked
10-x11-input.fdi
Code: | <?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<!-- Mouse configuration -->
<match key="info.capabilities" contains="input.mouse">
<merge key="input.x11_driver" type="string">evdev</merge>
</match>
<!-- Keyboard configuration -->
<match key="info.capabilities" contains="input.keymap">
<append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
</match>
<match key="info.capabilities" contains="input.keys">
<merge key="input.xkb.model" type="string">evdev</merge>
<merge key="input.x11_driver" type="string">evdev</merge>
<merge key="input.xkb.layout" type="string">gb</merge>
<append key="input.xkb.options" type="strlist">compose:menu</append>
</match>
</device>
</deviceinfo> |
11-x11-synaptics.fdi
Code: | <?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.touchpad">
<match key="info.product" contains="Synaptics TouchPad">
<merge key="input.x11_driver" type="string">synaptics</merge>
<merge key="input.x11_options.SHMConfig" type="string">on</merge>
<!-- Tapping -->
<merge key="input.x11_options.TapButton1" type="string">1</merge>
<merge key="input.x11_options.TapButton2" type="string">2</merge>
<merge key="input.x11_options.TapButton3" type="string">3</merge>
<!-- Scrolling up/down -->
<merge key="input.x11_options.VertEdgeScroll" type="string">1</merge>
<merge key="input.x11_options.HorizEdgeScroll" type="string">1</merge>
<!-- Corner clicks -->
<merge key="input.x11_options.RBCornerButton" type="string">2</merge>
<merge key="input.x11_options.RTCornerButton" type="string">3</merge>
</match>
</match>
</device>
</deviceinfo> |
xorg.conf
Code: | Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
# InputDevice "Mouse0" "CorePointer"
# InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Server Flags"
Option "AutoAddDevices" "on"
Option "AutoEnableDevices" "on"
Option "AllowEmptyInput" "on"
EndSection
Section "Files"
# RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib64/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "glx"
Load "wfb"
Load "dbe"
Load "extmod"
Load "GLcore"
Load "record"
# Load "dri"
Load "xtrap"
Load "type1"
Load "freetype"
EndSection
#Section "InputDevice"
# Identifier "Keyboard0"
# Driver "kbd"
#EndSection
#Section "InputDevice"
# Identifier "Mouse0"
# Driver "mouse"
# Option "Protocol" "auto"
# Option "Device" "/dev/input/mice"
# Option "ZAxisMapping" "4 5 6 7"
#EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 49
VertRefresh 60
DisplaySize 339 212
Option "DPMS"
EndSection
Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "Unknown Board"
BusID "PCI:1:0:0"
VideoRam 262144
Option "NoLogo" "true"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
Modes "1280x800"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
Modes "1280x800"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1280x800"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
Modes "1280x800"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x800"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x800"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection |
_________________ I know 43 ways to kill with a SKITTLE, so taste my rainbow bitch. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Tue Mar 17, 2009 1:42 am Post subject: |
|
|
For an unknown reason, one of my friends, cannot use the 10-x11-input like in my example, instead he must use this one :
10-keymap.fdi
Code: |
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.keymap">
<append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
</match>
<match key="info.capabilities" contains="input.keys">
<merge key="input.xkb.rules" type="string">base</merge>
<!-- If we're using Linux, we use evdev by default (falling back to
keyboard otherwise). -->
<merge key="input.xkb.model" type="string">keyboard</merge>
<match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
string="Linux">
<merge key="input.xkb.model" type="string">evdev</merge>
</match>
<merge key="input.xkb.layout" type="string">ca</merge>
<merge key="input.xkb.variant" type="string">fr</merge>
</match>
</device>
</deviceinfo>
|
Can someone explain to me what is going on ?
This is his lshal : http://www.gentoo-quebec.org/index/Config_Guy/lshal_funtoo_xorg_1.5
I tought that the migration was universal... |
|
Back to top |
|
|
dberkholz Retired Dev
Joined: 18 Mar 2003 Posts: 1008 Location: Minneapolis, MN, USA
|
Posted: Tue Mar 17, 2009 5:49 am Post subject: |
|
|
What works is pretty dependent on hal version and xorg-server version. Some xorg-server versions ignore whole groups of options. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Tue Mar 17, 2009 11:13 am Post subject: |
|
|
Hi Donnie, he uses Xorg-Server 1.5.3 in a ~x86 Arch and he also uses Funtoo
Maybe it's the matching key that doesn't work on his box. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Tue Mar 17, 2009 11:34 am Post subject: |
|
|
Is there a way Donnie to make sure that the options will always works ? Maybe removing the matching keys ? |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Tue Mar 17, 2009 11:39 am Post subject: |
|
|
I will ask him to run this file :
Code: |
<?xml version="1.0" encoding="utf-8"?>
<deviceinfo version="0.2">
<match key="info.capabilities" contains="input.keys">
<merge key="input.xkb.model" type="string">evdev</merge>
<merge key="input.xkb.layout" type="string">ca</merge>
<merge key="input.xkb.variant" type="string">fr</merge>
</match>
</deviceinfo>
|
And also this one :
Code: |
<?xml version="1.0" encoding="utf-8"?>
<deviceinfo version="0.2">
<merge key="input.xkb.model" type="string">evdev</merge>
<merge key="input.xkb.layout" type="string">ca</merge>
<merge key="input.xkb.variant" type="string">fr</merge>
</deviceinfo>
|
|
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Tue Mar 17, 2009 4:34 pm Post subject: |
|
|
Have him do something like this:
Code: |
xmllint --dtdvalid fdi.dtd /etc/hal/fdi/policy/10-x11-input.fdi |less
|
fdi.dtd comes from hal tarball.
This way we'll see if there no unobvious typo in his fdi file.
And I ask again:
isn't the hal-setup-keymap part redundant ?
That program is undocumented AFAICT (searching the hal tarball), but it seems to be used
only if you are doing key remapping (via input.keymap.data).
Though a man page or a README would be nice.
And why are you still using old style of the options ? |
|
Back to top |
|
|
shgadwa Guru
Joined: 12 Mar 2009 Posts: 327
|
Posted: Tue Mar 17, 2009 7:24 pm Post subject: |
|
|
Just wanted to let everyone know that I upgraded my Xorg again... and xorg-server. I reinstalled the synaptics driver and then did everything the way everyone said, in this thread... and, it works!! Both the keyboard and mouse is working beautifully. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Tue Mar 17, 2009 7:27 pm Post subject: |
|
|
VoidMage wrote: | And why are you still using old style of the options ? |
Really, can you post the new style plz ? |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Tue Mar 17, 2009 8:40 pm Post subject: |
|
|
In example (that I posted here many times) my fdi file looks like this:
Code: |
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.keys">
<merge key="input.x11_options.XkbRules" type="string">evdev</merge>
<merge key="input.x11_options.XkbModel" type="string">evdev</merge>
<merge key="input.x11_options.XkbLayout" type="string">pl</merge>
<merge key="input.x11_options.XkbOptions" type="string">altwin:menu</merge>
</match>
</device>
</deviceinfo>
|
As for your problem: could it be that the editor, your friend is using, is dropping BOMs or
something alike ? |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Tue Mar 17, 2009 8:56 pm Post subject: |
|
|
Alright then, if I have some time tomorrow, I will test it with my ~amd64 box
Code: |
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.keys">
<merge key="input.x11_options.XkbRules" type="string">evdev</merge>
<merge key="input.x11_options.XkbModel" type="string">evdev</merge>
<merge key="input.xkb.layout" type="string">ca</merge>
<merge key="input.xkb.variant" type="string">fr</merge>
<merge key="input.x11_options.XkbOptions" type="string">compose:menu</merge>
</match>
</device>
</deviceinfo>
|
|
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Tue Mar 17, 2009 8:57 pm Post subject: |
|
|
By the way, altwin:menu is for what and the same goes for compose:menu ??? |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Tue Mar 17, 2009 9:30 pm Post subject: |
|
|
Once again, read /usr/share/X11/xkb/rules/xorg.lst. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Wed Mar 18, 2009 11:15 am Post subject: |
|
|
For the record, he uses your fdi file (VoidMage) and it's WORKING.... so many thanks and I will try your fdi file this afternoon |
|
Back to top |
|
|
azp Guru
Joined: 16 Nov 2003 Posts: 456 Location: Sweden
|
Posted: Wed Mar 18, 2009 8:48 pm Post subject: |
|
|
Hi guys, I just wanted to add my findings regarding this! I posted my own thread since I didn't get enough info in this one, and after some fiddling around I managed to solve it myself (with the extra help of re-reading this thread again).
Thanks! My answers:
https://forums.gentoo.org/viewtopic-t-747608-highlight-.html _________________ Weeks of coding can save you hours of planning. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Wed Mar 18, 2009 10:28 pm Post subject: |
|
|
When this xorg-server will hit the stable branch...then we will have a lot of theads here... |
|
Back to top |
|
|
azp Guru
Joined: 16 Nov 2003 Posts: 456 Location: Sweden
|
Posted: Wed Mar 18, 2009 10:36 pm Post subject: |
|
|
Hehe can't wait, right?
Maybe a "conversion script" should be written by a dev? It's not like the syntax is hard to translate, and the old script that is linked to from this thread is sadly gone now. I believe that that script still used the old syntax (input.xkb.model) instead of the new one (input.x11_options.XkbModel).
But I guess that they are working on it? _________________ Weeks of coding can save you hours of planning. |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Wed Mar 18, 2009 10:40 pm Post subject: |
|
|
Which one: 1.5.3 or 1.6.0 ?
Cause the second one may actually simplify things
- i.e. for touchpad SHM setting will be superseded
by input properties. |
|
Back to top |
|
|
|