Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758057Ab2EASy7 (ORCPT ); Tue, 1 May 2012 14:54:59 -0400 Received: from cavan.codon.org.uk ([93.93.128.6]:58578 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753962Ab2EASy5 (ORCPT ); Tue, 1 May 2012 14:54:57 -0400 Date: Tue, 1 May 2012 19:54:55 +0100 From: Matthew Garrett To: Jonathan Corbet Cc: LKML , linux-bluetooth@vger.kernel.org Subject: Re: [now bisected] Weird bluetooth keyboard regression - just me? Message-ID: <20120501185455.GA29060@srcf.ucam.org> References: <20120501073711.028d31d6@lwn.net> <20120501110156.2b6e0561@lwn.net> <20120501171901.GA26006@srcf.ucam.org> <20120501120145.21f65ae2@lwn.net> <20120501183149.GA28536@srcf.ucam.org> <20120501123923.01ac1138@lwn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120501123923.01ac1138@lwn.net> User-Agent: Mutt/1.5.20 (2009-06-14) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@cavan.codon.org.uk X-SA-Exim-Scanned: No (on cavan.codon.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1188 Lines: 27 On Tue, May 01, 2012 at 12:39:23PM -0600, Jonathan Corbet wrote: > On Tue, 1 May 2012 19:31:49 +0100 > Matthew Garrett wrote: > > > > It's Rawhide, updated yesterday. "Removable" says "fixed". > > > > Ok, well that's the problem. udev is seeing "fixed" and enabling > > autosuspend. Is this really bluetooth, or does it appear as a USB HID > > device? Can you send lsusb -v? > > Whether it's really bluetooth has been an issue in the past... parts of > the system have fought over it. Ok, so what I'm assuming is happening here is that the device is plugged into a port that's flagged "removable", but contains a built-in hub and the receiver is attached to *that*. So this code really needs to look back up the chain and see whether the parent port was removable or not. I think the kernel is arguably ok here, and the udev rule needs fixing. Let me talk to Kay. -- Matthew Garrett | mjg59@srcf.ucam.org -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/