View previous topic :: View next topic |
Author |
Message |
xgreenmanx n00b
Joined: 13 Jun 2011 Posts: 5
|
Posted: Mon Jun 13, 2011 5:31 am Post subject: *SOLVED* No mouse in X |
|
|
I can't get my mouse working in X. I have tried using the config file generated by X -configure and have tried changing around the InputDevices sections according to the umpteen forum posts I have read. Udev and DBUS are both up and running. I have tried emerging xorg-server with and without hal (which is deprecated thank god) and with and without the "minimal" use flag. The mouse I am using is a logitech USB wireless mouse and works fine in windows and Ubuntu. I'm not really sure where to go from here because I have searched high and low and reinstalled from the stage3 several times already to be able to start from a clean slate. This is driving me crazy because I know it has to be something simple that I'm missing.
Video card - ATI RadeonHD 2600
make.conf
Code: | # These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -pipe -march=native -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
FEATURES="parallel-fetch ccache"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
VIDEO_CARDS="radeon"
INPUT_DEVICES="evdev"
source /var/lib/layman/make.conf
#ACCEPT_KEYWORDS="~x86"
USE="-ipv6 -bluetooth -gnome -kde X minimal mmx sse sse2 alsa dvd cdr radeon ati hal"
|
xorg.conf
Code: | Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
EndSection
Section "Files"
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 "dri2"
Load "dri"
Load "dbe"
Load "extmod"
Load "record"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "BusType" # [<str>]
#Option "CPPIOMode" # [<bool>]
#Option "CPusecTimeout" # <i>
#Option "AGPMode" # <i>
#Option "AGPFastWrite" # [<bool>]
#Option "AGPSize" # <i>
#Option "GARTSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnableDepthMoves" # [<bool>]
#Option "EnablePageFlip" # [<bool>]
#Option "NoBackBuffer" # [<bool>]
#Option "DMAForXv" # [<bool>]
#Option "FBTexPercent" # <i>
#Option "DepthBits" # <i>
#Option "PCIAPERSize" # <i>
#Option "AccelDFS" # [<bool>]
#Option "IgnoreEDID" # [<bool>]
#Option "CustomEDID" # [<str>]
#Option "DisplayPriority" # [<str>]
#Option "PanelSize" # [<str>]
#Option "ForceMinDotClock" # <freq>
#Option "ColorTiling" # [<bool>]
#Option "VideoKey" # <i>
#Option "RageTheatreCrystal" # <i>
#Option "RageTheatreTunerPort" # <i>
#Option "RageTheatreCompositePort" # <i>
#Option "RageTheatreSVideoPort" # <i>
#Option "TunerType" # <i>
#Option "RageTheatreMicrocPath" # <str>
#Option "RageTheatreMicrocType" # <str>
#Option "ScalerWidth" # <i>
#Option "RenderAccel" # [<bool>]
#Option "SubPixelOrder" # [<str>]
#Option "ClockGating" # [<bool>]
#Option "VGAAccess" # [<bool>]
#Option "ReverseDDC" # [<bool>]
#Option "LVDSProbePLL" # [<bool>]
#Option "ReverseDDC" # [<bool>]
#Option "LVDSProbePLL" # [<bool>]
#Option "AccelMethod" # <str>
#Option "DRI" # [<bool>]
#Option "ConnectorTable" # <str>
#Option "DefaultConnectorTable" # [<bool>]
#Option "DefaultTMDSPLL" # [<bool>]
#Option "TVDACLoadDetect" # [<bool>]
#Option "ForceTVOut" # [<bool>]
#Option "TVStandard" # <str>
#Option "IgnoreLidStatus" # [<bool>]
#Option "DefaultTVDACAdj" # [<bool>]
#Option "Int10" # [<bool>]
#Option "EXAVSync" # [<bool>]
#Option "ATOMTVOut" # [<bool>]
#Option "R4xxATOM" # [<bool>]
#Option "ForceLowPowerMode" # [<bool>]
#Option "DynamicPM" # [<bool>]
#Option "NewPLL" # [<bool>]
#Option "ZaphodHeads" # <str>
Identifier "Card0"
Driver "radeon"
BusID "PCI:5:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
|
lspci -k
Code: |
00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3)
Subsystem: Micro-Star International Co., Ltd. MSI K8N Diamond
00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3)
Subsystem: Micro-Star International Co., Ltd. MSI K8N Diamond
00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
Subsystem: Micro-Star International Co., Ltd. MSI K8N Diamond
Kernel driver in use: nForce2_smbus
00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
Subsystem: Micro-Star International Co., Ltd. MSI K8N Diamond
00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3)
Subsystem: Micro-Star International Co., Ltd. MSI K8N Diamond
Kernel driver in use: ehci_hcd
00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2)
Subsystem: Micro-Star International Co., Ltd. MSI K8N Diamond
Kernel driver in use: pata_amd
00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
Subsystem: Micro-Star International Co., Ltd. MSI K8N Diamond
Kernel driver in use: sata_nv
00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
Subsystem: Micro-Star International Co., Ltd. Device 7100
Kernel driver in use: sata_nv
00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2)
00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
Subsystem: Micro-Star International Co., Ltd. MSI K8N Diamond
Kernel driver in use: forcedeth
00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
Kernel driver in use: pcieport
00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
Kernel driver in use: pcieport
00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
Kernel driver in use: pcieport
00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
Kernel driver in use: pcieport
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
Kernel driver in use: k8temp
01:06.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)
Subsystem: Device 16ef:9230
01:07.0 Multimedia audio controller: Mark of the Unicorn Inc Device 0004 (rev ff)
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 15)
Subsystem: Micro-Star International Co., Ltd. Marvell 88E8053 Gigabit Ethernet Controller (MSI)
Kernel driver in use: sky2
05:00.0 VGA compatible controller: ATI Technologies Inc RV630 [Radeon HD 2600 Series]
Subsystem: VISIONTEK Device 3330
Kernel driver in use: radeon
05:00.1 Audio device: ATI Technologies Inc RV630/M76 audio device [Radeon HD 2600 Series]
Subsystem: VISIONTEK Device aa08
|
_________________ "Get back to work!"
"Compiling!!"
"OK, carry on."
Last edited by xgreenmanx on Mon Jun 13, 2011 10:01 pm; edited 1 time in total |
|
Back to top |
|
|
xgreenmanx n00b
Joined: 13 Jun 2011 Posts: 5
|
Posted: Mon Jun 13, 2011 5:43 am Post subject: |
|
|
a different xorg.conf I tried that was generated by X -configure
Code: | Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
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 "dri2"
Load "dri"
Load "dbe"
Load "extmod"
Load "record"
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"
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "BusType" # [<str>]
#Option "CPPIOMode" # [<bool>]
#Option "CPusecTimeout" # <i>
#Option "AGPMode" # <i>
#Option "AGPFastWrite" # [<bool>]
#Option "AGPSize" # <i>
#Option "GARTSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnableDepthMoves" # [<bool>]
#Option "EnablePageFlip" # [<bool>]
#Option "NoBackBuffer" # [<bool>]
#Option "DMAForXv" # [<bool>]
#Option "FBTexPercent" # <i>
#Option "DepthBits" # <i>
#Option "PCIAPERSize" # <i>
#Option "AccelDFS" # [<bool>]
#Option "IgnoreEDID" # [<bool>]
#Option "CustomEDID" # [<str>]
#Option "DisplayPriority" # [<str>]
#Option "PanelSize" # [<str>]
#Option "ForceMinDotClock" # <freq>
#Option "ColorTiling" # [<bool>]
#Option "ForceMinDotClock" # <freq>
#Option "ColorTiling" # [<bool>]
#Option "VideoKey" # <i>
#Option "RageTheatreCrystal" # <i>
#Option "RageTheatreTunerPort" # <i>
#Option "RageTheatreCompositePort" # <i>
#Option "RageTheatreSVideoPort" # <i>
#Option "TunerType" # <i>
#Option "RageTheatreMicrocPath" # <str>
#Option "RageTheatreMicrocType" # <str>
#Option "ScalerWidth" # <i>
#Option "RenderAccel" # [<bool>]
#Option "SubPixelOrder" # [<str>]
#Option "ClockGating" # [<bool>]
#Option "VGAAccess" # [<bool>]
#Option "ReverseDDC" # [<bool>]
#Option "LVDSProbePLL" # [<bool>]
#Option "AccelMethod" # <str>
#Option "DRI" # [<bool>]
#Option "ConnectorTable" # <str>
#Option "DefaultConnectorTable" # [<bool>]
#Option "DefaultTMDSPLL" # [<bool>]
#Option "TVDACLoadDetect" # [<bool>]
#Option "ForceTVOut" # [<bool>]
#Option "TVStandard" # <str>
#Option "IgnoreLidStatus" # [<bool>]
#Option "DefaultTVDACAdj" # [<bool>]
#Option "Int10" # [<bool>]
#Option "EXAVSync" # [<bool>]
#Option "ATOMTVOut" # [<bool>]
#Option "R4xxATOM" # [<bool>]
#Option "ForceLowPowerMode" # [<bool>]
#Option "DynamicPM" # [<bool>]
#Option "NewPLL" # [<bool>]
#Option "ZaphodHeads" # <str>
Identifier "Card0"
Driver "radeon"
BusID "PCI:5:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
|
_________________ "Get back to work!"
"Compiling!!"
"OK, carry on." |
|
Back to top |
|
|
chiefbag Guru
Joined: 01 Oct 2010 Posts: 542 Location: The Kingdom
|
Posted: Mon Jun 13, 2011 7:41 am Post subject: |
|
|
try re emerging the following.
Code: | emerge -va x11-drivers/xf86-input-mouse |
|
|
Back to top |
|
|
xgreenmanx n00b
Joined: 13 Jun 2011 Posts: 5
|
Posted: Mon Jun 13, 2011 8:16 am Post subject: |
|
|
Noper... still no mouse. For what it's worth x11-drivers/xf86-input-mouse was not even installed until you had me emerge it. _________________ "Get back to work!"
"Compiling!!"
"OK, carry on." |
|
Back to top |
|
|
v_andal Guru
Joined: 26 Aug 2008 Posts: 543 Location: Germany
|
Posted: Mon Jun 13, 2011 8:43 am Post subject: |
|
|
Please put Xorl.log to pastebin and provide link to it here. |
|
Back to top |
|
|
ugluk n00b
Joined: 06 Oct 2006 Posts: 64
|
Posted: Mon Jun 13, 2011 8:53 am Post subject: |
|
|
Check if udev is loaded on startup (rc-config list), udev sysinit
check the kernel config,
change
Driver "mouse" (for keyboard also)
to
Driver "evdev" |
|
Back to top |
|
|
xgreenmanx n00b
Joined: 13 Jun 2011 Posts: 5
|
Posted: Mon Jun 13, 2011 9:54 am Post subject: |
|
|
Xorg.0.log after changing kbd and mouse drivers to evdev
http://pastebin.com/Cn69TJnv
Udev is set to start at boot time and kernel is set up according to the Gentoo X configuration guide for ATI cards. I'm not sure what you meant about the "udev sysinit" part.
Changed kbd and mouse drivers to evdev. Same result.
I used a kernel seed from kernel-seeds.org as a starting point for my kernel config and then added support for my hardware and input devices. If that could be an issue I can recompile a generic kernel or use genkernel if that will help with troubleshooting. _________________ "Get back to work!"
"Compiling!!"
"OK, carry on." |
|
Back to top |
|
|
doctork Guru
Joined: 25 Apr 2004 Posts: 370 Location: Cleveland, OH
|
Posted: Mon Jun 13, 2011 1:18 pm Post subject: |
|
|
Try running it with no xorg.conf file at all. On my systems, I only have a device section for my nvidia video cards because I want to use the proprietary Nvidia driver. The X server should be clever enough to configure itself on your system.
--
doc |
|
Back to top |
|
|
chiefbag Guru
Joined: 01 Oct 2010 Posts: 542 Location: The Kingdom
|
Posted: Mon Jun 13, 2011 1:27 pm Post subject: |
|
|
Have you tried plugging in a standard wired mouse to see if that works? |
|
Back to top |
|
|
ugluk n00b
Joined: 06 Oct 2006 Posts: 64
|
Posted: Mon Jun 13, 2011 5:32 pm Post subject: |
|
|
I think you kernel config is wrong then, check the instructions on this page for kernel config as regards mouse:
http://www.gentoo.org/doc/en/xorg-config.xml
Device Drivers --->
Input device support --->
<*> Event interface
Also, don't forget the HID and USB settings. I think there are docs about those settings somewhere as well. Be patient, after you configure the kernel a couple of times, it will all be a piece of cake later on.
Also, paste /var/log/Xorg.0.log someplace? |
|
Back to top |
|
|
xgreenmanx n00b
Joined: 13 Jun 2011 Posts: 5
|
Posted: Mon Jun 13, 2011 10:00 pm Post subject: |
|
|
I tried a PS/2 mouse and sure enough it worked fine so I started digging through all of the USB options and realized that I included EHCI for USB 2.0 support and left out OHCI for USB 1.1 support. I guess I assumed that the 2.0 standard would cover both. I recompiled the kernel with OHCI and sure enough it works now!
lspci -v (as suggested by the help screens in the kernel menuconfig) is what tipped me off.
The important part is the end of the first line for each entry
Code: |
00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2) (prog-if 10 [OHCI])
Subsystem: Micro-Star International Co., Ltd. MSI K8N Diamond
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 23
Memory at fe02f000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
Kernel driver in use: ohci_hcd
00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3) (prog-if 20 [EHCI])
Subsystem: Micro-Star International Co., Ltd. MSI K8N Diamond
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20
Memory at feb00000 (32-bit, non-prefetchable) [size=256]
Capabilities: [44] Debug port: BAR=1 offset=0098
Capabilities: [80] Power Management version 2
Kernel driver in use: ehci_hcd
|
The option in the kernel is at
Device Drivers --->
[ * ] USB Support --->
< * > OHCI HCD Support
PS @ Doctork I didn't realize the xorg.conf wasn't necessary. Tried it without an xorg.conf out of curiosity and everything works fine. Definitely good to know because that will save me a ton of headaches in the future knowing that I can skip that file as part of my troubleshooting on simple setups.
THANKS EVERYONE! _________________ "Get back to work!"
"Compiling!!"
"OK, carry on." |
|
Back to top |
|
|
doctork Guru
Joined: 25 Apr 2004 Posts: 370 Location: Cleveland, OH
|
Posted: Mon Jun 13, 2011 10:48 pm Post subject: |
|
|
Quote: | ..........
PS @ Doctork I didn't realize the xorg.conf wasn't necessary. Tried it without an xorg.conf out of curiosity and everything works fine. Definitely good to know because that will save me a ton of headaches in the future knowing that I can skip that file as part of my troubleshooting on simple setups
THANKS EVERYONE! | No xorg.conf works well on simple systems. It probably has problems with multiheaded systems or some speacial graphics needs. X manages to find all the pointer devices on my Lenovo laptop (touchpad with five buttons, trackpoint, external usb mouse).
--
doc |
|
Back to top |
|
|
|