Page MenuHomeFreeBSD

fwisound: add Apple FireWire audio driver
ClosedPublic

Authored by seuros on Jul 8 2026, 12:56 PM.
Referenced Files
F168920310: D58109.id181564.diff
Sun, Aug 30, 6:40 PM
F168920011: D58109.id181537.diff
Sun, Aug 30, 6:38 PM
F168919957: D58109.id181568.diff
Sun, Aug 30, 6:37 PM
F168919898: D58109.id181582.diff
Sun, Aug 30, 6:37 PM
F168899309: D58109.id.diff
Sun, Aug 30, 4:15 PM
F168888590: D58109.diff
Sun, Aug 30, 3:17 PM
F168872817: D58109.diff
Sun, Aug 30, 1:31 PM
Unknown Object (File)
Sat, Aug 29, 8:51 AM
Subscribers

Details

Summary

Expose audio capture from Apple FireWire devices as a standard
pcm(4)/dsp(4) device via the newpcm framework.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 74619
Build 71502: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Jul 9 2026, 12:57 AM
adrian added inline comments.
sys/dev/firewire/fwisound.c
397

What's 475 for?

This revision was automatically updated to reflect the committed changes.
seuros added inline comments.
sys/dev/firewire/fwisound.c
397

Damn. i should have used a constant #define FWISOUND_MAX_SAMPLES 475

That from Clemens Ladisch's RE: https://github.com/torvalds/linux/blob/29b9667982e4df2ed7744f86b1144f8bb58eb698/sound/firewire/isight.c#L45

The hard upper bound from the packet size would be (2048 - 16) / 4 = 508 . But i didn't want to diverge .

We can retry it in another round later with 508 value. (maybe it was a isight firmware in that time, or simply an Apple quirk.

sys/dev/firewire/fwisound.c
397

its ok, just add it to another cleanup diff later. no biggie.