LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-18-2008, 03:03 AM   #1
danlee
LQ Newbie
 
Registered: Feb 2008
Location: Canada Eh?
Distribution: Debian AMD64, Windows XP, Windows Vista
Posts: 9

Rep: Reputation: 0
Having an issue with "evdev" in lenny/sid, no errors, but unable to use mouse


I wanted to get the testing as my main repository, with unstable since there are a few packages I use in it, such as vlc etc ... I hate having to compile my own as it usually involves installing alot of extra packages just to make it, and vlc requires ALOT of packages.

I was able to get the nvidia drivers working, after about 24 hours of reading and testing, luckily without any reinstall of any kind Everything else is working as it should, includeing the nvidia drivers, it is just the evdev which is not. I believe the package name is "xserver-xorg-input-evdev".

It appears that there is an issue with evdev, which means that I cannot use it to configure my mouse. I am running lenny/sid. Current sources.list
Code:
deb http://debian.yorku.ca/debian/ testing main non-free contrib
deb-src http://debian.yorku.ca/debian/ testing main non-free contrib

deb http://debian.yorku.ca/debian/ sid main non-free contrib
deb-src http://debian.yorku.ca/debian/ sid main non-free contrib
My apt.conf:
Code:
// Pre-configure all packages with debconf before they are installed.
// If you don't like it, comment it out.
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};
APT::Cache-Limit "16777216";
APT::Default-Release "testing";
My xorg.conf
Code:
# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"ddc"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"vbe"
	Load	"evdev"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
#	Option		"Protocol"		"evdev"
	Option		"Name"			"Logitech USB Receiver"
	Option		"Buttons"		"8"
	Option		"ZAxisMapping"		"4 5 7 8"
#	Identifier	"Configured Mouse"
#	Driver		"mouse"
#	Option		"CorePointer"
#	Option		"Device"		"/dev/input/mice"
#	Option		"Protocol"		"ImPS/2"
#	Option		"Emulate3Buttons"	"true"
EndSection

Section "Device"
	Identifier	"NVIDIA Geforce 7600GT"
	Driver		"nvidia"
	BusID		"PCI:7:0:0"
	Option		"TwinView" "true"
	Option		"TwinViewOrientation" "Leftof"
	Option		"UseEdidFreqs" "true"
	Option		"MetaModes" "3280x1050_60"
	Option 		"UseDisplayDevice" "DFP"
	Option		"SecondMonitorHorizSync" "30-82"
	Option		"SecondMonitorVertRefresh" "50-75"
EndSection

Section "Monitor"
	Identifier	"VX2025wm 1"
	Option		"DPMS"
	HorizSync	30-82
	VertRefresh	50-75
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"NVIDIA Geforce 7600GT"
	Monitor		"VX2025wm 1"
	DefaultDepth	24
	SubSection "Display"
		Modes		"1680x1050_60" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse" "SendCoreEvents"
EndSection

Section "DRI"
	Mode	0666
EndSection
Please let me know if you need anymore info or if you have a solution, I would appreciate it. It's not urgent as with the above xorg.conf mouse works fine, however if I switch to evdev, it does not work anymore.
 
Old 02-18-2008, 07:32 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Don't use "Protocol" "evdev". Use "Driver" "evdev" instead.
I believe they are two separate things, and the old protocol way isn't supported any more, IIRC.

And if you use evdev, you probably won't need most of the other lines in the mouse section; not unless you have some special configuration like dual monitors or something. evdev should configure everything for you.

Here's an example of how to set up a complex mouse using it:
https://help.ubuntu.com/community/MX1000Mouse
 
Old 02-18-2008, 04:44 PM   #3
danlee
LQ Newbie
 
Registered: Feb 2008
Location: Canada Eh?
Distribution: Debian AMD64, Windows XP, Windows Vista
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks for the guide, very helpfull

I was able to solve the problem with the following:
Code:
Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"evdev"
	Option		"CorePointer"
	Option		"Dev Name"		"Logitech USB Receiver"
	Option		"Dev Phys"		"usb-*/input0"
	Option		"Device"		"/dev/input/event0"
	Option		"Buttons"		"8"
	Option		"ZAxisMapping"		"4 5 7 8"
EndSection
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
evdev creates mouse "jaggies" enigma_0Z Linux - Hardware 0 11-14-2006 09:05 AM
cedega steam mouse issue "fixed" oldsko0l Linux - Software 5 10-19-2006 02:34 PM
Ntfs-Fuse copy error Debian "Sid" / Ubuntu "6.06" animefriik Linux - General 0 10-06-2006 09:28 AM
"unable to find usable depth" and other errors when starting X with xdm in RHL 5.2 celejar Linux - Newbie 3 03-07-2004 03:16 PM
Samba is behaving poorly and causing "unable to handle kernel paging request" errors system Linux - Networking 6 01-26-2002 08:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration