HN user

SyncOnGreen

35 karma
Posts0
Comments11
View on HN
No posts found.

SBU1 and SBU2 are secondary bus wires, for the DisplayPort AUX channel and hot plug detection (HPD).

Correction - HPD signal is translated into vendor message and carried over CC lines - same ones that are used for PD and AltMode negotiation.

In DP-Alt mode SBU1/2 basically becomes AUX+/-.

Generating VERY precise timing and pulses, you need FPGA's or CPLD's

Back in the day, I managed to create a working RGH modchip based on Atmega8 (8 bit micro) running at 20 MHz with hand-crafted assembly code. I named it RWH (Reset Witch Hack) and it was able to boot Xbox 360 Jasper in 1-2 minutes. Old motherboards had a physical pad on the motherboard allowing for slowing down the CPU, so no i2c was required. I also have to connect the whole 8 bit POST bus to read the current value in one instruction.

PCB was made at home, and since AVR is 5V system, I used NPNs for voltage conversion (all values were inverted in the software).

Why? I didn't have money to buy the "real" CPLD modchip.

Rush and happiness when it first booted - priceless.

I still should have the source code for it somewhere on backup.

photos: https://gist.githubusercontent.com/JaCzekanski/c02ed11c30fac... https://gist.githubusercontent.com/JaCzekanski/c02ed11c30fac...

Sorry if you felt attacked, it wasn't my point.

Congratulations on developing and shipping a fully-fledged product, I hope I'll help people in need of a "it just works" solution for this particular problem. Paying for it is of course justified, as you poured your time and knowledge to provide a fully working fix.

Since this is Hackernews, I shared how I approached this problem on my devices - I use Hammerspoon to script little parts of the system I don't like in macOS and audio device handling is one of them.

I use a more complex version that handles additional pain points, but the default input source changing has worked just fine for me for the last few years (with AirPods, Bose QC35 and regular wired headphones).

Same can be achieved in a few lines of Lua using Hammerspoon and hs.audiodevice API.

    local builtinMicName = "MacBook Pro Microphone"
    hs.audiodevice.watcher.setCallback(function(e) 
        defaultMic = hs.audiodevice.defaultInputDevice():name()
        if (e == "dIn " and defaultMic ~= builtinMic) then
          local builtinMic = hs.audiodevice.findInputByName(builtinMicName)
          builtinMic:setDefaultInputDevice()
        end
    end)
    hs.audiodevice.watcher.start()
It doesn't seem fair to pay $20 per year for this. I'd be fine with one time payment.

Neat project - I was looking for something similar for powering various bits of electronics and stumbled upon WEB PDC001 (can be found on Aliexpress) cable which is basically programmable USB-C cable with DC barrel jack. Works great with TS-100 soldering iron powered using generic PD phone charger. The only issue with it - software for programming it is Windows only and it isn't translated to English.

RedditStorage 11 years ago

I had the same idea few months ago, I've even coded simple POC in Java which mapped submissions in subreddit to files. You could use FUSE to create virtual device and map files in mounted folder to comments. For Java I was using fuse-jna - there should be binding for Python.

I've coded a NES emulator for my C++ programming course (https://github.com/JaCzekanski/AnotherNES) and one of the features is live view of RAM and PPU registers (check out Screenshots at bottom of Readme). As for now only RAM can be changed during game play but I plan to carry on with development and create emulator with ability to change every register of console in realtime (like ICU64 here: https://www.youtube.com/watch?v=tjcvR5McmSg)