Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
WerWolv
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
WerWolv
9d ago
It tends to be vendor drivers / vendor patches. Getting frustrated that my changes aren't applied just to see that the vendor decided to hardcode a field or dynamically patch the device tree in undocumented ways is what usually ge
2.
▲
by
WerWolv
13d ago
This is a valid point a friend brought up as well. There's no reason all of this is enabled except for keeping the config simple. I only recently learned about `make tinyconfig` though which should let you creating a absolutely minimal
3.
▲
How to bring up the Linux Kernel on a new platform
(werwolv.net)
103 points
by
WerWolv
13d ago
|
8 comments
4.
▲
Reverse Engineering Unknown File Formats with ImHex
(werwolv.net)
8 points
by
WerWolv
18d ago
|
0 comments
5.
▲
by
WerWolv
4mo ago
Great read, thanks! What was used to make these Signal diagrams? They look really great
6.
▲
Linux? In My Web Browser? – How to Bring Up the Linux Kernel
(werwolv.net)
2 points
by
WerWolv
5mo ago
|
0 comments
7.
▲
by
WerWolv
5mo ago
WebUSB works in pretty much the same way. You'll have the same set of functions that libusb exposes there too. Sadly it's not supported at all on anything but Chrome right now
8.
▲
by
WerWolv
5mo ago
Descriptors also were kind of a mystery for me until I realized that they're just a binary structure with a fixed format that the host reads and interprets. The device descriptor is easy enough to get right as it doesn't have too
9.
▲
by
WerWolv
5mo ago
ADB uses libusb or WinUSB directly from userspace too yeah. On Windows you still need a .inf driver though because the WinUSB driver isn't getting loaded by default for Android devices because they're lacking the MS OS Descriptor
10.
▲
by
WerWolv
5mo ago
dfu-util actually also just uses libusb under the hood! Any class or device that doesn't have a driver baked into the OS can be implemented like this. And if you'd need the DFU functionality in a different application, you may be
11.
▲
by
WerWolv
5mo ago
Arguably all these other subsystems shouldn't be in the Kernel either but that's a different topic :) There are quite a few benefits to doing these things in userspace over the Kernel, not really necessarily just because of the co
12.
▲
by
WerWolv
5mo ago
On Linux you could create a tun/tap device from your application and translate data sent over that to requests sent to the ethernet adapter. Of course, when you're doing these things in userspace you either need some way of commun
13.
▲
USB for Software Developers: An introduction to writing userspace USB drivers
(werwolv.net)
411 points
by
WerWolv
5mo ago
|
48 comments
14.
▲
by
WerWolv
2y ago
Hey, I'd just like to tune in here real quick. I've been using this username since I was like 10, long before I really understood what Nazis are. By the time I learned about this, I've already had this username for years and
15.
▲
by
WerWolv
4y ago
By default it uses a pixel-perfect font (the one that's included in ImGui) so anti-aliasing will not do anything but make text look blurry. If you don't like the default font, it's super easy to change it though. Just go into
16.
▲
by
WerWolv
4y ago
Thanks a lot for the love! If you have any feature requests, face any problems or have any questions, please open an issue on my GitHub page and I'll make sure to look into it as soon as possible. There's also a Discord server lin