Re: bluetooth adapters keep disconnecting with an "USB disconnect"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 17:16 18.01.2010, Alan Stern wrote:
On Mon, 18 Jan 2010, Peter Kornatowski wrote:

> The bluetooth adapters I use are from Vivanco (model number 25711,
> USB 2.0, BT 2.1, Class1, EDR 3x), I don't know if they have the same
> hardware problem.
>
> I also saved a usbmon-log, but it is huge (32GB)! I made the testrun
> for about 15 hours and got 4 USB-disconnects (this time all 4 on the
> same adapter, I will make some further tests after I exchange it,
> maybe there is a hardware problem?).
> The timestamp in the usbmon log is somehow strange. It is saved in
> microseconds and has at most 10 digits, but after 3 hours more than
> 10000000000 microseconds passed (so 11 digits). I tried to grep for
> some timestamps from the syslog, but it did not work. So how does the
> timestamp work or what should I look for in the usbmon log?

The timestamp is in microseconds from system startup; it doesn't give
the time of day.  If you can match up one of the events in the usbmon
log with something in the dmesg log then you can figure out the offset
between the two time scales.  Generally it doesn't matter.

I know that it gives me the time from system startup, but the syslog gives me that, too. For example (*): Jan 17 03:36:36 peter kernel: [110056.795139] usb 3-2: uhci_result_common: failed with status 440000 But as you can see the timestamp here (also in microseconds) has 12 digits! But the usbmon log has even in the last lines (where the system was running over 15 hours) just 10 digits. I tried to grep for the whole timestamp from the syslog (then I got nothing) or just for the first 10 digits or the last 10 digits, but then it grepped way too many lines.

(*) This is from a test I ran over the weekend with no usb-devices at all, but just the 3 bluetooth-adapters (you asked for that). I got just one USB-disconnect in 65 hours of testing. So as I assumed, USB-hubs just increase the number of disconnects, but are not the cause. I attached the syslog of the disconnect.


> Can you tell me if I logged the right thing? All 3 adapters were
> connected to the same d-link 7-port usb-hub and I logged
> cat /sys/kernel/debug/usb/usbmon/1u

That's right.  The interesting things to look for will be the messages
that refer to the 7-port hub, together with some of the messages before
and after.  Messages for the hub will contain the string "1:002:" so
you can search for that.

I will do that tomorrow, but I think there will be too many lines containing this.


Alan Stern

Best regards, Peter


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Eingehende eMail ist virenfrei.
Von AVG uberpruft - www.avg.de
Version: 9.0.730 / Virendatenbank: 270.14.149/2630 - Ausgabedatum: 01/18/10 08:35:00

Attachment: no_usb_hub_disconnect.log
Description: Binary data


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux