Mouse buttons don't register in Sabayon.

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

Re: Mouse buttons don't register in Sabayon.

Postby Fitzcarraldo » Sat Dec 01, 2012 14:02

Hmm... the Xorg.0.log files look very similar, and nothing stands out as being wrong in the SL log file.

Please do the following:

1. Boot the PC into SL without the mouse inserted.
2. Open a Konsole/Terminal window, log in as root and enter the command dmesg. Look at the end of the output.
3. Plug in the mouse.
4. Enter the command dmesg again.
5. Copy only the new lines that have appeared at the end of the dmesg output after you plugged in the mouse, and paste it here.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Mouse buttons don't register in Sabayon.

Postby Exospaciac » Mon Dec 03, 2012 10:27

Sorry about the delay.

Here's what appears when I plug in the mouse:
Code: Select all
[  157.090610] usb 2-1.6: new full-speed USB device number 10 using ehci_hcd
[  157.178522] usb 2-1.6: New USB device found, idVendor=04f2, idProduct=1106
[  157.178524] usb 2-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  157.178525] usb 2-1.6: Product: Tt eSPORTS SAPHIRA
[  157.178526] usb 2-1.6: Manufacturer: Thermaltake
[  157.179713] input: Thermaltake Tt eSPORTS SAPHIRA as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.0/input/input13
[  157.179812] hid-generic 0003:04F2:1106.0006: input,hidraw5: USB HID v1.11 Mouse [Thermaltake Tt eSPORTS SAPHIRA] on usb-0000:00:1d.0-1.6/input0
[  157.182410] input: Thermaltake Tt eSPORTS SAPHIRA as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.1/input/input14
[  157.182516] hid-generic 0003:04F2:1106.0007: input,hiddev0,hidraw6: USB HID v1.11 Keyboard [Thermaltake Tt eSPORTS SAPHIRA] on usb-0000:00:1d.0-1.6/input1
Exospaciac
Simple Hen
 
Posts: 48
Joined: Sun Jan 20, 2008 15:09

Re: Mouse buttons don't register in Sabayon.

Postby Fitzcarraldo » Mon Dec 03, 2012 15:15

Hmm... it would be interesting to see the output when you do that in PeppermintOS.

The output you posted looks OK to me but I have a hunch which is probably wrong but still worth trying, if only to eliminate it as the cause of the problem. Try the following:

Edit /boot/grub/grub.cfg and add the following boot parameter to the end of the kernel boot line (the line that begins with the word "linux"):

Code: Select all
usbhid.quirks=0x04f2:0x1106:0x0004

(If you want to know my line of thinking, see my post Re: Request for advice on making a Media Centre.)

It would be sensible to make a backup of /boot/grub/grub.cfg before you edit it, of course:

Code: Select all
cp /boot/grub/grub.cfg /boot/grub/grub.cfg.bak
nano /boot/grub/grub.cfg

Once you have edited grub.cfg, reboot. As I say, my hunch is probably wrong but try it anyway to check. You may find the mouse doesn't work at all. You can just re-edit /boot/grub/grub.cfg afterwards to delete the extra boot parameter you added.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Mouse buttons don't register in Sabayon.

Postby Exospaciac » Mon Dec 03, 2012 19:37

All that did was (as you predicted) cause the mouse to stop working. Haha.
What else is weird is that the mouse works in Peppermint LiveCD environment but stopped working properly when I installed it on a separate partition. It works fine on Crunchbang on a different PC though. I really don't get it.
Exospaciac
Simple Hen
 
Posts: 48
Joined: Sun Jan 20, 2008 15:09

Re: Mouse buttons don't register in Sabayon.

Postby Fitzcarraldo » Mon Dec 03, 2012 20:13

I'm running out of ideas, I'm afraid.

I notice that the excerpt of Xorg.0.log from SL you posted has the following four lines that are not in the excerpt of Xorg.0.log for PeppermintOS you posted:

Code: Select all
[   442.394] (WW) Option "xkb_variant" requires an string value
[   442.394] (WW) Option "XkbVariant" requires an string value
[   442.394] (WW) Option "xkb_options" requires an string value
[   442.394] (WW) Option "XkbOptions" requires an string value

I wonder if those are relevant.

I also notice that the Xorg.0.log excerpt for SL has:

Code: Select all
[   442.394] (**) Option "xkb_rules" "evdev"
[   442.394] (**) Option "xkb_model" "evdev"
[   442.394] (**) Option "xkb_layout" "us"

whereas the Xorg.0.log excerpt for PeppermintOS has:

Code: Select all
[    75.945] (**) Option "xkb_rules" "evdev"
[    75.945] (**) Option "xkb_model" "pc105"
[    75.945] (**) Option "xkb_layout" "us"

I don't think the lack of an X Windows keyboard model option "pc105" would be the cause of what you are seeing, but it's something you ought to check anyway, so try adding the following file /etc/X11/xorg.conf.d/10-keyboard.conf in SL:

Code: Select all
Section "InputClass"
  Identifier "keyboard-all"
  Driver "evdev"
  Option "XkbModel" "pc105"
  Option "XkbLayout" "us"
  Option "XkbOptions" ""
  MatchIsKeyboard "on"
EndSection

(I assume you have a US keyboard layout?)
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Mouse buttons don't register in Sabayon.

Postby Exospaciac » Mon Dec 03, 2012 21:18

That didn't work either. Yes I have a US keyboard layout.
I think I am just going to see if I can return the mouse. I never thought I'd have this much trouble getting a mouse to work.

Thanks for all your help!
Exospaciac
Simple Hen
 
Posts: 48
Joined: Sun Jan 20, 2008 15:09

Previous

Return to Hardware

Who is online

Users browsing this forum: No registered users and 0 guests