You are not logged in.

#1 2014-09-08 15:13:19

ppsalama
Member
From: Spain
Registered: 2012-01-29
Posts: 83

usb mouse lag or stops intermittently when I switch on an usb fan

Hi
thats what happen even changing usb port
Thanks for your help

Offline

#2 2014-09-08 15:23:06

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: usb mouse lag or stops intermittently when I switch on an usb fan

 Start the fan by hand*, then plug it in while it is still turning. preferably fast. Alternatively try a powered usb hub in between. Does the same happen? If no, or to a lesser extent, then the inrush current might be to high for that usb ports power supply.

Edit: Important note: Turn it in the correct direction, ergo the same direction the fan turns itself, not in the opposite direction. Improved writing style.

Last edited by emeres (2014-09-08 15:39:36)

Offline

#3 2014-09-08 15:32:27

ppsalama
Member
From: Spain
Registered: 2012-01-29
Posts: 83

Re: usb mouse lag or stops intermittently when I switch on an usb fan

emeres wrote:

 Start the fan by hand, then plug it in while it is still turning. preferably fast. Alternatively try a powered usb hub in between. Does the same happen? If no, or to a lesser extent, then the inrush current might be to high for that usb ports power supply.

thanks, I have no powered usb hub.
maybe what you say about to high the power suply, but I don't know how to.

Offline

#4 2014-09-08 15:38:24

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: usb mouse lag or stops intermittently when I switch on an usb fan

ppsalama wrote:

maybe what you say about to high the power suply, but I don't know how to.

 I do not understand that.

Offline

#5 2014-09-08 15:46:28

ppsalama
Member
From: Spain
Registered: 2012-01-29
Posts: 83

Re: usb mouse lag or stops intermittently when I switch on an usb fan

emeres wrote:
ppsalama wrote:

maybe what you say about to high the power suply, but I don't know how to.

 I do not understand that.

increase the power to usb port?

Offline

#6 2014-09-08 16:22:20

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: usb mouse lag or stops intermittently when I switch on an usb fan

 There is a hardware limit of 0,5 A for the high powered state for USB2.0 ports. Check the specification on usb.org.

EEWeb article wrote:

USB specifications limit the device current to 100mA prior to enumeration. After enumeration, a high-powered device can request no more than 500mA.

 I suspect the fan has been designed to work at safe current levels when already in motion. Is the fan listed by 'lsusb' when attached? If no, there is little you can do on the software side.
 However there are at least two possibilities on the hardware side, both potentially destructive and with side effects, yet relatively simple to implement. Since there seems to be a little problem with communication, I will refrain from naming those however.
 How does the hub behave when you connect the fan when already in motion? Is the timeout for the mouse shorter or not present at all?

Edit: Wrong link.

Last edited by emeres (2014-09-08 16:54:49)

Offline

#7 2014-09-08 17:02:26

ppsalama
Member
From: Spain
Registered: 2012-01-29
Posts: 83

Re: usb mouse lag or stops intermittently when I switch on an usb fan

emeres wrote:

 There is a hardware limit of 0,5 A for the high powered state for USB2.0 ports. Check the specification on usb.org.

EEWeb article wrote:

USB specifications limit the device current to 100mA prior to enumeration. After enumeration, a high-powered device can request no more than 500mA.

 I suspect the fan has been designed to work at safe current levels when already in motion. Is the fan listed by 'lsusb' when attached? If no, there is little you can do on the software side.
 However there are at least two possibilities on the hardware side, both potentially destructive and with side effects, yet relatively simple to implement. Since there seems to be a little problem with communication, I will refrain from naming those however.
 How does the hub behave when you connect the fan when already in motion? Is the timeout for the mouse shorter or not present at all?

Edit: Wrong link.


Is the fan listed by 'lsusb' when attached?: No
How does the hub behave when you connect the fan when already in motion? Is the timeout for the mouse shorter or not present at all?: When I switch off the fan, mouse works perfect.

Offline

#8 2014-09-08 17:07:10

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: usb mouse lag or stops intermittently when I switch on an usb fan

 What kind of a fan is that? Can you provide a link?

Offline

#9 2014-09-08 17:12:25

ppsalama
Member
From: Spain
Registered: 2012-01-29
Posts: 83

Re: usb mouse lag or stops intermittently when I switch on an usb fan

emeres wrote:

 What kind of a fan is that? Can you provide a link?

like this
http://goo.gl/KCqNh8

Offline

#10 2014-09-08 17:29:22

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: usb mouse lag or stops intermittently when I switch on an usb fan

 I still have no clue what kind of usb ventilador that is, the link lists various items, none of them is a fan.

Edit: I assume that this is a cheap product both in value and quality, which probably only uses two of the usb pins. The two ways I mentioned would include soldering a resistor in between one of fan usb cable wires, preferably with a switch parallel to the resistor so that it can be shorted, ergo turned off, and the other way would be soldering capacitors parallel to the voltage output [pins] of the usb socket. Values of those components depend on the fan and its inrush current, but something along 50÷100 Ω and 100 μF / 10 V should be safe. Side effect would include, reduced rpm of the fan, possible discharge on other usb devices. Again this is potentially destructive to your hardware and probably not worth it all. If you have little to no experience in soldering, do not understand what the definition of electrical current is, just leave it be. Buy a powered hub.
 By the way, should this only occur with running on battery, try plugging the power adapter in. If that is no laptop, either try this fan somewhere else or your usb power supply might be defect, because of overheating for example.

Last edited by emeres (2014-09-08 18:20:35)

Offline

#11 2014-09-08 22:25:20

richardkemp
Member
Registered: 2014-08-06
Posts: 13

Re: usb mouse lag or stops intermittently when I switch on an usb fan

This is clearly a hardware problem.. unless you've tried it in other OS and it works fine there.

If your hardware can't handle powering both devices at once there isn't anything you can do about it beyond supplying additional power somehow, like a powered hub or a mobile phone charger plug.

Offline

#12 2014-09-09 11:17:57

ppsalama
Member
From: Spain
Registered: 2012-01-29
Posts: 83

Re: usb mouse lag or stops intermittently when I switch on an usb fan

thank you very much to emeres and richardkemp
I've noticed that if I plug the fan into an outlet on the wall of my house the problem is reproduced. If I turn off the fan or bring it away from the mouse, the problem disappears. seems an interference problem? a mystery

thanks again.
(sorry for my english)

Offline

Board footer

Powered by FluxBB