LinuxQuestions.org
Help answer threads with 0 replies.
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 12-15-2007, 04:47 AM   #1
Jayla
Member
 
Registered: Nov 2005
Location: Suffolk, UK
Distribution: kubuntu 9.04
Posts: 188

Rep: Reputation: 30
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
 
Old 12-15-2007, 05:19 AM   #2
masterclassic
Member
 
Registered: Jun 2007
Distribution: Knoppix, antiX
Posts: 252

Rep: Reputation: 73
Did you try to unplug it and plug it back again?
 
Old 12-15-2007, 04:40 PM   #3
Jayla
Member
 
Registered: Nov 2005
Location: Suffolk, UK
Distribution: kubuntu 9.04
Posts: 188

Original Poster
Rep: Reputation: 30
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
 
Old 12-16-2007, 06:28 AM   #4
lin_myworld
Member
 
Registered: Oct 2007
Location: India
Distribution: Ubuntu 8.04
Posts: 93

Rep: Reputation: 15
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........
 
Old 12-17-2007, 04:18 AM   #5
seelenbild28
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: Reputation: 30
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"
 
Old 12-17-2007, 07:18 AM   #6
Jayla
Member
 
Registered: Nov 2005
Location: Suffolk, UK
Distribution: kubuntu 9.04
Posts: 188

Original Poster
Rep: Reputation: 30
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
 
Old 12-17-2007, 07:47 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
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.
 
  


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
How do I set the regulatory daemon to restart when I restart the network service? zahadumy Linux - Networking 0 11-05-2006 11:24 AM
Restart USB controller? kel_en Debian 3 09-20-2006 02:32 PM
restart USB system pajamabama Linux - Hardware 0 06-14-2006 07:12 PM
A way to stop/restart USB support without rebooting? ewto Linux - Newbie 2 10-15-2003 09:18 AM
Must I restart USB each time ... Rex_chaos Linux - General 2 03-26-2002 03:55 PM

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

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