You are not logged in.

#1 2020-05-18 04:34:07

m0cha
Member
Registered: 2020-05-18
Posts: 12

[SOLVED]USB mouse not working

I've been using my thinkpad x250 for a long time and I'm used to using trackpoint. Recently I bought a 27 inch monitor and found
that the trackpoint was however not accurate enough to locate button in such a large scale.

So I used to bought a usb mouse(tested good) but it won't work on my laptop.

Thousand thanks in advance from a boy sufferring from  trackpoint for several days.

uname -a 
Linux iParadox.dev 5.6.11-arch1-1 #1 SMP PREEMPT Wed, 06 May 2020 17:32:37 +0000 x86_64 GNU/Linux

lsusb can find it

Bus 001 Device 014: ID 0000:3825   USB OPTICAL MOUSE
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x0000 
  idProduct          0x3825 
  bcdDevice            1.00
  iManufacturer           0 
  iProduct                1  USB OPTICAL MOUSE
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0022
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      66
          Report Descriptor: (length is 66)
            Item(Global): Usage Page, data= [ 0x01 ] 1
                            Generic Desktop Controls
            Item(Local ): Usage, data= [ 0x02 ] 2
                            Mouse
            Item(Main  ): Collection, data= [ 0x01 ] 1
                            Application
            Item(Global): Report ID, data= [ 0x01 ] 1
            Item(Local ): Usage, data= [ 0x01 ] 1
                            Pointer
            Item(Main  ): Collection, data= [ 0x00 ] 0
                            Physical
            Item(Global): Usage Page, data= [ 0x09 ] 9
                            Buttons
            Item(Local ): Usage Minimum, data= [ 0x01 ] 1
                            Button 1 (Primary)
            Item(Local ): Usage Maximum, data= [ 0x03 ] 3
                            Button 3 (Tertiary)
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x01 ] 1
            Item(Global): Report Count, data= [ 0x03 ] 3
            Item(Global): Report Size, data= [ 0x01 ] 1
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Report Size, data= [ 0x05 ] 5
            Item(Main  ): Input, data= [ 0x01 ] 1
                            Constant Array Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Usage Page, data= [ 0x01 ] 1
                            Generic Desktop Controls
            Item(Local ): Usage, data= [ 0x30 ] 48
                            Direction-X
            Item(Local ): Usage, data= [ 0x31 ] 49
                            Direction-Y
            Item(Global): Logical Minimum, data= [ 0x00 0xf8 ] 63488
            Item(Global): Logical Maximum, data= [ 0xff 0x07 ] 2047
            Item(Global): Report Size, data= [ 0x0c ] 12
            Item(Global): Report Count, data= [ 0x02 ] 2
            Item(Main  ): Input, data= [ 0x06 ] 6
                            Data Variable Relative No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x38 ] 56
                            Wheel
            Item(Global): Logical Minimum, data= [ 0x81 ] 129
            Item(Global): Logical Maximum, data= [ 0x7f ] 127
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Main  ): Input, data= [ 0x06 ] 6
                            Data Variable Relative No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
            Item(Main  ): End Collection, data=none
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0006  1x 6 bytes
        bInterval              10
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0000
  (Bus Powered)

I add a udev rules to handle it, but seemed that it cannot be recognized as a usb mouse.


cat /etc/udev/rules.d/90-my-mouse.rules 
SUBSYSTEMS=="usb", ENV{MODALIAS}=="usb:0000:3825", ENV{MODALIAS}="usbmouse"

udev dug info when plugging in

