LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   logitech usb mouse M305 not working (slackware14/64bit) (https://www.linuxquestions.org/questions/slackware-14/logitech-usb-mouse-m305-not-working-slackware14-64bit-4175437560/)

0zMe 11-17-2012 06:27 AM

logitech usb mouse M305 not working (slackware14/64bit)
 
i am using kernel 3.6.5.

since the new installation of this kernel i couldn't make this mouse (logitech wireless mouse m305) work.

the mouse is recognized, it is turned on. tried also another usb port.

dmesg | tail -20 output:
Quote:

[ 1587.463831] usb 1-3: USB disconnect, device number 2
[ 1607.641425] usb 1-3: new full-speed USB device number 3 using xhci_hcd
[ 1607.654816] usb 1-3: New USB device found, idVendor=046d, idProduct=c52f
[ 1607.654823] usb 1-3: New USB device strin
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

gs: Mfr=1, Product=2, SerialNumber=0
[ 1607.654827] usb 1-3: Product: USB Receiver
[ 1607.654829] usb 1-3: Manufacturer: Logitech
/var/log/messages output:
Quote:

Nov 17 13:21:57 darkstar kernel: [ 1587.463831] usb 1-3: USB disconnect, device number 2
Nov 17 13:22:18 darkstar kernel: [ 1607.641425] usb 1-3: new full-speed USB device number 3 using xhci_hcd
Nov 17 13:22:18 darkstar kernel: [ 1607.654816] usb 1-3: New USB device found, idVendor=046d, idProduct=c52f
Nov 17 13:22:18 darkstar kernel: [ 1607.654823] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Nov 17 13:22:18 darkstar kernel: [ 1607.654827] usb 1-3: Product: USB Receiver
Nov 17 13:22:18 darkstar kernel: [ 1607.654829] usb 1-3: Manufacturer: Logitech
Nov 17 13:22:18 darkstar mtp-probe: checking bus 1, device 3: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3"
Nov 17 13:22:18 darkstar mtp-probe: bus: 1, device: 3 was not an MTP device
/etc/X11/xorg.conf output:
Quote:

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5 6 7"
EndSection
I tried to run pkgtool and reset the mouse setup but it also didn't help.

what whould you suggest?

Didier Spaier 11-18-2012 02:17 AM

I would suspect a kernel's configuration issue.

To check, you could start Slackware with a 3.2.29 kernel and your mouse plugged in, and type "dmesg|sort > 3229.txt"
then do the same with the 3.6.5 kernel, the output file being 365.txt, and compare the files.

0zMe 11-20-2012 04:37 PM

kernel 3.2.29
http://pastebin.com/bYLQDfAu

kernel 3.6.5
http://pastebin.com/iU3tSE4g

i found the same lines in both outputs

Quote:

usb 3-3: Manufacturer: Logitech
usb 3-3: New USB device found, idVendor=046d, idProduct=c52f
usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 3-3: Product: USB Receiver
usb 3-3: new full-speed USB device number 2 using xhci_hcd

Didier Spaier 11-20-2012 04:47 PM

Sorry, I should have written:
Code:

lsmod | sort > 3229.txt
and
Code:

lsmod | sort > 365.txt
My mistake.

0zMe 11-23-2012 12:58 PM

kernel 3.6.5 lsmod
http://pastebin.com/sHbcYp0q

kernel 3.2.29
is clean like
Quote:

Module Size Used by
lsusb on both kernels
Quote:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 0bdb:1926 Ericsson Business Mobile Networks BV
Bus 001 Device 004: ID 8087:07da Intel Corp.
Bus 001 Device 005: ID 147e:1002 Upek
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 003: ID 04f2:b2ea Chicony Electronics Co., Ltd
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 046d:c52f Logitech, Inc. Wireless Mouse M305
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Didier Spaier 11-23-2012 01:43 PM

I can hardly believe that you have no module loaded with 3.2.29 unless you re-configured it with "make allyesconfig". Please check again.

0zMe 11-24-2012 06:20 AM

i booted from slackware cd and didn't run startx, just typed in to the shell after login.

i found something strange.

if i look up in lsmod is says that the device is using xhci_hcd. that's a module.
Quote:

bash-4.2# dmesg | tail -6
[ 1745.382367] usb 1-3: USB disconnect, device number 3
[ 1750.520555] usb 1-2: new full-speed USB device number 4 using xhci_hcd
[ 1750.534249] usb 1-2: New USB device found, idVendor=046d, idProduct=c52f
[ 1750.534256] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1750.534259] usb 1-2: Product: USB Receiver
[ 1750.534262] usb 1-2: Manufacturer: Logitech
but when i look in lsmod | grep hci i just get this output below:
Quote:

bash-4.2# lsmod | grep hci
xhci_hcd 86722 0
ehci_hcd 44309 0
from here we can see that these modules are not used right now. maybe that's the problem?

today i tried 2 other mouses. logitech m185 and another cordless logitech mouse. they also didn't work

gmgf 11-24-2012 06:49 AM

I don't know, if it's the same problem, but i have compiled another version of xf86-input-evdev

for one zenwalk user, who had a problem with one Logitech G600 mouse and xf86-input-evdev-2.7.0

related here ( but i don't have a 64 bit version of this new package):

http://support.zenwalk.org/viewtopic...gitech#p158602

Didier Spaier 11-24-2012 07:25 AM

Quote:

Originally Posted by 0zMe (Post 4835978)
from here we can see that these modules are not used right now.

Wrong. If a module shows in lsmod's output it is (or was recently) used, as it is loaded. The 0 at the end of the line only means that it is not a dependency of another loaded module. That's what "used by" means.

Why don't you send us output of "lsmod | sort" with your 3.2.29 kernel, as I already requested twice?

I am suspecting a misconfiguration or your 3.6.5 kernel, that's why I am asking that.

Out of curiosity, why do you need a 3.6.5 kernel? And how did you configure it? Please show us the config file for it.

0zMe 11-24-2012 10:28 AM

i tried it again. i booted from cd, typed in huge.s root=/dev/sda5 rdinit=ro to boot into my system.
i logged in and lsmod was empty again.
if I start X, i am not able to use my keyboard and mouse. before startx i checked if have internet connection. no eth0 device was found.

tried the same with an older cd (slack 13.37), but got the same results. it is very strange.

so I still couldn't get the output from lsmod with another kernel.

this is why i installed a newer kernel (http://www.linuxquestions.org/questi...it-4175434378/)

btw:
kernel 3.6.5 config:
http://pastebin.com/vDxjTQDH

kernel 3.2.29 config:
http://pastebin.com/LZhhzbL0

edit
compared both configs, in 3.2.29 xhci_hcd is on yes, and in kernel 3.6.5 it's set M (manual).

Didier Spaier 11-24-2012 03:54 PM

If lsmod is empty though 3.6.5 kernel be configured with many modules, that would mean that udev doesn't work properly with that kernel. I do not know why, though :scratch:

0zMe 11-24-2012 04:15 PM

yeah but lsmod is empty when I boot from cd into kernel 3.2.29.

T3slider 11-24-2012 04:49 PM

Boot with the generic kernel instead of the huge kernel...(this will require an initrd).

0zMe 11-24-2012 05:00 PM

how do i do that?

Didier Spaier 11-25-2012 02:59 AM

Quote:

Originally Posted by 0zMe (Post 4836084)
i tried it again. i booted from cd, typed in huge.s root=/dev/sda5 rdinit=ro to boot into my system.
i logged in and lsmod was empty again.

I juste tried with both installation kernels (huge.s and hugesmp.s) and in both cases I had 41 modules loaded. This was with a shiny new Slackware 14.

So having no module loaded could be due not to the kernel itself, but to other components of your system not installed or working properly.

(1) Did you make a full installation?

(2) Please provide output of following command:
Code:

ls -l /etc/rc.d
(3) To make sure that kernel modules be installed, please provide output of following command:
Code:

du --max-depth=1 -h /lib/modules/


All times are GMT -5. The time now is 01:14 PM.