From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sGqYAXClW2V68AAA9RJhRA:P1 (envelope-from ) for ; Mon, 20 Nov 2023 19:29:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sGqYAXClW2V68AAA9RJhRA (envelope-from ) for ; Mon, 20 Nov 2023 19:29:04 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CB18953A68 for ; Mon, 20 Nov 2023 19:29:03 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1700504943; a=rsa-sha256; cv=none; b=NPX0PPFPzUQpHnqTWTBoekFNHiQodqINOEACILOcJBPJGOzF/vlxFd8r5dfytigKRp8j2I EOvmzxE+nUlMLkcAc+FRdyjWqrw4IIcYqxIytH1ECHVRX/NWWLE/KdpiFBFWTpLko0Au+X H8TQcpDqFYryp9E+aKDZBu7zJv85wySEOjBw1T5T0FRaOfAu1jMU4c/UMjTtPyCloOwCio 6CSejZpnHj6Thz5S2w7Y66Hh3ZafyEuYu5/+dKNxUQ0G79WW6i2vkDBNr2rj0X6Ks1i/IX 7/c1dVfRxHjkBQsfYb4/CXh8w2lFdttn0WObRycrY/x2K9OIcxMomXp56UD8ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700504943; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=GQapTdqdMBXpDBs1kGV/hQQfEhBI8dCucBmSM4xryO4=; b=fwIbr2qT5qSkauWV5OEUMrdS2GfUgARr30AwuRcgs4mxoSqtbnoPEVuBIFdrysPOoGcdO0 ixCnvbBoJawypnJ8fScuGFSbUCdSRWPLTlf+v7cPnrfuST4yphzwMj0QLvfT7jPT+2Z7p2 4QePO+UrUd+BtmuTyq4MoKXASr6Ji1fNjvgVltosqF0qdU/TbbWyMYO63x/h8C8rkZPJ24 lUC5DdmXnK/b4bch2du1irQHMnUnhlmTd41syNNSTJ3PQZXDEPArbAfcZbdR+wVjbTkrA8 tX4Bd5N/GOIxoCM+gctbjqMKMryeGtkl/irmwstPzsUCFe9LbojnVr7l9cF4gQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r590m-0005cy-9T; Mon, 20 Nov 2023 13:28:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r590k-0005b7-M0 for help-guix@gnu.org; Mon, 20 Nov 2023 13:28:42 -0500 Received: from bluehome.net ([96.66.250.149]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r590i-0002O5-PI for help-guix@gnu.org; Mon, 20 Nov 2023 13:28:42 -0500 Received: from [192.168.1.98] (unknown [71.181.50.4]) by bluehome.net (Postfix) with ESMTPSA id 9614D4B40328 for ; Mon, 20 Nov 2023 10:28:38 -0800 (PST) Content-Type: multipart/mixed; boundary="------------JZArKD3w5JE2LgHY1TFii0Iq" Message-ID: <1b7ba9f1-6c62-8a45-3b2b-795beefdcc40@bluehome.net> Date: Mon, 20 Nov 2023 12:28:36 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 To: help-guix@gnu.org Content-Language: en-US From: Caleb Herbert Subject: chromebook-ucm-conf Received-SPF: pass client-ip=96.66.250.149; envelope-from=csh@bluehome.net; helo=bluehome.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -5.01 X-Migadu-Queue-Id: CB18953A68 X-Migadu-Spam-Score: -5.01 X-TUID: RwNSsM2yiT7p This is a multi-part message in MIME format. --------------JZArKD3w5JE2LgHY1TFii0Iq Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Guix, Can anyone help me get my audio working? I've been trying to "install" some configuration files for my audio setup on a Chromebook. On a normal GNU/Linux system, one installs them under /usr/share, but Guix doesn't have that, so I made a package based on alsa-ucm-conf. But packaging the config files is not enough, it seems. You also have to modify alsa-lib, which efraim was kind enough to do last night. But apparently, alsa-lib needs updated to support certain features of the config, so the attached Scheme code will not work. Can someone show me how to get it to work? Thanks, Caleb Herbert --------------JZArKD3w5JE2LgHY1TFii0Iq Content-Type: text/x-scheme; charset=UTF-8; name="chromebook-alsa-lib.scm" Content-Disposition: attachment; filename="chromebook-alsa-lib.scm" Content-Transfer-Encoding: base64 OzsgY2hyb21lYm9vay1hbHNhLWxpYi5zY20gLSBJbnN0YWxsIENocm9tZWJvb2sgQUxTQSBj b25maWcKOzsgQ29weXJpZ2h0IChDKSAyMDIzICBDYWxlYiBIZXJiZXJ0IDxjc2hAYmx1ZWhv bWUubmV0Pgo7OyBDb3B5cmlnaHQgKEMpIDIwMjMgIGVmcmFpbQo7Owo7OyBUaGlzIHByb2dy YW0gaXMgZnJlZSBzb2Z0d2FyZTogeW91IGNhbiByZWRpc3RyaWJ1dGUgaXQgYW5kL29yIG1v ZGlmeQo7OyBpdCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBM aWNlbnNlIGFzIHB1Ymxpc2hlZCBieQo7OyB0aGUgRnJlZSBTb2Z0d2FyZSBGb3VuZGF0aW9u LCBlaXRoZXIgdmVyc2lvbiAzIG9mIHRoZSBMaWNlbnNlLCBvcgo7OyAoYXQgeW91ciBvcHRp b24pIGFueSBsYXRlciB2ZXJzaW9uLgo7Owo7OyBUaGlzIHByb2dyYW0gaXMgZGlzdHJpYnV0 ZWQgaW4gdGhlIGhvcGUgdGhhdCBpdCB3aWxsIGJlIHVzZWZ1bCwKOzsgYnV0IFdJVEhPVVQg QU5ZIFdBUlJBTlRZOyB3aXRob3V0IGV2ZW4gdGhlIGltcGxpZWQgd2FycmFudHkgb2YKOzsg TUVSQ0hBTlRBQklMSVRZIG9yIEZJVE5FU1MgRk9SIEEgUEFSVElDVUxBUiBQVVJQT1NFLiAg U2VlIHRoZQo7OyBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSBmb3IgbW9yZSBkZXRhaWxz Lgo7Owo7OyBZb3Ugc2hvdWxkIGhhdmUgcmVjZWl2ZWQgYSBjb3B5IG9mIHRoZSBHTlUgR2Vu ZXJhbCBQdWJsaWMgTGljZW5zZQo7OyBhbG9uZyB3aXRoIHRoaXMgcHJvZ3JhbS4gIElmIG5v dCwgc2VlIDxodHRwczovL3d3dy5nbnUub3JnL2xpY2Vuc2VzLz4uCgoodXNlLW1vZHVsZXMg KGd1aXggcGFja2FnZXMpCiAgICAgICAgICAgICAoZ3VpeCB1dGlscykKICAgICAgICAgICAg IChndWl4IGdpdC1kb3dubG9hZCkKICAgICAgICAgICAgIChndWl4IGJ1aWxkLXN5c3RlbSBj b3B5KQogICAgICAgICAgICAgKGd1aXggYnVpbGQtc3lzdGVtIHRyaXZpYWwpCiAgICAgICAg ICAgICAoKGd1aXggbGljZW5zZXMpICM6cHJlZml4IGxpY2Vuc2U6KQogICAgICAgICAgICAg KGdudSBwYWNrYWdlcyBsaW51eCkpCgooZGVmaW5lLXB1YmxpYyBjaHJvbWVib29rLXVjbS1j b25mCiAgKGxldCAoKGNvbW1pdCAiMTMyOGU0NmJmY2E2ZGIyYzYwOWRmOWM2OGQzN2JiNDE4 ZTZmZTI3OSIpCiAgICAgICAgKHJldmlzaW9uICIxIikpCiAgICAocGFja2FnZQogICAgICAo bmFtZSAiY2hyb21lYm9vay11Y20tY29uZiIpCiAgICAgICh2ZXJzaW9uIChnaXQtdmVyc2lv biAiMC4wIiByZXZpc2lvbiBjb21taXQpKQogICAgICAoc291cmNlIChvcmlnaW4KICAgICAg ICAgICAgICAgIChtZXRob2QgZ2l0LWZldGNoKQogICAgICAgICAgICAgICAgKHVyaSAoZ2l0 LXJlZmVyZW5jZQogICAgICAgICAgICAgICAgICAgICAgICh1cmwgKHN0cmluZy1hcHBlbmQg Imh0dHBzOi8vZ2l0aHViLmNvbS9XZWlyZFRyZWVUaGluZy8iCiAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICBuYW1lKSkKICAgICAgICAgICAgICAgICAgICAg ICAoY29tbWl0IGNvbW1pdCkpKQogICAgICAgICAgICAgICAgKGZpbGUtbmFtZSAoZ2l0LWZp bGUtbmFtZSBuYW1lIHZlcnNpb24pKQogICAgICAgICAgICAgICAgKHNoYTI1NgogICAgICAg ICAgICAgICAgIChiYXNlMzIKICAgICAgICAgICAgICAgICAgIjFpOXdpMno4aXpqZzN4emt5 eWE4OGxyeHNrY2pkcDRuaWcxcXdqaXk0MHZqMGxpMjBkMGMiKSkpKQogICAgICAoYnVpbGQt c3lzdGVtIGNvcHktYnVpbGQtc3lzdGVtKQogICAgICAoYXJndW1lbnRzCiAgICAgICAnKCM6 aW5zdGFsbC1wbGFuCiAgICAgICAgICcoKCJnbGsiICJzaGFyZS9hbHNhL3VjbTIvY29uZi5k IikKICAgICAgICAgICAoImNvbW1vbiIgInNoYXJlL2Fsc2EvdWNtMiIpKSkpCiAgICAgICho b21lLXBhZ2UgImh0dHBzOi8vZ2l0aHViLmNvbS9XZWlyZFRyZWVUaGluZy9jaHJvbWVib29r LXVjbS1jb25mIikKICAgICAgKHN5bm9wc2lzICJBbHNhIFVDTSBjb25maWd1cmF0aW9uIGZv ciBjaHJvbWUgZGV2aWNlcyIpCiAgICAgIChkZXNjcmlwdGlvbgogICAgICAgIkEgY29sbGVj dGlvbiBvZiBtb2RpZmllZCBDaHJvbWVPUyBVQ00gY29uZmlndXJhdGlvbiBmaWxlcyBvcHRp bWl6ZWQKZm9yIG1haW5saW5lIExpbnV4IikKICAgICAgKGxpY2Vuc2UgbGljZW5zZTpic2Qt MykpKSkKCihkZWZpbmUgYWxzYS1ib251cy1pbnB1dHMKICAocGFja2FnZQogICAgKG5hbWUg ImFsc2EtYm9udXMtaW5wdXRzIikKICAgICh2ZXJzaW9uIChwYWNrYWdlLXZlcnNpb24gYWxz YS1saWIpKQogICAgKHNvdXJjZSAjZikKICAgIChidWlsZC1zeXN0ZW0gdHJpdmlhbC1idWls ZC1zeXN0ZW0pCiAgICAoYXJndW1lbnRzCiAgICAgYCgjOm1vZHVsZXMgKChndWl4IGJ1aWxk IHVuaW9uKSkKICAgICAgICM6YnVpbGRlcgogICAgICAgKGJlZ2luCiAgICAgICAgICh1c2Ut bW9kdWxlcyAoaWNlLTkgbWF0Y2gpCiAgICAgICAgICAgICAgICAgICAgICAoZ3VpeCBidWls ZCB1bmlvbikpCiAgICAgICAgIChtYXRjaCAlYnVpbGQtaW5wdXRzCiAgICAgICAgICAgKCgo bmFtZXMgLiBkaXJlY3RvcmllcykgLi4uKQogICAgICAgICAgICAodW5pb24tYnVpbGQgKGFz c29jLXJlZiAlb3V0cHV0cyAib3V0IikKICAgICAgICAgICAgICAgICAgICAgICAgIGRpcmVj dG9yaWVzKQogICAgICAgICAgICAjdCkpKSkpCiAgICAoaW5wdXRzCiAgICAgKGxpc3QgYWxz YS11Y20tY29uZiBhbHNhLXRvcG9sb2d5LWNvbmYgY2hyb21lYm9vay11Y20tY29uZikpCiAg ICAoaG9tZS1wYWdlICIiKQogICAgKHN5bm9wc2lzICIiKQogICAgKGRlc2NyaXB0aW9uICIi KQogICAgKGxpY2Vuc2UgI2YpKSkKCgooZGVmaW5lIGNocm9tZWJvb2stYWxzYS1saWIKICAo cGFja2FnZQogICAgKGluaGVyaXQgYWxzYS1saWIpCiAgICAoYXJndW1lbnRzCiAgICAgKHN1 YnN0aXR1dGUta2V5d29yZC1hcmd1bWVudHMgKHBhY2thZ2UtYXJndW1lbnRzIGFsc2EtbGli KQogICAgICAgKCgjOnBoYXNlcyBwaGFzZXMpCiAgICAgICAgYChtb2RpZnktcGhhc2VzICxw aGFzZXMKICAgICAgICAgICAocmVwbGFjZSAncHJlLWluc3RhbGwKICAgICAgICAgICAgIChs YW1iZGEqICgjOmtleSBpbnB1dHMgb3V0cHV0cyAjOmFsbG93LW90aGVyLWtleXMpCiAgICAg ICAgICAgICAgIChsZXQqICgoYWxzYSAoc3RyaW5nLWFwcGVuZAogICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAoYXNzb2MtcmVmIG91dHB1dHMgIm91dCIpICIvc2hhcmUvYWxzYSIp KQogICAgICAgICAgICAgICAgICAgICAoYm9udXMtaW5wdXRzIChhc3NvYy1yZWYgaW5wdXRz ICJhbHNhLWJvbnVzLWlucHV0cyIpKQogICAgICAgICAgICAgICAgICAgICAodWNtIChzdHJp bmctYXBwZW5kIGJvbnVzLWlucHV0cyAiL3NoYXJlL2Fsc2EvdWNtIikpCiAgICAgICAgICAg ICAgICAgICAgICh1Y20yIChzdHJpbmctYXBwZW5kIGJvbnVzLWlucHV0cyAiL3NoYXJlL2Fs c2EvdWNtMiIpKQogICAgICAgICAgICAgICAgICAgICAodG9wb2xvZ3kgKHN0cmluZy1hcHBl bmQKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYm9udXMtaW5wdXRzICIvc2hh cmUvYWxzYS90b3BvbG9neSIpKSkKICAgICAgICAgICAgICAgICAobWtkaXItcCBhbHNhKQog ICAgICAgICAgICAgICAgIChzeW1saW5rIHVjbSAoc3RyaW5nLWFwcGVuZCBhbHNhICIvdWNt IikpCiAgICAgICAgICAgICAgICAgKHN5bWxpbmsgdWNtMiAoc3RyaW5nLWFwcGVuZCBhbHNh ICIvdWNtMiIpKQogICAgICAgICAgICAgICAgIChzeW1saW5rIHRvcG9sb2d5IChzdHJpbmct YXBwZW5kIGFsc2EgIi90b3BvbG9neSIpKSkpKSkpKSkKICAgIChpbnB1dHMKICAgICAobW9k aWZ5LWlucHV0cyAocGFja2FnZS1pbnB1dHMgYWxzYS1saWIpCiAgICAgICAgICAgICAgICAg ICAgKHByZXBlbmQgYWxzYS1ib251cy1pbnB1dHMpCiAgICAgICAgICAgICAgICAgICAgKGRl bGV0ZSAiYWxzYS11Y20tY29uZiIgImFsc2EtdG9wb2xvZ3ktY29uZiIpKSkpKQoKY2hyb21l Ym9vay1hbHNhLWxpYgo= --------------JZArKD3w5JE2LgHY1TFii0Iq--