Tinkering is all fun and games, until it’s 4 am, your vision is blurry, and thinking straight becomes a non-option, or perhaps you just get overly confident, type something and press enter before considering the consequences of the command you’re about to execute… And then all you have is a kernel panic and one thought...
I have been distro hopping for about 2 weeks now, there’s always something that doesn’t work. I thought I would stick with Debian and now I haven’t been able to make my printer work in it, I think I tried in another distro and it just worked out of the box, but there’s always something that’s broken in every distro....
Timeshift works best if you use BTRFS for your root partition because snapshots can be taken instantly. I have mine setup to automatically take a snapshot every day.
I’ve been aware of pi-hole for a while now, but never bothered with it because I do most web browsing on a laptop where browser extensions like uBlock origin are good enough. However, with multiple streaming services starting to insert adds into my paid subscriptions, I’m looking to upgrade to a network blocker that will...
Working on a joystick. Seems like any protocol I use to read from peripherals is going to be bottlenecked by having just one input. My microcontroller might have multiple ADCs, but there’s just one processor stepping through them. Same for spi, or i2c, or uart. There’s really only ever one sensor reporting back its data at a...
Only having one ADC can be an issue when you need readings to be in phase, but for reading any sort of human interface device it doesn’t matter at all. Just cycle through your inputs one at a time. Some microcontrollers even have hardware to scan through multiple inputs automatically. You can use DMA to read the ADC and send data out over whatever communication peripherals your microcontroller has without using much CPU time.
If you are using USB HID, you are limited to a 1000 Hz update rate and that’s really overkill already. You can have up to 8 analog axis in a USB HID game controller plus lots of buttons.
I’ve been on Reddit for over a decade. But I’m done with that site and want to do something else. What do normal people look at on their phones? Is it all social media? Streaming?
My phone has an FM tuner, so I usually listen to local radio stations. Sometimes I watch TV shows or movies I downloaded on the SD card, but I prefer watching videos on a larger screen when possible. Cell service is crap around here, so streaming is not very practical.
That is strange that they would have size limit for the SSD. Maybe it only supports single sided M.2 drives, but if that’s the case, they should have just said it.
Ubuntu is already immune to the 2038 bug. The Linux kernel even supports using a 64 bit time_t on 32 bit systems now. Of course some poorly written software could still be affected, but that’s not the fault of the kernel or operating system.
The 2038 bug will certainly cause problems in some embedded systems that still use a 32 bit time_t if they are still running by then.
A dedicated GPU will mean reduced battery life. If you are only going to edit video at your desk, I would suggest getting a laptop with a thunderbolt 3 or USB 4 port and an external GPU. Make sure the port provides 4 PCIe lanes, not all of them do.
Hello altogether, I guess everybody has some USB-C cables lying around, but wonder if it’s 3A, 5A, 3.0, TB… Anybody able to recomment a device able to determine that? Maybe also something that can be combined with a load tester.
There are simple testers like this. It’s rather overpriced for what it is, but it would be trivial to make one yourself. That will only do a continuity check though. If you want to know what the current or speed ratings are, you will need to read the chip in the cable.
I got these TP4056 modules from an AliExpress vendor and fail to understand how the protection circuit works or if it’s just typical Ali shovelware. It could be my limited understanding of electronics....
The MOSFETs are in series, but in opposite polarities. Two MOSFETs are needed to block current in both directions.
The DW01 uses the voltage drop across the MOSFETS to measure the current. The overcurrent threshold voltage is fixed at 150mV. Using a larger MOSFET that has a lower RDS(on) will increase the current limit.
The drains in the 8205 MOSFET are connected together internally. In a DW01 circuit, they are not connected to anything else.
One MOSFET stops the battery from charging and the other stops it from discharging.
I got an external hard drive enclosure for the purpose of recovering some of the files from my old laptops hard drive. The hard drive and all of it’s partitions show up in both disks and gparted but it wont mount. When I tried to mount it manually, it gave the error message stating that it can’t read the superblock. I’ve...
The hard drive should be connected by SATA or eSATA when making the image. Connecting over USB is just asking for more trouble when the drive is not working correctly.
n00b question, sorry. If I had a desktop that could hold 4 HD and 2 SSD, could I turn it into a NAS? Could someone point me in the right direction if this makes sense?
Power consumption is the main issue. If it’s an old, power hungry desktop and you live somewhere with expensive electricity, it can be quite costly to run. If you have an energy efficient desktop or have cheap power then it will be fine. Just make sure it has a good quality power supply if it’s going to run 24/7.
I recently was gifted a raspberry pi 5 and was looking at domains to buy to host my own instance. What happens to my instance if the domain expires?...
Hi, everybody Recently, a guy noticed that I was using it and asked why? For me it because in Linux many things are done through the terminal because Linux has many different desktop environments...
Since MOSFETs have a gate capacitance you’d want to limit the inrush of current from the output of a microcontroller to prevent it from getting damaged prematurely. That’s what gate resistors are usually good for....
For something that’s not switching at a high frequency, slow rise and fall times are fine as long as you are staying within the safe operating area of your MOSFET. A 10K gate resistor could certainly work, but it will depend on your MOSFET and load.
I still get over 12 hours of web browsing or video playback with the backlight around 30% on mine even though my internal battery is down to 60% capacity and my external is around 90%. Standby drains about 10% overnight. I am running Linux Mint on mine and I set up TLP. Undervolting can increase the runtime quite a bit, but I haven’t bothered with that yet.
I’ve gotten both of my thinkpads used, so none of that money went to Lenovo or Microsoft. The laptops that come with Linux are expensive and are rarely available used.
I’m learning about electronic components. I believe this is the part which has broken and made this heating pad unsafe to use. Well, unusable, not just unsafe lol.
What's (are) the funniest/stupidest way(s) you've broken your linux setup?
Tinkering is all fun and games, until it’s 4 am, your vision is blurry, and thinking straight becomes a non-option, or perhaps you just get overly confident, type something and press enter before considering the consequences of the command you’re about to execute… And then all you have is a kernel panic and one thought...
I'm so frustrated rn.
I have been distro hopping for about 2 weeks now, there’s always something that doesn’t work. I thought I would stick with Debian and now I haven’t been able to make my printer work in it, I think I tried in another distro and it just worked out of the box, but there’s always something that’s broken in every distro....
Everybody gangsta until Task Manager appear (lemm.ee)
via Comics With a K
Friendly reminder
This is your annual reminder to do a snapshot (timeshift or whatever you prefer) before doing relatively minor changes to your system....
Pi-Hole or something else for network ad blocking?
I’ve been aware of pi-hole for a while now, but never bothered with it because I do most web browsing on a laptop where browser extensions like uBlock origin are good enough. However, with multiple streaming services starting to insert adds into my paid subscriptions, I’m looking to upgrade to a network blocker that will...
Simultaneous joystick 3-axis protocol
Working on a joystick. Seems like any protocol I use to read from peripherals is going to be bottlenecked by having just one input. My microcontroller might have multiple ADCs, but there’s just one processor stepping through them. Same for spi, or i2c, or uart. There’s really only ever one sensor reporting back its data at a...
What do normal people look at on their phones?
I’ve been on Reddit for over a decade. But I’m done with that site and want to do something else. What do normal people look at on their phones? Is it all social media? Streaming?
Minisforum MS-01 announced. 2x10g sfp+, 2x2.5gbe, pci slot, 3xm2 slots. 2xUSB4 40g. What do we think? (store.minisforum.com)
This looks like an amazing little box that can do almost anything. I’m wondering how people feel about the pricepoint...
Ubuntu 24.04 LTS To Get 12 Years of Updates (news.itsfoss.com)
Microsoft says a Copilot key is coming to keyboards on Windows PCs starting this month (www.cnbc.com)
New laptop
Hi everyone!...
Debian 12: how do I get Gnome Files to display preview thumbnails/icons for large video files? Right now it just shows generic icons (lemmy.world)
USB Cable check
Hello altogether, I guess everybody has some USB-C cables lying around, but wonder if it’s 3A, 5A, 3.0, TB… Anybody able to recomment a device able to determine that? Maybe also something that can be combined with a load tester.
TP4056 useless protection circuit? (discuss.tchncs.de)
I got these TP4056 modules from an AliExpress vendor and fail to understand how the protection circuit works or if it’s just typical Ali shovelware. It could be my limited understanding of electronics....
What would be the best way for me to recover data from my old laptop's hard drive, which seems to have a bad superblock?
I got an external hard drive enclosure for the purpose of recovering some of the files from my old laptops hard drive. The hard drive and all of it’s partitions show up in both disks and gparted but it wont mount. When I tried to mount it manually, it gave the error message stating that it can’t read the superblock. I’ve...
Can I build a NAS out of a desktop? [Request]
n00b question, sorry. If I had a desktop that could hold 4 HD and 2 SSD, could I turn it into a NAS? Could someone point me in the right direction if this makes sense?
[Resolved] Why does the font on Lemmy.world look like an eyesore? (lemmy.world)
I just switched from Ubuntu 23.10 to Debian 12 (using X11) if that helps. I didn’t have this problem in Ubuntu.
What happens to my instance if my domain expires?
I recently was gifted a raspberry pi 5 and was looking at domains to buy to host my own instance. What happens to my instance if the domain expires?...
Why do you use the terminal?
Hi, everybody Recently, a guy noticed that I was using it and asked why? For me it because in Linux many things are done through the terminal because Linux has many different desktop environments...
MOSFET gate resistor
Since MOSFETs have a gate capacitance you’d want to limit the inrush of current from the output of a microcontroller to prevent it from getting damaged prematurely. That’s what gate resistors are usually good for....
Laptop with long runtime
I’m looking to buy a new laptop. I recently switched to Linux (Fedora) and would like to stay with it (Not necessarily Fedora though)....
Is this a fuse? If so, what kind? if not, what is it? (beehaw.org)
I’m learning about electronic components. I believe this is the part which has broken and made this heating pad unsafe to use. Well, unusable, not just unsafe lol.
Surface Go 2 with 4GB Ram and 4425Y worth it?
Hi! There’s no Surface on Linux Lemmy community (yet), but I didn’t feel like asking on reddit, so I thought that this community is my best bet....