News for hackers. Stuff that matters.

paulywog

Re:Dirty USB-C Tricks: One Port for the Price of Two on Monday January 02, 2023 @11:56AM (#34220190)
The splits and merges would definitely affect signal integrity. Signal integrity is one of those fields that can feel like dark voodoo magic. I know people who are signal integrity experts by trade.

Would the splits and merges definitely make the signal integrity worse to the point that it wouldn't work? Maybe not. But if you're designing a high speed cutting edge standard, you probably don't want to make decisions that limit the best signal integrity an implementer could achieve. Signal integrity is all about balancing the bad SI decisions you have to make because of some product goal or whatever with tighter tolerances elsewhere. The more "clean" the standard is, the more tolerance it has for the implementers.

Re:Dirty USB-C Tricks: One Port for the Price of Two on Monday January 02, 2023 @11:44AM (#34220022)
The other commenters got it spot on for where you can learn more, but as to where I learned it, I decided I wanted to build a project with USB C running at 3.0 speeds and had to deep dive on the subject in order to make it work.

It was surprisingly hard to gather all of this information in one place and actually implement it given the resources on the internet a few years ago. Even then, there were still some board revisions that got it a bit wrong, one where I left out the decoupling capacitors I'd later learn were a critical detail, and one where I put all the wiggles clumped together at the middle of the shorter trace and so despite both signals arriving at the end at the correct time, they were out of phase for nearly the whole trace run and caused (presumably) cross talk between each other. But I did get it working in the end :)

Re:Dirty USB-C Tricks: One Port for the Price of Two on Sunday January 01, 2023 @11:42AM (#34207838)
From a signal integrity standpoint, you really don't want both pins (i.e. SSRX1 and SSRX2) tied together.

A lot of USB3 routing is reducing stubs. When the signals are going as fast as they are in USB3, they're essentially a wave going down the line, and if there's a "stub" the wave will actually hit the end of the wire and reflect back, causing interference. Having one of the pins not connect to your processor would create a stub inherent in the design, which is probably a bad idea.

When you dig into the details of the signals of USB3+ electrically it's truly remarkable they're able to mass produce cheap consumer grade equipment to implement it.

To give you an idea, the lengths of USB3 traces in your board need to be matched, so you add wiggles to the shorter trace to make it ever so slightly longer. But those wiggles can't get too far from the opposing trace in the diff pair either because that changes the way the traces are coupled together. Also, if the layer above/below is not a solid ground plane, you will run into issues as the signal will propagate through the wire faster/slower depending on what's around it. This is so critical that you use "impedance controlled" PCBs that place a tight tolerance on the spacing of your layers so that you can be sure it doesn't change along the length of your trace. And, of course, you want to avoid sharp bends in your traces as those will act like a stub.

None of this is bad engineering on the part of the USB IF, just that if you want to send data over a USB cable reliably at 5gbits, or now 40gbits, you're really pushing the limits of modern electrical design.

I think people lament that you could previously have the flagship experience for a couple hundred dollars, but now the flagships have become much less reasonable price wise.
Re:Sauna use as a lifestyle practice to extend healthspan on Sunday October 02, 2022 @02:52PM (#33059009)
I once had a gym membership which included a sauna, and would often take some time in the sauna after a workout. It really just depends how you want to spend your time
If you're ever in San Francisco, Miami, or NYC, check out what Revel is doing. Electric mopeds that rent for $0.50/min! They're such an excellent way to get around and see the city (at least in San Francisco where I ride them)
I saw this talk, Stop Drawing Dead Fish by Brett Victor, a while back. While I don't think it's the tool you're looking for, he does a great job showing why we may want better tools than we have currently and what they might look like. https://vimeo.com/64895205/description
Re:Price shocks in formative years scar consumption for life on Wednesday June 15, 2022 @02:06PM (#31756858)
I'm in the automotive industry and the biggest fan of EVs in general. I was even home-building an EV before I moved to the city.

I think we still have a lot to figure out with our charging infrastructure, in cities where often it's hard just to park. I want an EV badly, but it'd be a constant struggle to keep it charged.

There's also an issue with car companies generally not making the cars I want anymore, though I understand this is a me problem. There's not a nice plug-in hybrid small convertible, even if I could charge it.

Here's a video about this rootkit made by one of the Windows developers from that era. All of his videos are very entertaining and a unique look into Microsoft engineering from the 90s and early 00s.

https://youtu.be/PqWjq2SdzpI

Re:Why the Black MacBook Cost More on Thursday March 31, 2022 @11:48PM (#30874974)
An interesting thing about these trackpads, the hardware was actually pretty bad. It can only move the cursor in the X or the Y axis at any given time, i.e. the hardware does not support diagonal cursor movement.

Apple's driver did a great job of masking that with fuzzing and (I believe) predictive movement, that's the reason it seemed good in Mac OS X. But you can even tell in OS X if you're really looking for it!

https://ubuntuforums.org/archive/index.php/t-813884.html

I've always liked the saying, "It's open source. If you break it, you get to keep both pieces!"