From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Date: Tue, 25 Jan 2011 14:45:19 +0000 Subject: Re: [PATCH] udev: add rules for qemu guests Message-Id: <4D3EE1FF.2050908@redhat.com> List-Id: References: <1295952245-3038-1-git-send-email-kraxel@redhat.com> In-Reply-To: <1295952245-3038-1-git-send-email-kraxel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi, >> No dependency at all. What number do you suggest then? > > Doesn't really matter, we just leave 00-09 and 91-99 for other custom > stuff, to get easily before and after the common things. Fine, so I can pick '42' ;) >> Ok. Is there some way to express "power/control doesn't exist but >> power/level does" as udev rule, so I can zap the shell script? > > TEST="" should do that. Thanks. >> Havn't checked whenever there is a in-kernel white list for that stuff which >> could be used instead. > > Yeah, would be nice to have some generic way to enable autosuspend > when the hardware (real or emulated one) hints that it supports that. Well, there is a descriptor bit for that of course, but unfortunately one can't expect that only (physical or virtual) devices without bugs actually set that ... cheers, Gerd