You are not logged in.

#1 2010-05-17 21:55:05

thehumanproject
Member
Registered: 2010-05-16
Posts: 13

Keyboard and mouse not working on boot??

Hi,

on boot up, my mouse and keyboard tend to stop working, and when searching around, it all seems to point to editing the xorg.conf. my questions are how to edit the xorg.conf through a live cd? I've gotten as far as mounting the file system, but get an error when using these:

mount -t proc proc proc/
mount -t sysfs sys sys/
mount -o bind /dev dev/

Could someone possibly walk me through this process?

thanks in advance!!

Offline

#2 2010-05-17 22:04:04

schen
Member
Registered: 2009-06-06
Posts: 468

Re: Keyboard and mouse not working on boot??

If I'm correct, proc only is started when linux is actually booted up.

Offline

#3 2010-05-17 22:11:46

Surgat_
Member
Registered: 2007-08-08
Posts: 317

Re: Keyboard and mouse not working on boot??

You don't need to mount those just to edit xorg.conf, just mount / and edit it. However, I think it's more likely that your problem is that you don't start the hal daemon at boot, so xorg never gets input devices. Check your DAEMONS array in /etc/rc.conf and make sure you start it

Offline

#4 2010-05-17 22:23:18

Zoole
Member
Registered: 2008-07-27
Posts: 6

Re: Keyboard and mouse not working on boot??

If it's a xorg.conf issue, you should be able to read it in in the console when X isn't running. If your computer's set to boot straight into a graphical environment, you can override that by setting the runlevel to 3 in the kernel line at the boot menu. You should be able to fix it from the command line using vim/emacs/nano/whatever, but barring that...

If you've already mounted the file system, is it not possible to go to /[mount directory]/etc/X11/ and modify it there? I don't think you need to worry about any of those commands.

Offline

#5 2010-05-18 02:31:49

thehumanproject
Member
Registered: 2010-05-16
Posts: 13

Re: Keyboard and mouse not working on boot??

Is the xorg.conf located at /usr/X11R6/lib/X11/xorg.conf?? Everytime i try to cd to their it says no such directory. . .

Last edited by thehumanproject (2010-05-18 03:24:48)

Offline

#6 2010-05-18 02:37:49

thehumanproject
Member
Registered: 2010-05-16
Posts: 13

Re: Keyboard and mouse not working on boot??

Okay, it seens that Surgat was right and the hal daemon was not there, so i added hal, dbus, and alsa.

EDIT: Okay, even though i added those daemons, keyboard and mouse still refuse to work...

EDIT2: okay. how do i edit the rc.conf from the live ccd? I've tried mounting the filesystem and trying to open it in nano but it says it is not a directory.

Last edited by thehumanproject (2010-05-18 03:11:09)

Offline

#7 2010-05-18 03:35:46

thehumanproject
Member
Registered: 2010-05-16
Posts: 13

Re: Keyboard and mouse not working on boot??

So here is what is happening right now:

mounted my /dev/sda to /mnt/arch so:

 mount /dev/sda1 /mnt/arch

And from there, I can't access the the main rc.conf.

when trying:

 cd /mnt/arch/etc/

It says it is not a directory. So i tried to use nano and it created a new file when trying

 nano /mnt/arch/etc/rc.conf

Anyone help me with this?

Offline

#8 2010-05-18 04:35:30

theapodan
Member
From: Virginia, USA
Registered: 2008-10-21
Posts: 116

Re: Keyboard and mouse not working on boot??

http://wiki.archlinux.org/index.php/Xor … n_problems

If Xorg will not start, or the screen is completely black, the keyboard and mouse is not working, etc., first take these simple steps:

    * Check the log file: cat /var/log/Xorg.0.log
    * Make sure that HAL has been started prior to running Xorg:

# /etc/rc.d/hal start

    * Install input driver (keyboard, mouse, joystick, tablet, etc...):

# pacman -S xf86-input-evdev

Did you install the appropriate input driver?

You might still need xf86-input-keyboard and xf86-input-mouse, in addition to xf86-input-evdev.

Offline

#9 2010-05-18 04:44:20

thehumanproject
Member
Registered: 2010-05-16
Posts: 13

Re: Keyboard and mouse not working on boot??

I actually did try to install the xf86 mouse and keyboard drivers and it gave me an error nessage. I will try it again right now and see what it says.

EDIT: So i connected to the network and tried it and it says

 pacman -S xf86-input-evdev
error: 'xf86-input-evdev' :not found in sync db

it also said that for the keyboard and mouse drivers as well.

Last edited by thehumanproject (2010-05-18 04:59:42)

Offline

#10 2010-05-18 05:14:08

theapodan
Member
From: Virginia, USA
Registered: 2008-10-21
Posts: 116

Re: Keyboard and mouse not working on boot??

thehumanproject wrote:

I actually did try to install the xf86 mouse and keyboard drivers and it gave me an error nessage. I will try it again right now and see what it says.

EDIT: So i connected to the network and tried it and it says

 pacman -S xf86-input-evdev
error: 'xf86-input-evdev' :not found in sync db

it also said that for the keyboard and mouse drivers as well.

Do you have the extra repo enabled?

If so, have you tried a different mirror?

Offline

#11 2010-05-18 05:20:59

thehumanproject
Member
Registered: 2010-05-16
Posts: 13

Re: Keyboard and mouse not working on boot??

Do you have the extra repo enabled?

How do i do this?

And i have yet to try a different mirror, i will get on it.

EDIT: Okay now i have successfully installed xf86-input-keyboard/mouse/evdev.
But now what? Would i reboot? Or would i lose my installed files?

Last edited by thehumanproject (2010-05-18 05:37:30)

Offline

Board footer

Powered by FluxBB