LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-15-2018, 11:37 AM   #1
black_peter_pan
LQ Newbie
 
Registered: Feb 2018
Posts: 8

Rep: Reputation: Disabled
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
 
Old 02-15-2018, 12:01 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
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.
 
1 members found this post helpful.
Old 02-15-2018, 12:41 PM   #3
black_peter_pan
LQ Newbie
 
Registered: Feb 2018
Posts: 8

Original Poster
Rep: Reputation: Disabled
Hi, rtmistler
Thanks your response .type what kind command can get system log ?
 
Old 02-15-2018, 12:46 PM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
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.
 
1 members found this post helpful.
Old 02-15-2018, 12:54 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,661

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by black_peter_pan View Post
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.
 
1 members found this post helpful.
Old 02-20-2018, 06:36 AM   #6
black_peter_pan
LQ Newbie
 
Registered: Feb 2018
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rtmistler View Post
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
***********
 
Old 02-20-2018, 06:59 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,661

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by black_peter_pan View Post
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?
 
1 members found this post helpful.
Old 02-20-2018, 07:59 AM   #8
black_peter_pan
LQ Newbie
 
Registered: Feb 2018
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
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
***********
 
Old 02-20-2018, 08:39 AM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,661

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by black_peter_pan View Post
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.
 
1 members found this post helpful.
Old 02-20-2018, 09:22 AM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,736

Rep: Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921
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.
 
1 members found this post helpful.
Old 02-20-2018, 04:47 PM   #11
black_peter_pan
LQ Newbie
 
Registered: Feb 2018
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
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 .
 
Old 02-20-2018, 04:59 PM   #12
Beefybison
Member
 
Registered: Mar 2016
Distribution: Ubuntu and Fedora
Posts: 52

Rep: Reputation: 5
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.
 
1 members found this post helpful.
Old 02-20-2018, 05:10 PM   #13
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,736

Rep: Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921
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?

Last edited by michaelk; 02-20-2018 at 05:26 PM.
 
1 members found this post helpful.
Old 02-21-2018, 09:27 AM   #14
black_peter_pan
LQ Newbie
 
Registered: Feb 2018
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
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
 
Old 02-21-2018, 09:39 AM   #15
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,736

Rep: Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921
If the output of lsusb does not output anything then I suspect something is wrong with the USB subsystem.
 
1 members found this post helpful.
  


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
Mouse not working on Damn Small Linux | Mouse: Omega Optical Mouse (16c Gaming Mouse) AndyDeveloper Linux - Hardware 3 04-09-2017 01:32 PM
Problem with the PS/2 Optical Mouse in Centos cywong.digi Linux - Hardware 3 11-23-2007 03:21 AM
Optical mouse not working... lingeek Slackware 5 02-12-2005 08:47 PM
Usb Optical Mouse Not Working donkyboy Linux - Hardware 0 01-03-2005 05:27 PM
Optical Mouse not working deepak_karanth Linux - Hardware 2 11-15-2003 12:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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