Skip to content

Fix cog & seat #42

Description

@zhovner

We need to move cog into seat1 completely:

Udev rule for buttons

SUBSYSTEM=="input", ATTRS{name}=="Flipper One Buttons", ENV{ID_SEAT}="seat1"

Add option to change seat in cog

Right now seat0 is hardcoded: https://github.com/Igalia/cog/blob/master/platform/drm/cog-platform-drm.c#L1295

Dirty workaround binary patch:

sudo printf '\x31' | sudo dd of=/usr/lib/aarch64-linux-gnu/cog/modules/libcogplatform-drm.so bs=1 seek=$((0xeeb4)) count=1 conv=notrunc

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions