Skip to content

Latest commit

 

History

History
239 lines (179 loc) · 14.8 KB

gpio-settings.md

File metadata and controls

239 lines (179 loc) · 14.8 KB

OpenIPC Wiki

Table of Content

Board specific GPIO settings list

Anjoy / Anjvision boards

Processor IRCUT1 IRCUT2 LIGHT IR LIGHT WHITE RESET I/O USB_ENA TESTED BOARDS AUDIO OUTPUT
SSC30KQ 23 24 60/59 10 MC-L12, MC-L12B 9
SSC335 78 79 61/53 66 52 MS-J10, YM200J10 80
SSC337 78 79 61 66 52 MC-F40, YM-J10D
SSC337DE 78 79 61 66 MC500L8
SSC338Q 23 24 60 59 10 8 MC800S-V3 39
SSC377 11 80 9 13 MC-A42P-V1.1 12

CamHi / Xin boards

Processor IRCUT1 IRCUT2 IRSTATUS IRCTL USB_ENA UART2_RTS/RS485_DE UART2_RXD/RS485_RO UART2_TXD/RS485_DI AUDIO_ENA RESET PWM SD_VCC BOARD
Gk7205v200 14 15 8 4 9i 54 12 13 12 50 2M-M2103
Gk7205v200 13 15 8 4 9i 54 12 13 12 50 2G-M3072
Gk7205v300 10 11 8 72 7i 52 42
Hi3516Cv100
Hi3516Cv200
Hi3516Cv300
Hi3516Ev100
Hi3516Ev200 9i
Hi3516Ev300 10 11 7i 63 42
Hi3518Ev100 43 74
Hi3518Ev200 1 2 48
Hi3518Ev300
T31 58 57 49 61i 53 55 56 63 11 50 62

i - inverted value

Tested on GK7205V200 for /dev/ttyАМА1:
  mux 12->UART2_RXD/RS485_RO: devmem 0x112c0070 32 2 
  mux 13->UART2_TXD/RS485_DI: devmem 0x112c0074 32 2
Tested on GK7205V300 for /dev/ttyАМА1:
  mux 72->UART1_TXD: devmem 0x112c0078 32 1 
  mux 73->UART1_RXD: devmem 0x112c007c 32 1

CCDCAM / Hankvision boards

Processor   IRCUT1 IRCUT2 IRSTATUS IRCTL USB_ENA Description
GK7205V200   68     70      9                   
GK7205V200   50     51                           Old plastic domophone
GK7205V300   68     70      9                   

Yes, it's amazing but it really matches on two Goke processors

GSA / EnZhi boards

Processor   IRCUT1 IRCUT2 IRSTATUS IRCTL USB_ENA
T31L        58     57             49           

Herospeed/Longse/Cantonk boards

Processor IRCUT1 IRCUT2 IRSTATUS IRCTL ALM_IN ALM_OUT USB_ENA
Gk7205v200 12 13 4 15 14
Hi3516Cv100 18 19
Hi3516Cv200
Hi3516Dv100 3 4 85
Hi3516Cv300 1 2 24
Hi3518Ev200 65 64 63
Hi3516Ev200 12 13 4
Hi3516Av300 5 6

Huishi / Vatilon boards

Processor IRCUT1 IRCUT2 IRSTATUS IRLED
SSC377 80 81
SSC378DE 80 81 13

Jabsco boards

Processor IRCUT1 IRCUT2 IRSTATUS
Hi3516Ev200 52 53 9

Jovision boards

Processor IRCUT1 IRCUT2 LIGHT TESTED BOARDS
Hi3516Ev200 53 52 4
Hi3516Cv100 42 43 6 IPG5020A-H-V1.0, 5013A-CF/5020A-FF

JUAN boards (Sannce)

Processor IRCUT1 IRCUT2 IRSTATUS TESTED BOARDS DEVICE ID
Hi3518Ev200 65 64 62 (inverted) 18EV200_V205P N18EV2W

JVT boards

Processor IRCUT1 IRCUT2 LIGHT RESET PWM USB NetAcct NetLink TESTED BOARDS
Hi3516Cv100
Hi3516Cv200 64 65 62
Hi3516Cv300
Hi3516Ev200
Hi3518Ev200 64 65 47
GK7205v300 10 11 9 3 61 41 40

iSNATCH (HeySmart) mini "cube" camera

Processor IRCUT1 IRCUT2 IRSTATUS IRLED RESET
T10 25 26 - 19 60i

Netcam NVT boards

Processor IRCUT1 IRCUT2 IRSTATUS IRLED RED_LED BOARD
T10 25 26 19 20
T10 25 26 81 80
T31L 58 57 T31L_F37_V1.1

Qihoo 360 Security cam D603

Processor IRCUT1 IRCUT2 IRSTATUS IRLED WIFI LED
T20 25 26 - 61 62 82

Rostelecom IPC2122SR3-RU04

Processor IRCUT1 IRCUT2
Hi3516Cv300 58 59

Rotek Switcam E200/T200 JXF23 sensor

Processor IRCUT1 IRCUT2 IRSTATUS
Hi3518Ev200 63 64 65

SJG boards

Processor IRCUT1 IRCUT2 IRSTATUS BOARD
Hi3518Ev200 64 62 (inverted) SJG_HI38_GW2M02_V1.3

For the SC2135 sensor on the SJG_HI38_GW2M02_V1.3 board, it was necessary to change the ComMsk0 mask from fff0000 to 3ff0000 in the sensor configuration (/etc/sensors/sc2135_i2c_1080p.ini) to eliminate the pink tint of the picture in daytime mode.

Tiandy boards

Processor IRCUT1 IRCUT2 IRSTATUS IRCTL RESET
SSC335 78 79 --- 37

Uniview boards

Processor IRCUT1 IRCUT2 RESET IRCTL IRLED WiFi DEVICE ID
Hi3516Ev300 63 67 64 72 7 Rostelecom IPC8232SWC-WE, C1L-2WN-G
SSC335DE 61 79 4 Rostelecom IPC8232SWC-WE-B
SSC335 61 79 76 Uniarch UV-IPC-D122-PF28

Wansview

Processor IRCUT1 IRCUT2 IR LEDs RESET ETH_GR_BL ETH_ORANGE DEVICE ID
T21 80 79 49 50 73 72 Wansview W5/W6/Q5(1080p)

Xiaomi boards

Processor IRCUT1 IRCUT2 IR LEDs DEVICE ID ORANGE_LED BLUE_LED RESET AUDIO_ENA
SSC325 78 79 52 CMSXJ25A
Hi3518Ev300 70 68 54 MJSXJ02HL 52 53 0 55
T31N 49 50 60 MJSXJ03HL 38 39

XiongMai, XM boards

Board Processor IRCUT1 IRCUT2 IRSTATUS IRCTL ALM_IN ALM_OUT ETH_ACT ETH_STA RESET USB_ENA AUDIO_POW RS485_CTL W_LED NOTES
GK7205V200 8 9 15 16 4, 53 55 14 12 0 40
GK7205V210 8 9 15 16 4, 53 55 14 12 0 40/53
GK7205V300 11 10 66 52 4 30 31 0 60 24
IPC_GK7205V300_G6S 1 GK7205V300 11 10 65 52 30 31 67 64/65 24 4
GK7605V100 10 11 66 52 4 30 31 0 60 24
IPG-80H20PS-S Hi3516Cv100 54 53 64
Hi3516Cv100 38 39 24 49 26
HI3516D_N81820 2 Hi3516Dv100 14 15 3
IPC_HI3516D_83H20 3 Hi3516Dv100 121 120 3
Hi3516Cv200
Hi3516Cv300 53 54 64 66 55 1 2 63
Hi3516Ev100 53 54 64
Hi3516Ev200 8 9 15 16 4, 53 55 14 12 0
Hi3516Ev300 11 10 66 52 4, 67 65 30 31 0
Hi3518Ev100 39 38 24 49 26
Hi3518Ev200 33 34 24 61 35 3 IPG-50HV20PET-S
50H20L Hi3518Ev300 8 55 13 15 3

There is a map between table's columns and parameters in nightMode section in majestic.yaml
IRCUT1 is an irCutPin1
IRCUT2 is an irCutPin2
IRCTL is a backlightPin
IRSTATUS is an irSensorPin

Zenotech/Videopark

Processor IRCUT1 IRCUT2 IRLED DEVICE ID
GK7205V200 58 59 8 ZN-CM-GK200S1L-P
Hi3516Ev300 14 12 ZN-CM-HSC500S1L-PZ
Hi3516Ev300 40 41 65 unknown

Zosi

Processor IRCUT1 IRCUT2 IRSTATUS DEVICE ID
Hi3518Ev200 61 60 1 (inverted) ZG2622MW

Footnotes

  1. 000699Q3 firmware

  2. 00014914 firmware

  3. 00014911 firmware