I get the following message on a Centos 5 system (really a Trixbox 2.4 build on Centos 5):
Jan 14 00:12:28 sip2 kernel: hub 1-0:1.0: connect-debounce failed, port 1 disabled
What does this mean?
This message occurs about 30 times/sec for about 45 sec. Then my Bluetooth token starts up.
Jan 14 00:12:28 sip2 kernel: hub 1-0:1.0: connect-debounce failed, port 1 disabled Jan 14 00:13:00 sip2 last message repeated 18 times Jan 14 00:14:01 sip2 last message repeated 35 times Jan 14 00:15:02 sip2 last message repeated 35 times Jan 14 00:16:03 sip2 last message repeated 35 times Jan 14 00:17:04 sip2 last message repeated 35 times Jan 14 00:18:05 sip2 last message repeated 35 times Jan 14 00:19:06 sip2 last message repeated 35 times Jan 14 00:20:07 sip2 last message repeated 35 times Jan 14 00:21:08 sip2 last message repeated 35 times Jan 14 00:22:10 sip2 last message repeated 35 times Jan 14 00:23:11 sip2 last message repeated 35 times Jan 14 00:24:12 sip2 last message repeated 35 times Jan 14 00:25:13 sip2 last message repeated 35 times Jan 14 00:26:15 sip2 last message repeated 35 times Jan 14 00:27:16 sip2 last message repeated 35 times Jan 14 00:28:17 sip2 last message repeated 35 times Jan 14 00:29:18 sip2 last message repeated 35 times Jan 14 00:30:19 sip2 last message repeated 35 times Jan 14 00:31:20 sip2 last message repeated 35 times Jan 14 00:32:21 sip2 last message repeated 35 times Jan 14 00:32:44 sip2 last message repeated 13 times Jan 14 00:32:44 sip2 kernel: usb 1-1: new full speed USB device using uhci_hcd and address 2 Jan 14 00:32:44 sip2 kernel: usb 1-1: configuration #1 chosen from 1 choice Jan 14 00:32:45 sip2 kernel: Bluetooth: HCI USB driver ver 2.9 Jan 14 00:32:45 sip2 hcid[1826]: HCI dev 0 registered Jan 14 00:32:45 sip2 hcid[1826]: Register path:/org/bluez/hci0 fallback:0 Jan 14 00:32:45 sip2 kernel: usbcore: registered new driver hci_usb Jan 14 00:32:45 sip2 hcid[1826]: HCI dev 0 up Jan 14 00:32:45 sip2 hcid[1826]: Device hci0 has been added Jan 14 00:32:45 sip2 hcid[1826]: Starting security manager 0 Jan 14 00:32:45 sip2 hcid[1826]: Device hci0 has been activated
a hciconfig -a gets:
hci0: Type: USB BD Address: 00:0D:18:01:20:B9 ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN RX bytes:8862 acl:38 sco:0 events:393 errors:0 TX bytes:2358 acl:38 sco:0 commands:154 errors:0 Features: 0xff 0xff 0x8f 0xf8 0x18 0x18 0x00 0x80 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH HOLD SNIFF PARK Link mode: SLAVE ACCEPT Name: 'sip2' Class: 0x000100 Service Classes: Unspecified Device Class: Computer, Uncategorized HCI Ver: 1.2 (0x2) HCI Rev: 0x512 LMP Ver: 1.2 (0x2) LMP Subver: 0x512 Manufacturer: Cambridge Silicon Radio (10)
CSR is considered good...
Then I try and pair my Treo 650.
I picked up the following to make the token discoverable:
dbus-send --system --type=method_call --print-reply --dest=org.bluez /org/bluez/hci0 org.bluez.Adapter.SetMode string:discoverable
ouch!
Now then, hcitool scan mostly fails. But hcitool info 00:07:E0:24:5A:94
gets:
Requesting information ... BD Address: 00:07:E0:24:5A:94 Device Name: RGM LMP Version: 1.1 (0x1) LMP Subversion: 0x700 Manufacturer: Broadcom Corporation (15) Features: 0xbf 0xfe 0x0d 0x00 0x00 0x00 0x00 0x00 <3-slot packets> <5-slot packets> <encryption> <slot offset> <timing accuracy> <role switch> <sniff mode> <RSSI> <channel quality> <SCO link> <HV2 packets> <HV3 packets> <u-law log> <A-law log> <CVSD> <power control> <transparent SCO>
After a bit of work, I can get the phone to prompt me for the PIN. But hcitool con comes up empty. I try hcitool cc 00:07:E0:24:5A:94 and the phone shows connecting, but hcitool con shows an empty list.
Of course when I get into Asterisk's CLI and try a mobile show device, it lists the Treo (I did put a section for it in the mobile.conf file) put shows NO for Available.
Can anyone help me get direction on getting my phone paired with my system?
On Mon, 2008-01-14 at 14:55 -0500, Robert Moskowitz wrote:
I get the following message on a Centos 5 system (really a Trixbox 2.4 build on Centos 5):
Jan 14 00:12:28 sip2 kernel: hub 1-0:1.0: connect-debounce failed, port 1 disabled
What does this mean?
In this context, I'm not sure. But nback in the day of electro- mechanical switches for the phone system, there were a lot of circuits involved in suppressing the electrical "jitter" that occurs as electrical contacts "make". Maybe there is some setting you need in some piece of software to extend the suppression time? Maybe your usb port is "sloppy" and the contacts are making to much "noise" when you plug things in?
Have you tried having everything all plugged in when you fire the box up? Does there seem to be excessive "wiggle" in the connectors?
I know absolutely nothing else I can volunteer.
<snip>
HTH
on 1/14/2008 11:55 AM Robert Moskowitz spake the following:
I get the following message on a Centos 5 system (really a Trixbox 2.4 build on Centos 5):
Jan 14 00:12:28 sip2 kernel: hub 1-0:1.0: connect-debounce failed, port 1 disabled
What does this mean?
This message occurs about 30 times/sec for about 45 sec. Then my Bluetooth token starts up.
Your USB device or its cable has a poor connection. Can you try it in another port? The debouncing is supposed to cover for the rapid make-break that would appear to the system as you plug/unplug a device. Yours seems to have a less than tight connection, and that is why you get the debounce errors. It could be a loose port or a bad cable at either end.
Technically, it means "your connection is not reliable." De-bouncing is a trick in reading keyboards that takes the first few microseconds of "key down" connection and ignores them, because contacts may "bounce" on and off when the key is travelling under finger pressure. That prevents the sudden shift on-off-on-off-on-off that may occur when the two contacts are nearly in full contact...but not quite yet, from being perceived as multiple keystrokes.
When you plug in a USB device, the drivers similarly do some filtering (ideally in hardware, but potentially in software) to make sure the USB contacts are all firmly made before accepting any input or trusting the connection for output. If you have a faulty connector (on either side), you may find that the "bouncing" is so pronounced that the incoming queue of signals is filled up...which might account for it "settling down" after 45 seconds or so.
1. Make sure the USB connections (both ends, and both sides of each connection) are tight an firm. 2. Try a different USB cable between the equipment and your computer. 3. Try connecting a different device, and see if the problem lies in your USB external device. 4. Confirm the device/cable combination work with another computer without same kind of problem (to rule out those external components).
If all this doesn't solve the problem, then you may have an inappropriate Bluetooth driver and/or need to configure some "bounce" parameters.
The only real way to see the "bounce" is with a storage oscilloscope, which is triggered on the first "contact" and stores for a second or so. Then you can actually "see" the waveshape of the "bouncing" and that can help you isolate its' cause.
--Carol Anne
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Scott Silva Sent: Monday, January 14, 2008 12:48 PM To: centos@centos.org Subject: [CentOS] Re: What is connect-debounce wrt usb?
on 1/14/2008 11:55 AM Robert Moskowitz spake the following:
I get the following message on a Centos 5 system (really a
Trixbox 2.4
build on Centos 5):
Jan 14 00:12:28 sip2 kernel: hub 1-0:1.0: connect-debounce failed, port 1 disabled
What does this mean?
This message occurs about 30 times/sec for about 45 sec. Then my Bluetooth token starts up.
Your USB device or its cable has a poor connection. Can you try it in another port? The debouncing is supposed to cover for the rapid make-break that would appear to the system as you plug/unplug a device. Yours seems to have a less than tight connection, and that is why you get the debounce errors. It could be a loose port or a bad cable at either end.
-- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!!
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos