Sie sind nicht angemeldet.
Lieber Besucher, herzlich willkommen bei: Aqua Computer Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »RedFlag1970« (20. November 2014, 23:06)
Kannst du mal kurz beschreiben wo man das macht? Bei mir wird das Aquaero4 auf einem X99 Chipsatz leider nie erkanntAlso ich hatte auch das Erkennungsproblem, der USB Patch half leider nur bedingt. Wir trotzdem regelmäßig nicht erkannt. !ALLERDINGS! hilft immer ein manueller "Neustart" des Geräts in Windows -> deaktivieren -> aktivieren.
Kannst du mal kurz beschreiben wo man das macht? Bei mir wird das Aquaero4 auf einem X99 Chipsatz leider nie erkanntAlso ich hatte auch das Erkennungsproblem, der USB Patch half leider nur bedingt. Wir trotzdem regelmäßig nicht erkannt. !ALLERDINGS! hilft immer ein manueller "Neustart" des Geräts in Windows -> deaktivieren -> aktivieren.
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »RedFlag1970« (29. November 2014, 00:47)
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 |
C:\Devcon\i386>devcon find USB* USB\VID_8087&PID_8002\5&9D9154E&0&1 : Generic USB Hub USB\VID_045B&PID_0210\5&305BFBDC&0&20 : USB 3.0-Hub USB\VID_8087&PID_800A\5&27276061&0&1 : Generic USB Hub USB\VID_045E&PID_00F0\5&305BFBDC&0&3 : USB-Eingabegerõt USB\ROOT_HUB20\4&935F5EA&0 : USB-Root-Hub USB\VID_0C70&PID_F0B3\5&305BFBDC&0&14 : USB-Hub ROOT\UNNAMED_DEVICE\0000 : NVIDIA Virtual Audio Device (Wave Extensible) (WDM) USB\ROOT_HUB20\4&E427330&0 : USB-Root-Hub USB\VID_045B&PID_0209\5&305BFBDC&0&9 : USB 2.0-Hub |
Quellcode |
|
1 2 3 4 |
C:\Devcon\i386>devcon disable "@USB\VID_0C70&PID_F0B3\5&3 05BFBDC&0&14" USB\VID_0C70&PID_F0B3\5&305BFBDC&0&14 : Disable failed No devices disabled. |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 |
// ConsoleApplication1.cpp : Definiert den Einstiegspunkt für die Konsolenanwendung. // #include "stdafx.h" #include "windows.h" #include "setupapi.h" #include "Cfgmgr32.h" #include <iostream> #include <string> #include <ctime> #pragma comment(lib, "setupapi.lib") TCHAR deviceIDBuffer[MAX_DEVICE_ID_LEN]; bool findAquero() { bool found = false; //Aquero GUID {745a17a0-74d3-11d0-b6fe-00a0c90f57da} GUID aquaero_guid = {0x745a17a0, 0x74d3, 0x11d0, {0xb6, 0xfe, 0x00, 0xa0, 0xc9, 0x0f, 0x57, 0xda} }; HDEVINFO DeviceInfoSet = SetupDiGetClassDevs(&aquaero_guid, NULL, NULL, DIGCF_PRESENT); SP_DEVINFO_DATA DeviceInfoData; DeviceInfoData.cbSize = sizeof(SP_DEVINFO_DATA); int DeviceIndex = 0; bool ret = SetupDiEnumDeviceInfo(DeviceInfoSet, DeviceIndex, &DeviceInfoData); while (ret) { CM_Get_Device_ID(DeviceInfoData.DevInst, deviceIDBuffer, MAX_DEVICE_ID_LEN, 0); //printf("%d %ls\n", DeviceIndex, deviceIDBuffer); std::wstring res (deviceIDBuffer); if (res.compare(0,21, L"HID\\VID_0C70&PID_F0B0") == 0) { printf("Aquaero found!\n"); found = true; break; } DeviceIndex++; ret = SetupDiEnumDeviceInfo(DeviceInfoSet, DeviceIndex, &DeviceInfoData); } SetupDiDestroyDeviceInfoList(DeviceInfoSet); return found; } int _tmain(int argc, _TCHAR* argv[]) { int i = 0; while ( !findAquero() && i<100) { i++; printf("%d No Aquero found, dis/enabling USB Hub!\n", i); //ClassGuid = {36fc9e60-c465-11cf-8056-44 45 53 54 00 00} GUID guid = {0x36fc9e60, 0xc465, 0x11cf, {0x80, 0x56, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00} }; HDEVINFO DeviceInfoSet = SetupDiGetClassDevs(&guid, NULL, NULL, DIGCF_PRESENT); SP_DEVINFO_DATA DeviceInfoData; DeviceInfoData.cbSize = sizeof(SP_DEVINFO_DATA); int DeviceIndex = 0; bool ret = SetupDiEnumDeviceInfo(DeviceInfoSet, DeviceIndex, &DeviceInfoData); while (ret) { CM_Get_Device_ID(DeviceInfoData.DevInst, deviceIDBuffer, MAX_DEVICE_ID_LEN, 0); //printf("%d %ls\n", DeviceIndex, deviceIDBuffer); std::wstring res (deviceIDBuffer); if (res.compare(0,21, L"USB\\VID_0C70&PID_F0B3") == 0) { printf("USB-Hub found! Disabling...\n"); SP_PROPCHANGE_PARAMS params = { sizeof(SP_CLASSINSTALL_HEADER),DIF_PROPERTYCHANGE }; params.StateChange = DICS_DISABLE; params.Scope=DICS_FLAG_CONFIGSPECIFIC; params.HwProfile = 0; if( !SetupDiSetClassInstallParams(DeviceInfoSet, &DeviceInfoData, (PSP_CLASSINSTALL_HEADER)¶ms, sizeof(params) ) ) printf("SetupDiSetClassInstallParams Error Code: %d\n",GetLastError() ); if( !SetupDiChangeState( DeviceInfoSet, &DeviceInfoData ) ) printf("SetupDiChangeState Error Code: %d\n",GetLastError() ); Sleep(2000); printf("Enabling...\n"); params.StateChange = DICS_ENABLE; if( !SetupDiSetClassInstallParams(DeviceInfoSet, &DeviceInfoData, (PSP_CLASSINSTALL_HEADER)¶ms, sizeof(params) ) ) printf( "SetupDiSetClassInstallParams Error Code: %d\n",GetLastError() ); if( !SetupDiChangeState( DeviceInfoSet, &DeviceInfoData ) ) printf( "SetupDiChangeState Error Code: %d\n",GetLastError() ); Sleep(1000); break; } DeviceIndex++; ret = SetupDiEnumDeviceInfo(DeviceInfoSet, DeviceIndex, &DeviceInfoData); } SetupDiDestroyDeviceInfoList(DeviceInfoSet); } return 0; } |
Dieser Beitrag wurde bereits 4 mal editiert, zuletzt von »m4jestic« (10. März 2015, 18:18)
-