프로그램 사용/gnuplot2022. 6. 13. 19:12

그래프 그리는 유틸리티. 써본적이 있던가?

 

$ gnuplot

Command 'gnuplot' not found, but can be installed with:

sudo apt install gnuplot-nox
sudo apt install gnuplot-qt
sudo apt install gnuplot-x11

 

[링크 : https://alvinalexander.com/technology/gnuplot-charts-graphs-examples/]

[링크 : https://stackoverflow.com/questions/30315114/]

'프로그램 사용 > gnuplot' 카테고리의 다른 글

gnuplot 예제  (0) 2023.06.07
Posted by 구차니
개소리 왈왈/컴퓨터2022. 6. 12. 21:25

붕붕 거리는게 좋아진거 보면 나이 먹은 듯.. -_-

 

그런데 좋다 나쁘다를 떠나서

TV 기본 스피커가 나쁘지 않아 호불호가 갈린다고 해야하나

의외로 애매하게 되버린 상황...

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

우퍼.. 계륵?  (0) 2022.06.19
저음을 좋아하면 늙은 거 라던데  (0) 2022.06.17
LG SH5 사운드바 어댑터/리모컨 구매  (0) 2022.06.11
LG SH5 어댑터 정보  (0) 2022.06.07
LG SH5 스피커 분해  (0) 2022.06.06
Posted by 구차니
개소리 왈왈/컴퓨터2022. 6. 11. 22:32

흐음.. 해두니 좋긴한데

저걸 어떻게 뒤에 설치하지..? 라는 고민이 발생

 

어댑터 3.5 + 파워코드 0.8 + 리모컨 2.5 해서 6.8 정도 들었던거 같은데

판매당시 50만원 정도 하던 녀석이니 양호한건가 싶기도 하고.

 

서비스 센터에서 작동에 문제 없다고 하니 일단 써보고 고민하다.

 

그런데 EQ는  cinema , ASC , 표준인데

cinema 외에는 신경을 안썼나.. 별로라는 느낌이 강하다.

표준도 플랫하다 느낌이 아니라 그냥 소리가 죽었네 느낌.

 

TV 내장 스피커랑은 우퍼가 벙벙거리긴 한데

어느게 딱히 좋다고 하기도 애매하고, 좀 더 써봐야 알 듯.

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

저음을 좋아하면 늙은 거 라던데  (0) 2022.06.17
LG SH5 블루투스, 음악감상  (0) 2022.06.12
LG SH5 어댑터 정보  (0) 2022.06.07
LG SH5 스피커 분해  (0) 2022.06.06
스피커 가격 하락인데..  (0) 2022.06.04
Posted by 구차니
하드웨어/PLC (LSE)2022. 6. 10. 19:49

 

[링크 : https://www.ls-electric.com/ko/product/view/P01113]

[링크 : https://smart-factory-plc.tistory.com/250]

 

 

회사에서 책을 구매했는데, 묘하게.. 이거랑 내용이 비슷하다?

[링크 : http://www.kyobobook.co.kr/product/detailViewKor.laf?mallGb=KOR&ejkGb=KOR&barcode=9788927439523]

'하드웨어 > PLC (LSE)' 카테고리의 다른 글

lse plc cpu 모듈 핫 스왑?  (0) 2022.05.16
lse plc chk 빨간불  (0) 2022.05.16
lse plc 작화(drawing) cpu internal 변수  (0) 2022.05.12
lse plc fenet  (0) 2022.05.11
lse xp builder xpe 확장자 열기 실패  (0) 2022.05.11
Posted by 구차니

고속도로는 아니지만.. 국도에서 당당하게(?) 후진한건 처음이네

 

성남/모란에서 일 끝나고 다음 일정때문에 지하차도 들어가는 순간 길이 막혀서

한 10분 이상 시동끄고 기다렸던것 같은데 경찰이 와서는 다들 후진하라고 불났다고 해서 알게 됨.

[링크 : https://news.v.daum.net/v/20220609171809853]

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

총제적 난국  (0) 2022.06.15
외근  (0) 2022.06.14
피곤  (0) 2022.05.31
갑분 외근.. 철야?  (0) 2022.05.30
5월의 끝자락  (0) 2022.05.29
Posted by 구차니
Linux API/network2022. 6. 9. 11:17

etherCAT 이라는 사악한(?) 프로토콜 때문에 해당 장비 개발자에게 주워들은 이야기

 

AF_PACKET 이라는걸로 열면 link layer로 열려서 통신이 가능해서

etherCAT 이라고 특별한 드라이버를 설치하는건 아니라고 한다.

 

AF_INET 를 주로 사용했지 다른걸 찾아볼 생각을 안했구나..

Name Purpose Man page
AF_UNIX, AF_LOCAL Local communication unix(7)
AF_INET IPv4 Internet protocols ip(7)
AF_INET6 IPv6 Internet protocols ipv6(7)
AF_IPX IPX - Novell protocols
AF_NETLINK Kernel user interface device netlink(7)
AF_X25 ITU-T X.25 / ISO-8208 protocol x25(7)
AF_AX25 Amateur radio AX.25 protocol
AF_ATMPVC Access to raw ATM PVCs
AF_APPLETALK Appletalk ddp(7)
AF_PACKET Low level packet interface packet(7)

[링크 : https://linux.die.net/man/2/socket]

[링크 : https://iplab.naist.jp/class/2018/materials/hands-on/layer-2-raw-socket/]

'Linux API > network' 카테고리의 다른 글

bind(): Address already in use  (0) 2023.07.21
recv 와 read 차이  (0) 2023.06.23
linux tcp server listen accept connect  (0) 2022.05.11
ssl socket 예제  (0) 2022.03.25
TCP timeout  (0) 2020.09.29
Posted by 구차니
Apple2022. 6. 8. 14:19

그냥 머랄까.. 개발자도 워낙 분야가 많은데 무슨 개발자를 지칭하는진 모르겠지만

최소한 임베디드 리눅스 와, 임베디드(MCU) 개발자는 맥을 쓸 이유가 없을 듯 하다.

 

개인적으로는 개발자 중에 아래의 직군(?)에는 쓸만하다고 생각된다.

1. 안드로이드 + iOS 앱 개발자

 

아래 직군에게는 굳이? 라는 느낌

1. 웹 개발 (DB, WAS, frontend, backend.. 솔찍히 killer app의 차이, 디자이너 프로젝트 공유라면 조금은 수긍 가능)

2. 파이썬 + 딥러닝 (리눅스나 맥이나..)

3. 유닉스 개발 (바이너리 호환성도 없는데 가능할까?)

 

아래 직군에게는 비추

1. 리눅스 시스템 어플리케이션 개발

2. 윈도우 어플리케이션 개발

3. MCU, FPGA 개발

4. openGL, openCV 개발

5. QT 개발

 

아무튼.. 윈도우에서 맥을 개발할 것을 기대하지 않듯

맥에서 리눅스를 개발할 것을 기대하면 안된다.

bash 쉘이 돌아간다고 해서(zsh이 기본이긴 하지만) 쉘이 전부가 아니기에..

 

 

[링크 : https://heyoonow.tistory.com/53]

[링크 : https://webisfree.com/2020-08-24/개발자에게-맥북-mac-장비가-필요할까]

[링크 : https://m.blog.naver.com/hanbroz/221266822987]

 

비싼 터미널로 쓸거면 왜 굳이 맥을.. 이라는 느낌이 들게 한 글

[링크 : https://greypencil.tistory.com/127]

 

아무튼.. 

윈 <-, -> 처럼 간단하게 창을 나누어서 옮기는 것도 기본 OS 상태에서는 안되고

유틸리티 깔아서 설정해야 되는데 이걸 편하다고 해야할진 모르겠다.

우분투만 해도 기본적으로 gnome에서 제공하고 있는 기능인데 말이다.

[링크 : https://travel.plusblog.co.kr/810]

'Apple' 카테고리의 다른 글

맥 초기화, 설치 usb?  (0) 2022.06.18
USB 이더넷 인식이 맥에서 안되네?  (0) 2022.06.18
맥은 맥이다. (mac is NOT LINUX)  (0) 2022.05.29
.DS_Store 파일 생성 막기  (0) 2022.05.28
mac 창 분할 사용하기  (0) 2022.05.01
Posted by 구차니

drm 에서 HDMI hotplug를 아래 코드에서 처리하는데 shell로 어떻게 넘겨주는진 발견하지 못했다.

static int
udev_drm_event(int fd, uint32_t mask, void *data)
{
struct drm_backend *b = data;
struct udev_device *event;
uint32_t conn_id, prop_id;

event = udev_monitor_receive_device(b->udev_monitor);

if (udev_event_is_hotplug(b, event)) {
if (udev_event_is_conn_prop_change(b, event, &conn_id, &prop_id))
drm_backend_update_conn_props(b, conn_id, prop_id);
else
drm_backend_update_heads(b, event);
}

udev_device_unref(event);

return 1;
}

static void
drm_backend_update_heads(struct drm_backend *b, struct udev_device *drm_device)
{
/* collect new connectors that have appeared, e.g. MST */
for (i = 0; i < resources->count_connectors; i++) {
uint32_t connector_id = resources->connectors[i];

head = drm_head_find_by_connector(b, connector_id);
if (head) {
drm_head_update_info(head);
} else {
head = drm_head_create(b, connector_id, drm_device);
if (!head)
weston_log("DRM: failed to create head for hot-added connector %d.\n",
   connector_id);
}
}
}

static void
drm_head_update_info(struct drm_head *head)
{
drmModeConnector *connector;

connector = drmModeGetConnector(head->backend->drm.fd,
head->connector_id);
if (!connector) {
weston_log("DRM: getting connector info for '%s' failed.\n",
   head->base.name);
return;
}

if (drm_head_assign_connector_info(head, connector) < 0)
drmModeFreeConnector(connector);

if (head->base.device_changed)
drm_head_log_info(head, "updated");
}

static void
drm_head_log_info(struct drm_head *head, const char *msg)
{
if (head->base.connected) {
weston_log("DRM: head '%s' %s, connector %d is connected, "
   "EDID make '%s', model '%s', serial '%s'\n",
   head->base.name, msg, head->connector_id,
   head->base.make, head->base.model,
   head->base.serial_number ?: "");
} else {
weston_log("DRM: head '%s' %s, connector %d is disconnected.\n",
   head->base.name, msg, head->connector_id);
}
}

 

다만.. 아래의 코드에서 등록되어 output이 파괴될때 트리거 되어 작동하는 녀석만 발견함.

static void
handle_output_destroy(struct wl_listener *listener, void *data);

static void
create_shell_output(struct desktop_shell *shell,
struct weston_output *output)
{
struct shell_output *shell_output;

shell_output = zalloc(sizeof *shell_output);
if (shell_output == NULL)
return;

shell_output->output = output;
shell_output->shell = shell;
shell_output->destroy_listener.notify = handle_output_destroy;
wl_signal_add(&output->destroy_signal,
      &shell_output->destroy_listener);
wl_list_insert(shell->output_list.prev, &shell_output->link);

if (wl_list_length(&shell->output_list) == 1)
shell_for_each_layer(shell,
     shell_output_changed_move_layer, NULL);
}

static void
handle_output_create(struct wl_listener *listener, void *data)
{
struct desktop_shell *shell =
container_of(listener, struct desktop_shell, output_create_listener);
struct weston_output *output = (struct weston_output *)data;

create_shell_output(shell, output);
}


static void
setup_output_destroy_handler(struct weston_compositor *ec,
struct desktop_shell *shell)
{
struct weston_output *output;

wl_list_init(&shell->output_list);
wl_list_for_each(output, &ec->output_list, link)
create_shell_output(shell, output);

shell->output_create_listener.notify = handle_output_create;
wl_signal_add(&ec->output_created_signal,
&shell->output_create_listener);

shell->output_move_listener.notify = handle_output_move;
wl_signal_add(&ec->output_moved_signal, &shell->output_move_listener);
}

WL_EXPORT int
wet_shell_init(struct weston_compositor *ec,
       int *argc, char *argv[])
{
setup_output_destroy_handler(ec, shell);
}

'프로그램 사용 > wayland' 카테고리의 다른 글

libwayland debug 메시지  (0) 2022.06.27
libwayland  (0) 2022.06.27
weston debug message  (0) 2022.03.18
weston drm atomic  (0) 2022.03.17
wayvnc 실행 실패  (0) 2022.02.17
Posted by 구차니

어찌어찌 번호이동 성공 -_-

원래는 선개통되서 오더니, 코로나 인력부족인가? 갑자기 자가개통으로 유심만 떨렁 던졌다.

 

오늘 상담원 전화와서 개통했는데

유심재사용 가능하다고한다

다만 선불, 후불 구분이 되어야 하고

가끔 초기화 안되어서 못쓰는 경우가 있으나 가입시 유심번호 적어놔서

조회하고 알려준다고 하니, 다음부터는 유심 구매안하고 점프해봐야 할 듯.

 

앞으로 6개월 이후 점프 예정!

'개소리 왈왈 > 모바일 생활' 카테고리의 다른 글

요금제 변경 시도  (0) 2022.09.05
아이패드 초기화 하기  (0) 2022.07.27
요금제 변경 시도  (0) 2022.06.02
어라 요금제 폭탄?  (0) 2022.05.17
노트5 파.. 쇄?  (0) 2022.05.09
Posted by 구차니

LG 전자 상담해서 획득

어댑터 EAY64290801, 전원코드 EAD61891201

 

그런데.. 해당 코드로 검색을 하니 전압이나 구경은 더 안나오는게 함정 -_ㅠ

나오는 녀석만 주구장창 나오고

[링크 : https://ko.aliexpress.com/i/4000804231906.html]

 

EAY64290801 TV AC Power Supply Adapter

읭.. 티비용 어댑터?

사진이 맞다면 25V 1.52A로 보이는게 맞는것 같긴한데..

[링크 : https://lgparts.com/products/eay64290801]

 

+

번호 이동중에 전화와서 30분 시간 빼앗은 느낌이라 미안하네...

아무튼 어댑터 3.3만, 케이블 8천, 리모컨 2.4만

하아..

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

LG SH5 블루투스, 음악감상  (0) 2022.06.12
LG SH5 사운드바 어댑터/리모컨 구매  (0) 2022.06.11
LG SH5 스피커 분해  (0) 2022.06.06
스피커 가격 하락인데..  (0) 2022.06.04
무선우퍼 줍줍  (0) 2022.06.03
Posted by 구차니