LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Optical mouse not working in centos 5.8 (https://www.linuxquestions.org/questions/linux-newbie-8/optical-mouse-not-working-in-centos-5-8-a-4175623789/)

black_peter_pan 02-15-2018 11:37 AM

Optical mouse not working in centos 5.8
 
My usb optical mouse not working in centos 5.8 but working in centos 6.9 . Because my application software not support cenots 6 , I have to use centos 5.8 .When I enter lsusb output nothing .The below is my lspci result . Have any one can guide me to make usb optical mouse working ? Thanks your help so much

********
00:00.0 Host bridge: Intel Corporation Device 1904 (rev 08)
00:02.0 VGA compatible controller: Intel Corporation Device 1916 (rev 07)
00:14.0 USB controller: Intel Corporation Device 9d2f (rev 21)
00:14.2 Signal processing controller: Intel Corporation Device 9d31 (rev 21)
00:16.0 Communication controller: Intel Corporation Device 9d3a (rev 21)
00:17.0 SATA controller: Intel Corporation Device 9d03 (rev 21)
00:1c.0 PCI bridge: Intel Corporation Device 9d14 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Device 9d15 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Device 9d18 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Device 9d48 (rev 21)
00:1f.2 Memory controller: Intel Corporation Device 9d21 (rev 21)
00:1f.3 Audio device: Intel Corporation Device 9d70 (rev 21)
00:1f.4 SMBus: Intel Corporation Device 9d23 (rev 21)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 07)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8821

rtmistler 02-15-2018 12:01 PM

Do you get any system logs when you plug it in?

It also will be helpful to know what version 6.9 detects the mouse to be.

black_peter_pan 02-15-2018 12:41 PM

Hi, rtmistler
Thanks your response .type what kind command can get system log ?

rtmistler 02-15-2018 12:46 PM

I have to admit I've never used CentOS.

The more current day for most is "dmesg"
Code:

$ dmesg
It spits out the system log to your terminal. We don't need to see it all. What you should do is have the mouse out, do the command, observe what is at the end, the last few lines. Then plug the mouse back in and do the command and observe the new logs. That's the important stuff. The whole rest applies to all your hardware and system info as it booted up. Interesting, but not helpful because it is a lot of information that is not needed, just the new logs. And if there are no new logs, that's interesting. Same for version 6.9 where I'm assuming there will be logs, because the mouse does work.

The other method is to concatenate the system log file, "car /var/logs/system", however most newer Linux versions do not have that file.

There's another way, if not more. I'll have to look it up. Please see if the dmesg command just works, that's the easiest.

TB0ne 02-15-2018 12:54 PM

Quote:

Originally Posted by black_peter_pan (Post 5820171)
My usb optical mouse not working in centos 5.8 but working in centos 6.9 . Because my application software not support cenots 6 , I have to use centos 5.8 .When I enter lsusb output nothing .The below is my lspci result . Have any one can guide me to make usb optical mouse working ? Thanks your help so much

********
00:00.0 Host bridge: Intel Corporation Device 1904 (rev 08)
00:02.0 VGA compatible controller: Intel Corporation Device 1916 (rev 07)
00:14.0 USB controller: Intel Corporation Device 9d2f (rev 21)
00:14.2 Signal processing controller: Intel Corporation Device 9d31 (rev 21)
00:16.0 Communication controller: Intel Corporation Device 9d3a (rev 21)
00:17.0 SATA controller: Intel Corporation Device 9d03 (rev 21)
00:1c.0 PCI bridge: Intel Corporation Device 9d14 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Device 9d15 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Device 9d18 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Device 9d48 (rev 21)
00:1f.2 Memory controller: Intel Corporation Device 9d21 (rev 21)
00:1f.3 Audio device: Intel Corporation Device 9d70 (rev 21)
00:1f.4 SMBus: Intel Corporation Device 9d23 (rev 21)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 07)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8821

It would help to know what kind of hardware you're running, and also what this application is. Because CentOS 5.x is ancient, and totally unsupported/end-of-life. Your entire system is insecure, and many revisions behind. I seriously doubt that an application won't run on CentOS 6 or 7 that runs on 5, unless it is VERY highly specialized. If you tell us what the application is, there may be an alternative to it. And are you using CentOS 6.x on the exact same hardware, or a different system?

From what you posted, it looks as if your USB controller is detected...are you plugging this mouse into different ports, to see what happens? What desktop environment are you using? The dmesg command from rtmistler will give the best information here, but honestly....you need to upgrade your application and move forward, since the problem (apparently) doesn't exist on newer versions of CentOS.

black_peter_pan 02-20-2018 06:36 AM

