Linux API/linux

kernel driver

구차니 2026. 4. 6. 16:14

hid multitouch 드라이버 보다가 신기한(?)거 발견

간단하게(?)  /sys 경로에 show_mt 라는 파일이 생성되고 boolean 타입으로 내용을 써주면 드라이버에서

그 값을 이용해 작동하게 되는 매크로.

 

module_param(show_mt, bool, 0444);

[링크 : https://github.com/bentiss/hid-multitouch/blob/master/hid-multitouch.c]

 

[링크 :https://reakwon.tistory.com/226]