Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Logitech USB Receiver [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
chiefbag
Guru
Guru


Joined: 01 Oct 2010
Posts: 440
Location: The Kingdom of Kerry

PostPosted: Mon Mar 11, 2013 2:52 pm    Post subject: Logitech USB Receiver [SOLVED] Reply with quote

Another case of Logitech mouse issues.

I have upgraded my kernel to 3.7.10-gentoo on x86_64 since then my mouse has stopped working. I have also rebuilt the X drivers as below so I suspect this might be a module issue or to do with usb3.
Anyone have any ideas I can try, below is the current status.

I emerged the following after the new kernel was running.

Code:
emerge -va x11-libs/libXxf86vm x11-libs/libXxf86misc x11-libs/libXxf86dga x11-drivers/xf86-input-mouse x11-drivers/xf86-input-keyboard x11-drivers/xf86-input-evdev x11-base/xorg-drivers x11-base/xorg-server


Code:
lsusb
Bus 001 Device 007: ID 046d:c526 Logitech, Inc. Nano Receiver


Code:
dmesg
usb 1-1.4: new full-speed USB device number 7 using ehci_hcd
usb 1-1.4: New USB device found, idVendor=046d, idProduct=c526
usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1.4: Product: USB Receiver
usb 1-1.4: Manufacturer: Logitech
input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input9
hid-generic 0003:046D:C526.000B: input,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:1a.0-1.4/input0
input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.1/input/input10
hid-generic 0003:046D:C526.000C: input,hiddev0,hidraw2: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:1a.0-1.4/input1


Code:
cat .config | grep LOGITECH
CONFIG_HID_LOGITECH=m
CONFIG_HID_LOGITECH_DJ=m
CONFIG_LOGITECH_FF=y


Code:
cat .config | grep MOUSE   
CONFIG_MAC_EMUMOUSEBTN=y
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
CONFIG_MOUSE_PS2_ALPS=y
CONFIG_MOUSE_PS2_LOGIPS2PP=y
CONFIG_MOUSE_PS2_SYNAPTICS=y
CONFIG_MOUSE_PS2_LIFEBOOK=y
CONFIG_MOUSE_PS2_TRACKPOINT=y
# CONFIG_MOUSE_PS2_ELANTECH is not set
# CONFIG_MOUSE_PS2_SENTELIC is not set
CONFIG_MOUSE_PS2_TOUCHKIT=y
CONFIG_MOUSE_SERIAL=m
CONFIG_MOUSE_APPLETOUCH=m
# CONFIG_MOUSE_BCM5974 is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_MOUSE_SYNAPTICS_I2C is not set
CONFIG_MOUSE_SYNAPTICS_USB=m
# CONFIG_HID_MAGICMOUSE is not set
# CONFIG_USB_IDMOUSE is not set

_________________
A place for useful technical information


Last edited by chiefbag on Tue Mar 12, 2013 9:40 am; edited 1 time in total
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Mon Mar 11, 2013 7:17 pm    Post subject: Reply with quote

I think the current best practice is to have this in xorg.conf:
Code:
Section "InputClass"
    # Logitech VX Nano, 800 DPI
    Identifier      "USB wireless receiver for mouse"
    Driver "evdev"
    Option "AccelerationProfile"    "-1"
    Option "ConstantDeceleration"   "3.1"
    Option "Resolution"             "800"
    Option "SampleRate"             "500"

    # From lsusb
    MatchUSBID "046d:c526"
    MatchDevicePath "/dev/input/event*"
EndSection


The intention of that is to, erm magically, have Xorg choose the correct device from the two devices that udev sees in /dev/input/ (USB receiver, and wireless mouse).

With usbhid.mousepoll=2 in your bootloader's kernel commandline, for polling at 500hz rather than the old-fashioned default of 125hz.
Back to top
View user's profile Send private message
chiefbag
Guru
Guru


Joined: 01 Oct 2010
Posts: 440
Location: The Kingdom of Kerry

PostPosted: Tue Mar 12, 2013 9:39 am    Post subject: Reply with quote

@PaulBredbury excellent, thank you.

That solved my issue, I just tweaked the speed a little to my liking.

Code:
Option "AccelerationProfile"    "2"
Option "ConstantDeceleration"   "2.5"

_________________
A place for useful technical information
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
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