docs: cec osd name pitfalls and the ostree video group trap - #54
Open
Weijtmans wants to merge 1 commit into
Open
docs: cec osd name pitfalls and the ostree video group trap#54Weijtmans wants to merge 1 commit into
Weijtmans wants to merge 1 commit into
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two follow-ups to the CEC section from #45, both hit on the same setup and both cost real time to figure out.
The TV shows the box as "Playback", and the obvious fix does not work. On the kernel-CEC path a device gets cec-ctl's default OSD name unless
--osd-nameis passed. On Bazzite the documented-looking knob,CEC_OSD_NAMEin/etc/default/cec-control, is a no-op: reading/usr/bin/cec-controlshows it builds--osd-nameinto an argument list that only the libcec code path uses, while the/dev/cec0path (the one the BC-250 takes) runs a barecec-ctl --playback. On top of that,cec-onboot.servicere-runs the bare registration every boot, clobbering a manually set name. The new subsection gives the directcec-ctlcommand, the 14-character limit, and links the small tool that persists the name pastcec-onboot. It also sets expectations: renaming does not change the device category, CEC has no game-console type and amdgpu has no ALLM, so Game Mode is a TV-side input label.The "add your user to the video group" step silently fails on ostree distros. With nss-altfiles the
videogroup often lives only in the read-only/usr/lib/group;usermod -aGvalidates the group through NSS, then edits/etc/group, finds no line, and exits 0 having changed nothing. The warning gives the two-line fix (seed the line, thengpasswd -a).Both are first-party: the cec-control behaviour is from reading the shipped script, and the usermod trap was hit and fixed on the tested board.
mkdocs build --strictpasses.Tested by: @Weijtmans. BC-250, Bazzite (Fedora Atomic 43), kernel 6.17.7-ba29, Samsung TV.