Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No USB Mouse in xorg/gnome [SOLVED]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5575

PostPosted: Sat Jul 07, 2012 9:38 pm    Post subject: Reply with quote

That's quite odd.
Pastebin your new xorg.conf (to make sure you've got it right) and conf snippets from /usr/share/X11/xorg.conf.d (if you modified any of them).
But I think I've seen a different thread of yours about udev upgrade - this just might play a role here; if udev got messed up, input hotplug in X won't work properly (if at all).
Back to top
View user's profile Send private message
Splink
Apprentice
Apprentice


Joined: 09 Feb 2005
Posts: 295

PostPosted: Sat Jul 07, 2012 11:20 pm    Post subject: Reply with quote

Hi,

Managed to sort Udev out - forgot to update the config file. Despite this, the usb mouse still does not work in X.

Here is my xorg.conf

http://pastebin.com/3rna18iD

I have removed all of the udev rules for this. The only ones in /usr/share/X11/xorg.d are the /dev/input/event* rules which are needed by evdev.

Everything else seems to work fine, external usb drive, usb head set, usb camera, usb xmas tree :) Just the damn mouse.

Its like the touchpad is taking over all the ports and not letting the mouse see anything at all. I think its going to be something silly.

I have done a complete world update too - everything went fine apart from the last package which was gnome-power-manager which I cant get to install at all. I have also switched to gcc4.6 and compiled everything from within that profile. I am on 3.3 gentoo kernel too and getting stuck with this.

I tried livecd too and the mouse works fine on livecd, so it has to be something to do with configuration on here somewhere.
_________________
It said "Requires Windows XP or better"
So I installed gentoo.
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Sun Jul 08, 2012 3:23 am    Post subject: Reply with quote

Splink,
I just stumbled on this - I don't know if you're aware of these - I didn't see them mentioned here.

[N] app-misc/razertool ((~)0.0.7-r3): Unofficial tool for controlling the Razer Copperhead mouse
[N] sys-apps/razercfg ((~)0.17_p20111028): Utility for advanced configuration of Razer mice (DeathAdder, Krait, Lachesis)
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
Splink
Apprentice
Apprentice


Joined: 09 Feb 2005
Posts: 295

PostPosted: Sun Jul 08, 2012 8:11 am    Post subject: Reply with quote

Yes I have the razertool install and it can see the mouse fine which is odd.

As soon as I plug it in, it pop up with the firmware, button config and I can change things and save it to the mouse. If I unplug the mouse, it says there is no mouse connected?!?!

I am getting this from the advanced tool though:

Code:
The device most likely won't work now. Try to replug it.
librazer: Failed to reconnect the kernel driver (-5).


so looks like back at the kernel again
_________________
It said "Requires Windows XP or better"
So I installed gentoo.
Back to top
View user's profile Send private message
Splink
Apprentice
Apprentice


Joined: 09 Feb 2005
Posts: 295

PostPosted: Sun Jul 08, 2012 12:44 pm    Post subject: Reply with quote

update :)

I bought a new mouse, but still the same happening.

