系统与基础设施mitxela.com
最小、最糟糕的 HDMI 显示器
The smallest and worst HDMI display
2022 — 2024,它一次次回到首页
黑点是上首页(≥ 50 分)的那次投稿,空心点是没冲上去的投稿,点越大分数越高。
导读
作者把一块小 OLED 屏通过 HDMI 接口里的 DDC(内嵌 I2C 总线)连接到电脑,用 xrandr 把屏幕画面转换成 I2C 数据发送,做出了一个“最小也最糟糕”的 HDMI 显示器。文章记录了这个既无用又巧妙的技术折腾过程。
为什么经久不衰:它代表了黑客文化中“纯粹为了好玩”的极客精神,技术上也巧妙利用了 HDMI 中鲜为人知的 I2C 通道,多年后重登首页说明这种创意项目始终有吸引力。
HN 评论精选
补充冷知识:HDMI 里还有比 I2C 慢一千倍的 CEC 总线,慢到离谱
文章调侃 I2C 相比 HDMI 插头旁边的高速差分线有多慢。但请注意,同一个接口上还有一条比 I2C 慢一千倍的总线——CEC。它只占用一根线,主要用于开关电视或切换信号源,带宽只有 400bps,没有夸张。设备名最长 16 字节,如果家里有电视、机顶盒和游戏机,光询问设备名就可能超过一秒。我正在缩短我产品的 CEC 名字以减少总线拥塞。主线 Linux CEC 开发者开玩笑说,比 CEC 早 40 年、远在太阳系另一端的旅行者一号都比它快。
phh查看英文原文
Article makes fun of how slow i2c is compared to the super high speed pairs next to it on HDMI plug. Well, please note that there is a bus that is literally a thousand time slower than i2c on that same connector. It's CEC. Contrary to i2c it only occupies one wire rather than two though. CEC, which is used mainly to power TV on/off or switch sources has a whopping bandwidth of 400bps. No missing multiplier. Maximum device name is 16B. If you have a TV, a tvbox and a game console, simply asking the name of those devices can take more than a second. I'm in the process of shortening my product's CEC name, in order to reduce congestion on the bus. Mainline Linux CEC developer jokes that Voyager 1 which is on the other side of solar system, made 40 years prior to CEC, is faster than CEC. Edit: Sorry for the atrocious original formating
跃跃欲试想复刻这个项目,手头正好有现成材料
糟了,我手头的工作项目正好用一块 I2C 接口的 OLED 屏,桌上还放着一块备用的。我不是电子工程师,就看看我多快能把它烧掉吧。如果我成功了,原文作者就不再是“最糟糕的 HDMI 显示器”了——我们用的是一块只能显示两行文字的屏(不过能显示粗糙图形,开机时显示公司 logo)。
mikestew查看英文原文
Uh, oh. The work project I'm working on uses an OLED display that uses an I2C interface. And I happen to have a spare one sitting on my desk. And I'm no electrical engineer, so let's see how fast I smoke this thing. :-) Should I succeed, TFA author will not have the worst HDMI display ever, as the one we're using is a two-line display looking something like this (it can do rudimentary graphics, though; we display a company logo at boot): https://www.mouser.com/ProductDetail/Vishay-Dale/O020O002ALPP5N0000?qs=odKRvHy9mbJh43b9jyKL0A%3D%3D
指出本质:这不是真正的 HDMI 视频显示,而是借用 HDMI 内嵌 I2C 总线传图
这个设计非常聪明,但有点误导性。严格来说它并不是真正的 HDMI 显示器,尽管它确实是一个插在 HDMI 口上的显示器。HDMI 内嵌了一条 I2C 总线,这个项目就是利用它向屏幕发送图像,所以才需要一层软件(xrandr)把系统产生的画面转换成 I2C 数据。
lisper查看英文原文
This design is devilishly clever, but a tad misleading. It's not really an HDMI display notwithstanding that it is a display that plugs into an HDMI port. HDMI has an embedded i2c bus, and this project uses that to send images to the display. That's why you need a layer of software (xrandr) to translate images that the system produces into i2c.
探讨无实用目的的技术项目为何反而让人着迷
我喜欢这个。为什么这些“毫无意义”的技术项目有时如此迷人?我猜是因为没有了二手压力——不存在什么“有意义”的成功标准。
58x14查看英文原文
I love this. What is it about pointless technical projects that are sometimes so alluring? I wonder if it's the removal of secondhand stress since there is no 'meaningful' success criteria.
历次讨论
同类还值得读
TTY 揭秘(2008)
The TTY demystified (2008)
经典文章深入剖析了 Unix/Linux 中 TTY 子系统的工作原理,包括线路规程、终端驱动、信号与控制字符等机制。
系统与基础设施上首页 11 次 · 2009–2025linusakesson.net编辑精选为什么 GNU grep 这么快
Why GNU grep is Fast
FreeBSD 邮件列表上一篇广为流传的帖子,解释 GNU grep 为什么快:核心在于 Boyer-Moore 字符串搜索算法配合精心优化的内部循环和 I/O,让程序在搜索时“…
系统与基础设施上首页 9 次 · 2010–2022lists.freebsd.orgXplain:为普通人讲解 X11
Xplain – Explaining X11 for the rest of us
《Xplain》是作者(HN 用户 Jasper_)写的一系列 X11 长文,用他在浏览器中重建的 X11 绘图模型做交互演示,讲解 X11 的绘图模型与窗口系统设计。
系统与基础设施上首页 6 次 · 2013–2020magcius.github.io编辑精选旋风教程:为 Linux 创建极小 ELF 可执行文件(1999)
A Whirlwind Tutorial on Creating Really Teensy ELF Executables for Linux (1999)
breadbox 写于 1999 年的经典教程,主题是如何为 Linux 手工构造并裁剪出体积极小的 ELF 可执行文件。
系统与基础设施上首页 6 次 · 2007–2025muppetlabs.comPostgreSQL 内部原理
The internals of PostgreSQL
《The Internals of PostgreSQL》是一本免费在线书籍,系统讲解 PostgreSQL 的内部实现,包括查询处理、并发控制、WAL、缓冲区管理等核心机制。
系统与基础设施上首页 5 次 · 2017–2025interdb.jp编辑精选