Posts
4807
Following
319
Followers
489
Linux kernel hacker and maintainer etc.

OpenPGP: 3AB05486C7752FE1

Jarkko Sakkinen

Edited 2 months ago
a checkpatch error that provides an insecure URL as guidance lol:

WARNING: unnecessary cast may hide bugs, see http://c-faq.com/malloc/mallocnocast.html

Tried to fix it but also https is broken. It's also quite common mistake, meaning that it pushes insecure in volumes to developers.

#linux #kernel
1
0
0

Jarkko Sakkinen

finnish electro classic from 25-26'ish years ago: https://www.youtube.com/watch?v=xZpZWm5GRXo

i.e. when the electroclash boom was ongoing with lots of stuff coming from i-f, parallax corporation, miss kittin and the hacker, dmx krew and others. stuff like that was playing a lot at venues. good times :-)
0
0
0

Jarkko Sakkinen

Edited 2 months ago

for what it is worth this is how you “lsusb” in macOS:

$ ioreg -p IOUSB
+-o Root  <class IORegistryEntry, id 0x100000100, retain 36>
  +-o AppleT8112USBXHCI@01000000  <class AppleT8112USBXHCI, id 0x100000371, reg$
  | +-o Magic Keyboard@01100000  <class IOUSBHostDevice, id 0x100000d5a, regist$
  +-o AppleT8112USBXHCI@03000000  <class AppleT8112USBXHCI, id 0x1000003bb, reg$
  +-o AppleT8112USBXHCI@00000000  <class AppleT8112USBXHCI, id 0x1000003ca, reg$
  | +-o 4-Port USB 2.0 Hub@00100000  <class IOUSBHostDevice, id 0x100000a0e, re$
  | | +-o USB2.0 Hub             @00140000  <class IOUSBHostDevice, id 0x100000$
  | | +-o Rocksmith USB Guitar Adapter@00110000  <class IOUSBHostDevice, id 0x1$
  | +-o 4-Port USB 3.0 Hub@00200000  <class IOUSBHostDevice, id 0x100000a10, re$
  |   +-o RTL9210B-CG@00220000  <class IOUSBHostDevice, id 0x100000a43, registe$
  |   +-o USB3.0 Hub             @00240000  <class IOUSBHostDevice, id 0x100000$
  |     +-o USB3.0 Card Reader@00243000  <class IOUSBHostDevice, id 0x100000a71$
  +-o AppleT8112USBXHCI@02000000  <class AppleT8112USBXHCI, id 0x10000036e, reg$
  | +-o Scarlett 4i4 USB@02100000  <class IOUSBHostDevice, id 0x100000a56, regi$
  +-o AppleEmbeddedUSBXHCIASMedia3142@08000000  <class AppleEmbeddedUSBXHCIASMe$
    +-o USB Receiver@08300000  <class IOUSBHostDevice, id 0x100000a2f, register$
    +-o YubiKey FIDO+CCID@08400000  <class IOUSBHostDevice, id 0x100000a37, reg$

ioreg is a wrapper utility for doing queries from https://developer.apple.com/documentation/iokit

just learned this and now i’ll probably remember it too after writing this ;-)

1
0
4

Jarkko Sakkinen

submitted fish version of the mc-wrapper:

https://github.com/MidnightCommander/mc/pull/4726

i'm actually using zsh (and no immediate plans to switch), but i just wanted to see how fish feels like so did a little bit of scripting ...

#fish #shell #mc
0
0
0

Jarkko Sakkinen

Really have been satisfied on moving to Fastmail for personal, kernel.org account etc. It scales the best from iPhone to mutt with no glitches.

#fastmail
0
0
1

Jarkko Sakkinen

cleanup.h is almost like Symbian cleanup stack (ugh)

#linux #kernel #symbian
1
2
1

Jarkko Sakkinen

Just learned how to update OVMF_VARS.fd offline before running QEMU:

 virt-fw-vars \
    --input "$OUTPUT/OVMF_VARS.fd" \
    --output "$OUTPUT/OVMF_VARS.fd" \
    --append-boot-filepath /EFI/debian/grubx64.efi

E.g., in Debian the package containing virt-fw-vars is python3-virt-firmware but it is also available from PIP: https://pypi.org/project/virt-firmware/

#qemu #ovmf

0
1
0

Jarkko Sakkinen

IMHO still the best "top". atop has especially come handy over the years in kernel debugging given the vast amounts of detailed proc data it shows: https://atoptool.nl/
0
0
3

Jarkko Sakkinen

Going to observe and learn Azure and Intune attestation at work next week :-) Got a tenant to play with. Also nice chance to use Wireshark, which I don't use that often.
0
0
0

Jarkko Sakkinen

Renewed +3 years of Sublime Text and Merge.

I use 80% of time vim but if I really need GUI editor (e.g., for presenting in a meeting) I use Sublime Text (with a Vim emulation plugin). It has one single advantage over VSCode, Zed and many other modern GUI editor: OpenGL rasterizer AND a hand-crafted software rasterizer optimized for actually decent performance with zero glitches. It’s a life-saver, when the GPU driver does not work ;-)

#sublimetext #vim

1
0
1

Jarkko Sakkinen

For what it is worth, this is how a file creation can be backtracked:

$ git -P log --diff-filter=A --follow 1.24.0 -- src/plugins/intel/mm-plugin-intel.c
commit 40c791e293c9c58106a256ec0b251f28ebcd068a
Author: som <somashekhar.puttagangaiah@intel.com>
Date:   Sun Feb 6 23:19:57 2022 +0100

    intel: new plugin for PCI devices with vendor id 0x8086
    
    For now, just detecting the device and creating generic MBIM or AT
    based modems.

Given --follow, it also takes renames into account.

Reminder to myself ;-)

#git

0
0
1

Jarkko Sakkinen

Grabbed a webcam for meetings.
1
0
2

Jarkko Sakkinen

Edited 3 months ago
this "elder's phone" looks so much better as form factor than my "non-elder's phone":

https://www.doro.com/fi-fi/shop/mobile-devices/smart-phones/doro-aurora-a20-bbc7b0c1/

i fucking hate touch screens
1
0
0

The 19th is looking for a full-stack engineer! It's a lovely team doing important work. If you're looking for a mission-driven, US-based full-stack role, this is the one. https://19thnews.org/full-stack-engineer-employee-hire/

1
2
0
Show older