Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Force USB low speed on an specific port.

3,363 views
Skip to first unread message

Marc Aymerich

unread,
Dec 18, 2011, 1:30:03 PM12/18/11
to
Hi,
Today I've tried to connect my mouse through +10meters USB cable.
Seems that it works pretty well despite of what the RFC says about
maximum cable lenght :) the only problem I have is that ~5% of mouse
clicks are lost. I want to try putting the bus speed to a lower rate.
Is this posible ? for example, can I force a USB2.0 bus to work in
USB1.0 mode or something like that?

Thanks!
--
Marc


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/CA+DCN_umvQWRn0_2MLb0pFxNfFyuNr__K-C=zCCgPZA=FAk...@mail.gmail.com

Bob

unread,
Dec 19, 2011, 1:40:01 AM12/19/11
to
On 12/19/2011 02:28 AM, Marc Aymerich wrote:
> Hi,
> Today I've tried to connect my mouse through +10meters USB cable.
> Seems that it works pretty well despite of what the RFC says about
> maximum cable lenght :) the only problem I have is that ~5% of mouse
> clicks are lost. I want to try putting the bus speed to a lower rate.
> Is this posible ? for example, can I force a USB2.0 bus to work in
> USB1.0 mode or something like that?
>
> Thanks!

I have a webcam that with older versions of the UVC drivers only worked
well on USB 1.1 & the easiest way I found to force it into that mode was
to plug it into a USB 1.1 hub.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/4EEEC8CD...@homeurl.co.uk

Alan Greenberger

unread,
Dec 20, 2011, 9:10:02 AM12/20/11
to
On 2011-12-18, Marc Aymerich <glic...@gmail.com> wrote:
> Hi,
> Today I've tried to connect my mouse through +10meters USB cable.
> Seems that it works pretty well despite of what the RFC says about
> maximum cable lenght :) the only problem I have is that ~5% of mouse
> clicks are lost. I want to try putting the bus speed to a lower rate.
> Is this posible ? for example, can I force a USB2.0 bus to work in
> USB1.0 mode or something like that?
>
> Thanks!

Mice don't do USB2. They are Low Speed USB1 devices. To see this, type
lsusb to get the bus and device numbers of the mouse and then lsusb -t
which should show something like:
|__ Port 1: Dev 2, If 0, Class=HID, Driver=usbhid, 1.5M
showing that it is running at 1.5 Mbits/sec

You could try two 5 meter cables separated by a hub.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/slrnjf156g...@archduke.router

Camaleón

unread,
Dec 21, 2011, 10:40:01 AM12/21/11
to
On Sun, 18 Dec 2011 19:28:43 +0100, Marc Aymerich wrote:

> Today I've tried to connect my mouse through +10meters USB cable. Seems
> that it works pretty well despite of what the RFC says about maximum
> cable lenght :) the only problem I have is that ~5% of mouse clicks are
> lost.

"The only problem"?! You're very optimistic :-)

> I want to try putting the bus speed to a lower rate. Is this posible ?
> for example, can I force a USB2.0 bus to work in USB1.0 mode or
> something like that?

Yes, well, you can use an USB 1.0/1.1 cable with a USB 2.0 hub/device,
the speed will be automatically reduced to the lowest speed of all the
involved compotents which in this case will be the cable.

But there has to be a better way to extend the distance by using
repeaters (hubs) or USB specific designed cables that can achieve longer
distances.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.12...@gmail.com

Marc Aymerich

unread,
Dec 21, 2011, 12:00:02 PM12/21/11
to
On Tue, Dec 20, 2011 at 2:59 PM, Alan Greenberger <ala...@ptd.net> wrote:
> On 2011-12-18, Marc Aymerich <glic...@gmail.com> wrote:
>> Hi,
>> Today I've tried to connect my mouse through +10meters USB cable.
>> Seems that it works pretty well despite of what the RFC says about
>> maximum cable lenght :) the only problem I have is that ~5% of mouse
>> clicks are lost. I want to try putting the bus speed to a lower rate.
>> Is this posible ? for example, can I force a USB2.0 bus to work in
>> USB1.0 mode or something like that?
>>
>> Thanks!
>
> Mice don't do USB2.  They are Low Speed USB1 devices.  To see this, type
> lsusb to get the bus and device numbers of the mouse and then lsusb -t
> which should show something like:
>    |__ Port 1: Dev 2, If 0, Class=HID, Driver=usbhid, 1.5M
> showing that it is running at 1.5 Mbits/sec

Acctually i didn't mention that between the cable and the mouse there
is a usb2.0 hub (lcd monitor with usb)

/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/8p, 480M
|__ Port 2: Dev 9, If 0, Class=hub, Driver=hub/4p, 480M
|__ Port 1: Dev 10, If 0, Class=HID, Driver=usbhid, 1.5M

So the cable speed is 480M.

