New post! After a over a year of slowly messing around and calling favors, I have to get a TOSLINK (yes, the HiFi audio standard) link to go 14600 times further than the spec sheets suggests! And learned a whole load of how modern optical stuff works along the way! https://blog.benjojo.co.uk/post/sfp-experiment-ultra-long-range-toslink
Building Ultra Long Range TOSLINK
benjojo
replied 07 Jan 2025 13:40 +0000
in reply to: https://glauca.space/users/q/statuses/113787202197902892
qwertyoruiop@nso.gro..
replied 07 Jan 2025 13:50 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/378YzR285TzWNF526C
@benjojo so I assume you’ve seen the boxes on aliexpress that do USB/HDMI/other stuff over fiber? There’s apparently a whole market for weird signals over optics! (and given price I am almost certain they are up to the very same shenanigans you are up to, using Ethernet optics to pull it off cheaply)
benjojo
replied 07 Jan 2025 13:52 +0000
in reply to: https://nso.group/users/qwertyoruiop/statuses/113787391563173164
@qwertyoruiop Yup! Though a lot of those units are fixed (IE, not SFP/QSFP) lasers. HDMI is pretty easy, USB needs some kind of muxing I bet, DisplayPort and friends could totally just be plumbed into a QSFP
manawyrm@chaos.socia..
replied 07 Jan 2025 13:55 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/9TlP65kYJ86S9cJVtk
@benjojo @qwertyoruiop There's also the really crazy world of analog RF over fiber systems: https://longview.be/basic-rf-over-fiber-laser-driver.html If you don't use SFP modules and instead drive the laser diode directly, they can transmit an enourmous bandwidth (up to several GHz) of analog signals. Even more fun: The receivers can be passive, basically a tiny little solar cell, outputting enough RF energy to be picked up as RF signals by a regular receiver. This is how coax television on GPON systems is sometimes done.
erincandescent@akko...
replied 07 Jan 2025 13:56 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/9TlP65kYJ86S9cJVtk
@benjojo @qwertyoruiop USB 3 is quite easy (though you’ll want a QSFP if you have 2xTx 2xRx lanes as per a fully specced USB-C port) USB2 is a nightmare but ofc. specialised chips exist. Though surprisingly(?) USB2 has some obnoxious timeouts that mean you’ve gotta do some protocol-aware-MITM to extend it more than 100m or so
manawyrm@chaos.socia..
replied 07 Jan 2025 13:57 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/9TlP65kYJ86S9cJVtk
@benjojo @qwertyoruiop USB 3.0 (only, not 2.0) is also just LVDS. PCIe as well. DisplayPort is a bit annoying because you need QSFP modules, but otherwise, yeah, lots of fun :3
jakob@mastodon.chaos..
replied 07 Jan 2025 14:31 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/9TlP65kYJ86S9cJVtk
@benjojo @qwertyoruiop I'm actually planning on building a DP over QSFP+ thingie ^^' (also IR from my smartmeter directly coupled into singlemode fiber is on my todo list)
wolrah@infosec.excha..
replied 07 Jan 2025 20:47 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/9TlP65kYJ86S9cJVtk
@benjojo @qwertyoruiop I have wondered for a few years about whether it'd be possible to feed DisplayPort (and maybe also HDMI 2.1) in to a QSFP in a useful way, dedicated active optical cables are annoying to deal with so it'd be really neat to be able to just use generic fiber in effectively arbitrary lengths.
benjojo
replied 07 Jan 2025 18:06 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/378YzR285TzWNF526C
I am loving all of the different replies to this from fedi/email/DMs etc, I'm learning that TOSLINK has been abused in so many ways. Someone also sent their version of this in the form of a incredibly 2007 video about YOLO-ing S/PDIF over a red laser pointer 800m in air: https://www.youtube.com/watch?v=ErbLfZXlByo Good stuff
ascii158@sueden.soci..
replied 07 Jan 2025 18:27 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/Y6RSDKp1ZZVL3rkqdh
@benjojo There is also https://m.youtube.com/watch?v=1H4FuNAByUs -- but I guess I'm not the first to link it?
erincandescent@akko...
replied 07 Jan 2025 12:52 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/378YzR285TzWNF526C
@benjojo I like how you expand TOSLINK as Toshiba Link but not S/PDIF as Sony/Philips Digital Interface Too many companies involved here
jernej__s@infosec.ex..
replied 07 Jan 2025 13:47 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/378YzR285TzWNF526C
gkrnours@mastodon.ga..
replied 07 Jan 2025 14:08 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/378YzR285TzWNF526C
@benjojo in school we had an exercise where we had "some loops" of fiber optic and send a laser in to measure its distance, total and where it was patched. Turn out that was 20km that did fit inside a pizza box. Using real infrastructure is much more impressive :)
lambda@chaosfurs.soc..
replied 07 Jan 2025 14:32 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/378YzR285TzWNF526C
@benjojo just watched the talk, very fun :D For the truly biggest waste of bandwidth, I propose Morse over fiber.
m@blat.at
replied 07 Jan 2025 14:43 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/378YzR285TzWNF526C
@benjojo S/PDIF has hardware specs for optical and electrical physical layers, but now I'm wondering if the EME people could bounce an S/PDIF bitstream off the moon without too much round-trip distortion.
eljojo@ruby.social
replied 07 Jan 2025 14:46 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/378YzR285TzWNF526C
jhwgh1968@chaos.soci..
replied 07 Jan 2025 16:37 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/378YzR285TzWNF526C
@benjojo so you've turned TOSLINK into a TOSser LINK? -- but seriously, that's amazing! (And forgive this USian's associations with British slang)
tay@tech.lgbt
replied 07 Jan 2025 18:30 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/378YzR285TzWNF526C
@benjojo i mean look how quickly the audio came back after you replugged that! no standard eth switch is getting close
f4grx@chaos.social
replied 07 Jan 2025 20:19 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/378YzR285TzWNF526C
ChuckMcManis@chaos.s..
replied 07 Jan 2025 20:26 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/378YzR285TzWNF526C
@benjojo That was a lot of fun! Some author needs to use this as a 'side' channel between data centers that isn't monitored 😉 for a plot device. Thanks for taking the time to write that up. 🙏
fossdd@chaos.social
replied 07 Jan 2025 21:12 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/378YzR285TzWNF526C
dymaxion@infosec.exc..
replied 07 Jan 2025 21:17 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/378YzR285TzWNF526C
@benjojo
Honestly, while there isn't much need to do it with TOSLink, I can absolutely see someone wanting a 200km MADI run.
jamesog@mastodon.soc..
replied 07 Jan 2025 21:31 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/378YzR285TzWNF526C
@benjojo Love the dig at LD5 😂 Also… > Technically not inter-city as Slough is not a city but a town And nor is (what people commonly call) London!
jaywilliams@bsd.netw..
replied 08 Jan 2025 14:03 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/378YzR285TzWNF526C
@benjojo Absolutely loved your blog post. Read it from start to finish, and enjoyed every part. This is the kind of stuff I love randomly finding on the internet.
solarisfire@mast.sol..
replied 08 Jan 2025 19:28 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/378YzR285TzWNF526C
@benjojo Sounds like a fun experiment! I miss working out of Telehouse and Global Switch! The company I work for used to locate kit in both buildings but has long since pulled out of them :( And my current office is only 2 buildings up from Equinix LD6 😂
simonbp@social.linux..
replied 08 Jan 2025 19:50 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/378YzR285TzWNF526C
@benjojo "I assume this would probably confuse an intelligence agency if they were tapping the line." Well that's the best motivation.