Code:
301
[  288.209296] usb 6-1: new low-speed USB device number 4 using uhci_hcd
[  288.352093] usb 6-1: skipped 1 descriptor after interface
[  288.357096] usb 6-1: default language 0x0409
[  288.375093] usb 6-1: udev 4, busnum 6, minor = 643
[  288.375097] usb 6-1: New USB device found, idVendor=045e, idProduct=0737
[  288.375101] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  288.375104] usb 6-1: Product: Compact Optical Mouse 500
[  288.375107] usb 6-1: Manufacturer: Microsoft
[  288.375264] usb 6-1: usb_probe_device
[  288.375268] usb 6-1: configuration #1 chosen from 1 choice
[  288.388089] usb 6-1: adding 6-1:1.0 (config #1, interface 0)
[  288.388165] drivers/usb/core/inode.c: creating file '004'
[  348.500079] hub 6-0:1.0: state 7 ports 2 chg 0000 evt 0002
[  348.500088] uhci_hcd 0000:00:1d.0: port 1 portsc 008a,00
[  348.500097] hub 6-0:1.0: port 1, status 0100, change 0003, 12 Mb/s
[  348.500100] usb 6-1: USB disconnect, device number 4
[  348.500102] usb 6-1: unregistering device
[  348.500105] usb 6-1: unregistering interface 6-1:1.0
[  348.500153] usb 6-1: usb_disable_device nuking all URBs
[  348.604033] hub 6-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
[  349.645718] hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0002
[  349.645730] ehci_hcd 0000:00:1d.7: GetStatus port:1 status 001403 0  ACK POWER sig=k CSC CONNECT
[  349.645740] hub 2-0:1.0: port 1, status 0501, change 0001, 480 Mb/s
[  349.749041] hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x501
[  349.749050] ehci_hcd 0000:00:1d.7: port 1 low speed --> companion
[  349.800089] ehci_hcd 0000:00:1d.7: GetStatus port:1 status 003002 0  ACK POWER OWNER sig=se0 CSC
[  349.800111] hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0002
[  349.800118] hub 6-0:1.0: state 7 ports 2 chg 0000 evt 0002
[  349.800126] uhci_hcd 0000:00:1d.0: port 1 portsc 01a3,00
[  349.800133] hub 6-0:1.0: port 1, status 0301, change 0001, 1.5 Mb/s
[  349.904095] hub 6-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x301
[  350.006096] usb 6-1: new low-speed USB device number 5 using uhci_hcd
[  350.148093] usb 6-1: skipped 1 descriptor after interface
[  350.153105] usb 6-1: default language 0x0409
[  350.171089] usb 6-1: udev 5, busnum 6, minor = 644
[  350.171092] usb 6-1: New USB device found, idVendor=045e, idProduct=0737
[  350.171094] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  350.171096] usb 6-1: Product: Compact Optical Mouse 500
[  350.171098] usb 6-1: Manufacturer: Microsoft
[  350.171224] usb 6-1: usb_probe_device
[  350.171228] usb 6-1: configuration #1 chosen from 1 choice
[  350.184111] usb 6-1: adding 6-1:1.0 (config #1, interface 0)
[  350.184174] drivers/usb/core/inode.c: creating file '005'


I can boot into a livecd and it works ok.
_________________
It said "Requires Windows XP or better"
So I installed gentoo.
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Sun Jul 08, 2012 3:09 pm    Post subject: Reply with quote

Splink wrote:

I bought a new mouse, but still the same happening.

I can boot into a livecd and it works ok.

Boot to the livecd and dump lsmod so you can try to match the loaded modules to the .config settings if you haven't already done so.

Also, there might be a config dump in /proc/config.gz that you can examine.

Good luck :wink:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
Splink
Apprentice
Apprentice


Joined: 09 Feb 2005
Posts: 295

PostPosted: Sun Jul 08, 2012 3:35 pm    Post subject: Reply with quote

Cheers :) Already tried this but everything seems fine. All the USB drivers are in there, evdev, tmpfs, devtmp etc.

This is almost like evdev is not seeing the device at all. Or rather in console it is fine, but in gdm and X there is nothing. If I try and force it to reference the /dev device for it, it will come back with an ioctl error saying its an invalid device and then evdev unloads.

I only started having this problem when I switched on hotplug and started to use evdev. I have tried using udev to specify the USB device but that does not seem to work either. I am totally stuck with this, and my next steps are going to change the kernel again to see if that fixes the issue.

Tried 3.3.5-gentoo 3.3.5 3.4.4 and will try 3.4.4-gentoo now.

I have seen loads of other posts on here regarding the same thing, and most get around it by remerging xf86 drivers, or enabling things in the kernel. I have been through that for about 3 days solid now and still i cant see the mouse in /proc/bus/input/devices however it does appear in /dev/bus/input/usb/006/002.

/tear my hair out
_________________
It said "Requires Windows XP or better"
So I installed gentoo.
Back to top
View user's profile Send private message
Splink
Apprentice
Apprentice


Joined: 09 Feb 2005
Posts: 295

PostPosted: Sun Jul 08, 2012 3:58 pm    Post subject: Reply with quote

Well I dropped back to kernel 3.2 with exactly the same software setup - no difference in config at all and the mouse works!


Well looks like this is a bug with kernel 3.3+ or something in the kernel which different from the old UHCI/OHCI things which you need to have in there.
_________________
It said "Requires Windows XP or better"
So I installed gentoo.
Back to top
View user's profile Send private message
crowbert
Tux's lil' helper
Tux's lil' helper


Joined: 28 Apr 2003
Posts: 113

PostPosted: Tue Jan 01, 2013 1:04 am    Post subject: Reply with quote

I just hit the same issue. If I do a 'chmod 666' on the device file in question, it works fine. I need to dig further to figure out what the problem is.
Back to top
View user's profile Send private message
aaronf0
Tux's lil' helper
Tux's lil' helper


Joined: 08 Dec 2004
Posts: 121

PostPosted: Fri Jan 18, 2013 11:00 pm    Post subject: Reply with quote

I was running into this problem to. I ended up solving it by adding support for all the permutations of [OUEX]HCI and "high speed usb2/3 bus support" into my kernel. (Not sure why they were disabled, I must never have noticed them while installing.

For reference:
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_UHCI_HCD=m
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_XHCI_HCD=m
CONFIG_USB_EHCI_TT_NEWSCHED=y
Back to top
View user's profile Send private message
dennisn
Tux's lil' helper
Tux's lil' helper


Joined: 01 Aug 2004
Posts: 104
Location: Montreal, Canada

PostPosted: Sat Feb 23, 2013 11:26 pm    Post subject: Reply with quote

Splink, do you have CONFIG_HID_GENERIC in your newer kernels?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum