LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-18-2013, 10:32 AM   #1
flyinggeorge
Member
 
Registered: Feb 2012
Location: United States
Distribution: Slackware 14.0
Posts: 159

Rep: Reputation: 3
Logitech USB wireless mouse


Hello, I had to replace the receiver for my Logitech wireless mouse recently. I got the new receiver today and plugged it into my USB port and it does not work.

Here is what dmesg | tail says:

Code:
bash-4.2# dmesg | tail
[863672.040172] usb 3-1: Manufacturer: Logitech
[863672.040920] xhci_hcd 0000:00:14.0: WARN: short transfer on control ep
[863672.041218] xhci_hcd 0000:00:14.0: WARN: Stalled endpoint
[863672.042449] xhci_hcd 0000:00:14.0: WARN: short transfer on control ep
[863672.042717] xhci_hcd 0000:00:14.0: WARN: short transfer on control ep
[863672.042820] xhci_hcd 0000:00:14.0: WARN: Stalled endpoint
[863672.042922] xhci_hcd 0000:00:14.0: WARN: Stalled endpoint
[863672.043276] logitech-djreceiver 0003:046D:C52B.0014: hiddev0,hidraw2: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-1/input2
I also added a new section to xorg.conf

Code:
bash-4.2$ cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 310.51  (buildmeister@swio-display-x86-rhel47-04)  Wed May  1 18:10:19 PDT 2013


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    FontPath        "/usr/lib64/X11/fonts/misc/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/misc/"
    FontPath        "/usr/lib64/X11/fonts/Type1/"
    FontPath        "/usr/lib64/X11/fonts/Speedo/"
    FontPath        "/usr/lib64/X11/fonts/100dpi/"
    FontPath        "/usr/lib64/X11/fonts/75dpi/"
    FontPath        "/usr/lib64/X11/fonts/cyrillic/"
    FontPath        "/usr/lib64/X11/fonts/TTF/"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
     Identifier  "USB Mice"
     Driver      "mouse"
     Option      "Protocol"   "IMPS/2"
     Option      "Device"     "/dev/input2/mice"
     Option      "ZAxisMapping"   "4 5"
     Option      "Buttons"        "5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
The relevant section is in bold above. The only answer I found on google about fixing this was someone said they upgraded their kernel from 2.6.X but I am running 3.2.X.

Code:
Linux darkstar 3.2.29 #2 SMP Mon Sep 17 14:19:22 CDT 2012 x86_64 Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz GenuineIntel GNU/Linux
Is there a section of the kernel I need to reconfigure to add support for this device?

*EDIT

Here's something else that might be useful, xinput does not seem to see the device at all.

Code:
bash-4.2$ xinput
â¡ Virtual core pointer                        id=2    [master pointer  (3)]
â   â³ Virtual core XTEST pointer                    id=4    [slave  pointer  (2)]
â   â³ GE 98134 GE 98134                             id=10   [slave  pointer  (2)]
â   â³ SynPS/2 Synaptics TouchPad                    id=14   [slave  pointer  (2)]
⣠Virtual core keyboard                       id=3    [master keyboard (2)]
    â³ Virtual core XTEST keyboard                     id=5    [slave  keyboard (3)]
    â³ Power Button                                    id=6    [slave  keyboard (3)]
    â³ Video Bus                                       id=7    [slave  keyboard (3)]
    â³ Sleep Button                                    id=8    [slave  keyboard (3)]
    â³ GE 98134 GE 98134                               id=9    [slave  keyboard (3)]
    â³ USB 2.0 UVC HD Webcam                           id=11   [slave  keyboard (3)]
    â³ Asus WMI hotkeys                                id=12   [slave  keyboard (3)]
    â³ AT Translated Set 2 keyboard                    id=13   [slave  keyboard (3)]
    â³ Speakup                                         id=15   [slave  keyboard (3)]

Last edited by flyinggeorge; 06-18-2013 at 10:40 AM.
 
Old 06-18-2013, 02:25 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
If the old one worked then I'd look at the device instead of the system or OS.

I'd suspect there is a way to sync the receiver to the mouse either by some reset button or maybe some windows app. These mice and keyboards can be used in offices so each mouse needs to connect to only one usb transmitter/receiver.
 
Old 06-18-2013, 03:29 PM   #3
flyinggeorge
Member
 
Registered: Feb 2012
Location: United States
Distribution: Slackware 14.0
Posts: 159

Original Poster
Rep: Reputation: 3
There is as it turns out windows and mac software for pairing a unifying receiver with a device, but not one for linux. The closest I got was here:

http://groups.google.com/group/linux...c53d79832fc3f5

I compiled the C file and made pairing_tool, but I don't know what it's looking for...dmesg says that the logitech receiver is on /input2 which I assume is /dev/input2, but there is no /dev/input2. /dev/input contains mouse, mouse0, and mouse1 but none of these seem to work. They all return an error

Code:
bash-4.2# ./pairing_tool /dev/input/mouse0
error while getting info from device: Inappropriate ioctl for device
The receiver is ready to pair a new device.
Switch your device on to pair it.
And I do not have access to a Windows or Mac machine so I cannot run the proprietary program. And the version of wine I am using does not have USB support. Also there is a bit of a lack of information on how to use this C file, it is assumed that I should know how to use it. Unfortunately I'm not much of a code monkey and I don't seem to know the name of the device.

*EDIT

Just found this, maybe it has an answer...

https://bitbucket.org/clach04/logite...eceiver-tools/


*FINAL EDIT

http://tycho.ws/blog/2011/12/logitech-unifying-receiver

The above URL explained everything! It works, Thanks for trying to help!

Last edited by flyinggeorge; 06-18-2013 at 03:36 PM.
 
Old 06-18-2013, 08:47 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Thanks for the update. I didn't know there was a linux way.
 
  


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
USB Logitech Wireless Mouse toshi_satlite_p35 Slackware 12 08-28-2006 08:06 AM
USB Wireless Mouse- Logitech marcmarshall Puppy 0 07-25-2006 06:40 PM
Usb Keyboard Logitech Lx700 (wireless) and mouse t_surf Linux - Hardware 1 03-13-2005 07:57 PM
Logitech Optical Wireless wheel usb mouse 1kyle Linux - Hardware 0 03-07-2004 05:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:39 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