'2022/02'에 해당되는 글 58건

  1. 2022.02.28 차 수리
  2. 2022.02.27 홈페이지 호스팅.. 버릴까
  3. 2022.02.27 태극기 구매
  4. 2022.02.26 supermicro 서버 첫 ipmi 접속
  5. 2022.02.26 먹방
  6. 2022.02.25 플로피
  7. 2022.02.25 opencv python
  8. 2022.02.25 python / opencv mouse event
  9. 2022.02.25 libvncserver 마우스 이벤트
  10. 2022.02.24 대전 외근

와.. 배터리 17만 공식

사설 9만

개인 5만?

 

파워핸들 오일 5만 ㄷㄷ

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

먼가.. 정신없는 하루  (0) 2022.03.03
3.1 절  (0) 2022.03.01
태극기 구매  (0) 2022.02.27
17만 확진자  (4) 2022.02.23
배터리 방전 시킬 뻔  (0) 2022.02.13
Posted by 구차니
개소리 왈왈/블로그2022. 2. 27. 22:10

2년 호스팅 하고 쓰지도 않고 있던 위키

시들해지기도 했고.. 이제와서 다시 살리는것도 웃기긴 한데

버리긴 아깝고

 

어떻게 해야 할까..

일년의 유예? 과감하게 폐기...?

'개소리 왈왈 > 블로그' 카테고리의 다른 글

한달치 글 정리  (0) 2022.03.12
잘가 내 위키  (3) 2022.03.02
기부 시즌  (0) 2022.01.21
해피빈 기부  (0) 2021.09.26
으아아아 하루 안썼네  (0) 2021.08.04
Posted by 구차니

드디어 구매!

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

3.1 절  (0) 2022.03.01
차 수리  (0) 2022.02.28
17만 확진자  (4) 2022.02.23
배터리 방전 시킬 뻔  (0) 2022.02.13
휴가 9일차  (4) 2022.02.06
Posted by 구차니
개소리 왈왈/컴퓨터2022. 2. 26. 22:48

기본 ipmi 계정

ADMIN / ADMIN

