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/

0zMe 11-25-2012 09:27 AM

(1) yes i made a full installation. just installed from cd with xfce.

(2) - (3) should run both commands in my 3.6.5 environment or 3.2.29 booted kernel?

edit:
/etc/rc.d output
Quote:

-rw------- 1 root root 3886 Nov 10 22:41 rc.inet1.conf
-rw------- 1 root root 7320 Aug 19 18:52 rc.wireless.conf
-rw-r--r-- 1 root root 119 Aug 21 19:24 rc.font
-rw-r--r-- 1 root root 393 Sep 9 19:37 rc.bluetooth
-rw-r--r-- 1 root root 455 Mar 17 2007 rc.vncservers.conf
-rw-r--r-- 1 root root 512 Mar 16 2011 rc.dnsmasq
-rw-r--r-- 1 root root 687 Jun 4 2002 rc.sendmail
-rw-r--r-- 1 root root 895 Jul 17 19:42 rc.snmpd
-rw-r--r-- 1 root root 1018 Apr 26 2010 rc.sysstat
-rw-r--r-- 1 root root 1061 Aug 22 19:26 rc.httpd
-rw-r--r-- 1 root root 1169 Jul 4 03:57 rc.saslauthd
-rw-r--r-- 1 root root 1402 Oct 14 2008 rc.rpc
-rw-r--r-- 1 root root 1507 Mar 17 2007 rc.vncservers
-rw-r--r-- 1 root root 1722 Mar 16 2007 rc.pcmcia
-rw-r--r-- 1 root root 2035 Sep 14 22:21 rc.php-fpm
-rw-r--r-- 1 root root 2449 Mar 22 2011 rc.nfsd
-rw-r--r-- 1 root root 2585 Aug 27 22:42 rc.mysqld
-rw-r--r-- 1 root root 2684 Dec 3 2008 rc.ip_forward
-rw-r--r-- 1 root root 2784 Mar 6 2010 rc.autofs
-rw-r--r-- 1 root root 2895 Aug 14 20:42 rc.serial
-rw-r--r-- 1 root root 2980 Sep 12 07:50 rc.atalk
-rw-r--r-- 1 root root 3397 Jun 20 02:53 rc.cgred
-rw-r--r-- 1 root root 3683 Aug 15 01:10 rc.yp
-rw-r--r-- 1 root root 4308 Aug 7 21:34 rc.cups
-rw-r--r-- 1 root root 4880 Jun 20 02:53 rc.cgconfig
-rwxr-xr-x 1 root root 158 Nov 10 22:30 rc.keymap*
-rwxr-xr-x 1 root root 168 Apr 23 2011 rc.loop*
-rwxr-xr-x 1 root root 272 Aug 12 2006 rc.local*
-rwxr-xr-x 1 root root 497 Sep 12 2003 rc.inetd*
-rwxr-xr-x 1 root root 552 Apr 2 2012 rc.acpid*
-rwxr-xr-x 1 root root 572 Jul 8 03:24 rc.consolekit*
-rwxr-xr-x 1 root root 791 Sep 18 18:48 rc.samba*
-rwxr-xr-x 1 root root 804 Jul 4 18:38 rc.ntpd*
-rwxr-xr-x 1 root root 981 Oct 21 2010 rc.syslog*
-rwxr-xr-x 1 root root 1156 Nov 17 12:51 rc.gpm*
-rwxr-xr-x 1 root root 1353 Nov 20 22:57 rc.4*
-rwxr-xr-x 1 root root 1600 Aug 29 19:02 rc.sshd*
-rwxr-xr-x 1 root root 1669 Aug 13 17:49 rc.networkmanager*
-rwxr-xr-x 1 root root 1740 Sep 11 1999 rc.sysvinit*
-rwxr-xr-x 1 root root 1893 Aug 29 19:42 rc.messagebus*
-rwxr-xr-x 1 root root 1893 Jan 30 2011 rc.fuse*
-rwxr-xr-x 1 root root 1935 Sep 28 2010 rc.mcelog*
-rwxr-xr-x 1 root root 2771 Sep 11 00:11 rc.alsa*
-rwxr-xr-x 1 root root 2893 Apr 16 2011 rc.K*
-rwxr-xr-x 1 root root 3378 Jun 24 2010 rc.bind*
-rwxr-xr-x 1 root root 4845 Aug 15 00:53 rc.inet2*
-rwxr-xr-x 1 root root 5882 Jul 25 02:58 rc.udev*
-rwxr-xr-x 1 root root 7695 Aug 15 01:03 rc.6*
-rwxr-xr-x 1 root root 10634 Aug 5 19:13 rc.inet1*
-rwxr-xr-x 1 root root 11723 Sep 25 19:47 rc.M*
-rwxr-xr-x 1 root root 13316 Aug 19 18:52 rc.wireless*
-rwxr-xr-x 1 root root 14210 Sep 13 21:38 rc.S*
-rwxr-xr-x 1 root root 35406 Sep 17 21:15 rc.modules-3.2.29*
drwxr-xr-x 2 root root 4096 Sep 23 2008 init.d/
drwxr-xr-x 2 root root 4096 Sep 23 2008 rc0.d/
drwxr-xr-x 2 root root 4096 Sep 23 2008 rc1.d/
drwxr-xr-x 2 root root 4096 Sep 23 2008 rc2.d/
drwxr-xr-x 2 root root 4096 Sep 23 2008 rc3.d/
drwxr-xr-x 2 root root 4096 Sep 23 2008 rc4.d/
drwxr-xr-x 2 root root 4096 Sep 23 2008 rc5.d/
drwxr-xr-x 2 root root 4096 Sep 23 2008 rc6.d/
lrwxrwxrwx 1 root root 4 Nov 10 22:19 rc.0 -> rc.6*
lrwxrwxrwx 1 root root 17 Nov 10 22:19 rc.modules -> rc.modules-3.2.29*
total 340
/lib/modules
Quote:

114M /lib/modules/3.2.29backup
213M /lib/modules
99M /lib/modules/3.6.5

Didier Spaier 11-25-2012 09:45 AM

It seems that you do have the kernel modules installed and that the needed files in /etc/rc.d (namely, rc.udev and rc.modules) be executable. So, sorry but no more clue.

0zMe 11-25-2012 10:00 AM

so good news.

in /lib/modules I changed the foldername of 3.2.29 to 3.2.29backup, that's why 3.2.29 couldn't load any modules and that's why my keyboard & mouse & ethernet was not working after startx.

I changed the name of folder 3.2.29backup to 3.2.29 and now I am able to use my mouse after startx and all modules could load at startup.

this is now lsmod output in kernel 3.2.29
Quote:

Module Size Used by
ac 3331 0
acpi_cpufreq 5773 1
agpgart 27372 3 intel_gtt,intel_agp,drm
battery 11171 0
bluetooth 151679 1 btusb
btusb 11676 0
button 4529 1 i915
cdc_acm 16340 0
cdc_ncm 8901 0
cdc_wdm 8685 0
cfg80211 169025 2 mac80211,iwlwifi
cpufreq_ondemand 6252 4
drm 187389 2 drm_kms_helper,i915
drm_kms_helper 26133 1 i915
evdev 9574 0
freq_table 2475 2 acpi_cpufreq,cpufreq_ondemand
fuse 66626 7
hwmon 1329 2 thermal_sys,thinkpad_acpi
i2c_algo_bit 5319 1 i915
i2c_core 19978 6 i2c_algo_bit,i2c_i801,videodev,drm,drm_kms_helper,i915
i2c_i801 8044 0
i915 419107 1
intel_agp 10864 1 i915
intel_gtt 13833 3 intel_agp,i915
ipv6 279979 34
iwlwifi 199185 0
joydev 9972 0
loop 18192 0
lp 9787 0
mac80211 227731 1 iwlwifi
mei 32534 0
mii 3987 2 usbnet,r8169
mperf 1171 1 acpi_cpufreq
nvram 5770 1 thinkpad_acpi
parport 31427 3 parport_pc,ppdev,lp
parport_pc 19423 0
ppdev 5958 0
processor 25592 5 acpi_cpufreq
psmouse 61704 0
r8169 48922 0
rfkill 15428 3 cfg80211,bluetooth,thinkpad_acpi
serio_raw 4389 0
snd 57796 13 snd_timer,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi,thi nkpad_acpi,snd_mixer_oss,snd_pcm_oss,snd_seq_device,snd_seq,snd_seq_oss
snd_hda_codec 81925 3 snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi
snd_hda_codec_hdmi 24057 1
snd_hda_codec_realtek 195474 1
snd_hda_intel 23267 0
snd_hwdep 6324 1 snd_hda_codec
snd_mixer_oss 15404 1 snd_pcm_oss
snd_page_alloc 7081 2 snd_pcm,snd_hda_intel
snd_pcm 72864 4 snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi,snd_pcm_oss
snd_pcm_oss 39183 0
snd_seq 51265 5 snd_seq_midi_event,snd_seq_oss,snd_seq_dummy
snd_seq_device 5228 3 snd_seq,snd_seq_oss,snd_seq_dummy
snd_seq_dummy 1455 0
snd_seq_midi_event 5620 1 snd_seq_oss
snd_seq_oss 29048 0
snd_timer 18798 2 snd_pcm,snd_seq
soundcore 5474 1 snd
thermal 7983 0
thermal_sys 14578 3 processor,video,thermal
thinkpad_acpi 62484 0
usbnet 15482 1 cdc_ncm
uvcvideo 62784 0
v4l2_compat_ioctl32 8660 1 videodev
video 11378 1 i915
videodev 76679 1 uvcvideo
wmi 8403 0
and dmesg | tail -20 output after disconnect and reconnecting usb mouse
Quote:

generic-usb 0003:046D:C52F.000D: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:14.0-3/input0
generic-usb 0003:046D:C52F.000E: input,hiddev0,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-3/input1
input: Logitech USB Receiver as /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/input/input26
input: Logitech USB Receiver as /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.1/input/input27
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
xhci_hcd 0000:00:14.0: WARN: Stalled endpoint
xhci_hcd 0000:00:14.0: WARN: Stalled endpoint
xhci_hcd 0000:00:14.0: WARN: Stalled endpoint
xhci_hcd 0000:00:14.0: WARN: Stalled endpoint
xhci_hcd 0000:00:14.0: WARN: Stalled endpoint
xhci_hcd 0000:00:14.0: WARN: short transfer on control ep
xhci_hcd 0000:00:14.0: WARN: short transfer on control ep
xhci_hcd 0000:00:14.0: WARN: short transfer on control ep
xhci_hcd 0000:00:14.0: WARN: short transfer on control ep
xhci_hcd 0000:00:14.0: WARN: short transfer on control ep
xhci_hcd 0000:00:14.0: WARN: short transfer on control ep
xhci_hcd 0000:00:14.0: WARN: short transfer on control ep

0zMe 11-30-2012 06:09 PM

still couldn't solve it :/

0zMe 12-21-2012 08:58 PM

updated to kernel 3.7.1 from slackpkg and what a surprise, the mouse works.


All times are GMT -5. The time now is 01:16 AM.