May 18 12:28:57 iParadox.dev kernel: usb 1-1: new low-speed USB device number 17 using xhci_hcd
May 18 12:28:57 iParadox.dev systemd-udevd[281]: 1-1: Device (SEQNUM=3565, ACTION=add) is queued
May 18 12:28:57 iParadox.dev systemd-udevd[281]: Validate module index
May 18 12:28:57 iParadox.dev systemd-udevd[281]: Check if link configuration needs reloading.
May 18 12:28:57 iParadox.dev systemd-udevd[281]: Successfully forked off 'n/a' as PID 555952.
May 18 12:28:57 iParadox.dev systemd-udevd[281]: 1-1: Worker [555952] is forked for processing SEQNUM=3565.
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: Processing device (SEQNUM=3565, ACTION=add)
May 18 12:28:57 iParadox.dev kernel: usb 1-1: New USB device found, idVendor=0000, idProduct=3825, bcdDevice= 1.00
May 18 12:28:57 iParadox.dev kernel: usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
May 18 12:28:57 iParadox.dev kernel: usb 1-1: Product:  USB OPTICAL MOUSE
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: /usr/lib/udev/rules.d/40-gphoto.rules:9 Importing properties from results of builtin command 'usb_id'
May 18 12:28:57 iParadox.dev systemd-udevd[281]: 1-1:1.0: Device (SEQNUM=3566, ACTION=add) is queued
May 18 12:28:57 iParadox.dev systemd-udevd[281]: 1-1: Device (SEQNUM=3567, ACTION=bind) is queued
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: /usr/lib/udev/rules.d/50-udev-default.rules:13 Skipping builtin 'usb_id' in IMPORT key
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: /usr/lib/udev/rules.d/50-udev-default.rules:13 Importing properties from results of builtin command 'hwdb --subsystem=usb'
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: No entry found from hwdb.
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: /usr/lib/udev/rules.d/50-udev-default.rules:13 Failed to run builtin 'hwdb --subsystem=usb': No data available
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: /usr/lib/udev/rules.d/50-udev-default.rules:48 MODE 0664
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: /usr/lib/udev/rules.d/60-drm.rules:3 Importing properties from results of builtin command 'path_id'
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: /usr/lib/udev/rules.d/69-libmtp.rules:2681 Running PROGRAM '/usr/lib/udev/mtp-probe /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1 1 17'
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: Starting '/usr/lib/udev/mtp-probe /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1 1 17'
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: Successfully forked off '(spawn)' as PID 555953.
May 18 12:28:57 iParadox.dev mtp-probe[555953]: checking bus 1, device 17: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1"
May 18 12:28:57 iParadox.dev mtp-probe[555953]: bus: 1, device: 17 was not an MTP device
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: '/usr/lib/udev/mtp-probe /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1 1 17'(out) '0'
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: Process '/usr/lib/udev/mtp-probe /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1 1 17' succeeded.
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: Handling device node '/dev/bus/usb/001/017', devnum=c189:16
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: Setting permissions /dev/bus/usb/001/017, uid=0, gid=0, mode=0664
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: Creating symlink '/dev/char/189:16' to '../bus/usb/001/017'
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: sd-device: Created db file '/run/udev/data/c189:16' for '/devices/pci0000:00/0000:00:14.0/usb1/1-1'
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: Device (SEQNUM=3565, ACTION=add) processed
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: sd-device-monitor: Passed 582 byte to netlink monitor
May 18 12:28:57 iParadox.dev systemd-udevd[281]: 1-1:1.0: sd-device-monitor: Passed 292 byte to netlink monitor
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1:1.0: Processing device (SEQNUM=3566, ACTION=add)
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1:1.0: /usr/lib/udev/rules.d/40-gphoto.rules:9 Importing properties from results of builtin command 'usb_id'
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1:1.0: Failed to access usb_interface: No such file or directory
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1:1.0: /usr/lib/udev/rules.d/40-gphoto.rules:9 Failed to run builtin 'usb_id': No such file or directory
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1:1.0: /usr/lib/udev/rules.d/50-udev-default.rules:14 Importing properties from results of builtin command 'hwdb --subsystem=usb'
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1:1.0: No entry found from hwdb.
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1:1.0: /usr/lib/udev/rules.d/50-udev-default.rules:14 Failed to run builtin 'hwdb --subsystem=usb': No data available
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1:1.0: /usr/lib/udev/rules.d/51-android.rules:687 GROUP 971
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1:1.0: /usr/lib/udev/rules.d/51-android.rules:687 MODE 0660
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1:1.0: /usr/lib/udev/rules.d/60-drm.rules:3 Importing properties from results of builtin command 'path_id'
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1:1.0: /usr/lib/udev/rules.d/80-drivers.rules:5 RUN 'kmod load $env{MODALIAS}'
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1:1.0: sd-device: Created db file '/run/udev/data/+usb:1-1:1.0' for '/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0'
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1:1.0: Running built-in command "kmod load usb:v0000p3825d0100dc00dsc00dp00ic03isc01ip02in00"
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: Loading module: usb:v0000p3825d0100dc00dsc00dp00ic03isc01ip02in00
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: Failed to look up module alias 'usb:v0000p3825d0100dc00dsc00dp00ic03isc01ip02in00': Function not implemented
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1:1.0: Device (SEQNUM=3566, ACTION=add) processed
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1:1.0: sd-device-monitor: Passed 448 byte to netlink monitor
May 18 12:28:57 iParadox.dev systemd-udevd[281]: 1-1: sd-device-monitor: Passed 288 byte to netlink monitor
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: Processing device (SEQNUM=3567, ACTION=bind)
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: /usr/lib/udev/rules.d/40-gphoto.rules:9 Importing properties from results of builtin command 'usb_id'
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: /usr/lib/udev/rules.d/50-udev-default.rules:13 Skipping builtin 'usb_id' in IMPORT key
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: /usr/lib/udev/rules.d/50-udev-default.rules:13 Importing properties from results of builtin command 'hwdb --subsystem=usb'
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: No entry found from hwdb.
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: /usr/lib/udev/rules.d/50-udev-default.rules:13 Failed to run builtin 'hwdb --subsystem=usb': No data available
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: /usr/lib/udev/rules.d/60-drm.rules:3 Importing properties from results of builtin command 'path_id'
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: /usr/lib/udev/rules.d/69-libmtp.rules:2681 Running PROGRAM '/usr/lib/udev/mtp-probe /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1 1 17'
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: Starting '/usr/lib/udev/mtp-probe /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1 1 17'
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: Successfully forked off '(spawn)' as PID 555954.
May 18 12:28:57 iParadox.dev mtp-probe[555954]: checking bus 1, device 17: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1"
May 18 12:28:57 iParadox.dev mtp-probe[555954]: bus: 1, device: 17 was not an MTP device
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: '/usr/lib/udev/mtp-probe /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1 1 17'(out) '0'
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: Process '/usr/lib/udev/mtp-probe /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1 1 17' succeeded.
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: Handling device node '/dev/bus/usb/001/017', devnum=c189:16
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: Preserve already existing symlink '/dev/char/189:16' to '../bus/usb/001/017'
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: sd-device: Created db file '/run/udev/data/c189:16' for '/devices/pci0000:00/0000:00:14.0/usb1/1-1'
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: Device (SEQNUM=3567, ACTION=bind) processed
May 18 12:28:57 iParadox.dev systemd-udevd[555952]: 1-1: sd-device-monitor: Passed 583 byte to netlink monitor
May 18 12:29:00 iParadox.dev systemd-udevd[281]: Cleanup idle workers
May 18 12:29:00 iParadox.dev systemd-udevd[555952]: Unload module index
May 18 12:29:00 iParadox.dev systemd-udevd[555952]: Unloaded link configuration context.
May 18 12:29:00 iParadox.dev systemd-udevd[281]: Worker [555952] exited

Last edited by m0cha (2020-05-18 15:45:01)

Offline

#2 2020-05-18 05:29:35

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: [SOLVED]USB mouse not working

modinfo usbmouse

Please elaborate on "does not work", the lsusb detects it as human input device. Does it generate output on "sudo libinput debug-events"?

Offline

#3 2020-05-18 05:42:01

m0cha
Member
Registered: 2020-05-18
Posts: 12

Re: [SOLVED]USB mouse not working

seth wrote:
modinfo usbmouse

Please elaborate on "does not work", the lsusb detects it as human input device. Does it generate output on "sudo libinput debug-events"?

modinfo usbmouse
modinfo: ERROR: Module alias usbmouse not found.

seems no alias called usbmouse in modules.alias

cat /lib/modules/5.6.12-arch1-1/modules.alias | grep mouse
alias usb:v0681p0010d*dc*dsc*dp*ic*isc*ip*in* idmouse
alias usb:v0681p0005d*dc*dsc*dp*ic*isc*ip*in* idmouse
alias platform:gpio_mouse gpio_mouse
alias of:N*T*Cgpio-mouseC* gpio_mouse
alias of:N*T*Cgpio-mouse gpio_mouse
alias serio:ty05pr*id*ex* psmouse
alias serio:ty01pr*id*ex* psmouse
alias serio:ty02pr07id*ex* sermouse
alias serio:ty02pr06id*ex* sermouse
alias serio:ty02pr05id*ex* sermouse
alias serio:ty02pr04id*ex* sermouse
alias serio:ty02pr03id*ex* sermouse
alias serio:ty02pr02id*ex* sermouse
alias serio:ty02pr01id*ex* sermouse
alias input:b*v*p*e*-e*1,*3,*k*110,*r*a*0,*1,*m*l*s*f*w* mousedev
alias input:b*v*p*e*-e*1,*3,*k*145,*r*a*0,*1,*18,*1C,*m*l*s*f*w* mousedev
alias input:b*v*p*e*-e*1,*3,*k*14A,*r*a*0,*1,*m*l*s*f*w* mousedev
alias input:b*v*p*e*-e*1,*2,*k*r*8,*a*m*l*s*f*w* mousedev
alias input:b*v*p*e*-e*1,*2,*k*110,*r*0,*1,*a*m*l*s*f*w* mousedev
alias hid:b0003g*v000004D9p0000A0C2 hid_holtek_mouse
alias hid:b0003g*v000004D9p0000A081 hid_holtek_mouse
alias hid:b0003g*v000004D9p0000A072 hid_holtek_mouse
alias hid:b0003g*v000004D9p0000A04A hid_holtek_mouse
alias hid:b0003g*v000004D9p0000A070 hid_holtek_mouse
alias hid:b0003g*v000004D9p0000A067 hid_holtek_mouse
alias hid:b0003g*v000005ACp00000265 hid_magicmouse
alias hid:b0005g*v0000004Cp00000265 hid_magicmouse
alias hid:b0005g*v000005ACp0000030E hid_magicmouse
alias hid:b0005g*v000005ACp0000030D hid_magicmouse

which one above should I pick?

Does not work refers to "do not recognized as mouse" also in libinput, no events when mouse moves

sudo libinput debug-events
-event2   DEVICE_ADDED     Power Button                      seat0 default group1  cap:k
-event11  DEVICE_ADDED     Video Bus                         seat0 default group2  cap:k
-event0   DEVICE_ADDED     Lid Switch                        seat0 default group3  cap:S
-event1   DEVICE_ADDED     Sleep Button                      seat0 default group4  cap:k
-event14  DEVICE_ADDED     HDA Intel HDMI HDMI/DP,pcm=3      seat0 default group5  cap:
-event15  DEVICE_ADDED     HDA Intel HDMI HDMI/DP,pcm=7      seat0 default group5  cap:
-event16  DEVICE_ADDED     HDA Intel HDMI HDMI/DP,pcm=8      seat0 default group5  cap:
-event17  DEVICE_ADDED     HDA Intel HDMI HDMI/DP,pcm=9      seat0 default group5  cap:
-event18  DEVICE_ADDED     HDA Intel HDMI HDMI/DP,pcm=10     seat0 default group5  cap:
-event8   DEVICE_ADDED     HDA Intel PCH Mic                 seat0 default group5  cap:
-event9   DEVICE_ADDED     HDA Intel PCH Dock Headphone      seat0 default group5  cap:
-event10  DEVICE_ADDED     HDA Intel PCH Headphone           seat0 default group5  cap:
-event7   DEVICE_ADDED     HDA Intel PCH Dock Mic            seat0 default group5  cap:
-event3   DEVICE_ADDED     AT Translated Set 2 keyboard      seat0 default group6  cap:k
-event5   DEVICE_ADDED     ThinkPad Extra Buttons            seat0 default group7  cap:k
-event12  DEVICE_ADDED     Synaptics TM3075-002              seat0 default group8  cap:pg  size 84x50mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on
-event13  DEVICE_ADDED     TPPS/2 IBM TrackPoint             seat0 default group9 

Offline

#4 2020-05-18 06:07:15

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: [SOLVED]USB mouse not working

      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse

likely mousedev or psmouse, check lsmod on whether they're already loaded.
What does the label say this mouse is? (vendor says 0x0000)

Does the notebook have a switch/Fn key to toggle the touchpad/trackpoint?

Offline

#5 2020-05-18 06:10:25

m0cha
Member
Registered: 2020-05-18
Posts: 12

Re: [SOLVED]USB mouse not working

lsmod | grep mouse  
mousedev               24576  0
psmouse               180224  0
libps2                 20480  2 atkbd,psmouse
serio                  28672  8 rmi_core,serio_raw,atkbd,psmouse,i8042

Thanks for quick reply @seth, I don't have a Fn key for toggling touchpad/trackpoint

Offline

#6 2020-05-18 06:15:37

m0cha
Member
Registered: 2020-05-18
Posts: 12

Re: [SOLVED]USB mouse not working

and neither worked by changing "usbmouse" into "mousedev" or "psmouse",  after "udevadm control  --reload-rules  && udevadm trigger"

Offline

#7 2020-05-18 06:18:14

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: [SOLVED]USB mouse not working

What does the label say this mouse is?

The 0x0000 vendor looks fishy.
Do you have access to other rodents?

Offline

#8 2020-05-18 06:27:06

m0cha
Member
Registered: 2020-05-18
Posts: 12

Re: [SOLVED]USB mouse not working

what does rodent means, actually I also tried a usb keyboard, it also doesn't work

Offline

#9 2020-05-18 06:28:44

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: [SOLVED]USB mouse not working