--
Marc


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/CA+DCN_t7DEcumTjS0ofYnB4q...@mail.gmail.com

Marc Aymerich

unread,
Dec 21, 2011, 12:20:01 PM12/21/11
to
On Wed, Dec 21, 2011 at 4:37 PM, Camaleón <noel...@gmail.com> wrote:
> On Sun, 18 Dec 2011 19:28:43 +0100, Marc Aymerich wrote:
>
>> Today I've tried to connect my mouse through +10meters USB cable. Seems
>> that it works pretty well despite of what the RFC says about maximum
>> cable lenght :) the only problem I have is that ~5% of mouse clicks are
>> lost.
>
> "The only problem"?! You're very optimistic :-)
>

I didn't expect that this was going to work at all.. :)

>> I want to try putting the bus speed to a lower rate. Is this posible ?
>> for example, can I force a USB2.0 bus to work in USB1.0 mode or
>> something like that?
>
> Yes, well, you can use an USB 1.0/1.1 cable with a USB 2.0 hub/device,
> the speed will be automatically reduced to the lowest speed of all the
> involved compotents which in this case will be the cable.
>
> But there has to be a better way to extend the distance by using
> repeaters (hubs) or USB specific designed cables that can achieve longer
> distances.
>

Yes, sure, I can buy a new bluetooth mouse too, but it will be great
if I can solve this just with the components that I already have. btw,
if the driver can change the bus speed according to the type of cable
(usb1/usb2) it is a shame not have this kind of control through OS.



--
Marc


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/CA+DCN_sh7_W_erZRn_qDEcNw...@mail.gmail.com

Camaleón

unread,
Dec 21, 2011, 12:40:01 PM12/21/11
to
On Wed, 21 Dec 2011 18:11:03 +0100, Marc Aymerich wrote:

> On Wed, Dec 21, 2011 at 4:37 PM, Camaleón <noel...@gmail.com> wrote:

(...)

>>> I want to try putting the bus speed to a lower rate. Is this posible ?
>>> for example, can I force a USB2.0 bus to work in USB1.0 mode or
>>> something like that?
>>
>> Yes, well, you can use an USB 1.0/1.1 cable with a USB 2.0 hub/device,
>> the speed will be automatically reduced to the lowest speed of all the
>> involved compotents which in this case will be the cable.
>>
>> But there has to be a better way to extend the distance by using
>> repeaters (hubs) or USB specific designed cables that can achieve
>> longer distances.
>>
>>
> Yes, sure, I can buy a new bluetooth mouse too, but it will be great if
> I can solve this just with the components that I already have. btw, if
> the driver can change the bus speed according to the type of cable
> (usb1/usb2) it is a shame not have this kind of control through OS.

To be sincere, I don't know how to slowdown the speed of an USB host "per
port"... not even from a Windows based system :-?

It would be nice indeed, to be able to separate the ports by means of a
software based solution. That way, by connecting USB 1.0/1.1 devices into
USB 2.0 host controller it won't slow the whole thing to the minimum
speed which is what happens right now.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.12...@gmail.com

Alan Greenberger

unread,
Dec 22, 2011, 11:10:03 AM12/22/11
to
On 2011-12-21, Marc Aymerich <glic...@gmail.com> wrote:
> On Tue, Dec 20, 2011 at 2:59 PM, Alan Greenberger <ala...@ptd.net> wrote:
>> On 2011-12-18, Marc Aymerich <glic...@gmail.com> wrote:
>>> Hi,
>>> Today I've tried to connect my mouse through +10meters USB cable.
>>> Seems that it works pretty well despite of what the RFC says about
>>> maximum cable lenght :) the only problem I have is that ~5% of mouse
>>> clicks are lost. I want to try putting the bus speed to a lower rate.
>>> Is this posible ? for example, can I force a USB2.0 bus to work in
>>> USB1.0 mode or something like that?
>>>
>>> Thanks!
>>
>> Mice don't do USB2.  They are Low Speed USB1 devices.  To see this, type
>> lsusb to get the bus and device numbers of the mouse and then lsusb -t
>> which should show something like:
>>    |__ Port 1: Dev 2, If 0, Class=HID, Driver=usbhid, 1.5M
>> showing that it is running at 1.5 Mbits/sec
>
> Acctually i didn't mention that between the cable and the mouse there
> is a usb2.0 hub (lcd monitor with usb)
>
> /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/8p, 480M
> |__ Port 2: Dev 9, If 0, Class=hub, Driver=hub/4p, 480M
> |__ Port 1: Dev 10, If 0, Class=HID, Driver=usbhid, 1.5M
>
> So the cable speed is 480M.
>

During the time slice that the hub in your monitor is talking to the
mouse, the hub's hardware is communicating via USB low speed. Due to
poor signal quality, too many packets are getting CRC errors. No
software will alter this.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/slrnjf6icg...@archduke.router
0 new messages