Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Best upgrade method to Xserver1.5 with Hal and evdev

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
398 posts
  • Page 4 of 16
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • …
  • 16
  • Next
Author
Message
shgadwa
Guru
Guru
Posts: 327
Joined: Thu Mar 12, 2009 4:29 pm

  • Quote

Post by shgadwa » Sat Mar 14, 2009 9:45 pm

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. http://forums.gentoo.org/viewtopic-p-55 ... ml#5562518

God bless you all.
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Sat Mar 14, 2009 11:03 pm

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 ?
Top
FizzyWidget
Veteran
Veteran
User avatar
Posts: 1135
Joined: Fri Nov 21, 2008 9:52 am
Location: 127.0.0.1

  • Quote

Post by FizzyWidget » Sun Mar 15, 2009 12:11 am

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.
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Sun Mar 15, 2009 2:33 am

Also, before starting your migration, a good advice is to run this :

Code: Select all

# lshal

With that, you will see what HAL detect and also what config you use actually.
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Sun Mar 15, 2009 2:55 am

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: Select all

  intl            gb: International (with dead keys)
  dvorak          gb: Dvorak
  dvorakukp       gb: Dvorak (UK Punctuation)
  mac             gb: Macintosh
  colemak         gb: Colemak
Top
FizzyWidget
Veteran
Veteran
User avatar
Posts: 1135
Joined: Fri Nov 21, 2008 9:52 am
Location: 127.0.0.1

  • Quote

Post by FizzyWidget » Sun Mar 15, 2009 9:34 am

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 :D
I know 43 ways to kill with a SKITTLE, so taste my rainbow bitch.
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Sun Mar 15, 2009 2:29 pm

Nice :P

Can you post your fdi files then :P
Top
FizzyWidget
Veteran
Veteran
User avatar
Posts: 1135
Joined: Fri Nov 21, 2008 9:52 am
Location: 127.0.0.1

  • Quote

Post by FizzyWidget » Sun Mar 15, 2009 4:04 pm

they were copied from yours :) - but as you asked

10-x11-input.fdi

Code: Select all

<?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: Select all

<?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: Select all

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.
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Tue Mar 17, 2009 1:42 am

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: Select all

<?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/Conf ... o_xorg_1.5

I tought that the migration was universal...
Top
dberkholz
Retired Dev
Retired Dev
User avatar
Posts: 1008
Joined: Tue Mar 18, 2003 6:51 am
Location: Minneapolis, MN, USA
Contact:
Contact dberkholz
Website

  • Quote

Post by dberkholz » Tue Mar 17, 2009 5:49 am

What works is pretty dependent on hal version and xorg-server version. Some xorg-server versions ignore whole groups of options.
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Tue Mar 17, 2009 11:13 am

Hi Donnie, he uses Xorg-Server 1.5.3 in a ~x86 Arch and he also uses Funtoo :P

Maybe it's the matching key that doesn't work on his box.
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Tue Mar 17, 2009 11:34 am

Is there a way Donnie to make sure that the options will always works ? Maybe removing the matching keys ?
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Tue Mar 17, 2009 11:39 am

I will ask him to run this file :

Code: Select all

<?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: Select all

<?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>
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Tue Mar 17, 2009 4:34 pm

Have him do something like this:

Code: Select all

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 ?
Top
shgadwa
Guru
Guru
Posts: 327
Joined: Thu Mar 12, 2009 4:29 pm

  • Quote

Post by shgadwa » Tue Mar 17, 2009 7:24 pm

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.
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Tue Mar 17, 2009 7:27 pm

VoidMage wrote:And why are you still using old style of the options ?
Really, can you post the new style plz ?
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Tue Mar 17, 2009 8:40 pm

In example (that I posted here many times) my fdi file looks like this:

Code: Select all

<?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 ?
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Tue Mar 17, 2009 8:56 pm

Alright then, if I have some time tomorrow, I will test it with my ~amd64 box :P

Code: Select all

<?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> 
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Tue Mar 17, 2009 8:57 pm

By the way, altwin:menu is for what and the same goes for compose:menu ???
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Tue Mar 17, 2009 9:30 pm

Once again, read /usr/share/X11/xkb/rules/xorg.lst.
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Wed Mar 18, 2009 11:15 am

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 :P
Top
azp
Guru
Guru
Posts: 457
Joined: Sun Nov 16, 2003 5:48 pm
Location: Sweden
Contact:
Contact azp
Website

  • Quote

Post by azp » Wed Mar 18, 2009 8:48 pm

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:
http://forums.gentoo.org/viewtopic-t-74 ... ight-.html
Weeks of coding can save you hours of planning.
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Wed Mar 18, 2009 10:28 pm

When this xorg-server will hit the stable branch...then we will have a lot of theads here...
Top
azp
Guru
Guru
Posts: 457
Joined: Sun Nov 16, 2003 5:48 pm
Location: Sweden
Contact:
Contact azp
Website

  • Quote

Post by azp » Wed Mar 18, 2009 10:36 pm

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.
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Wed Mar 18, 2009 10:40 pm

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.
Top
Post Reply

398 posts
  • Page 4 of 16
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • …
  • 16
  • Next

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy