- Drivers Little Helper Sensor System
- Drivers System Sensor
- Drivers System Sensor Replacement
- Drivers System Sensor Location
The sensor devices and optional sensor microcontroller might enter a low-power standby state that is specific to the sensor hardware. Or, the hardware power rail to the sensor devices and the optional sensor microcontroller can be switched off under control of the sensor drivers and/or the system ACPI firmware. Once the Kinect for Windows Runtime driver has completed installing successfully, ensure the Kinect sensor is connected to the Kinect for Windows power hub and the power hub is plugged into an outlet. Plug the USB cable from the power hub into a USB 3.0 port on your computer. The drivers will load automatically. System Sensor is a global manufacturer of fire and life safety devices, in smoke detection, carbon monoxide detection, and notification technology.
This topic shows you how to install the sensor driver on a development board, after you update the secondary system description table (SSDT) for the development board.
Drivers are always responsible for their own safe driving. See Owner's Manual for additional limitations and details. The TSS Pre-Collision System is designed to help avoid or reduce the crash speed and damage in certain frontal collisions only. It is not a substitute for safe and attentive driving.
This topic uses the Sharks Cove development board and an ADXL345 accelerometer as a case study, to help explain the process of installing a sensor driver on a development board. So if you want to perform the tasks presented in this topic, you must first install an operating system on the Sharks Cove. For more information about how to do that, see Download kits and tools for Windows 10, and follow the instructions to install Windows 10.
After you finish installing the operating system on the Sharks Cove, See Build the sensor driver to learn how to build a driver in Microsoft Visual Studio. Then return here to continue.
The accelerometer is attached to the Sharks Cove via the I2C bus. Peripherals that are connected to the I2C bus are enumerated via the Advanced Configuration and Power Interface (ACPI). So the sample driver for the accelerometer was developed to support ACPI instead of Plug and Play.
To make the Sharks Cove's ACPI driver aware of the new device (the accelerometer) on the I2C bus, you must add information about the accelerometer to the SSDT on the Sharks Cove. This table describes the hardware resources and interrupt requirements for a hardware platform's devices, including attached peripherals like the accelerometer.
Before you begin
Before you start performing the tasks outlined below, please make sure that your Sharks Cove is set up as shown in the following image:
Drivers Little Helper Sensor System
Retrieve and review the default SSDT
This section shows you how to use the ACPI Source Language (ASL) compiler to retrieve the factory default SSDT for the Sharks Cove, and then review it. You will also learn how to replace the default SSDT with an updated one.
On your development computer, navigate to the following location to copy the ASL compiler:c:Program Files (x86)Windows Kits10Toolsx86ACPIVerify
Copy the Asl.exe file, and save it to a flash drive.
On the Sharks Cove, create a Tools folder in the root directory. Then Attach the flash drive to the Sharks Cove's USB hub, and copy the Asl.exe file to the Tools folder.
Open a Command prompt window as an administrator, and enter the following commands:cdtoolsdirMake sure that the Asl.exe file is listed in the directory.
Invoke the ASL compiler and create an ASL file by entering the following command:asl /tab=ssdt
Make sure that the ASL file was created successfully by entering the following command:dir ssdt.asl
Open the ASL file in Notepad by entering the following command:notepad ssdt.aslReview the ASL file, and notice that there are no references to the accelerometer, or the I2C bus.
Close Notepad. Then enter the following command in the Command prompt window, to rename the ssdt.asl file.ren ssdt.asl ssdt-old.aslThen use the dir command to make sure that the file is now listed as ssdt-old.asl.
Update the default SSDT
Perform the following tasks to update the SSDT, and load it to replace the factory default version. The updated SSDT will be stored in a potion of memory called battery-backed RAM. So make sure that the button cell (battery) that came with your Sharks Cove is plugged into its socket.
Copy the following updated SSDT and paste it into a new instance of Notepad.
In Notepad, select File > Save As. Then select the Save as type dropdown box, and select All Files.
In the File name box, type ssdt.asl, then select Save, and close Notepad.
In the Command prompt window, use the dir command to make sure that you can see the default file now listed as ssdt-old.asl, and the new file listed as ssdt.asl.
Compile the ssdt.asl file into a format that the Sharks Cove can understand by entering the following command:asl ssdt.asl
Verify that the compiled file was successfully created in Step 3 by entering the following command:dir ssdt.amlYou should see the ssdt.aml file listed in the tools directory.
Load the compiled file into battery-backed RAM by entering the following command:asl /loadtable ssdt.aml
Turn on testsigning
Before you install the sample sensor driver, you must turn on testsigning. Perform the following tasks to turn on testsigning. Perform the following steps to install the sensor driver via Device Manager.
In the Command prompt window, enter the following command to see whether testsigning is already turned on.
If you see a listing similar to the following, showing an entry for testsigning, with its value set to
yesthen skip to Step 5.
If you need to turn on test signing, then enter the following command:bcdedit /set testsigning on
Repeat Step 1 (in this exercise) to verify that the value of the testsigning system variable is now set to 'yes' in the Windows Boot Loader list.
Restart the Sharks Cove. As the board restarts, hold the Volume-up button for about 2 seconds, to enter system setup (UEFI) window.
In the UEFI window, select Device Manager > System Setup > Boot, and make sure that UEFI Security Boot is set to <Disable>.
Save your changes and exit the UEFI window.
Install the sensor driver
There are four main methods for installing a driver on the Sharks Cove board:
- Download the driver from a network source directly onto the Sharks Cove.
- Develop the sensor driver on a host computer, with your Sharks Cove connected as a provisioned client. Then deploy the driver from the host computer to the Sharks Cove.
- Copy the driver package to a flash drive and attach the flash drive to the Sharks Cove. Then use the devcon command from a Command prompt window to install the driver manually.
- Copy the driver package to a flash drive and attach the flash drive to the Sharks Cove. Then install the driver manually via Device Manager.
Drivers System Sensor
For simplicity, we will use the last method in the preceding list. Perform the following steps to manually install the sensor driver via Device Manager.
You must connect your sensor to the Sharks Cove before you install the sensor driver. For information about how to modify the ADXL345 accelerometer breakout board from SparkFun, to get it to work with the sample sensor driver, see Prepare your sensor test board. And for information about how to connect the sensor breakout board to the Sharks Cove, see Connect your sensor to the Sharks Cove board.
Make sure that the ADXL345 accelerometer is connected to the Sharks Cove J1C1 connector, then power up the Sharks Cove.
Attach a flash drive with the sensor driver to the powered USB hub connected to the Sharks Cove. For example, this can be the flash drive onto which you saved the driver that you built by following the steps in Build the sensor driver.
Open Device Manager, and look for an 'Unknown device' in the Other devices node with a yellow bang symbol against it (see the following screen shot).
Select and hold (or right-click) the device with the yellow bang (listed as Unknown device), and select Update Driver Software, and select Browse my computer for driver software.
Browse to the ADXL345 driver on the flash drive, then select Next. Follow the screen prompts to install the sensor driver.
After the sample sensor driver is successfully installed, Device Manager displays the sensor as shown in the following screen shot.
Drivers System Sensor Replacement
For information about how to use Visual Studio to deploy a driver to a client computer (like the Sharks Cove), see Deploying a Driver to a Test Computer.
Drivers System Sensor Location
After successfully installing the sample sensor driver, see Test your universal sensor driver for information about how to test a sensor.