u/lukmly013 💾 (lemmy.sdf.org)

I like computers, trains, space, radio-related everything and a bunch of other tech related stuff. User of GNU+Linux.
I am also dumb and worthless.
My laptop is ThinkPad L390y running Arch.
I own RTL-SDRv3 and RSP1 clone.

SDF Unix shell username: user224

  • 2 Posts
  • 39 Comments
Joined 2 years ago
cake
Cake day: June 17th, 2023

help-circle






  • Everyone has different preferences.

    My separate debit card and transport card won’t discharge or just stop working as likely as a phone. It also won’t be suddenly affected by bugs, nor will it get slower. Nor do I get Google also tracking every single payment as well.

    The only disadvantage is compatibility. So many things, and now even some shops use contactless-only terminals, while I got contactless or magnetic payments blocked. Only chip + PIN.
    But anyway, the shop that had to downgrade to contactless only due to increased fees on regular old terminal also started asking people to pay in cash instead, again, due to the fees.










  • I connect to mine with a USB serial adapter, since my laptop doesn’t have one built-in, which I wish it did. Software-wise, I just use screen because I am lazy to use something like Minicom.

    Just don’t set any low baud rate for Linux. It will wait for logs to be printed out while booting. Though perhaps you can reduce the loglevel, I haven’t tried that. I’ve tried 300 baud for fun, and that wasn’t fun. I think it was over half an hour to boot up just waiting for logs to print.

    I honestly don’t remember what I did, but this lies in my /etc/default/grub and looks relevant:

    GRUB_CMDLINE_LINUX="console=ttyS1,115200"
    GRUB_TERMINAL_INPUT="console serial"
    GRUB_TERMINAL_OUTPUT="gfxterm serial"
    GRUB_SERIAL_COMMAND="serial --unit=1 --speed=115200"
    

    Also it’s useful to then set width, height and terminal type. I think terminal type is in $TERM , and size is set with stty, but I am not sure. It’s been a while.

    You may also need a “null modem adapter” to reverse RX and TX, but oddly enough, that actually makes it not work with my adapter, despite it also working when directly connected to a switch. Maybe it can figure out which end it’s supposed to be? Dunno.