Return-Path: From: Marcel Holtmann To: Choi Sonim In-Reply-To: <4f436aae0701181523y55ad36bdu9645c786a252c04e@mail.gmail.com> References: <4f436aae0701172208l7ac85a75tc592fa15d1b57f8@mail.gmail.com> <1169108019.6853.1.camel@violet> <4f436aae0701181523y55ad36bdu9645c786a252c04e@mail.gmail.com> Date: Fri, 19 Jan 2007 00:52:23 +0100 Message-Id: <1169164343.6853.7.camel@violet> Mime-Version: 1.0 Cc: BlueZ development Subject: Re: [Bluez-devel] /sys/devices/platform/bluetooth Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net Hi Choi, > > > Where is the code that does the platform registration to this device : > > > /sys/devices/platform/bluetooth > > > > you find it in net/bluetooth/hci_sysfs.c in the kernel source code. > > What is the purpose of the bluetooth platform device (and bus and class..) ? > > I guess that bluetooth devices would prefer to register themselves as children > of their true bus (like USB or PCI or even serial) so when the system goes > to suspend, their suspend function will be called before their father's > (the true hardware bus of our bluetooth device). if they do have a physical parent. Some devices like virtual HCI or serial based chips don't have a physical parent. Regards Marcel ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel