From nobody Fri Mar 28 23:19:09 2025 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ZPc0z08mqz5rbX6 for ; Fri, 28 Mar 2025 23:19:15 +0000 (UTC) (envelope-from obiwac@gmail.com) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZPc0y2ncTz3VNd; Fri, 28 Mar 2025 23:19:14 +0000 (UTC) (envelope-from obiwac@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-224341bbc1dso53662555ad.3; Fri, 28 Mar 2025 16:19:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743203952; x=1743808752; h=content-transfer-encoding:in-reply-to:content-language:references :to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YEmqIzfgpQRDUhi95VWQG5zyHBogakkkyGujbN5JPzY=; b=mTR44UzU8S2JOv2obgzdhkFSm5mK2X69wdK6dFJixIsnHchWlzNJ3nl3iJHUitAeLR 2eUQcduBymxcmRVJb7Yq5YBMVS57fb8tRHZEEBKRArr5AJrpKcv1KlcceeC3lQs4dq+r UiJK3MmFS7VSXdAC5S0pJqpS1xdHBxazScMDonPsGKaptQHhib8JZrgLV8XT69XltpHE nGI/wRySq/Le8IHQa23uwVgnyDzq493i+giMaoR3hD/SdLEGCk2dSYEiNLODla1BSHAQ HbG8HYmkE/eJIlAZTd0ZWPpISxiejxnjM7Bhj/VtZjDMCVzo/j4ep6qE5kBZuF7y/XDx IznQ== X-Forwarded-Encrypted: i=1; AJvYcCVB52rtQo1huiYloD9fu8STY5lOaimjjqE1nnmz1DNOZLczIni0AoGNb/KniTPv6/VdZfAN@freebsd.org X-Gm-Message-State: AOJu0Yy4kmt5OUhuzzuS/Bu1MPtwaa1RYV3aU2iMxSs1zUPmV3HzINZG /j6My+qXEgQXQFb2TJXkgoqmX0WAATwexb+UcFRP/63dPyv9jDhcZnOapA+lWdXk2A== X-Gm-Gg: ASbGncsGF/2083swcZauGkOjksw4hMJlVeRBWHGm9eWkeyS4e/hJ3PpNbtY8dO3LueJ xlEyN+m9AhdNxS2FAbMZDFtqaQ9anXc9IGaGsCxJaf9AG4+42t4GIc4YG3s2XUl0a8xW4fiSp4G yDhWqNfmF1Cg/zki7RBmTb+E3BKcAzde/Bmf/wPIXIBjpodAYW8TN15BqUFJ5QWVi1w+v5hs+dl stQC3/i4vgVcLfd9z0bWQTyGQBNWgw+ruOTB8jCrXJmCFWO0U07BYiWF+lrayks+om58rx0/HwL ZdW4pfyDn7ZqpcLunosORkwmm/bYzTIgT1eB4Mi6+/OITBPpqQw1Hy+tddoIAz/kQlj00ws4nzk pkZjWjNUqWMjRSes8ss0= X-Google-Smtp-Source: AGHT+IHicEMuK08boJY4IniqJ7jP1d9Kp70kGaH6kzRdi/N9h6gkt3MpqDE3wX/i+7I+nyHfT7AscA== X-Received: by 2002:a17:902:f68b:b0:227:e980:919d with SMTP id d9443c01a7336-2292f9f9af1mr12098575ad.47.1743203951881; Fri, 28 Mar 2025 16:19:11 -0700 (PDT) Received: from [192.168.1.43] (syn-024-165-017-024.res.spectrum.com. [24.165.17.24]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2291f1f969fsm24170945ad.221.2025.03.28.16.19.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 Mar 2025 16:19:11 -0700 (PDT) Message-ID: <615cf3b6-d46d-4cee-8879-30d4c796ec29@freebsd.org> Date: Fri, 28 Mar 2025 13:19:09 -1000 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Aymeric Wibo Subject: Re: Interest in building tools for GSoC 2025 To: freebsd-hackers@freebsd.org, piya@pjg1.site, getz@freebsd.org References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4ZPc0y2ncTz3VNd X-Spamd-Bar: ---- Hi Piya! Thanks for your interest. > - Have there been any attempts at implementing these in the past? > - Pointers to parts of the code relevant to the projects For the WiFi tool, there's already an ncurses TUI in base ('bsdconfig wifi'). The way I saw this though was mostly writing a CLI tool equivalent to nmcli on Linux, i.e. something that can easily be scripted around and for which commands can easily be included in guides. I'll let Getz comment on this more though. There are a couple GUI tools which also offer WiFi network management, notably the net-mgmt/wifimgr port or GhostBSD's Networkmgr. For the power reporting project, there's the powermon port which I haven't been able to test yet because I don't have a compatible device (Intel-only, I'm assuming it uses RAPL in which case it can probably easily be made to work on AMD too), but it seems to already cover the basic features powertop does. What would be nice is a more comprehensive framework for power usage reporting over time, similar to PCP on Linux. Doesn't need to be as complex and advanced as PCP, but at least a daemon able to track a process' and the system's power consumption over time would be nice. You can check out pmda-denki to see how they retrieve this information. In any case, a tool in base would be desirable. Kind regards, Aymeric