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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
12-15-2007, 04:47 AM
|
#1
|
Member
Registered: Nov 2005
Location: Suffolk, UK
Distribution: kubuntu 9.04
Posts: 188
Rep:
|
How to restart USB?
Hi
Occasionally my mouse will stop working, its not the hardware as it does it with other mice, I still have keyboard access and can make it to a terminal
Is there a command that will restart the mouse service? so far the only way I can get the mouse to start working again is to restart the system, and that isnt always conveniant :P
Regards
|
|
|
12-15-2007, 05:19 AM
|
#2
|
Member
Registered: Jun 2007
Distribution: Knoppix, antiX
Posts: 252
Rep:
|
Did you try to unplug it and plug it back again?
|
|
|
12-15-2007, 04:40 PM
|
#3
|
Member
Registered: Nov 2005
Location: Suffolk, UK
Distribution: kubuntu 9.04
Posts: 188
Original Poster
Rep:
|
Nope that didnt seem to work (first thing I tried)
A friend of mine talked me through some commands containing "rmmod usbhid" (cant remember the exact commands) but that didnt seem to do anything either
A restart is the only thing that can fix it, but has also lead to other issues, whereby if I scroll up/down frm the mouse wheel it intereprets that as a right/left click
Please help me fix this!
ps the mouse I am using is a logitech MX series, USB although its connected via a PS/2 converter into a KVM switch
|
|
|
12-16-2007, 06:28 AM
|
#4
|
Member
Registered: Oct 2007
Location: India
Distribution: Ubuntu 8.04
Posts: 93
Rep:
|
may be problem is in ur mouse...
first check it by using in some of ur frnd's pc and use some other mouse in ur pc........
|
|
|
12-17-2007, 04:18 AM
|
#5
|
Member
Registered: Oct 2005
Location: Germany, Berlin
Distribution: SuSE Linux 9.1/9.2/9.3/10.0/10.1, openSuSE 10.2, 10.3, Slackware, Debian, Redhat, BSD
Posts: 315
Rep:
|
he just said that the problem also occurs with other mice...
did you only "rmmod usbhid" or did you first "rmmod usbhid" (which unloads the usb kernel module) and then "modprobe usbhid" (which loads it again)?
@linuxusers: could it be that ial or hald is the problem?
you could try to restart the hal daemon with something like "/etc/init.d/hald restart"
|
|
|
12-17-2007, 07:18 AM
|
#6
|
Member
Registered: Nov 2005
Location: Suffolk, UK
Distribution: kubuntu 9.04
Posts: 188
Original Poster
Rep:
|
Hi Seelen
Yes I had to rmmod usbhid and hid before I was able to modprobe usbhid
It will correct itself if I restart the machine, but that is not always conveniant. So I assume there must be a service that has its cache flushed at restart, but I wouldnt know the first place to look :S
Regards
|
|
|
12-17-2007, 07:47 AM
|
#7
|
Moderator
Registered: Aug 2002
Posts: 26,862
|
Quote:
ps the mouse I am using is a logitech MX series, USB although its connected via a PS/2 converter into a KVM switch
|
If you are using PS/2 KVM switch then your problem has nothing to do with USB. Does this just happen when you switch between PCs or just anytime? I have a PS/2 KVM switch and my mouse is erratic for a few seconds on a Dell PC running CentOS after it is switched back.
|
|
|
All times are GMT -5. The time now is 06:08 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|