LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 05: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, 06:19 AM   #2
masterclassic
Member
 
Registered: Jun 2007
Distribution: Knoppix
Posts: 140

Rep: Reputation: 23
Did you try to unplug it and plug it back again?
 
Old 12-15-2007, 05: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, 07: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, 05: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, 08: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, 08:47 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,100

Rep: Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:24 PM
Restart USB controller? kel_en Debian 3 09-20-2006 03:32 PM
restart USB system pajamabama Linux - Hardware 0 06-14-2006 08:12 PM
A way to stop/restart USB support without rebooting? ewto Linux - Newbie 2 10-15-2003 10:18 AM
Must I restart USB each time ... Rex_chaos Linux - General 2 03-26-2002 04:55 PM


All times are GMT -5. The time now is 03:56 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration