Debian This forum is for the discussion of Debian Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-21-2005, 10:41 PM
|
#1
|
Member
Registered: Dec 2004
Distribution: Mandrake 10.1; Fedora Core 3; FreeBSD 5.3; Slackware 10.1 (2.6.10);
Posts: 234
Rep:
|
Incorrect Mouse, Incorrect Keymap, and Trapped in X
During the configuration at the first real boot of Debian, I never got a chance to do a standard xorgconfig, and now my mouse and keyboard don't work. I have KDM set up, so the X escape sequence just returns to the login screen, and I can't pull down the menu. Is there a way to get out of X without a mouse?
|
|
|
08-22-2005, 03:07 AM
|
#2
|
Member
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529
Rep:
|
what is your xorg file
o/p of /var/log/messages
what errors are u getting
|
|
|
08-22-2005, 03:18 AM
|
#3
|
Member
Registered: Dec 2004
Distribution: Mandrake 10.1; Fedora Core 3; FreeBSD 5.3; Slackware 10.1 (2.6.10);
Posts: 234
Original Poster
Rep:
|
I honestly am unable to check anything, since I have KDM set up. The cursor won't respond to movement, and the keyboard has the wrong keymap.
|
|
|
08-22-2005, 06:35 AM
|
#4
|
Member
Registered: Mar 2005
Location: Hilversum/Holland
Distribution: Debian GNU/Linux 5.0 (“Lenny”)
Posts: 290
Rep:
|
Quote:
Originally posted by Kenji Miyamoto
I honestly am unable to check anything, since I have KDM set up. The cursor won't respond to movement, and the keyboard has the wrong keymap.
|
You should be able to switch to a console with CTRL+ALT+F1 / F6 and disable KDM using
Code:
/etc/init.d/kdm stop
You don't even need to stop it, as what you need is to take a glance at the logs in /var/log/Xorg.0.log or in $HOME/.xsession-errors, which you can do without having to do anything on the X.
You can also try to edit your /etc/X11/xorg.conf from there and take a look at the "corepointer" section. Normally this should be enough to load the module, but you should also use debian's module configuration system modconf and load your mouse's modules.
Quote:
Section "InputDevice"
#here is where your mouse must be configured
#this is a standard PS/2 mouse
#this should work out of the box for most mice, mine is an USB optical mouse
# Identifier and driver
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "ZAxis Mapping" "4 5"
EndSection
...
...
Section "ServerLayout"
# stuff related to the monitor, kbd and other things
# should include the lines below
...
InputDevice "Mouse1" "CorePointer"
...
EndSection
|
Sometimes there is a little precedence issue related to USB and PS/2 modules. I don't know where Debian stores the list of modules to be load, but the only thing you need is to get the PS/2 modules evdev and psmouse to load before any USB modules such as usb-core.
after making changes to the modules run update-modules
Hope this helps,
try it anyway and post the error log. Please only the 20-50 final lines:
Code:
cat /var/log/Xorg.0.log | tail -n 50 > $HOME/textfile
Last edited by runlevel0; 08-22-2005 at 06:41 AM.
|
|
|
08-22-2005, 01:22 PM
|
#5
|
Member
Registered: Dec 2004
Distribution: Mandrake 10.1; Fedora Core 3; FreeBSD 5.3; Slackware 10.1 (2.6.10);
Posts: 234
Original Poster
Rep:
|
I just had the wrong protocol entered for the mouse.
I can't figure out the X.org package name is.
Now that I've rebooted into XFree86, I have no sound and no mouse movement. I didn't do anything other than rebooting after editing XF86Config-4.
Last edited by Kenji Miyamoto; 08-22-2005 at 02:24 PM.
|
|
|
08-22-2005, 10:49 PM
|
#6
|
Senior Member
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597
Rep:
|
Shouldn't there be a "recovery mode" to choose from in the grub boot loader screen? That should boot your system into a single user mode, ask for the root user's password, and bypass kdm, so that you can fix the X configuration from the CLI.
If you've got XFree86, then the file to edit is /etc/X11/XF86Config-4 but if you've installed X.org, then you should edit /etc/X11/xorg.conf . "dpkg-reconfigure xserver-xfree86" will edit the XFree86 config file and "dpkg-reconfigure xserver-xorg" will edit the X.org config file. However, if you've already manually edited one of these files, then you need to use a text editor, like "nano /etc/X11/XF86Config-4" or "nano /etc/X11/xorg.conf".
|
|
|
08-22-2005, 10:58 PM
|
#7
|
Member
Registered: Dec 2004
Distribution: Mandrake 10.1; Fedora Core 3; FreeBSD 5.3; Slackware 10.1 (2.6.10);
Posts: 234
Original Poster
Rep:
|
Well, with the exact samd device and 'auto' driver, it worked before I rebooted. And that doesn't explain my sound problems.
Which packages are needed to do a complete intall of X.org?
|
|
|
08-23-2005, 12:30 AM
|
#8
|
Senior Member
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597
Rep:
|
"apt-get install x-window-system"
X.org is currently only available in debian unstable. Debian testing and debian stable both have XFree86.
|
|
|
08-24-2005, 02:42 PM
|
#9
|
Member
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529
Rep:
|
just use ps-2 protocol for timebeing and later u can change over to imps2
|
|
|
All times are GMT -5. The time now is 04:38 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|