Legocam: My Lego webcam from 2000, working on a modern Mac blog.benjamin.ie · 13...
HN Best 200 @best
Legocam: My Lego webcam from 2000, working on a modern Mac blog.benjamin.ie · 13 points · 6 comments · HN thread
TL;DR Benjamin Kelly wrote legocam, a small user-space macOS driver (about 400 lines of C and Objective-C, using libusb) that makes his 2000-era LEGO Studios webcam, a Logitech QuickCam Web (USB 046d:0850) inside, work in Zoom, FaceTime and browsers on a modern Mac. Because a free developer account cannot sign a camera extension, a second helper, obscam, pushes frames into the signed OBS Virtual Camera. The code is on GitHub under GPL-2.0.
- The camera is a Logitech QuickCam Web with an STV0610 USB bridge and VV6410 sensor; no macOS driver had worked for it in years.
- Legocam uses libusb from user space, so no kernel extension is needed; the Linux gspca_stv06xx driver was the protocol reference.
- Frames are written to stdout as raw 356x292 Bayer (bayer_grbg8) data, which can be previewed with ffplay.
- A second program, obscam, finds the OBS Virtual Camera via CoreMediaIO and feeds it frames converted with libswscale, because a free Apple developer account cannot sign a new camera extension.
- Limits: about 5 fps (USB 1.1 and sensor clock), no automatic exposure, microphone and snapshot button not working, and apps show it as 'OBS Virtual Camera'.
- Tested on an Intel MacBook Pro with macOS 15.7.3; Apple Silicon results were requested.
Discussion The thread is small and mostly brief. It opens with a question about what a LEGO webcam is good for, answered with stop-motion animation. The main discussion turns on the security and policy implications of the workaround: if OBS's signed camera extension can accept frames from any application, Apple's signing requirement for camera extensions looks weak or self-serving. A minor side remark questions the author's use of macOS 15. The mood is curious and appreciative of the hack, with some skepticism about Apple's motives.
- Praise the hack as a clever tinkerer's project (some): Commenters appreciate that a nostalgic webcam was revived and see the approach as helpful for hobbyists trying to support odd USB cameras.
- OBS loophole makes Apple's signing requirement pointless (some): One commenter argues that any app could ship the signed OBS camera to bypass the camera extension requirement, which seems insecure even if useful to tinkerers.
- Suspicion that Apple's rule is about revenue (a few): A reply suggests the signing requirement may not have been made in good faith and is mainly a way to make money for Apple and its partners.
- Asking what the LEGO webcam is actually for (a few): A commenter asked about typical uses, and the answer offered was stop-motion animation.
- Questioning why the author is still on macOS 15 (a few): A single comment wonders whether the author is still running macOS 15, a remark without much elaboration.