Re: usbser.sys and registry entry

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



It is very possible that USBSER was not designed properly. Judging by how
long it took to clean it, starting from Windows 98, its quality is likely
quite low.

A properly designed driver should clean all its synbolic links, disable
interfaces (which are symbolic links, too) and clean all corresponding
registry information not only in REMOVE_DEVICE, but also in STOP_DEVICE and
SURPRISE_REMOVAL (taking care about NOT deleting those twice, because at
REMOVE_DEVICE time, another device object may already own those). Those
links should be created in START_DEVICE, not in AddDevice.

<macmohan@xxxxxxxxx> wrote in message
news:1118039475.813357.176280@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hello All,
>
> I am using the usbser.sys for the CDC ACM device to emulate a Virtual
> COM port on Windows. The USB device is getting enumerated and in the
> device manager, ports, an entry is made and properties shows "device is
> working properly". In the registry in
> My Computer\HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM an entry
> by the name \Device\USBSER000 is formed with data value set to COM port
> no. (say COM3).
> When the USB cable is removed, this entry also gets deleted
> automatically.
> I am able to open any application on that Virtual com port and use it
> like a normal serial port.
> But sometimes, when the application tries to open the Virtual COM port,
> it gets a error: "System file not specified". When I remove the USB
> cable at this point, the entry \Device\USBSER000 still remains.
> To start the application, I have to connect the device to other USB
> port.
>
> Is this the problem with usbser.sys of not removing the registry entry
> sometimes on surprise removal?
>
> Thanks for your time..
>
> Regards,
> Mohan.
>


.



Relevant Pages

  • Re: Why Is svchost In My Router????
    ... I removed the entry but after rebooting my machine it was ... > Does anyone know if this entry is being put there by a legit Windows ... Windows, or any OS, can't be putting entries into your router without your ... opens this port, like maybe letting it pass or send UDP requests for UPnP. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: keeping ports open
    ... If a port is open, it means that 1) a software or service is running on your ... and 2) you're not using a firewall or your firewall isn't ... Use firewall software and hardware and antivirus software that is ... Follow the instructions for hardening Windows and IIS at ...
    (microsoft.public.security)
  • [Full-Disclosure] ron1n phone home, episode 4
    ... Hacking from Windows 3.x, 95 and NT ... Use secret Windows 95 DOS commands to track down and port surf computers ... Download hacker tools such as port scanners and password crackers designed ... Now you have the option of eight TCP/IP utilities to play with: telnet, ...
    (Full-Disclosure)
  • Re: How to Maintain an IIS Server?
    ... > server running on a Windows 2000 server. ... before a firewall and antivirus have been installed]. ... open ports; however, this will not identify which program is using the port. ...
    (microsoft.public.inetserver.iis.security)
  • RE: xp pro sharing printer
    ... How to troubleshoot network printing problems in Windows XP ... SMB-connected print server ... Incompatible print driver ... and then redirect the port to the network server. ...
    (microsoft.public.windowsxp.security_admin)