[ros-dev] serial driver bug

Hervé Poussineau poussine at freesurf.fr
Fri Mar 18 17:54:42 CET 2005


Saveliy Tretiakov a écrit :
>> I think, to correctly enumerate com ports  in this situation, you need 
>> to remove enumeration
>> code from pnp routines. What do you think about creating something 
>> like SerialEnumerateComPorts() routine
>> and call it from DriverEntry? If you are not working on this now, I 
>> can try to implement it. The enumeration process
>> is described in "Enumerating Legacy COM Ports" article from DDK.
>>
> Oops, I  haven't seen  your latest changes from svn.
> Maybe you already did it...

Yes, it's done.
See DetectLegacyDevices() in legacy.c. This method is called at the end 
of DriverEntry.
This is this functionality that permits detection of 2 serial ports even 
if ACPI enumeration and root bus enumeration don't fully work.

Hervé


More information about the Ros-dev mailing list