From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Wed, 25 Jun 2003 17:00:47 +0000 Subject: Re: Question about Hot device Identity Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Wed, Jun 25, 2003 at 05:05:22PM +0800, Guo, Min wrote: > I download the linux2.5.73 and use USB CDROM to do the testing. > ls /sysfs Why /sysfs? Why not /sys like everyone is standardizing on? > > block bus cdev class devices firmware > ls /sysfs/class > >firmware input net pcmcia_socket scsi_device scsi_host tty usb > ls /sysfs/block > > fd0 hda initrd sda > ls /sysfs/devices/pci0 > >0000:00:00.0 0000:00:02.0 0000:00:0f.0 0000:00:0f.2 power > 0000:00:00.1 0000:00:03.0 0000:00:0f.1 name > ls /sysfs/devices/pci0/0000\:00\:0f.2/ > >class irq power subsystem_device vendor > device name resource subsystem_vendor > > > 0000:00:0f.2 is my USB controller. > So ,in such environment, how to configure DEVPATH in test file? udev only cares about DEVPATH values for class devices. It ignores DEVPATH values for other kinds of devices. So set it to your block device and you should be fine. > Another question is whether 2.5.73 supports USB mice? Yes, the kernel does. Even 2.2 does :) greg k-h ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel