Skip to content

Commit 258b235

Browse files
committed
Kernel release v3.16.7-ckt11-5-ev3dev-ev3
1 parent 837e478 commit 258b235

74 files changed

Lines changed: 308 additions & 157 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

_data/ports.json

Lines changed: 90 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,100 @@
11
[
22
{
3-
"connection_types": "I2C/NXT, Analog/NXT",
3+
"connection_types": "NXT/Analog, NXT/I2C, EV3/Analog, EV3/UART",
4+
"description": "Dexter Industries BrickPi Input Port",
5+
"mode_info": [
6+
{
7+
"description": "No sensor",
8+
"id": "BRICKPI_IN_PORT_MODE_NONE",
9+
"name": "none"
10+
},
11+
{
12+
"description": "NXT/Analog sensor",
13+
"id": "BRICKPI_IN_PORT_MODE_NXT_ANALOG",
14+
"name": "nxt-analog",
15+
"name_footnote": "[^nxt-analog-mode]",
16+
"notes": "\n[^nxt-analog-mode]: The [nxt-analog] driver will be loaded when\n this mode is set. You must manually specify the correct\n driver for your sensor using `set_device` if you want to use\n another driver. Any driver with a connection type of\n NXT/Analog is allowed.\n ^\n [nxt-analog]: /docs/sensors/generic-nxt-analog-sensor\n \n "
17+
},
18+
{
19+
"description": "LEGO NXT Color sensor",
20+
"id": "BRICKPI_IN_PORT_MODE_NXT_COLOR",
21+
"name": "nxt-color"
22+
},
23+
{
24+
"description": "NXT/I2C sensor",
25+
"id": "BRICKPI_IN_PORT_MODE_NXT_I2C",
26+
"name": "nxt-i2c",
27+
"name_footnote": "[^nxt-i2c-mode]",
28+
"notes": "\n[^nxt-i2c-mode]: No sensors are loaded by default. You must\n manually specify the sensor that is connected by using the\n `set_device` attribute.\n \n "
29+
},
30+
{
31+
"description": "EV3/Analog sensor",
32+
"id": "BRICKPI_IN_PORT_MODE_EV3_ANALOG",
33+
"name": "ev3-analog",
34+
"name_footnote": "[^ev3-analog-mode]",
35+
"notes": "\n[^ev3-analog-mode]: Only the LEGO EV3 Touch sensor is supported.\n The driver will load by default.\n \n "
36+
},
37+
{
38+
"description": "EV3/UART sensor",
39+
"id": "BRICKPI_IN_PORT_MODE_EV3_UART",
40+
"name": "ev3-uart",
41+
"name_footnote": "[^ev3-uart-mode]",
42+
"notes": "\n[^ev3-uart-mode]: Only the LEGO EV3 Ultrasonic, Color, Gyro,\n and Infrared sensors are supported. They cannot be automatically\n detected, so you must specify the sensor manually using the\n `set_device` attribute. No sensors are loaded by default.\n \n "
43+
}
44+
],
45+
"module": "brickpi-ports-in",
46+
"name": "brickpi-in-port",
47+
"num_modes": 6,
48+
"prefix": "in",
49+
"source_file": "drivers/lego/brickpi/brickpi_ports_in.c",
50+
"source_line": 56,
51+
"url_name": "brickpi-in-port"
52+
},
53+
{
54+
"connection_types": "tacho-motor",
55+
"description": "Dexter Industries BrickPi Input Port",
56+
"mode_info": [
57+
{
58+
"description": "NXT/EV3 Large Motor",
59+
"id": "BRICKPI_OUT_PORT_MODE_NXT_MOTOR",
60+
"name": "nxt-motor"
61+
},
62+
{
63+
"description": "RCX/Power Functions motor",
64+
"id": "BRICKPI_OUT_PORT_MODE_RCX_MOTOR",
65+
"name": "rcx-motor"
66+
},
67+
{
68+
"description": "RCX/Power Functions LED",
69+
"id": "BRICKPI_OUT_PORT_MODE_RCX_LED",
70+
"name": "rcx-led"
71+
}
72+
],
73+
"module": "brickpi-ports-out",
74+
"name": "brickpi-out-port",
75+
"num_modes": 3,
76+
"prefix": "out",
77+
"source_file": "drivers/lego/brickpi/brickpi_ports_out.c",
78+
"source_line": 47,
79+
"url_name": "brickpi-out-port"
80+
},
81+
{
82+
"connection_types": "NXT/I2C, NXT/Analog",
483
"description": "HiTechnic NXT Sensor Multiplexer Input Port",
584
"mode_info": [
685
{
7-
"description": "Analog/NXT sensor",
86+
"description": "NXT/Analog sensor",
887
"id": "HT_NXT_SMUX_PORT_MODE_ANALOG",
988
"name": "analog",
1089
"name_footnote": "[^analog-mode]",
11-
"notes": "\n[^analog-mode]: The [nxt-analog] driver will be loaded when\n this mode is set. You must manually specify the correct\n driver for your sensor using `set_device` if you want to use\n another driver. Any driver with a connection type of\n Analog/NXT is allowed.\n ^\n [nxt-analog]: /docs/sensors/generic-nxt-analog-sensor\n \n "
90+
"notes": "\n[^analog-mode]: The [nxt-analog] driver will be loaded when\n this mode is set. You must manually specify the correct\n driver for your sensor using `set_device` if you want to use\n another driver. Any driver with a connection type of\n NXT/Analog is allowed.\n ^\n [nxt-analog]: /docs/sensors/generic-nxt-analog-sensor\n \n "
1291
},
1392
{
14-
"description": "I2C/NXT sensor",
93+
"description": "NXT/I2C sensor",
1594
"id": "HT_NXT_SMUX_PORT_MODE_I2C",
1695
"name": "i2c",
1796
"name_footnote": "[^i2c-mode]",
18-
"notes": "\n[^i2c-mode]: If one of the supported sensors was detected\n by invoking the `DETECT` command on the [ht-nxt-smux]\n associated with this port, then the appropriate driver will\n be automatically loaded. Otherwise, you can use `set_device`\n to load the correct driver for your sensor. Any driver with\n a connection type of I2C/NXT is allowed.\n ^\n [ht-nxt-smux]: /docs/sensors/hitechnic-nxt-sensor-multiplexer\n \n "
97+
"notes": "\n[^i2c-mode]: If one of the supported sensors was detected\n by invoking the `DETECT` command on the [ht-nxt-smux]\n associated with this port, then the appropriate driver will\n be automatically loaded. Otherwise, you can use `set_device`\n to load the correct driver for your sensor. Any driver with\n a connection type of NXT/I2C is allowed.\n ^\n [ht-nxt-smux]: /docs/sensors/hitechnic-nxt-sensor-multiplexer\n \n "
1998
}
2099
],
21100
"module": "ht-nxt-smux",
@@ -27,7 +106,7 @@
27106
"url_name": "ht-nxt-smux-port"
28107
},
29108
{
30-
"connection_types": "UART/EV3, UART/Other, I2C/NXT, I2C/Other, Analog/EV3, Analog/NXT",
109+
"connection_types": "EV3/UART, Other/UART, NXT/I2C, Other/I2C, EV3/Analog, NXT/Analog",
31110
"description": "EV3 Input Port",
32111
"mode_info": [
33112
{
@@ -136,18 +215,18 @@
136215
"url_name": "legoev3-output-port"
137216
},
138217
{
139-
"connection_types": "UART/EV3, Analog/EV3",
218+
"connection_types": "EV3/UART, EV3/Analog",
140219
"description": "mindsensors.com EV3 Sensor Multiplexer Input Port",
141220
"mode_info": [
142221
{
143-
"description": "UART/EV3 sensor",
222+
"description": "EV3/UART sensor",
144223
"id": "MS_EV3_SMUX_MODE_UART",
145224
"name": "uart",
146225
"name_footnote": "[^uart-mode]",
147-
"notes": "\n[^uart-mode]: UART sensor types are not automatically\n detected. By default, the `lego-ev3-uart-29` driver (LEGO\n EV3 Color Sensor) will be loaded when this mode is set.\n Use `set_device` to load other sensor devices/drivers.\n \n Supported sensors are:\n \n | Sensor Name | Device/Driver Name |\n |---------------------|--------------------|\n | LEGO EV3 Color | `lego-ev3-uart-29` |\n | LEGO EV3 Ultrasonic | `lego-ev3-uart-30` |\n | LEGO EV3 GYRO | `lego-ev3-uart-32` |\n | LEGO EV3 Infrared | `lego-ev3-uart-33` |\n \n "
226+
"notes": "\n[^uart-mode]: UART sensor types are not automatically\n detected. By default, the `lego-ev3-color` driver\n will be loaded when this mode is set.\n Use `set_device` to load other sensor devices/drivers.\n \n Supported sensors are:\n \n | Sensor Name | Device/Driver Name |\n |---------------------|--------------------|\n | LEGO EV3 Color | `lego-ev3-color` |\n | LEGO EV3 Ultrasonic | `lego-ev3-us` |\n | LEGO EV3 GYRO | `lego-ev3-gyro` |\n | LEGO EV3 Infrared | `lego-ev3-ir` |\n \n "
148227
},
149228
{
150-
"description": "Analog/EV3 sensor",
229+
"description": "EV3/Analog sensor",
151230
"id": "MS_EV3_SMUX_MODE_ANALOG",
152231
"name": "analog",
153232
"name_footnote": "[^analog-mode]",
@@ -163,7 +242,7 @@
163242
"url_name": "ms-ev3-smux-port"
164243
},
165244
{
166-
"connection_types": "Analog/WeDo, dc-motor, led",
245+
"connection_types": "WeDo/Analog, dc-motor, led",
167246
"description": "LEGO WeDo Port",
168247
"mode_info": [
169248
{

0 commit comments

Comments
 (0)