[ros-dev] Setupapi improvements

Eric Kohl eric.kohl at t-online.de
Tue Oct 19 17:51:17 CEST 2004


"Steven Edwards" <steven_ed4153 at yahoo.com> wrote:

> Right I understand. I was hoping we could use libusb as it currently
> work on both Windows and Linux but I see what you mean about the
> implementation issues...maybe it will still be of help to someone.

AFAICS libusb bypasses the pnp manager and uses direct access to USB
devices. This is not what we need for ReactOS.


> Right now its a hardcoded hack to SetupDiGetClassDevsA that looks for
> the iPods Vendor ID by talking to the /proc filesystem. If it finds the
> device it does some other magic to access it. In the future we were
> going to add some enumeration for other mass storage devices. I was
> hoping we could make it generic enough that ReactOS and Wine could both
> use the same code for device identification at least on the userspace
> side because if I understand it correctly all USB devices under any OS
> use the same ID system. I dont know how the other hardware such as PCI
> and friends work.
>
> Anyway there is not much to what we(codeweavers) already have and I
> agree I dont think working together on this is going to be much help.

Pehaps we can use the same internal device tree representation but different
ways to create it.


Regards,
Eric



More information about the Ros-dev mailing list