Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jul 2023 09:21:23 +0200
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        Kenneth Raplee <kenrap@kennethraplee.com>
Cc:        "freebsd-current@FreeBSD.org" <freebsd-current@FreeBSD.org>
Subject:   Re: Possible PEBKAC bug for fwget(8)?
Message-ID:  <20230707092123.c2895b7a50ab6c5e9d1bdf87@bidouilliste.com>
In-Reply-To: <BYAPR05MB58152C65970C3646AB221295CE2CA@BYAPR05MB5815.namprd05.prod.outlook.com>
References:  <BYAPR05MB58152C65970C3646AB221295CE2CA@BYAPR05MB5815.namprd05.prod.outlook.com>

index | next in thread | previous in thread | raw e-mail


 Hi Kenneth,

On Thu, 6 Jul 2023 23:58:06 +0000
Kenneth Raplee <kenrap@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 <manu@bidouilliste.com> <manu@freebsd.org>


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230707092123.c2895b7a50ab6c5e9d1bdf87>