[링크 : https://www.supermicro.com/manuals/motherboard/C202_C204/MNL-1270.pdf]

 

팬이 도는 것 없이 조용해서 안되는 줄 알았는데

공유기 접속해서 할당되어 있는 아이피 찍어서 접속해 보니 접속이 된다.

 

HP 처럼 센서가 넘쳐나지 않고 그냥 일반 데스크탑이랑 별반 차이가 없는 느낌..

일단 켜지 않은 상태라 값이 불려오는게 없다.

 

전원 넣으니 POST는 끝나고 BIOS에 들어가고 나서야 먼가 뜨는 느낌

근데.. 왜! 샤시 침입 경고가 뜨냐.. 잘못 닫았나?

 

포트가 웬지 VNC 포트라 tightVNC 로 붙여 보려는데 한참 뒤에야 에러가 발생하는걸 보면.. 미묘하네..

 

ㄷ우아~ 하게 접속 종료.. 창도 안뜨는데 로그인 타임아웃인가?

 

자바 통해서 하는건  aspeed 사의 bmc 에서 해봤는데 영 깔끔하진 않아서 귀찮은데..

tightVNC의 로그를 보니 별건 없는데.. 왜 화면이 안뜰까?

[ 6044/12556] 2022-02-26 23:09:29 - Protocol stage is "Connection establishing".
[ 6044/12556] 2022-02-26 23:09:29 - Protocol stage is "Handshake".
[ 6044/12556] 2022-02-26 23:09:29 - Server sent protocol version: RFB 003.008
[ 6044/12556] 2022-02-26 23:09:29 - Send to server protocol version: RFB 003.008
[ 6044/12556] 2022-02-26 23:09:29 - Protocol stage is "Authentication".
[ 6044/12556] 2022-02-26 23:09:29 - Security type is selected: 16
[ 6044/12556] 2022-02-26 23:09:29 - Tight capabilities is enable
[ 6044/12556] 2022-02-26 23:10:29 - onDisconnect: Connection has been gracefully closed
[ 6044/ 5604] 2022-02-26 23:10:31 - Process focus restoration in the RfbKeySym class
[ 6044/ 5604] 2022-02-26 23:10:31 - Process focus loss in the RfbKeySym class
[ 6044/ 5604] 2022-02-26 23:10:31 - Process focus restoration in the RfbKeySym class
[ 6044/ 5604] 2022-02-26 23:10:31 - Process focus loss in the RfbKeySym class
[ 6044/ 5604] 2022-02-26 23:10:31 - Process focus restoration in the RfbKeySym class
[ 6044/ 5604] 2022-02-26 23:10:31 - Process focus loss in the RfbKeySym class
[ 6044/ 5604] 2022-02-26 23:10:31 - Process focus restoration in the RfbKeySym class
[ 6044/ 5604] 2022-02-26 23:10:31 - Viewer collector: destroy all instances
[ 6044/ 5604] 2022-02-26 23:10:31 - Shutdown WinSock

 

FRU - Field Replacable Unit

[링크 : https://www.systutorials.com/docs/linux/man/8-ipmi-fru/]

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

맥북 2012 예약  (0) 2022.03.18
백업 서버 구성  (0) 2022.03.06
플로피  (0) 2022.02.25
슈퍼마이크로 2U 8bay 서버 구매  (0) 2022.02.15
컴퓨터 메인보드가 보니.  (0) 2022.02.12
Posted by 구차니

내가 먹고 싶은걸 먹기.시도

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

외근, 구매  (0) 2022.03.15
대선, 코로나  (0) 2022.03.09
대전 외근  (0) 2022.02.24
기절  (0) 2022.02.19
주말인데 야근.  (0) 2022.01.23
Posted by 구차니
개소리 왈왈/컴퓨터2022. 2. 25. 20:54

집에 굴러다니는 usb 플로피가 있는데

누군가가 필요하다고 해서 한번 꽂아보는데 윈10에서 인식되지 않아

검색해보니 수동으로 설치하면 가능하다고 한다.

 

 

참 오랫만에 보는 아이콘 이구만.

 

[링크 : https://whiteramen.tistory.com/94]

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

백업 서버 구성  (0) 2022.03.06
supermicro 서버 첫 ipmi 접속  (0) 2022.02.26
슈퍼마이크로 2U 8bay 서버 구매  (0) 2022.02.15
컴퓨터 메인보드가 보니.  (0) 2022.02.12
gtx660 gtx750 gtx1030 hd7950  (0) 2022.02.07
Posted by 구차니

파이썬에서  openCV highgui를 전체 화면으로 돌려보기

 

[링크 : https://www.javatpoint.com/opencv-mouse-event]

 

full screen (fail)

[링크 : https://gist.github.com/ronekko/dc3747211543165108b11073f929b85e]

 

cv2.waitkey ord

[링크 : https://stackoverflow.com/questions/14494101/using-other-keys-for-the-waitkey-function-of-opencv]

'Programming > python(파이썬)' 카테고리의 다른 글

pdb  (0) 2022.03.14
python debug (pdb)  (0) 2022.03.04
python / opencv mouse event  (0) 2022.02.25
python op overload magic method  (0) 2021.06.14
pythonpath  (0) 2021.04.16
Posted by 구차니

해보니 리눅스에서도 좀 헷갈려 하는지

터치는 마우스 이벤트로 넘어가지 않네. 어떤 이벤트를 통해 터치스크린 손 터치와 펜 터치를 인식하려나?

 

[링크 : https://www.javatpoint.com/opencv-mouse-event]

'Programming > python(파이썬)' 카테고리의 다른 글

python debug (pdb)  (0) 2022.03.04
opencv python  (0) 2022.02.25
python op overload magic method  (0) 2021.06.14
pythonpath  (0) 2021.04.16
python yield  (0) 2021.04.07
Posted by 구차니
프로그램 사용/VNC2022. 2. 25. 12:18

client -> server 프로토콜

#define rfbKeyEvent 4
#define rfbPointerEvent 5

 

키보드 이벤트 관련 구조체

/*-----------------------------------------------------------------------------
 * KeyEvent - key press or release
 *
 * Keys are specified using the "keysym" values defined by the X Window System.
 * For most ordinary keys, the keysym is the same as the corresponding ASCII
 * value.  Other common keys are:
 *
 * BackSpace 0xff08
 * Tab 0xff09
 * Return or Enter 0xff0d
 * Escape 0xff1b
 * Insert 0xff63
 * Delete 0xffff
 * Home 0xff50
 * End 0xff57
 * Page Up 0xff55
 * Page Down 0xff56
 * Left 0xff51
 * Up 0xff52
 * Right 0xff53
 * Down 0xff54
 * F1 0xffbe
 * F2 0xffbf
 * ... ...
 * F12 0xffc9
 * Shift 0xffe1
 * Control 0xffe3
 * Meta 0xffe7
 * Alt 0xffe9
 */

typedef struct {
    uint8_t type; /* always rfbKeyEvent */
    uint8_t down; /* true if down (press), false if up */
    uint16_t pad;
    uint32_t key; /* key is specified as an X keysym */
} rfbKeyEventMsg;

#define sz_rfbKeyEventMsg 8


typedef struct {
    uint8_t type;     /* always rfbQemuEvent */
    uint8_t subtype;  /* always 0 */
    uint16_t down;
    uint32_t keysym;  /* keysym is specified as an X keysym, may be 0 */
    uint32_t keycode; /* keycode is specified as XT key code */
} rfbQemuExtendedKeyEventMsg;

#define sz_rfbQemuExtendedKeyEventMsg 12

 

내용이 부실한데 드래그를 구현하려면 down 이벤트를 보고 해당 버튼의 마스크가 사라질때 까지 보고 있어야 할 듯?

uinput에서 그럼 드래그 어떻게 구현해야 하냐... ㅠㅠ

/*-----------------------------------------------------------------------------
 * PointerEvent - mouse/pen move and/or button press.
 */

typedef struct {
    uint8_t type; /* always rfbPointerEvent */
    uint8_t buttonMask; /* bits 0-7 are buttons 1-8, 0=up, 1=down */
    uint16_t x;
    uint16_t y;
} rfbPointerEventMsg;

#define rfbButton1Mask 1
#define rfbButton2Mask 2
#define rfbButton3Mask 4
#define rfbButton4Mask 8
#define rfbButton5Mask 16
/* RealVNC 335 method */
#define rfbWheelUpMask rfbButton4Mask
#define rfbWheelDownMask rfbButton5Mask

#define sz_rfbPointerEventMsg 6

[링크 : https://github.com/LibVNC/libvncserver/blob/master/rfb/rfbproto.h]

 

키보드의 경우 키 다운, 업 이벤트가 오는 것 같고, 반복키 처리를 좀 찾아봐야 할 듯.

마우스는 buttonmask에 

static void doptr(int buttonMask, int x, int y, rfbClientPtr cl)
{

}

static void dokey(rfbBool down, rfbKeySym key, rfbClientPtr cl)
{

}

[링크 : http:// https://github.com/LibVNC/libvncserver/blob/master/examples/example.c]

 

키보드 입력관련 선언문

#define XK_VoidSymbol 0xFFFFFF /* void symbol */

#define XK_BackSpace 0xFF08 /* back space, back char */
#define XK_Tab 0xFF09
#define XK_Linefeed 0xFF0A /* Linefeed, LF */
#define XK_Clear 0xFF0B
#define XK_Return 0xFF0D /* Return, enter */
#define XK_Pause 0xFF13 /* Pause, hold */
#define XK_Scroll_Lock 0xFF14
#define XK_Sys_Req 0xFF15
#define XK_Escape 0xFF1B
#define XK_Delete 0xFFFF /* Delete, rubout */

#define XK_A                   0x041
#define XK_B                   0x042
#define XK_C                   0x043

#define XK_a                   0x061
#define XK_b                   0x062
#define XK_c                   0x063

[링크 : https://github.com/LibVNC/libvncserver/blob/master/rfb/keysym.h]

 

[링크 : https://github.com/LibVNC/libvncserver]

 

+

relative / absolute mode 관련 참고할 코드

doptr() 에서 현재 좌표 넘어온 것과 이전 마지막 좌표 계산해서 넣는것 외에는

libvncserver 자체에서 상대좌표 모드로 작동하진 않도록 구성되어 있는 것으로 보인다.

[링크 : https://github.com/hanzelpeter/dispmanx_vnc/blob/master/main.c]

Posted by 구차니

이제 국내출장의.개념은 사라졌으니..

아무튼 회의가서 한마디도 안하다 왔음

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

대선, 코로나  (0) 2022.03.09
먹방  (0) 2022.02.26
기절  (0) 2022.02.19
주말인데 야근.  (0) 2022.01.23
수면부족..  (0) 2022.01.12
Posted by 구차니