Re: adding DEVICEMAP\HARDWARE registry entries

2008-11-24 Thread A C Hurst
> You don't want to depend on the symlinks, things should work without > requiring the user to create any symlink. > It should depend on what > actual devices are present on the machine, So, directly stat /dev/ttyS*, then check dosdevices for anything overriding these?

Re: adding DEVICEMAP\HARDWARE registry entries

2008-11-24 Thread A C Hurst
> > The code in oldconfig.c is called by process.c/__wine_kernel_init(), on > > server startup. > > The entries are volatile, and are dynamically created if you count scanning > wineprefix/dosdevices/ > > and doing a stat() on anything named com[1-9] it finds there every time > > wine starts up

RE: adding DEVICEMAP\HARDWARE registry entries

2008-11-24 Thread A C Hurst
> > Dear winehackers, > > I sent this patch to wine-patches, with a few iterations of editing, > > and wondered if I could have some feedback on it, before I just resend > > it. > I don't think hardcoding this(as this patch seems to do afaics, I barely > know the code) is the right approach here. I

adding DEVICEMAP\HARDWARE registry entries

2008-11-23 Thread A C Hurst
Dear winehackers, I sent this patch to wine-patches, with a few iterations of editing, and wondered if I could have some feedback on it, before I just resend it. Andydiff --git a/dlls/kernel32/oldconfig.c b/dlls/kernel32/oldconfig.c index 20b6eaa..bb238fb 100644 --- a/dlls/kernel32/oldconfig.c +

Re: Patch to build \\HKLM\HARDWARE\DEVICEMAP\SERIALCOMM entries for COM ports

2008-11-13 Thread A C Hurst
> > Follows example of create_scsi_entries() in oldconfig.c > > Addresses bug 11811 among others. > > docs at > > http://www.winehq.org/site/docs/wineusr-guide/misc-things-to-configure only > > mention > > lowercase names in dosdevices. > > Hopefully I'm not too far down the s**t list; only my 2n

Re: Patch to build \\HKLM\HARDWARE\DEVICEMAP\SERIALCOMM entries for COM ports

2008-11-13 Thread A C Hurst
Resending this as it didn't make the list (shef.ac.uk != sheffield.ac.uk) sorry Austin > > Follows example of create_scsi_entries() in oldconfig.c > > Addresses bug 11811 among others. > > docs at > > http://www.winehq.org/site/docs/wineusr-guide/misc-things-to-configure only > > mention > > lo