Show more

@martijnbraam I considered that, but eventually decided against:
a) CH342 has an integrated LDO; BOM wouldn't get shorter by getting rid of it
b) this way UART channel works regardless of what you're doing in firmware; one less thing to care about
c) there are free samples available for STM32G071CBT6; no samples for USB-equipped G0B1/G0C1 😄

@ge0rg It's somewhat common in DIY designs, badges etc. although those usually don't require any PD stuff. MacBooks can expose 1.2V UART, I2C and debug USB - you could use Debubo paired with SBUB to access that. And who knows what undocumented commands to mux things onto SBU may be in other devices out there 😁

@eliasr Nope; with Debubo (and a right TPS65982 config) you can access UART console, while also connecting a charger or some USB thingy, either host or device.

But what you described is pretty much just a regular USB-C hub with PD 😁

@forteller Thanks for sharing! I was looking for a GTK4 app just like that to steal its UI from 😈

@martijnbraam Found a bug!

I have two part numbers for the same value & footprint:

C5, C2 1µF 1206 C1966364, C24497

The first one matches, the second one does not (it's 100nF) - but partlint doesn't report a problem with the second one until I remove the first one.

Nice tool and timing, you pushed it just in time for when I needed it 😁

PartLint is now released on git.sr.ht/~martijnbraam/partli

Also added a small utility for calculating LCSC basic part resistors :)

@nokernel Yes, used it a lot! There were many more bridges at first 😂 Got rid of all the rest, but this one is highly resilient.

TBH, it's the first time I solder such tiny things, it's a wonder I got as far as I did already anyway :)

Joints seem to be better now, but I didn't mention one thing - no matter how much hot air I blow at it or what I do with soldering iron, I can't seem to be able to get rid of a short between D+/D- on a passthrough port 😭 It's not critical, the important parts are already operational, but it would be nice to get USB 2.0 passthrough working too! I'm assuming it's on the USB-C plug, but it all looks perfectly fine to my eye 😫 I should finally get some proper flux I guess...

Show thread

Dear distro maintainers and "i build my own stuff" people: In case you want to check out 0.41.0 upfront: we've tagged the first releases candidates of #phosh and related components today. Release is planned 2024-08-15 (gitlab.gnome.org/World/Phosh/p)

Took me 3 days of soldering, but it works!

I can connect it to a Librem 5 and it automatically does all the needed PD stuff to expose its UART over USB-C 😁 It's also capable of a lot of other PD magic as a USB PD analyzer / injector / filter.

However, while these solder joints made a good job lasting till I got the firmware PoC working, it doesn't seem like they're going to last much longer... More soldering ahead 😫

Show thread

@alaraajavamma @MissBehave @PINE64 You may have to load module-bluetooth-policy in PulseAudio to have it switch to HSP automatically - but you can also switch manually in the settings. Otherwise - yep, as long as you can connect to your Bluetooth device it should just work.

@alaraajavamma @MissBehave @PINE64 No, with normal cellular calls. In fact, there's no difference on Librem 5, as modem's audio is just another digital audio interface seen by ALSA.

@alaraajavamma @MissBehave @PINE64 BT call audio worked for ages on the Librem 5 (with SparkLAN card - Redpine does not support HSP, which is a bit of a hurdle 😜).

Something I've found interesting about ADHD is one of the most ignorant comments "adderall is literally just meth lite" isn't really wrong, and most of the response to it, imo, do more harm than good. I think a lot of the issue is there is a huge stigma surrounding meth, and people taking adderall don't want to be associated with that stigma, so they have a extremely negative response to this statement (it is also typically made in bad faith, so there's that too).

But I think people would benefit from understanding a bit about ADHD, rather than fearmongering. Meth is actually an FDA approved treatment for ADHD, for exactly the same reason that all the other stimulant medications are. Adderall is a mix of amphetamine and dextro-amphetamine. Meth is methamphetamine, a much more potent amphetamine. It's not a coincidence or a side effect that highly addictive drugs treat ADHD, they treat ADHD for the same reason they're highly addictive drugs.

I'm going to oversimplify a bit for laypeople, but essentially a lot of the ADHD symptoms stem from their brains having a natural deficit of dopamine and norephedrine. Dopamine is involved in regulating the reward system (motivation & feeling of accomplishment from achieving goals). Whereas norephedrine regulates the fight-or-flight system (which also affects motivation and energy levels). The deficit of both of these neurotransmitters is largely responsible for people with ADHD having extremely low motivation and executive function. The deficit of norephedrine, I suspect, is why people with ADHD are able to treat some of their symptoms by deliberately putting themselves into stressful situation, thereby naturally boosting norephedrine.

Anyway, when it comes to stimulants, being "high" is essentially just your brain experiencing above baseline levels of dopamine and norephedrine. Stimulants boost dopamine and norephedrine, which is what is why they get neurotypicals high. But when given to someone with a deficit of those neurotransmitters, such as someone with ADHD, it simply just boosts them closer to normal levels. Because the symptoms of too high and too low levels of those neurotransmitters can be similar, it led to the myth that "adderall has the opposite effect on people with ADHD".

What's actually happening is the restlessness/disorganized thoughts/lack of motivation in people with ADHD comes from having a deficit of dopamine and norephedrine. So, as you increase the dose of stimulant medication, their neurotransmitter levels get closer and closer to a regular baseline level, leading to a reduction in symptoms. But if you give someone with ADHD a too high dose of stimulants, it's possible to increase their dopamine or norephedrine levels above baseline, leading to them becoming "high", and their ADHD symptoms returning.

This is likely why many studies show that Adderall doesn't actually boost the productivity of neurotypicals. What's likely happening is the excess levels of norephedrine and dopamine negatively impacts their performance, but since dopamine interferes with the brains reward system and increases feelings of gratification, they simply perceive that they are accomplishing more than they actually are.

The reason why people with ADHD don't find their medication to be addictive is because they're not taking recreational doses of it. They're only taking the appropriate dose to boost their neurotransmitter levels up towards the normal levels, which allows their brain to function similar to a neurotypical's. There's essentially no non-recreational dose of stimulants for neurotypicals (any amount will get them at least a little bit high), but people with a deficit of those neurotransmitters can take low-medium doses of stimulants without getting high, hence the difference in effect and outcomes.

@ptrc I had to adjust open files ulimit on my system because I regularly ran out due to terminal tabs.

As a Blind person i never thought i would be on social media savoring photos. But the communal Mastodon alt text game is so strong that sweet, poetic or silly descriptions abound on my timeline. Thanks to legions of people who take time to write a meaningful description of the ephemera they post, i learn so much about insects, plants, buildings, memes — all dispatches from a dimension of the world that i otherwise wouldn't experience. If you're wondering whether anybody reads these things: YES.

I updated the #Freedesktop specifications website, to build it with some more modern tools - please let me know if you notice any issues! 🙂

blog.tenstral.net/2024/08/free

i hate how home consoles now are just "pc with fucked up freebsd/windows".

they should make another console that has 7 cores of an architecture you've never heard of

games should run at kernel level and have to include their own scheduler. don't worry, you can have 3 cores of 3 different architectures to manage filesystem access and such.

Show more
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml