[arch-general] Step 3: Configure X- B: Input hotplugging
I am working on the beginners guide and have read some information on input hotplugging, and was wondering if it was really necessary to do Step 3- section B in the Beginners Guide? If so, I don't really understand exactly what commands to run and which order to run them? Thank you for any help.
On Wed, Feb 11, 2009 at 5:57 PM, Preston C. <gprestonc@gmail.com> wrote:
I am working on the beginners guide and have read some information on input hotplugging, and was wondering if it was really necessary to do Step 3- section B in the Beginners Guide?
If so, I don't really understand exactly what commands to run and which order to run them? Thank you for any help.
I haven't had a look at the beginner's guide, but here is what you should know: If you are running hal and have an english layout - you should have to do nothing at all. If you're not using an english layout, you need to tweak some hal config files If you're not running hal, you need to disable hotplugging in xorg.conf http://wiki.archlinux.org/index.php/Xorg_input_hotplugging
I haven't had a look at the beginner's guide, but here is what you should know:
If you are running hal and have an english layout - you should have to do nothing at all. If you're not using an english layout, you need to tweak some hal config files If you're not running hal, you need to disable hotplugging in xorg.conf
I do have an English layout, I guess by layout you mean what is the primary language of my system. Will you tell me how to find out if I am running hal? If I am running hal does that mean hotplugging is disabled? Thanks.
Preston C. wrote:
I am working on the beginners guide and have read some information on input hotplugging, and was wondering if it was really necessary to do Step 3- section B in the Beginners Guide?
It's not really necessary, no. Take a look at http://wiki.archlinux.org/index.php/Xorg_input_hotplugging Section 6.6 tells you how to turn it off, but I recommend you to read the introduction part to understand what Xorg input hotplugging is about.
If so, I don't really understand exactly what commands to run and which order to run them? Thank you for any help.
Installing is pretty straight forward. # pacman -S xf86-input-evdev # /etc/rc.d/hal start If you don't use a "us" keymap, you probably have to configure it. # cp /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi /etc/hal/fdi/policy/ Then edit it: <merge key="input.xkb.layout" type="string">YOUR_KEYMAP</merge> And don't forget: http://wiki.archlinux.org/index.php/Xorg_input_hotplugging Paulo Santos
It's not really necessary, no. Take a look at http://wiki.archlinux.org/index.php/Xorg_input_hotplugging Section 6.6 tells you how to turn it off, but I recommend you to read the introduction part to understand what Xorg input hotplugging is about.
Installing is pretty straight forward.
# pacman -S xf86-input-evdev # /etc/rc.d/hal start
This where I got stuck. In the Beginners Guide it said to do these before you start hal: - usr/sbin/groupadd -g 81 dbus ( this didn't work because it said there no such file or directory) - usr/sbin/useradd -c 'System message bus' -u 81 -g dbus -d '/' -s /bin/false dbus Are the two steps just mentioned necessary to do before I run, "/etc/rc.d/hal start"? Will hal startup during boot after running, "/etc/rc.d/hal start", or do I need to something else? In the link you gave me it says, "Add the hal daemon to the DAEMONS array in /etc/rc.conf before anything related to X.Org is started. The hal daemon will load the dbus daemon automatically." It does not tell me how though, so I am a little lost on this issue? Apparently it is best to disable hotplugging (which apparently means that you can change peripherals while the computer is on) and have hal (which replaces hotplugging?) boot up at startup? That is the ultimate goal isn't it? Yes, I am confused a little. Thanks, Preston
Ok my mistake, apparently it is best to enable hotplugging, if you want to be able to change peripherals while the computer is on, and then have hal start during boot so that hotplugging is enabled. I guess the question is can my computer work with hotplugging? I have a ps2 mouse and a ps2 keyboard, will hot plugging work with this.
I think I have got it this time, :-). Here are the questions: I would like to use input hotplugging. So, I need to configure it. Are these the correct commands to run, in this order: # pacman -S xf86-input-evdev # usr/sbin/groupadd -g 81 dbus # usr/sbin/useradd -c 'System message bus' -u 81 -g dbus -d '/' -s /bin/false dbus # /etc/rc.d/hal start Or just: # pacman -S xf86-input-evdev # /etc/rc.d/hal start After running the correct command sequence listed above (whichever one it is), it seems that I need to "Add the hal daemon to the DAEMONS array in /etc/rc.conf to start it at every boot." I do not know how to do this? Thanks, sorry for the confusion.
Add hal to the daemons array at the bottom of /etc/rc.conf. Starting hal will take care of starting dbus, and acpid if you have it installed. On Wed, Feb 11, 2009 at 5:04 PM, Preston C. <gprestonc@gmail.com> wrote:
I think I have got it this time, :-). Here are the questions:
I would like to use input hotplugging. So, I need to configure it.
Are these the correct commands to run, in this order: # pacman -S xf86-input-evdev # usr/sbin/groupadd -g 81 dbus # usr/sbin/useradd -c 'System message bus' -u 81 -g dbus -d '/' -s /bin/false dbus # /etc/rc.d/hal start
Or just: # pacman -S xf86-input-evdev # /etc/rc.d/hal start
After running the correct command sequence listed above (whichever one it is), it seems that I need to "Add the hal daemon to the DAEMONS array in /etc/rc.conf to start it at every boot." I do not know how to do this?
Thanks, sorry for the confusion.
Add hal to the daemons array at the bottom of /etc/rc.conf. Starting hal will take care of starting dbus, and acpid if you have it installed.
So this is what the daemons array looks like: DAEMONS=(syslog-ng network netfs crond alsa) After I add hal it should look like this?: DAEMONS=(syslog-ng network netfs crond alsa hal) Does someone know, which commands (listed in my previous email) I need to use in the correct order, to get input hotplugging configured properly? Thanks.
Figured it out, thanks for the help.
Preston C. wrote:
I think I have got it this time, :-). Here are the questions:
I would like to use input hotplugging. So, I need to configure it.
Are these the correct commands to run, in this order: # pacman -S xf86-input-evdev # usr/sbin/groupadd -g 81 dbus # usr/sbin/useradd -c 'System message bus' -u 81 -g dbus -d '/' -s /bin/false dbus # /etc/rc.d/hal start
Or just: # pacman -S xf86-input-evdev # /etc/rc.d/hal start
As for me, I didn't have to add dbus to either groups or users. Probably added when hal was installed or something. I do have the entries in /etc/group and /etc/passwd though.
After running the correct command sequence listed above (whichever one it is), it seems that I need to "Add the hal daemon to the DAEMONS array in /etc/rc.conf to start it at every boot." I do not know how to do this?
In /etc/rc.conf, the last line of that file, is the DAEMONS array. It's an array with all the daemons that will start automatically when your computer boots. To add hal daemon to the array, just write its name on it: DAEMONS=(syslog-ng hal ...) Paulo Santos
participants (4)
-
Aaron Griffin
-
Paulo Santos
-
Preston C.
-
Zack