HN
Today

Legocam: My Lego webcam from 2000, working on a modern Mac

A nostalgic journey into hardware hacking, this post details the resurrection of a 2000-era LEGO webcam on a modern Mac. It cleverly navigates Apple's stringent driver signing requirements by leveraging OBS's virtual camera, showcasing impressive reverse engineering skills. Hacker News readers are drawn to the blend of retro tech, open-source spirit, and the subtle critique of modern platform restrictions.

25
Score
21
Comments
#6
Highest Rank
3h
on Front Page
First Seen
Nov 12, 10:00 AM
Last Seen
Nov 12, 12:00 PM
Rank Over Time
61821

The Lowdown

Ben Kelly embarked on a delightful retro-tech adventure, reviving his 2000-era LEGO webcam—originally part of the LEGO Steven Spielberg MovieMaker Set—to function on a contemporary macOS. The camera, an internal Logitech QuickCam Web, had long lost macOS driver support, prompting Kelly to write his own solution.

  • Kelly developed 'legocam', a lean 400-line C and Objective-C application, which interacts directly with the USB device via libusb.
  • The camera's obscure protocol was reverse-engineered by studying the existing Linux gspca_stv06xx driver, which supports the STV0610 USB bridge and VV6410 image sensor.
  • The legocam program outputs raw 356x292 pixel frames in a Bayer pattern to stdout.
  • To integrate the camera with mainstream applications like Zoom and FaceTime, Kelly created 'obscam'. This utility pushes the legocam's output into the OBS Virtual Camera's signed extension via CoreMediaIO, bypassing Apple's restrictive driver signing process.
  • Current limitations include a modest 5 frames per second (due to USB 1.1 and sensor clock limits), manual exposure control, and unsupported microphone/snapshot button functionality. The camera also appears as "OBS Virtual Camera" in apps.
  • The project was tested on an Intel MacBook Pro running macOS 15.7.3.
  • Kelly explicitly credits the developers of the Linux gspca_stv06xx driver, without which his project wouldn't have been possible.

This project stands as a testament to the enduring power of open-source knowledge and the hacker ethos of making old hardware new again, even in the face of increasingly locked-down software ecosystems.

The Gossip

Apple's Annoying Authoritarianism

Many commenters expressed frustration with Apple's strict camera extension signing requirements, viewing them as an unnecessary 'walled garden' or 'software prison.' The reliance on OBS Virtual Camera's signed extension to circumvent these rules was highlighted as both a clever hack and a testament to the restrictive nature of macOS development. Some questioned the genuine intent behind Apple's policies, suggesting they might be more about revenue or control than security.

Nostalgic Noodling & Retro Revival

The project evoked strong feelings of nostalgia, with several users reminiscing about their own childhood LEGO creations, particularly the 'spy car' concept. The discussion branched into other retro-tech hacking ideas, such as using a Game Boy Camera as a webcam, showcasing a shared appreciation for repurposing classic gadgets and the joy of historical computing.

AI Accusations & Authorship Apprehensions

A surprising thread emerged accusing the author of using AI to write the blog post. Commenters expressed 'AI nausea' or 'fatigue' with seemingly AI-generated content, questioning the authenticity and 'soul' of the writing. This sparked a debate about the implications of LLMs in content creation and how to discern human-written text, even for technical topics.