4 ms·
> The book covers the user space as well iirc. No it does not. It’s easy enough to scan the USB chapter and see that it is entirely targeting the kernel inter
by fuckstick 4y ago
> The book covers the user space as well iirc.
No it does not. It’s easy enough to scan the USB chapter and see that it is entirely targeting the kernel interface.
> And who says you can't write a kernel driver for a printer
Well there already is one - usblp.
If you’re trying to grok the esoterica of Linux USB kernel mode interfaces - a printer class driver is not the worst exercise - but this is to me very far removed from the task at hand - driving the hardware.
- antegamisou 4y agoHmm you're right, now I'm sure I have to be misremembering the book I intended to link, there certainly was a chapter on user space drivers which was of course more digestible compared to LDD. > a printer class driver is not the worst exercise Maybe that's why it's a good introductory to kernel drivers programming? Some friends back in school were tasked the exact same thing (implement usblp 'from scratch').