Skip to contentSkip to conversation

USB debouncing?

DISCUSSION Pete Zaitcev 2 participants 2 messages Jul 19, 2005 – Jul 20, 2005 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 8 lines · DervishD

I have a new MP3 player, and when I disconnect it from the USB
port, my logs says:

    <30>Jul 19 18:11:05 kernel: usb.c: USB disconnect on device 00:07.3-1 address 2
    <27>Jul 19 18:11:06 kernel: hub.c: connect-debounce failed, port 1 disabled

What is that 'connect-debounce' for? Is the port damaged? Am I
doing anything wrong?

The ports are not getting completely disabled. The wording is poor. If you plug something else, hub gets a connect change, khubd will allow another debounce cycle and accept whatever happens.

In this case, when you're pulling the plug the hub receives a momentary reconnect, so the software things something else was plugged. I think perhaps the resistor harness is not good in the device, or perhaps something is wrong with the connector.

-- Pete

#2 lore raw

Hi Pete :)

* Pete Zaitcev <[email protected]> dixit:

Quoted 9 lines · DervishD
Quoted 8 lines

I have a new MP3 player, and when I disconnect it from the USB
port, my logs says:

    <30>Jul 19 18:11:05 kernel: usb.c: USB disconnect on device 00:07.3-1 address 2
    <27>Jul 19 18:11:06 kernel: hub.c: connect-debounce failed, port 1 disabled

What is that 'connect-debounce' for? Is the port damaged? Am I
doing anything wrong?

[...]

Quoted 4 lines

In this case, when you're pulling the plug the hub receives a momentary reconnect, so the software things something else was plugged. I think perhaps the resistor harness is not good in the device, or perhaps something is wrong with the connector.

The device has a flimsy connector which didn't make good electric
contact, that was the problem. I've returned the device and got a new one with a different connector that works ok :) Thanks a lot for the hint, I was assuming some kind of incompatibility or something like that, and the problem was just electrical.

Thanks :)

Raúl Núñez de Arenas Coronado

Signature · 3 lines
Linux Registered User 88736 | http://www.dervishd.net
http://www.pleyades.net & http://www.gotesdelluna.net
It's my PC and I'll cry if I want to...