This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static int modeset_create_fb(int fd, struct modeset_dev *dev) | |
{ | |
struct drm_mode_create_dumb creq; | |
struct drm_mode_destroy_dumb dreq; | |
struct drm_mode_map_dumb mreq; | |
int ret; | |
/* create dumb buffer */ | |
memset(&creq, 0, sizeof(creq)); | |
creq.width = dev->width; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This works: | |
echo '{"command" : ["set_property", "pause", "yes"] }' | socat - /tmp/DP-1-sock | |
This does not: | |
(defun pause-yes () | |
(ccl:with-open-socket (socket :connect :active | |
:address-family :file | |
:type :stream |