@@ -17,7 +17,7 @@ For now, the driver is unsigned, so you need to put windows in test mode (allowi
17
17
To do this, open a command prompt ** as an administrator** and run :
18
18
19
19
bcdedit.exe -set TESTSIGNING ON
20
-
20
+
21
21
Then restart the computer or server.
22
22
23
23
Once restarted, if on a desktop, you should have some text written on the bottom right corner of the desktop view with ** "Test Mode"** displayed.
@@ -41,14 +41,14 @@ Then run, in an adminstrator command prompt :
41
41
At any time you could check for the state of the service giving access to the driver on your system, with this command :
42
42
43
43
driverquery /v | grep -i scaph
44
-
44
+
45
45
If running properly it should show a line like :
46
46
47
47
Scaphandre Dr Scaphandre Driver Serv Scaphandre Driver Serv File System System Running OK TRUE FALSE 0 4□096 0 14/01/2022 16:01:37 C:\WINDOWS\system32\DRIVERS\ScaphandreDrv.sys 4□096
48
48
49
-
49
+
50
50
## Compilation
51
-
51
+
52
52
### Windows 10
53
53
54
54
Install Visual Studio 2019
@@ -64,6 +64,18 @@ According to [this documentation](https://learn.microsoft.com/en-us/windows-hard
64
64
65
65
Optionnal : [ install the EWDK] ( https://learn.microsoft.com/en-us/legal/windows/hardware/enterprise-wdk-license-2022 )
66
66
67
+ ### Compile from GNU/Linux (Ubuntu 22.04), run on windows
68
+
69
+ Compile DriverLoader.exe in ` userland/Service ` :
70
+
71
+ ```
72
+ cd userland/Service
73
+
74
+ sudo apt install g++-mingw-w64 g++-mingw-w64-x86-64-win32 g++-mingw-w64-x86-64
75
+
76
+ x86_64-w64-mingw32-cpp DriverLoader.cpp -I/usr/x86_64-w64-mingw32/include/ddk/ -I/usr/x86_64-w64-mingw32/include/ --sysroot=. -o DriverLoader.exe
77
+ ```
78
+
67
79
## Context
68
80
69
81
This driver has been developped for a specific use case : enabling [ Scaphandre] ( https://github.com/hubblo-org/scaphandre ) on Windows.
0 commit comments