News for hackers. Stuff that matters.
Re:Dip Switch USB Stick by sigmonsays on Thursday February 03, 2022 @04:56PM (#30199533)
fun stuff... use cases?

here is a couple...

1. profile location switching. pin 1 on/off = work/away - switch system configs appropriately. 2. desktop workspaces, flipping pin 2 on enables workspace switching. pin 3 and 4 control workspace number.

What else?

Re:Dip Switch USB Stick by c0nsumer on Thursday February 03, 2022 @05:07PM (#30199690)
With this sort of switch you have to worry about the lifecycle of the switch. They aren't meant to be toggled routinely. For the mentioned DIP switch (https://www.farnell.com/datasheets/5461.pdf) it's basically assured it'll be fine through 1000 cycles, and likely dead at 10,000.

1000 cycles is only ~3x/day for a year.

Re:Dip Switch USB Stick by elihu on Thursday February 03, 2022 @05:54PM (#30200218)
addblock on/off, javascript on/off, vpn on/off, qwerty/dvorak, default editor is vim/emacs, indentation is tabs/spaces, the dress is blue and black / white and gold, fund police/defund police, those are/aren't the droids we're looking for
Re:Dip Switch USB Stick by bsima on Thursday February 03, 2022 @06:39PM (#30200651)
to be/not to be
Re:Dip Switch USB Stick by adamrmcd on Thursday February 03, 2022 @05:07PM (#30199688)
A form of two-factor authentication? (Something you have + something you know.)

Simply set the value to match a rotating 8-bit token and plug-in to login :)

Re:Dip Switch USB Stick by tenebrisalietum on Thursday February 03, 2022 @05:10PM (#30199730)
Integrate with Linux bootloader / boot process.

pin 0 on = normal boot, pin 0 off = single user mode.

pin 1 on = GRUB interactive screen enabled, pin 1 off = GRUB interactive screen disabled.

Re:Dip Switch USB Stick by netsharc on Thursday February 03, 2022 @05:49PM (#30200169)
Re:Dip Switch USB Stick by helpm33 on Thursday February 03, 2022 @05:59PM (#30200271)
I had something like that hanging off a parallel port in a PC in 1990; it read the status bits of a printer port and booted accordingly. Could still do it today, via a $1 USB serial port's status bits.
Re:Dip Switch USB Stick by bobsmooth on Thursday February 03, 2022 @05:00PM (#30199605)
This could be useful for conferencing on the go. Toggle switches for webcam, mic, mute, uhh...different channels?
Re:Dip Switch USB Stick by hatware on Thursday February 03, 2022 @05:16PM (#30199808)
Could be useful with home assistant in a lot of ways, though your use cases kind of cover them.
Re:Dip Switch USB Stick by rpastuszak on Thursday February 03, 2022 @06:07PM (#30200344)

   : w q !
   1 2 3 4