Escorpiom, on Dec 1 2009, 09:58 AM, said:
I prefer not to copy stuff when it's not needed. It has do be deleted afterwards anyway. And yes, keeping it on the share is easier.
As far as the mapping, it's a neat future but I don't need it.
Today I tested the new version and although I could not verify the subsys issue, came across something else. It's a little difficult to explain, please ask me if you don't understand.
I have the inf from C-media audio driver. It contains a lot of device id's. Will attach the file here.
For some strange reason, the hardware database is limiting the amount of device id's added. Please note my hardware.db is about 10MB at the moment.
For example, VEN_8086&DEV_24D5&SUBSYS_97611849 were referenced in the inf, but did not show in the hardware.db!
Only the first 53 lines from the 24D5 device were added, the rest was ignored.
You can see that the 8086 24D5 section has a lot more entries, I guess more then a hundred in total.
Because of this, the hardware was not installed. Error: Driver path not found in DB.
PCI\VEN_8086&DEV_24D5&SUBSYS_18841019,\Sound\Cmedia\CMI_SIS_VIA_AC97\WDM\CMICHX.INF,cmuda.cat,Unknown, PCI\VEN_8086&DEV_24D5&SUBSYS_18851019,\Sound\Cmedia\CMI_SIS_VIA_AC97\WDM\CMICHX.INF,cmuda.cat,Unknown, PCI\VEN_8086&DEV_24D5&SUBSYS_18861019,\Sound\Cmedia\CMI_SIS_VIA_AC97\WDM\CMICHX.INF,cmuda.cat,Unknown, PCI\VEN_10DE&DEV_006A&SUBSYS_0A171019,\Sound\Cmedia\CMI_SIS_VIA_AC97\WDM\CMNVDA.INF,cmuda.cat,Unknown, PCI\VEN_10DE&DEV_006A&SUBSYS_0A181019,\Sound\Cmedia\CMI_SIS_VIA_AC97\WDM\CMNVDA.INF,cmuda.cat,Unknown, PCI\VEN_10DE&DEV_006A&SUBSYS_0A191019,\Sound\Cmedia\CMI_SIS_VIA_AC97\WDM\CMNVDA.INF,cmuda.cat,Unknown,
As you can see, the last line referenced in hardware.db is "PCI\VEN_8086&DEV_24D5&SUBSYS_18861019", after that the Nvidia section starts. But there are a lot more entries in the .inf file!
Either:
- The hardware.db is size-limited (10Mb?) and because of that the number of entries are cut-off
or
- Only a certain amount of entries per .inf file/device id is allowed/added to hardware.db
What could be the issue?
Cheers,
Escorpiom.
Hello Escorpiom,
Indeed. You found a bug. The problem is AutoIt has a limit to how much data can be in a section in an ini(inf is special case of ini) file. IniReadSection will only read up to 32,767 chars. While the whole file has a lot more.
This means i have to rewrite the function that is responsible for reading up the file :-) Will do it later this week when I'll get some time.
Nice catch :-)



Help


Back to top













