- 63 -
Appendix
Remote Controller Key
Key Code
Scan Code
Vol +
Vol +
N/A
Vol -
Vol -
N/A
Nurse Call
F17
104
D.3.2 Linux Sample Code
Note:
NumLock isn’t enabled upon Linux boot-up. You must make sure
NumLock is active for keypad numbers. Use “apt-get install numlockx” or
“yum install numlockx” to enable NumLock during application starting. See the
sample code hereunder.
#include <sys/io.h>
#include <stdio.h>
#include <linux/input.h>
#define ARBOR_M1858_ECRAM_ADDR 0x0500
#define ARBOR_M1858_ECRAM_ADDR2 0x160A
#define ARBOR_M1858_ECRAM_ADDR3 0x0202
#define ARBOR_M1858_ECRAM_ADDR4 0x0461
//--------------------------------------------------------------------
-------------------------------------------------------
//----------------------------------- ARBOR GPIO ---------------------
---------------------------------------------------
unsigned long Process_686C_Command_Write(unsigned long m_ECCMD, un
-
signed long m_ECDATA)
{
//-------------------------------------------------------------------
-------
int i,temp;
unsigned long m_OutBuf;
//-------------------------------------------------------------------
-------
m_OutBuf=inb_p(0x6C);
if ( ( m_OutBuf&0x00000003) > 0 )
{
temp=inb_p(0x68);
return 0xFFFFFFFF;
}
outb_p(m_ECCMD, 0x6C);
for ( i=0; i<=4000; i++ )
Summary of Contents for M1859
Page 2: ...2 This page is intentionally left blank...
Page 3: ...i Revision History Version Release Time Description 1 0 2019 08 Initial release...
Page 16: ...xiv This page is intentionally left blank...
Page 17: ...1 1 Chapter 1 Introduction Chapter 1 Introduction...
Page 20: ...4 Introduction 1 4 Dimensions Unit mm 500 411 100 100 45 337 231...
Page 23: ...7 Chapter 2 Getting Started 2 Chapter 2 Getting Started...
Page 35: ...19 3 Chapter 3 Using the Computer Chapter 3 Using the Computer...
Page 54: ...38 Using the Computer 4 Then read and decoded data will be displayed...
Page 55: ...39 4 Chapter 4 BIOS Chapter 4 BIOS...
Page 68: ...52 This page is intentionally left blank...
Page 69: ...53 Appendix Appendix Appendix Optional Connections Optional Connections...