Return-Path: Content-Type: text/plain; charset=US-ASCII Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: [BUG] HCI_RESET and Num_HCI_Command_Packets limit From: Marcel Holtmann In-Reply-To: Date: Wed, 19 Jun 2013 21:04:16 -0400 Cc: linux-bluetooth , keybuk Message-Id: <6D8CE567-F4C5-42BE-8E0E-5D558E9C439D@holtmann.org> References: To: Alex Deymo Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Alex, > I'm experiencing a problem that wedges the bluetooth adapter from time > to time. The repro case can be hit with this scenario: > > run bluetoothd > while hciconfig hci0 up && hciconfig hci0 down; do echo -n .; done > > In few iterations you will have a timeout while trying to bring up the > interface. This is just a repro case, the real scenario just happens > from time to time if you for instance restart bluetoothd at the right > (or wrong!) moment. can you give us at least a few details on the kernel you are running and what hardware this is? If you do not use hciconfig and instead use btmgmt or bluetoothctl, do you see the same issue? Regards Marcel