https://en.wikipedia.org/wiki/Rodent

Are these devices wired directly or through some hub/dock?

Offline

#10 2020-05-18 06:28:54

m0cha
Member
Registered: 2020-05-18
Posts: 12

Re: [SOLVED]USB mouse not working

Neither did a bluetooth mouse with a usb doggle,  ><!

Offline

#11 2020-05-18 06:30:26

m0cha
Member
Registered: 2020-05-18
Posts: 12

Re: [SOLVED]USB mouse not working

No it connect to my laptop directly. But it is a rather cheap usb mouse, do you mean arch just doesn't support it?

Offline

#12 2020-05-18 06:36:40

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: [SOLVED]USB mouse not working

I rather meant that it might be broken, but the additional bluetooth mouse and keyboard issues suggest that it's something about the notebook hardware and or usb autosuspension/powersaving.
https://wiki.archlinux.org/index.php/Po … utosuspend
nb. that userspace power management tools can and will alter that setting during runtime.
Check "dmesg -w" when you plug it.

Offline

#13 2020-05-18 06:46:54

m0cha
Member
Registered: 2020-05-18
Posts: 12

Re: [SOLVED]USB mouse not working

dmesg -w
[332389.340690] usb 1-1: new low-speed USB device number 26 using xhci_hcd
[332389.487286] usb 1-1: New USB device found, idVendor=0000, idProduct=3825, bcdDevice= 1.00
[332389.487294] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[332389.487297] usb 1-1: Product:  USB OPTICAL MOUSE

I'm now really not confident with udev stuff, should I create another udev rules like following to disable power save feature?

/etc/udev/rules.d/50-usb_power_save.rules

# blacklist for usb autosuspend
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0000", ATTR{idProduct}=="3825", GOTO="power_usb_rules_end"

ACTION=="add", SUBSYSTEM=="usb", TEST=="power/control", ATTR{power/control}="auto"
LABEL="power_usb_rules_end"

Last edited by m0cha (2020-05-18 06:47:24)

Offline

#14 2020-05-18 06:53:20

m0cha
Member
Registered: 2020-05-18
Posts: 12

Re: [SOLVED]USB mouse not working

again, no luck with `50-usb_power_save.rules` combined with different modalias & usb ports

Offline

#15 2020-05-18 07:03:20

m0cha
Member
Registered: 2020-05-18
Posts: 12

Re: [SOLVED]USB mouse not working

another stuff worth mentioning is that `usbhid` and `hid_generic ` are not available on my arch

 sudo modprobe usbhid
modprobe: FATAL: Module usbhid not found in directory /lib/modules/5.6.11-arch1-1
sudo modprobe hid_generic
modprobe: FATAL: Module hid_generic not found in directory /lib/modules/5.6.11-arch1-1

Offline

#16 2020-05-18 11:02:40

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: [SOLVED]USB mouse not working

pacman -Qs linux
uname -a

Let's ignore the problem isn't just that you updated the kernel, didn't reboot and now simply cannot load the relevant kernel modules.
Ensure no userspace tool (TLP, laptop-mode-tools, powertop, … the big DEs have their own PM daemons) gets into the way, remove the udev rule and just try to pass "usbcore.autosuspend=5" to the kernel.

Sidenote: please don't bump. Edit your previous post if nobody has replied in the meantime. Also see the forum rules in the stickes.
Thanks.

Offline

#17 2020-05-18 15:24:31

m0cha
Member
Registered: 2020-05-18
Posts: 12

Re: [SOLVED]USB mouse not working

Sorry for the violation of community rules, but man `reboot` works like a charm!!! You just saved my day!!! `hid-generic` just handle the mouse really well, even my Bluetooth mouse and my patrimonial webcam works as well!  I won't tell you I just discarded my old usb keyboard a few days ago just because it wont work on my arch and I thought it's broken. ><, now I'm missing it.
How can I close the post?

Last edited by m0cha (2020-05-18 15:39:15)

Offline

#18 2020-05-18 15:38:26

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,442
Website

Re: [SOLVED]USB mouse not working

m0cha wrote:

How can I close the post?

This is addressed in the forum guidelines in sticked threads you were just advised to read.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#19 2020-05-18 15:46:15

m0cha
Member
Registered: 2020-05-18
Posts: 12

Re: [SOLVED]USB mouse not working

Trilby wrote:
m0cha wrote:

How can I close the post?

This is addressed in the forum guidelines in sticked threads you were just advised to read.

thanks

Offline

Board footer

Powered by FluxBB