Re: Future features (was Re: Discussing issues)
Alan Cox <[email protected]>
| Newsgroups | gmane.comp.xfree86.forum |
|---|---|
| Message-ID | <[email protected]> |
> When a driver is in the kernel though, from talking to you the other > day I gathered the device "exists" to most userspace apps when the > driver has been loaded. Until then we don't know whether there will be > 0, 1, or N virtual devices (major/minor pairs) for a piece of > hardware. Hopefully I understood that right. ;-) In some cases yes. Without a driver we may know a scsi card exists but we do not know what disks are attached > > USB core driver - new device 0x1111 , 0x4115, class USB storage > > USB to user space "Hey do something with this info" > > So user space here is probably just a single special-purpose app that > loads usb-storage. Currently /sbin/hotplug does all those mappings on Linux. I'm not familiar enough with *BSD to know how they approach this bit. I would like to know. ALan