113

Using FireWire on a Raspberry Pi

I archived all my MiniDV tapes using a cheap firewire card and dvgrab on Linux, it can be set to automatically split noncontinous clips into different files for easy viewing. It's very straightforward to use and can be done unattended.

19 hours agomysteria

Just thinking back 10 years ago when I was arching all my DV tapes on my Dad's old G5... I did it all by hand through Final Cut Express. It would've been sooo much easier had I known about dvgrab back then!

19 hours agogeerlingguy

Also ripped all my old MiniDV tapes a decade ago or so. (I don't remember it being tedious.) (I recall about 12GB for each 60min tape, FWIW.)

I've known for some time now not to trust media formats to remain easy to access as time goes on. Floppy disks, ZIP disks, SCSI…

So nice the home movies are now in the cloud (and on USB drives as additional backup).

4 hours agoJKCalhoun

Firewire support was removed from the Linux kernel so I had to switch to Mint Linux to accomplish the same thing

18 hours agoHoldOnAMinute

> Firewire support was removed from the Linux kernel

This is very much incorrect. Maybe the subsystem wasn't built into a custom kernel you're using?

edit: google says improvements through 2026, support through 2029

18 hours agoparl_match

This was around 2020 or 2021. I had an old laptop with a firewire port which was already running Ubuntu. I couldn't make it work. That's when I found that the support was removed from the kernel, and that's what led me to Linux Mint. I bought a new SSD and installed Linux Mint, and I was able to import my video tapes with no further issue.

An Ubuntu support page says eth1394 has been removed from the kernel since version 2.6.22.

Edit: This was a VERY old laptop. I think it has a 32 bit processor. Maybe that confounded the issue.

an hour agoHoldOnAMinute

Many distros (including Raspberry Pi OS) don't enable `CONFIG_FIREWIRE_OHCI` in the kernel, so support isn't built-in, unless you build your own kernel.

But yes, it will be supported through 2029, and then after that, it could remain in the kernel longer, there's no mandate to remove it if I'm reading the maintenance status correctly: https://ieee1394.docs.kernel.org/en/latest/#maintenance-sche...

> [After 2029, it] would be possibly removed from Linux operating system any day

16 hours agogeerlingguy

Right, that matches my understanding. After 2029, It'll stick around as long as it continues to compile. If it fails to compile it would get dropped instead of updated as there's no maintainer.

11 hours agojogu

This is an awesome project.

I have a long-in-the-tooth investment in Fireware audio devices (Presonus) in my studio - 19” rack interfaces with 10 I/O’s, as well as the StudioMix mixer with 20 or so .. I’ve been keeping an aging iMac around to use all of this with and it still just plain works, but having the option to replace it with an rPi is really appealing. The system is mostly used for tracking, so having REAPER on the rPi, connected to all that FireWire gear, just seems such a nice idea…

I wonder what the load will be like, though? Can the latest rPi with PCI hat and Firwire interface handle 40 channels of audio over FireWire, I wonder? I know the issue would mostly be SD-card write speeds and so on .. maybe this disqualifies the rPi - but certainly there are other ARM-based SBC’s that this same technique could be applied to ..

19 hours agoMomsAVoxell

Audio shouldn't be a big problem for the Pi unless you're pumping it through tons of heavy filters. The Pi 5's CPU can hold its own against 2010-2015 era iMacs, and a good microSD card easily holds 40-50 MB/sec writes.

For better performance, I'd plug in a USB SSD (USB 3.0 can put through 300 MB/sec or more), or even use built in Ethernet, good for writing 100 MB/sec out to a NAS or another networked computer.

18 hours agogeerlingguy

Do you have any preferred SD card brands and models? Speedy and durable cards suitable for RPi

17 hours agoQuantumNomad_

I used to buy SanDisk Ultra (if I didn't need speed), Samsung Pro+ (if I did), or SanDisk Industrial (if I needed more reliability... not sure how big a difference it makes but I've never had one fail).

But since Raspberry Pi launched their own microSD cards, I've been buying them. They haven't failed me yet and are pretty fast.

16 hours agogeerlingguy

The Industrial lineup is dog slow though. That's the trade for SLC.

4 hours agomschuster91

For cheap yet snappy cards, I have been using Kingston Canvas Go Plus with great success. When used in a Raspberry Pi 5, I personally don't feel any lag. A couple of them are serving 7/24/365 in my RPi5 systems without any problems for more than 2 years.

I don't hammer them with I/O though. For heavy writes, I'd consider Sandisk's higher tier cards (esp. Extreme Pro), which I use in my cameras and never managed to break one.

9 hours agobayindirh

Fwiw, it is also possible to make a Pi boot from usb.

14 hours agoaboardRat4

If you want to use the RPi instead of fixing the RPi becoming a new hobby, the preference is to avoid SD cards and write to USB SSD/network as OP recommended.

7 hours agopassword4321

I have a Focusrite Saffire that has lots of nice, quiet preamps and ADC channels. I managed to get an old Mac to connect over FireWire and using the Focusrite Control app, I configured the routing to map all the analog inputs to ADAT. That works great but it's always at the wrong sample rate, and I can't change that without getting the old Mac out. Maybe I'll look into one of these rPi shields too. Anyone got any reverse engineering tips for the control protocol?!

18 hours agojoerick

The control protocol might be MIDI Sysex .. once you get Linux wired up to your FireWire interface you can wireguard the interfaces and see if you recognize SYSEX packets ..

7 hours agoMomsAVoxell

Replacement doesn't have to be a raspberryPI.

8 hours agoprmoustache

Out of curiosity, what version of the OS is that iMac running? Using it as essentially dedicated piece of audio equipment instead of a daily driver would be fine by me. I've done it with the 2012 cheese grater MacPros running 10.6 for eternity essentially as a dedicated video capture device. It just happens to look like a computer, but it remains in use for one singular purpose. No more updates. No WAN access.

19 hours agodylan604

It’s an ancient iMac from 2011, so whatever is the last supported version from Apple .. it never gets updates. (Don’t have it handy at the moment to find the exact version, sorry..)

Yeah, its just a dedicated DAW in the rig, used only for recording multiple tracks for later transfer to other modern machines for further work ..

7 hours agoMomsAVoxell

Delightful that this still works. It would be interesting to go through the kernel tree and see how much maintenance goes into Firewire related code. Other than pulling data off of old devices, I wonder how many people are out there still using Firewire.

19 hours agoAurornis

There's still a thriving (albeit small) community of skateboarders, retro enthusiasts, and even some AV pros who have FireWire equipment in active use.

In the kernel, the last commit in the IEEE 1394 area was a month or so ago—it's not 'active' maintenance, but its definitely being maintained, and is quite stable in my testing. (Thanks a ton to the current maintainer, who's going to go through the 3 year process of sunsetting full kernel support, and coordinating that with external projects!)

19 hours agogeerlingguy

Why sunset it, though? There’s still floppy, atapi, and zip support.

Every Apple device from the late 90s to 2012 had FireWire. Most Sony PCs from the late 90s to 2009. Google estimates that at over 100M systems with FireWire. There were 50M Zip drives, in comparison.

I know I should probably move on, but I have a lot of FireWire block devices and video equipment. The disk/disc drives can be moved to USB, but the video equipment cannot.

16 hours agojonhohle

People moved from "good to have" to "better to throw it out because it's unmaintained so it's not secure".

And floppy support is needed for cloud-init, heh.

12 hours agojustsomehnguy

By "people" you mean the corporate interests.

11 hours agouserbinator

That’s actually pretty cool, I’m surprised there’s skateboarders that still use VX1000s or whatever instead of moving on to GoPros etc

17 hours agoargsnd

Older cameras have a certain "look" that can be hard to manually reproduce. I've been considering getting an older digital (maybe DV) camcorder for exactly that reason, I find that "look" very charming, and it makes it look more like what I associate with a "home video"

9 hours agovoidUpdate

There is an industry of capturing old tape formats to digital files. One place I was at had tape decks of every format form 3/4" U-matic all the way to HDCAM-SR with everything in between. The DV type decks were studio that had SDI outs, but from time to time, we'd have someone with a tape that just would not work in anything we had, except one of the employee's personal camera. We'd connect it to a firewire port on the front of a Mac, and keep on truckin'

19 hours agodylan604

Firewire user here! I have an old-but-very-functional rack mixer (Presonus) that will cost £700+ to replace, _plus_ I have to configure and set up the new one. I have a 2007 Macbook Pro that I keep around just for interfacing with it.

19 hours agomaccard

Same: a single StudioMix mixer with 2x FP10’s in the racks. This setup is just so lovely and functional I don’t want to upgrade it really, it just plain works. I have an old iMac as the DAW for the job, but the idea of replacing it with an ARM-based system, if it works, is so very appealing…

19 hours agoMomsAVoxell

Nice setup. I keep a FireWire card in my PC for digitizing VHS tapes using a Canon HV20 and a VCR. I need to sit down and finish the project (and sooner than later with VHS media breaking down).

> Linux will likely drop support for IEEE 1394 in 2029

Good to know!

10 hours agojerbearito

TIL Linux does eventually drop support for old hardware.

18 hours agobsimpson

It's more about maintainability than age.

Some ancient hardware which is still actively being used and which has plenty of maintainers willing to keep it up-to-date will stick around.

A driver of only a few years old with roughly zero drivers, no maintainers, and which forms an obstacle for other work? That'll be gone very quickly.

18 hours agocrote

I'm still sad that Linux dropped support for i486 and early-i586 CPUs.

And more disappointed that distributions especially Debian the "universal operating system" has dropped support for i586 already (and is dropping support for i686)

Open-source doesn't have the same pressures of commercial software from Apple or Microsoft. I really love the idea of obsessive, perfectionism approach of providing indefinite hardware support to obscure old hardware (but especially once-popular old hardware), with adequate automated testing suites to test ancient hardware.

Maybe with agentic AI coding we'll be able to expand support windows, and even bring back hardware support for older hardware.

18 hours agoshasheene

Open-source doesn't have the same pressures of commercial software from Apple or Microsoft

Look at who contributes to the Linux kernel. We'd never have "secure" boot or any of that hostile lockdown stuff if it wasn't tainted with commercial interests pushing their agenda.

11 hours agouserbinator

> We'd never have "secure" boot or any of that hostile lockdown stuff if it wasn't tainted with commercial interests pushing their agenda.

To be fair, there is value to be had in reasonably trustworthy cryptography and computing. As long as you can enroll your own certificates in the secure-boot trustchain, you can have a device where you can be reasonably certain that, even assuming an evil-maid attack, as long as your computer is powered down, it is protected against a wide, wide class of attacks.

And for some people, that matters. Even in the US, greetings go out to ICE.

4 hours agomschuster91

> Open-source doesn't have the same pressures of commercial software from Apple or Microsoft.

Open source has a pressure that's often even more difficult to overcome: limited spare time from volunteer maintainers. Volunteers are usually drawn from the pool of users. There aren't many i586 users left, so the pool of volunteers is small enough that there's no one able or willing to maintain Debian for it.

If you're that disappointed, step up to maintain the i586 port! If you're unable or unwilling to do so, then you have your answer, generalized across all i586 enthusiasts, as to why they dropped support.

17 hours agokelnos

Real question though: who's gonna run a CI farm of old hardware? That sounds not-cheap and commercially untenable.

17 hours agobsimpson

I imagine you don't need to; you can emulate i586 on x86_64, and it would probably be performant enough.

But I suspect that's not really the hurdle: none of the existing Debian developers care enough about it to maintain it, and no one who cares about it enough about it is willing to maintain it.

17 hours agokelnos

Wouldn’t this be an unreliable CI though? I assume i586 and i686 cycle accurate emulators are hard to come by?

10 hours agonullpoint420

NetBSD?

7 hours agopassword4321

NetBSD has the same problem that the major Linux distros do, it's just expressed differently. Instead of dropping support like the Linux distros do, they will keep cross-compiling for old and obscure platforms even if nobody cares enough about them to test them. Then major breakages will start to appear that make the ports unusable (crash on boot, no video, no keyboard input, etc) and they go unnoticed for years because these ports have no actual real-world users. The only benefit I can think of for the project being set up this way is that it makes some nostalgic Gen X'ers happy when they pull up the NetBSD site and go "oh I could run a supported OS on my 68k Mac/Next Cube/Windows CE handheld/whatever, that's neat" and then they go about the rest of their day without actually doing that.