Hi Emmanuel,

Awesome! Thank you for going out of your way.

I will keep in mind of the "-v -n" usage.

Thanks again,
Kenneth

________________________________
From: Emmanuel Vadot <m...@bidouilliste.com>
Sent: Friday, July 7, 2023 12:21 AM
To: Kenneth Raplee <ken...@kennethraplee.com>
Cc: freebsd-current@FreeBSD.org <freebsd-current@FreeBSD.org>
Subject: Re: Possible PEBKAC bug for fwget(8)?


 Hi Kenneth,

On Thu, 6 Jul 2023 23:58:06 +0000
Kenneth Raplee <ken...@kennethraplee.com> wrote:

> Hi folks,
>
> I was made aware of the fwget(8) utility on IRC after mentioning how I 
> supplemented a missing amdgpu firmware from the gpu-firmware-kmod package for 
> my RX 6600 XT from the linux-firmware git repo in order to load the amdgpu 
> 515 driver without the screen freezing at boot.
>
> When I tried running `fwget -vn pci`, it only prints out the following usage 
> info:
>
> ```
> Usage: fwget [options] [subsystem]
>
> Supported subsystems
>   pci
>
> Options:
>   -n            -- Do not install package, only print the results
>   -v            -- More verbose
> ```
>
> I tried running the command other ways, outputs the same thing.
>
> I didn't think this was worth reporting as a bug since it seems like a minor 
> fix.
>
> % uname -aKU
> FreeBSD freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #0 
> main-n263946-ac40021c935d: Tue Jul  4 09:10:17 PDT 2023     
> root@freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 1400092 
> 1400092
>
> Sincerely,
> Kenneth

 Thanks for reporting, it's fixed now in
https://cgit.freebsd.org/src/commit/?id=c81495a621c461b3d3395a7c5b0e73458201c443

 Note that -vn will not work but -v -n will, switching to getopt(1)
should fix that but I don't plan to work on that right now.

 Cheers,

--
Emmanuel Vadot <m...@bidouilliste.com> <m...@freebsd.org>

Reply via email to