Quote:

Originally Posted by rtmistler (Post 5820204)
I have to admit I've never used CentOS.

The more current day for most is "dmesg"
Code:

$ dmesg
It spits out the system log to your terminal. We don't need to see it all. What you should do is have the mouse out, do the command, observe what is at the end, the last few lines. Then plug the mouse back in and do the command and observe the new logs. That's the important stuff. The whole rest applies to all your hardware and system info as it booted up. Interesting, but not helpful because it is a lot of information that is not needed, just the new logs. And if there are no new logs, that's interesting. Same for version 6.9 where I'm assuming there will be logs, because the mouse does work.

The other method is to concatenate the system log file, "car /var/logs/system", however most newer Linux versions do not have that file.

There's another way, if not more. I'll have to look it up. Please see if the dmesg command just works, that's the easiest.

Hi, rtmistler :

Sorry to late response . When I compare the log of dmesg before and after usb mouse plug in , nothing different in centos 5.8 . But When I compare the log before and after usb mouse plug in , the different in centos 6.9 shown as below . Did you have any clue after got these log information ?

************
usb 2-2: new low speed USB device number 4 using xhci_hcd
usb 2-2: New USB device found, idVendor=04ca, idProduct=0062
usb 2-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
usb 2-2: Product: USB Optical Mouse
usb 2-2: configuration #1 chosen from 1 choice
usb 2-2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
input: USB Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/input/input11
generic-usb 0003:04CA:0062.0001: input,hidraw0: USB HID v1.11 Mouse [USB Optical Mouse] on usb-0000:00:14.0-2/input0
***********

TB0ne 02-20-2018 06:59 AM

Quote:

Originally Posted by black_peter_pan (Post 5821949)
Hi, rtmistler :

Sorry to late response . When I compare the log of dmesg before and after usb mouse plug in , nothing different in centos 5.8 . But When I compare the log before and after usb mouse plug in , the different in centos 6.9 shown as below . Did you have any clue after got these log information ?

************
usb 2-2: new low speed USB device number 4 using xhci_hcd
usb 2-2: New USB device found, idVendor=04ca, idProduct=0062
usb 2-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
usb 2-2: Product: USB Optical Mouse
usb 2-2: configuration #1 chosen from 1 choice
usb 2-2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
input: USB Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/input/input11
generic-usb 0003:04CA:0062.0001: input,hidraw0: USB HID v1.11 Mouse [USB Optical Mouse] on usb-0000:00:14.0-2/input0
***********

...and I had also asked you some questions and made some suggestions as well. Any answers/thoughts there?

black_peter_pan 02-20-2018 07:59 AM

Quote:

Originally Posted by TB0ne (Post 5820213)
It would help to know what kind of hardware you're running, and also what this application is. Because CentOS 5.x is ancient, and totally unsupported/end-of-life. Your entire system is insecure, and many revisions behind. I seriously doubt that an application won't run on CentOS 6 or 7 that runs on 5, unless it is VERY highly specialized. If you tell us what the application is, there may be an alternative to it. And are you using CentOS 6.x on the exact same hardware, or a different system?

From what you posted, it looks as if your USB controller is detected...are you plugging this mouse into different ports, to see what happens? What desktop environment are you using? The dmesg command from rtmistler will give the best information here, but honestly....you need to upgrade your application and move forward, since the problem (apparently) doesn't exist on newer versions of CentOS.

Hi , TB0ne :
Sorry to late response and thanks your advise . Response to your question ,
1.what kind of hardware you're running
--> LENOVO ideapad 110
2.what this application is
--> I use a lot software in centos 5.x when I was student , for example , VARICAD ... Because I work as personal studio , to update grade all software to work in centos 6.x by vendor is over my finance ability . The best approach is to fix the problem which I met in centos 5.x like usb mouse not working .
3.And are you using CentOS 6.x on the exact same hardware
--> yes . I use same hardware in centos 6.x and centos 5.x . I install centos 6.x first in hardware and found that most application software not working , then I remove centos 6.x and install centos 5.x at the same hardware , then every software working normally as before . The only problem is usb mouse not working .
4. What desktop environment are you using
--> I use GNOME as desktop environment
5.The dmesg command information
--> Not thing different before and after in dmesg under centos 5.x but different under centos 6.x . The different message shown as below .
Another information share with you is that window cursor can be controlled by touchpad but not controlled by usb mouse under centos 5.x . Thanks your help to fix such problem .




