http://bugs.winehq.org/show_bug.cgi?id=7711
--- Comment #40 from Hans Leidekker hans@it.vu.nl 2008-01-12 14:34:15 --- Created an attachment (id=10196) --> (http://bugs.winehq.org/attachment.cgi?id=10196) Return something sensible from QueryDosDevice
By returning something sensible from QueryDosDevice TomTom can be tempted to take the step. It calls SetupDiGetClassDevs, SetupDiEnumDeviceInfo and then SetupDiGetDeviceInstanceId, which makes me think it's looking for a device instance id specific to TomTom devices. These APIs simply enumerate registry keys but on Wine the keys are not filled in yet. Let's take them from a Windows machine for now:
0. Attach TomTom device to a Windows machine 1. Open regedit on that machine 2. Right click on HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum 3. Choose Export and save to enum.reg as Win9x/NT4 registry file 4. Copy enum.reg over to your Linux machine 5. wine regedit enum.reg
Repeat steps from comment #39 with this patch. A +relay,+setupapi log would be most interesting.