create DEVICEMAP\SERIALCOMM registry entries

A C Hurst A.Hurst at sheffield.ac.uk
Wed Nov 26 14:30:25 CST 2008


> Please reconsider how you build the keyname and keydata strings. You must use 
> a ...sprintf() call instead of adding to '0' since that would work only for 
> indexes and ports between 0 and 9.

Thanks for catching that. My ttyS* only go up to 3!
Also now FreeBSD friendly (like ntdll/directory.c/get_default_com_device).

> And while we are at it what about /dev/ttyUSB* and /dev/ttyACM* ? And remember 
> these device names are Linux specific...

The ttyUSB*: I'm not sure wine is supposed to handle these -
but for example there's a garmin_usb module which emulates a ttyS* device.
Either way this bit of windows registry only mentions serial COM ports.
http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/regentry/44.mspx?mfr=true

If I'm building this for setting up all COM port stuff in HAL then =¬o  I didn't realise!
My inspiration is purely this bit of registry addressing bug 11811 and others.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: oldconfig.c-new-diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20081126/5a5274c8/attachment.txt 


More information about the wine-patches mailing list