************
usb 2-2: new low speed USB device number 4 using xhci_hcd
usb 2-2: New USB device found, idVendor=04ca, idProduct=0062
usb 2-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
usb 2-2: Product: USB Optical Mouse
usb 2-2: configuration #1 chosen from 1 choice
usb 2-2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
input: USB Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/input/input11
generic-usb 0003:04CA:0062.0001: input,hidraw0: USB HID v1.11 Mouse [USB Optical Mouse] on usb-0000:00:14.0-2/input0
***********

TB0ne 02-20-2018 08:39 AM

Quote:

Originally Posted by black_peter_pan (Post 5821971)
Hi , TB0ne : Sorry to late response and thanks your advise . Response to your question ,
1.what kind of hardware you're running
--> LENOVO ideapad 110

Ok, so a laptop with built-in USB controllers.
Quote:

2.what this application is
--> I use a lot software in centos 5.x when I was student , for example , VARICAD ... Because I work as personal studio , to update grade all software to work in centos 6.x by vendor is over my finance ability . The best approach is to fix the problem which I met in centos 5.x like usb mouse not working .
Wrong. Whatever license key you have will work just fine on CentOS 6.x. There is **NO REASON** to not upgrade, and if you're doing this for work, you need to have an up-to-date, SECURE system to work on. Running an old OS for no good reason is an invitation for bad things to happen. You are aware that your system WILL fail at some point, right?? And what are you going to do then?
Quote:

3.And are you using CentOS 6.x on the exact same hardware
--> yes . I use same hardware in centos 6.x and centos 5.x . I install centos 6.x first in hardware and found that most application software not working , then I remove centos 6.x and install centos 5.x at the same hardware , then every software working normally as before . The only problem is usb mouse not working .
What do you mean "most application software"??? Sorry, but this just doesn't add up. You're saying that you do a COMPLETE WIPE/RELOAD each time you try this? If you purchased Varicad, call them and they will help you with the license you purchased to get the latest version. Based on their site/details, you buy a license for a copy, which gets you updates. Again, no reason to NOT do this.
Quote:

4. What desktop environment are you using
--> I use GNOME as desktop environment
Have you looked in the Gnome control panel?
Quote:

5.The dmesg command information
--> Not thing different before and after in dmesg under centos 5.x but different under centos 6.x . The different message shown as below .
Another information share with you is that window cursor can be controlled by touchpad but not controlled by usb mouse under centos 5.x . Thanks your help to fix such problem
Not a lot to help with, honestly. The device is not supported under that very old CentOS; so either you can get a different mouse, re-write the drivers yourself, or do the BEST thing and upgrade to the latest version of CentOS and have things just work.

michaelk 02-20-2018 09:22 AM

CentOS 5 does not support USB 3.0 (xhci_hcd). If your Ideapad does not have any USB 2 ports you are probably out of luck. As stated CentOS 5 is EOL and its kernel is to old to support USB 3.

black_peter_pan 02-20-2018 04:47 PM

Quote:

Originally Posted by michaelk (Post 5821997)
CentOS 5 does not support USB 3.0 (xhci_hcd). If your Ideapad does not have any USB 2 ports you are probably out of luck. As stated CentOS 5 is EOL and its kernel is to old to support USB 3.

Hi , michaelk :
Thanks your information . I confirm that plug in usb port is usb 2 rather than usb 3 .

Beefybison 02-20-2018 04:59 PM

Though I wouldn't want to drive you away from your preferred way of doing things, Varicad for Linux recommends using SUSE, Kubuntu, Ubuntu, Debian or Red-Hat distributions.

If you try out one of those, maybe it would make a difference.

michaelk 02-20-2018 05:10 PM

A long time has past since I've ran CentOS 5... Post the output of the lsmod command.

Is the CentOS 6 running on the same Ideapad as CentOS 5?

Quote:

When I enter lsusb output nothing
Meaning you do not see anything pertaining to the mouse?

black_peter_pan 02-21-2018 09:27 AM

Quote:

Originally Posted by michaelk (Post 5822209)
A long time has past since I've ran CentOS 5... Post the output of the lsmod command.

Is the CentOS 6 running on the same Ideapad as CentOS 5?


Meaning you do not see anything pertaining to the mouse?

Hi, michaelk :
In the same Ideapad ,
when type lsusb command in Centos 5 , it output nothing
when type lsusb command in Centos 6 , it output message shown as below .
Did you have any suggestion after get those message ?

********************************************************
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 04ca:0062 Lite-On Technology Corp.
Bus 001 Device 003: ID 13d3:5743 IMC Networks
Bus 001 Device 004: ID 04f2:b49f Chicony Electronics Co., Ltd

michaelk 02-21-2018 09:39 AM

If the output of lsusb does not output anything then I suspect something is wrong with the USB subsystem.


All times are GMT -5. The time now is 08:30 PM.