Awesome, thanks!
On Fri, Nov 18, 2022 at 12:04 PM Lennart Poettering
wrote:
> On Do, 17.11.22 21:41, Andrei Borzenkov (arvidj...@gmail.com) wrote:
>
> > On 17.11.2022 20:48, Lennart Poettering wrote:
> > > On Do, 17.11.22 18:17, Vadim Lebedev (vadiml1...@gmail.com) wrote:
I'm preparing ubuntu-based live boot disk. It works fine mostly, but on
some machines equipped with Nvidia Quadro cards the default nouveau driver
causes problems (temporary freezes). I've determined that buy blacklisting
nouveau driver (in /etc/modprobe.d/blacklist.conf) I can fix the problem.
Awesome, thanks, it is EXTREMELY useful
| Find the right one and denylist it.
One more question: how do I 'denylist' the offending alias?
Thanks
Vadim
On Thu, Nov 17, 2022 at 3:22 PM Lennart Poettering
wrote:
> On Mi, 16.11.22 10:24, Vadim Lebedev (vadiml1...@gmail.com) wrote:
>
&
This is what ChatGPT proposes:
#include
#include
void scan_devices(const char* target_string) {
libusb_device **devs;
libusb_context *ctx = NULL;
int r;
ssize_t cnt;
r = libusb_init();
if (r < 0) return;
cnt = libusb_get_device_list(ctx, );
if (cnt < 0) return;