CN102096447A - X86-based computer - Google Patents
X86-based computer Download PDFInfo
- Publication number
- CN102096447A CN102096447A CN2011100096119A CN201110009611A CN102096447A CN 102096447 A CN102096447 A CN 102096447A CN 2011100096119 A CN2011100096119 A CN 2011100096119A CN 201110009611 A CN201110009611 A CN 201110009611A CN 102096447 A CN102096447 A CN 102096447A
- Authority
- CN
- China
- Prior art keywords
- cpu
- embedded controller
- scan code
- memory block
- ready
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Position Input By Displaying (AREA)
Abstract
The invention discloses an X86-based computer. The computer comprises a central processing unit (CPU), an embedded controller (EC) and a trackball mouse, wherein a plurality of signal ends of the trackball mouse are respectively connected with a plurality of general purpose input output (GPIO) of the EC; and the EC stores the new data in the trackball mouse into a first storage area in the EC when judging that the new data are generated in the trackball mouse and sends a first idle scan code to the CPU. The X86-based computer has the following advantages: the trackball mouse is arranged; and the upper driver is simple to write, thus not easily causing crash.
Description
Technical field
The present invention relates to computer technology, particularly a kind of X86 framework computing machine.
Background technology
X86 framework computing machine, generally include central processing unit (CPU), embedded controller (EmbeddedController, EC) and peripherals.Embedded controller is an integrated chip, inside comprises the functional module of a microprocessor and some particularization, be generally used for central processing unit (CPU) with the communication between the peripherals, control the switch of some peripherals, and for some peripherals provide special functional interface, as PWM (pulse-length modulation), SMBUS (System Management Bus), PS/2 etc.X86 framework computing machine is a mouse interface with PS/2 or USB interface normally, because PS/2 or USB mouse all have very long data line, carries inconvenience.
Track ball mouse is the mouse of another type, and as shown in Figure 1, by the rotating shaft of spin 13 motion transmission X and Y direction, and the multipole magnetization magnet 12 that is fixed in the rotating shaft rotates, and corresponding Hall element 11 is sent signal, thus the output movement trajectory signal.Need not poke one's nose everywhere as the mechanical type mouse when using because of track ball mouse, it is little to take up room, but because track ball mouse usually by four output pins output Hall simulating signals, can not connect PS/2 or USB interface, is used in the portable electronic product such as mobile phone more.
X86 framework computing machine is arranged at present; be provided with gravity sensor and be used to realize the screen reverse function; gravity sensor connects embedded controller by SMBUS; embedded controller is stored in the memory block of embedded controller after receiving the data of gravity sensor collection; embedded controller sends SCI and interrupts (system's control is interrupted) to CPU; notice CPU comes reading of data; because SCI interrupts being system-level interruption; be that CPU handles in real time; to note priority of interrupt and environmental context during handling interrupt; protect scene etc., have slightly and do not note just causing system crash, upper strata drive software (driver) is write difficulty.
Scan code table (scanning code table) is an alphabetical corresponding tables of formulating for microsoft operation system, routine is to be used for showing function corresponding on alphanumeric on 101/102 keyboard and the keyboard, keyboard signal is handled through embedded controller and is reported that corresponding scan code (scan code) gives CPU later, CPU translates into corresponding letter with scan code again, in X86 framework computing machine, also have a plurality of Scan code of no use, such as 60 in the middle of the scan code set1 (the first cover scan code), 61,7A, 7B, 7C, 7D, 7E, 7F.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of X86 framework computing machine, is provided with track ball mouse, and upper layer software (applications) writes simply, is not easy to cause to crash.
For solving the problems of the technologies described above, X86 framework computing machine of the present invention comprises central processing unit, embedded controller and a track ball mouse;
A plurality of signal ends of described track ball mouse meet a plurality of GPIO of embedded controller respectively;
Described embedded controller when judging that track ball mouse has new data to produce, then is deposited into the new data of described roller-ball mouse first memory block in the embedded controller, and sends the first idle scan code to CPU.
Described X86 framework computing machine also comprises a gravity sensor; The signal end of described gravity sensor connects embedded controller by SMBUS, described embedded controller, when judging that gravity sensor has new data to produce, then the new data of described gravity sensor is deposited into second memory block in the embedded controller, and sends the second idle scan code to CPU.
After described embedded controller is received the read data instruction of CPU transmission, ready if read the memory block, just send and read ready SCI interruption to CPU;
After described embedded controller is received the side-play amount of CPU transmission,, just send the ready SCI of data and interrupt to CPU if the data of the memory block of this side-play amount correspondence are ready;
Described X86 framework computing machine also is provided with a upper strata drive software,
Described upper strata drive software is provided with the side-play amount of first memory block;
After CPU receives the first idle scan code, described upper strata drive software control CPU sends the read data instruction to embedded controller, and receive that at CPU reading the control CPU that has no progeny among the ready SCI sends the side-play amount of first memory block to embedded controller, and receive that at CPU the control CPU that has no progeny among the ready SCI of data reads the new data of first memory block.
Described upper strata drive software also is provided with the side-play amount of second memory block;
After CPU receives the second idle scan code, described upper strata drive software control CPU sends the read data instruction to embedded controller, and receive that at CPU reading the control CPU that has no progeny among the ready SCI sends the side-play amount of second memory block to embedded controller, and receive that at CPU the control CPU that has no progeny among the ready SCI of data reads the new data of second memory block.
The described first idle scan code, the second idle scan code are the idle scan code in the first cover scan code.
The described first idle scan code is 0x7C, and the second idle scan code is 0x7F.
X86 framework computing machine of the present invention is provided with track ball mouse, and a plurality of signal ends of track ball mouse meet a plurality of GPIO of embedded controller respectively, and embedded controller sends idle scan code to CPU when judging that track ball mouse has new data to produce.X86 framework computing machine of the present invention need not be poked one's nose everywhere as the mechanical type mouse when using because of track ball mouse, and it is little to take up room; When adopting idle scan code (scan code) in the middle of the scan codetable (scanning code table) to be used as embedded controller to receive new data and upper strata drive software (driver) interruption of linking up, reduced the workload of writing the upper strata drive software, reduce wrong generation, be not easy to cause system crash (as blue screen, deadlock etc.).
Description of drawings
Below in conjunction with the drawings and the specific embodiments the present invention is described in further detail.
Fig. 1 is the track ball mouse synoptic diagram;
Fig. 2 is X86 framework computing machine one an embodiment synoptic diagram of the present invention.
Embodiment
X86 framework computing machine one embodiment of the present invention as shown in Figure 2, comprise central processing unit (CPU), embedded controller (Embedded Controller, EC) and a track ball mouse, a gravity sensor, a upper strata drive software (driver);
A plurality of signal ends of described track ball mouse meet a plurality of GPIO (General Purpose Input Output, general input) of embedded controller respectively;
The signal end of described gravity sensor connects embedded controller by SMBUS (System Management Bus);
Described embedded controller, when judging that track ball mouse has new data to produce (variation of the high-low level of a plurality of signal ends by track ball mouse is judged), then the new data of described roller-ball mouse is deposited into first memory block in the embedded controller, and sends the first idle scan code (as the 0x7C among the scan code set1) to CPU;
Described embedded controller, when judging that gravity sensor has new data to produce, (judge) by the SMBUS agreement, then the new data of described gravity sensor is deposited into second memory block in the embedded controller, and sends the second idle scan code (as the 0x7F among the scan code set1) to CPU;
After described embedded controller is received the read data instruction of CPU transmission, ready if read the memory block, just send and read ready SCI interruption (system's control interruption) to CPU;
After described embedded controller is received the side-play amount of CPU transmission,, just send the ready SCI of data and interrupt to CPU if the data of the memory block of this side-play amount correspondence are ready.
Described upper strata drive software is provided with the side-play amount of first memory block, the side-play amount of second memory block;
After CPU receives the first idle scan code, described upper strata drive software control CPU sends the read data instruction to embedded controller, and receive that at CPU reading the control CPU that has no progeny among the ready SCI sends the side-play amount of first memory block to embedded controller, and receive that at CPU the control CPU that has no progeny among the ready SCI of data reads the new data of first memory block.
After CPU receives the second idle scan code, described upper strata drive software control CPU sends the read data instruction to embedded controller, and receive that at CPU reading the control CPU that has no progeny among the ready SCI sends the side-play amount of second memory block to embedded controller, and receive that at CPU the control CPU that has no progeny among the ready SCI of data reads the new data of second memory block.
One preferred embodiment, CPU adopts intel Atom zxx, and embedded controller adopts winbond775L, and the first idle scan code is the 0x7C among the scan code set1, and the second idle scan code is the 0x7F among the scan code set1; After intel Atom zxx receives 0x7C, described upper strata drive software control intel Atom zxx sends 80 to the 66port of winbond 775L, and receives that at intelAtom zxx the control intel Atom zxx that has no progeny among the ready SCI of data reads the new data of embedded controller first memory block by the 66port of winbond 775L; After intelAtom zxx receives 0x7F, described upper strata drive software control intel Atom zxx sends 80 to the 66port of winbond775L, and receives that at intel Atom zxx the control intel Atom zxx that has no progeny among the ready SCI of data reads the new data of embedded controller second memory block by the 66port of winbond 775L.
X86 framework computing machine of the present invention is provided with track ball mouse, and a plurality of signal ends of track ball mouse meet a plurality of GPIO of embedded controller respectively, and embedded controller sends idle scan code to CPU when judging that track ball mouse has new data to produce.X86 framework computing machine of the present invention need not be poked one's nose everywhere as the mechanical type mouse when using because of track ball mouse, and it is little to take up room; But because the track ball mouse frequency is lower, being generally the 100ms valid data changes once, the mouse frequency that the X86 computer is used is higher, general 10ms gathers valid data, so it is too low that track ball mouse is applied in the computer upper frequency of X86 framework, need the upper strata drive software to handle, if and embedded controller receives new data and sends SCI and interrupt (system's control is interrupted) notice CPU and come reading of data, then because SCI interrupts being system-level interruption, can make upper strata drive software (driver) write difficulty, cause system crash easily, so X86 framework computing machine of the present invention, when adopting idle scan code (scan code) in the middle of the scan code table (scanning code table) to be used as embedded controller to receive new data and upper strata drive software (driver) interruption of linking up, reduced the workload of writing the upper strata drive software, reduce wrong generation, be not easy to cause system crash (as blue screen, crash etc.).
Claims (7)
1. an X86 framework computing machine comprises central processing unit, embedded controller and a track ball mouse; It is characterized in that,
A plurality of signal ends of described track ball mouse meet a plurality of GPIO of embedded controller respectively;
Described embedded controller when judging that track ball mouse has new data to produce, then is deposited into the new data of described roller-ball mouse first memory block in the embedded controller, and sends the first idle scan code to CPU.
2. X86 framework computing machine according to claim 1 is characterized in that, also comprises a gravity sensor; The signal end of described gravity sensor connects embedded controller by SBUS, described embedded controller, when judging that gravity sensor has new data to produce, then the new data of described gravity sensor is deposited into second memory block in the embedded controller, and sends the second idle scan code to CPU.
3. X86 framework computing machine according to claim 1 and 2 is characterized in that,
After described embedded controller is received the read data instruction of CPU transmission, ready if read the memory block, just send and read ready SCI interruption to CPU;
After described embedded controller is received the side-play amount of CPU transmission,, just send the ready SCI of data and interrupt to CPU if the data of the memory block of this side-play amount correspondence are ready.
4. X86 framework computing machine according to claim 3 is characterized in that, also is provided with a upper strata drive software,
Described upper strata drive software is provided with the side-play amount of first memory block;
After CPU receives the first idle scan code, described upper strata drive software control CPU sends the read data instruction to embedded controller, and receive that at CPU reading the control CPU that has no progeny among the ready SCI sends the side-play amount of first memory block to embedded controller, and receive that at CPU the control CPU that has no progeny among the ready SCI of data reads the new data of first memory block.
5. X86 framework computing machine according to claim 4 is characterized in that described upper strata drive software also is provided with the side-play amount of second memory block;
After CPU receives the second idle scan code, described upper strata drive software control CPU sends the read data instruction to embedded controller, and receive that at CPU reading the control CPU that has no progeny among the ready SCI sends the side-play amount of second memory block to embedded controller, and receive that at CPU the control CPU that has no progeny among the ready SCI of data reads the new data of second memory block.
6. X86 framework computing machine according to claim 2 is characterized in that, the described first idle scan code, the second idle scan code are the idle scan code in the first cover scan code.
7. X86 framework computing machine according to claim 6 is characterized in that the described first idle scan code is 0x7C, and the second idle scan code is 0x7F.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100096119A CN102096447B (en) | 2011-01-17 | 2011-01-17 | X86-based computer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100096119A CN102096447B (en) | 2011-01-17 | 2011-01-17 | X86-based computer |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102096447A true CN102096447A (en) | 2011-06-15 |
CN102096447B CN102096447B (en) | 2013-10-23 |
Family
ID=44129569
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011100096119A Expired - Fee Related CN102096447B (en) | 2011-01-17 | 2011-01-17 | X86-based computer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102096447B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103092367A (en) * | 2013-01-16 | 2013-05-08 | 珠海市君天电子科技有限公司 | Method and device for computer event control |
CN105224017A (en) * | 2015-09-14 | 2016-01-06 | 浪潮集团有限公司 | Method for realizing panel based on Intel Atom processor |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5669015A (en) * | 1994-07-25 | 1997-09-16 | Dell Usa L.P. | System for selectively coupling trackball and mouse through a switch where input device provides coded signal to disable trackball while permitting signals from mouse |
CN2508296Y (en) * | 2001-11-08 | 2002-08-28 | 贺剑敏 | Hand-held non-top type track sphere mouse structure |
CN1139866C (en) * | 1998-04-30 | 2004-02-25 | 英群企业股份有限公司 | Power saving type infra-red keyboard transferring method |
CN2745131Y (en) * | 2004-11-01 | 2005-12-07 | 联想(北京)有限公司 | Track ball mouse |
CN1869903A (en) * | 2005-05-25 | 2006-11-29 | 致伸科技股份有限公司 | Multi-task control function unit and cursor controller |
-
2011
- 2011-01-17 CN CN2011100096119A patent/CN102096447B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5669015A (en) * | 1994-07-25 | 1997-09-16 | Dell Usa L.P. | System for selectively coupling trackball and mouse through a switch where input device provides coded signal to disable trackball while permitting signals from mouse |
CN1139866C (en) * | 1998-04-30 | 2004-02-25 | 英群企业股份有限公司 | Power saving type infra-red keyboard transferring method |
CN2508296Y (en) * | 2001-11-08 | 2002-08-28 | 贺剑敏 | Hand-held non-top type track sphere mouse structure |
CN2745131Y (en) * | 2004-11-01 | 2005-12-07 | 联想(北京)有限公司 | Track ball mouse |
CN1869903A (en) * | 2005-05-25 | 2006-11-29 | 致伸科技股份有限公司 | Multi-task control function unit and cursor controller |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103092367A (en) * | 2013-01-16 | 2013-05-08 | 珠海市君天电子科技有限公司 | Method and device for computer event control |
CN105224017A (en) * | 2015-09-14 | 2016-01-06 | 浪潮集团有限公司 | Method for realizing panel based on Intel Atom processor |
Also Published As
Publication number | Publication date |
---|---|
CN102096447B (en) | 2013-10-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101714021B (en) | Computer of hybrid system | |
JPH0644000A (en) | Computer-system | |
CN102156584B (en) | Touch screen terminal and method for solving deadlock of touch screen | |
CN102262434A (en) | Method and apparatus for modifying a transition to an altered power state of an electronic device based on accelerometer output | |
CN201126576Y (en) | Hand-hold bar code data collector based on wireless communication mode | |
US8713235B2 (en) | Low latency interrupt collector | |
CN103077140A (en) | Communication method and communication device for motion control card of robot and host | |
CN102096447B (en) | X86-based computer | |
CN101206533A (en) | Mouse with mobile memory function and hand-written input function | |
CN101763324A (en) | Method for realizing equipment simulating and device thereof | |
CN100533424C (en) | Single line transmission interface and single byte operational keyboard display module | |
CN202013560U (en) | Device using touch-screen mobile phone as vehicle-mounted computer writing pad | |
CN202205132U (en) | Tablet PC capable of capacitance touch control | |
CN105210022A (en) | Providing a hybrid touchpad in a computing device | |
CN203117727U (en) | Multifunctional controller | |
CN103679101B (en) | Handset audio reader device and system | |
CN106774027A (en) | A kind of power network data intelligence processing system | |
CN201897761U (en) | System using touch screen mobile phone as writing pad for computer | |
CN102368189A (en) | Intelligent handwriting pad | |
CN203178858U (en) | Intelligent hand-held terminal | |
CN102542872A (en) | Driving system based on embedded development platform | |
CN201262693Y (en) | Multifunctional intelligent management terminal | |
CN201364568Y (en) | Electronic whiteboard system adopting multifunctional digital keyboard | |
CN201886459U (en) | Multithreading real-time data processing device | |
CN201698443U (en) | Usb radio frequency card reader |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: Room 402, No.4, Lane 289, Bisheng Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai Patentee after: Shanghai new wave data technology Limited by Share Ltd. Address before: Bi Sheng Lu Pudong New Area Zhangjiang hi tech park Shanghai city 201204 289 Lane 4, Room 401 Patentee before: ERATHINK TECHNOLOGIES SHANGHAI Corp. |
|
CP03 | Change of name, title or address | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20131023 Termination date: 20220117 |
|
CF01 | Termination of patent right due to non-payment of annual fee |