Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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
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.
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
***********
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?
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
***********
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.
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.
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 .
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.