From nobody Sat Nov 23 08:03:39 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of seabios.org designates 78.46.105.101 as permitted sender) client-ip=78.46.105.101; envelope-from=seabios-bounces@seabios.org; helo=coreboot.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of seabios.org designates 78.46.105.101 as permitted sender) smtp.mailfrom=seabios-bounces@seabios.org; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from coreboot.org (coreboot.org [78.46.105.101]) by mx.zohomail.com with SMTPS id 1729993615981928.2107458480076; Sat, 26 Oct 2024 18:46:55 -0700 (PDT) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTPA id 48D37ECB40; Sun, 27 Oct 2024 01:46:50 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTP id 2E9E1EC6C3 for ; Sun, 27 Oct 2024 01:46:34 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) for ; Sat, 26 Oct 2024 18:46:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729993592; x=1730598392; darn=seabios.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=LJF9V66X8RRuhVdSYbBGJJgXr0WWnqK77azg9dxwtnw=; b=AkZcvJ8qvKpI2sMJdvxCdaxDfIZZAis6K8n+EBZcDotscpNsYH4For+retRiRQRqAD PHO/GzaIlY1a34ulFAwFIL3Aygt+8yU1zeEZ69inT65s0Ig/WGM5Y2hmvxeTkwb7F9u0 fNgneyHmD6eNUHvnwxtRkfTcgV97P2nkwkgCVp8BdTClFMwg9eSegmBGCUNMmHIe5TFj flUZ0znn0Gz98T99ib1Lh3d8/IJb7LkD+DcIMLL6hZapHDaT+R1ylW8LxT+/1lnewVVk ZhqKu1W6vAULj7O9qKEdFUXZ+0n/U1dhQRXdOREUGHGNEXk67XUtqZt5uF3yuRyhXpax EfKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729993592; x=1730598392; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=LJF9V66X8RRuhVdSYbBGJJgXr0WWnqK77azg9dxwtnw=; b=LFQ/yQHzEgIUTXt8BEKFeMAfgGlje4EIxVpqLSbWbd+OWu93450rHdXTPJjAugMyRY MgAAUxQcYaQWGbVGus7lTv7nIbmh1NOOciEZ1rZwbQuo/l18woSgMo2CbKIs3Erb6X4O /ODchxv+SOup7ZLZ/qcOlfhubaK5gnJsfh9xowS2Biyn9okUn4JNNHiBZ31cDcsmrHz1 vRn/S044xnLVKz4ObjuUyjy8S6n8f6rF+eQBPAPbF+28xMgk3Y4tJb5AQF7gY7SLVBv/ kbt2QrSAFNAvkjCcGFY76O3LjZXL5uxSPpeOn2vyTRfoKn1EzCRwb+TM0hGV9E59PAPi LjpA== X-Gm-Message-State: AOJu0YylVoMro0okwyv6nnhHHvf0qiX8BZLha8Jca/Bdjy4RtQBLS1/2 E6UIm0yKO8/HznqGfrgoBzkWEx1ZQYBFEMGI4sNV6ET3M3a3wDmyq/91QF6DZW9h3+/23mvrcYg rF/2EaK+Tt68/6KXqNCQTira4Bb9e8f+J X-Google-Smtp-Source: AGHT+IF3BGjyTHADZa9xnQHk6hedXzZrM9o6IilZLM3z74ownynXI9J56YmzltSpdpE6eXWVuJmiOmrhV5fOEEpSeI8= X-Received: by 2002:a05:6808:2029:b0:3e6:5f3:dadb with SMTP id 5614622812f47-3e6384ad592mr3007197b6e.39.1729993590860; Sat, 26 Oct 2024 18:46:30 -0700 (PDT) MIME-Version: 1.0 From: Daniel Khodabakhsh Date: Sun, 27 Oct 2024 01:46:19 +0000 Message-ID: To: seabios@seabios.org Content-Type: multipart/mixed; boundary="00000000000072aed506256b85ff" Message-ID-Hash: NRJ7CPKGUZ3YSTT7GN5VZAVUXMZMYRIW X-Message-ID-Hash: NRJ7CPKGUZ3YSTT7GN5VZAVUXMZMYRIW X-MailFrom: d.khodabakhsh@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-seabios.seabios.org-0; header-match-seabios.seabios.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [SeaBIOS] [PATCH] Support multiple USB HID keyboards/mice List-Id: SeaBIOS mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Authentication-Results: coreboot.org; auth=pass smtp.auth=mailman@coreboot.org smtp.mailfrom=seabios-bounces@seabios.org X-Spamd-Bar: / X-Zoho-Virus-Status: 1 X-Zoho-AV-Stamp: zmail-av-1.3.1/229.360.92 X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1729993617931116600 Content-Transfer-Encoding: quoted-printable --00000000000072aed506256b85ff MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 VGhpcyBjaGFuZ2UgYWxsb3dzIHRoZSB1c2Ugb2YgbXVsdGlwbGUgVVNCIEhJRCBrZXlib2FyZHMg YW5kIG1pY2UuCkl0J3Mgc2ltaWxhciB0byB0aGUgY2hhbmdlIGJ5IFN0ZWYgdmFuIE9zIGZyb20g dGhpcyB0aHJlYWQ6CgpodHRwczovL21haWwuY29yZWJvb3Qub3JnL2h5cGVya2l0dHkvbGlzdC9z ZWFiaW9zQHNlYWJpb3Mub3JnL3RocmVhZC9PNlk0TFU9CktQRlpMTkJCSlVHS0I2TVVIRzRMUENQ M0tCLwoKaG93ZXZlciB0aGlzIG5ldyBjaGFuZ2UgdXNlcyB0aGUgbGlua2VkIGxpc3QgYXBwcm9h Y2ggaW5zdGVhZCBvZiBhIGZpeGVkIGFyPQpyYXkuCgpUZXN0ZWQgb24gUUVNVSBhbmQgYW4gQXN1 cyBLR1BFLUQxNiB3aXRoIDIga2V5Ym9hcmRzIGFuZCBvbmUgbWljZQ== --00000000000072aed506256b85ff Content-Type: application/octet-stream; name="0001-Support-multiple-USB-HID-devices.patch" Content-Disposition: attachment; filename="0001-Support-multiple-USB-HID-devices.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_m2qxhr0d0 RnJvbSAzNTQ5MzVkZWFlN2NiNzllZTlhNDAwMjIyZWQ5NTAzMTQ2OTQxOTRhIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBEYW5pZWwgS2hvZGFiYWtoc2ggPGQua2hvZGFiYWtoc2hAZ21h aWwuY29tPgpEYXRlOiBTYXQsIDI2IE9jdCAyMDI0IDA0OjE4OjQ5IC0wNzAwClN1YmplY3Q6IFtQ QVRDSF0gU3VwcG9ydCBtdWx0aXBsZSBVU0IgSElEIGRldmljZXMgYnkgc3RvcmluZyB0aGVtIGlu IGEgbGlua2VkCiBsaXN0LgoKLS0tCiBzcmMvaHcvdXNiLWhpZC5jIHwgMTA4ICsrKysrKysrKysr KysrKysrKysrKysrKysrKysrKysrKy0tLS0tLS0tLS0tLS0tCiAxIGZpbGUgY2hhbmdlZCwgNzcg aW5zZXJ0aW9ucygrKSwgMzEgZGVsZXRpb25zKC0pCgpkaWZmIC0tZ2l0IGEvc3JjL2h3L3VzYi1o aWQuYyBiL3NyYy9ody91c2ItaGlkLmMKaW5kZXggZGVjMTk4YWMuLmI3ZDU1MzNlIDEwMDY0NAot LS0gYS9zcmMvaHcvdXNiLWhpZC5jCisrKyBiL3NyYy9ody91c2ItaGlkLmMKQEAgLTEsMjAgKzEs NDQgQEAKIC8vIENvZGUgZm9yIGhhbmRsaW5nIFVTQiBIdW1hbiBJbnRlcmZhY2UgRGV2aWNlcyAo SElEKS4KIC8vCiAvLyBDb3B5cmlnaHQgKEMpIDIwMDkgIEtldmlu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AgIHx8IGVwZGVzYy0+d01heFBhY2tldFNpemUgPiBNQVhfS0JEX0VWRU5U KSB7CkBAIC04NywxMCArMTA4LDE0IEBAIHVzYl9rYmRfc2V0dXAoc3RydWN0IHVzYmRldmljZV9z ICp1c2JkZXYKICAgICBpZiAocmV0KQogICAgICAgICBkcHJpbnRmKDMsICJXYXJuaW5nOiBGYWls ZWQgdG8gc2V0IGtleSByZXBlYXQgcmF0ZVxuIik7CiAKLSAgICBrZXlib2FyZF9waXBlID0gdXNi X2FsbG9jX3BpcGUodXNiZGV2LCBlcGRlc2MpOworICAgIHN0cnVjdCB1c2JfcGlwZSAqa2V5Ym9h cmRfcGlwZSA9IHVzYl9hbGxvY19waXBlKHVzYmRldiwgZXBkZXNjKTsKICAgICBpZiAoIWtleWJv YXJkX3BpcGUpCiAgICAgICAgIHJldHVybiAtMTsKIAorICAgIG11dGV4X2xvY2soJnVzYl9oaWRf bG9jayk7CisgICAga2V5Ym9hcmRfcGlwZV9ub2RlID0gYWRkX3BpcGVfbm9kZShrZXlib2FyZF9w aXBlX25vZGUsIGtleWJvYXJkX3BpcGUpOworICAgIG11dGV4X3VubG9jaygmdXNiX2hpZF9sb2Nr KTsKKwogICAgIGRwcmludGYoMSwgIlVTQiBrZXlib2FyZCBpbml0aWFsaXplZFxuIik7CiAgICAg cmV0dXJuIDA7CiB9CkBAIC0xMDksOSArMTM0LDYgQEAgdXNiX21vdXNlX3NldHVwKHN0cnVjdCB1 c2JkZXZpY2VfcyAqdXNiZGV2CiB7CiAgICAgaWYgKCEgQ09ORklHX1VTQl9NT1VTRSkKICAgICAg ICAgcmV0dXJuIC0xOwotICAgIGlmIChtb3VzZV9waXBlKQotICAgICAgICAvLyBYWFggLSB0aGlz IGVuYWJsZXMgdGhlIGZpcnN0IGZvdW5kIG1vdXNlIChjb3VsZCBiZSByYW5kb20pCi0gICAgICAg IHJldHVybiAtMTsKIAogICAgIGlmIChlcGRlc2MtPndNYXhQYWNrZXRTaXplIDwgc2l6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BpZiAocmV0KQotICAgICAgICAgICAgYnJlYWs7Ci0gICAg ICAgIGhhbmRsZV9rZXkoKHZvaWQqKWRhdGEpOworICAgIGZvciAoc3RydWN0IHBpcGVfbm9kZSAq bm9kZSA9IEdFVF9HTE9CQUwoa2V5Ym9hcmRfcGlwZV9ub2RlKTsgbm9kZTsgbm9kZSA9IEdFVF9H TE9CQUxGTEFUKG5vZGUtPm5leHQpKSB7CisgICAgICAgIHN0cnVjdCB1c2JfcGlwZSAqcGlwZSA9 IEdFVF9HTE9CQUxGTEFUKG5vZGUtPnBpcGUpOworCisgICAgICAgIGlmICghcGlwZSkKKyAgICAg ICAgICAgIGNvbnRpbnVlOworCisgICAgICAgIGZvciAoOzspIHsKKyAgICAgICAgICAgIHU4IGRh dGFbTUFYX0tCRF9FVkVOVF07CisgICAgICAgICAgICBpbnQgcmV0ID0gdXNiX3BvbGxfaW50cihw aXBlLCBkYXRhKTsKKyAgICAgICAgICAgIGlmIChyZXQpCisgICAgICAgICAgICAgICAgYnJlYWs7 CisgICAgICAgICAgICBoYW5kbGVfa2V5KCh2b2lkKilkYXRhKTsKKyAgICAgICAgfQogICAgIH0K IH0KIApAQCAtMzQ0LDcgKzM3NCwxMyBAQCB1c2Jfa2JkX2FjdGl2ZSh2b2lkKQogewogICAgIGlm ICghIENPTkZJR19VU0JfS0VZQk9BUkQpCiAgICAgICAgIHJldHVybiAwOwotICAgIHJldHVybiBH RVRfR0xPQkFMKGtleWJvYXJkX3BpcGUpICE9IE5VTEw7CisKKyAgICBmb3IgKHN0cnVjdCBwaXBl X25vZGUgKm5vZGUgPSBHRVRfR0xPQkFMKGtleWJvYXJkX3BpcGVfbm9kZSk7IG5vZGU7IG5vZGUg PSBHRVRfR0xPQkFMRkxBVChub2RlLT5uZXh0KSkgeworICAgICAgICBpZiAoR0VUX0dMT0JBTEZM QVQobm9kZS0+cGlwZSkpCisgICAgICAgICAgICByZXR1cm4gMTsKKyAgICB9CisKKyAgICByZXR1 cm4gMDsKIH0KIAogLy8gSGFuZGxlIGEgcHMyIHN0eWxlIGtleWJvYXJkIGNvbW1hbmQuCkBAIC0z OTAsMTYgKzQyNiwyMCBAQCB1c2JfY2hlY2tfbW91c2Uodm9pZCkKIHsKICAgICBpZiAoISBDT05G SUdfVVNCX01PVVNFKQogICAgICAgICByZXR1cm47Ci0gICAgc3RydWN0IHVzYl9waXBlICpwaXBl ID0gR0VUX0dMT0JBTChtb3VzZV9waXBlKTsKLSAgICBpZiAoIXBpcGUpCi0gICAgICAgIHJldHVy bjsKIAotICAgIGZvciAoOzspIHsKLSAgICAgICAgdTggZGF0YVtNQVhfTU9VU0VfRVZFTlRdOwot ICAgICAgICBpbnQgcmV0ID0gdXNiX3BvbGxfaW50cihwaXBlLCBkYXRhKTsKLSAgICAgICAgaWYg KHJldCkKLSAgICAgICAgICAgIGJyZWFrOwotICAgICAgICBoYW5kbGVfbW91c2UoKHZvaWQqKWRh dGEpOworICAgIGZvciAoc3RydWN0IHBpcGVfbm9kZSAqbm9kZSA9IEdFVF9HTE9CQUwobW91c2Vf cGlwZV9ub2RlKTsgbm9kZTsgbm9kZSA9IEdFVF9HTE9CQUxGTEFUKG5vZGUtPm5leHQpKSB7Cisg ICAgICAgIHN0cnVjdCB1c2JfcGlwZSAqcGlwZSA9IEdFVF9HTE9CQUxGTEFUKG5vZGUtPnBpcGUp OworCisgICAgICAgIGlmICghcGlwZSkKKyAgICAgICAgICAgIGNvbnRpbnVlOworCisgICAgICAg IGZvciAoOzspIHsKKyAgICAgICAgICAgIHU4IGRhdGFbTUFYX01PVVNFX0VWRU5UXTsKKyAgICAg ICAgICAgIGludCByZXQgPSB1c2JfcG9sbF9pbnRyKHBpcGUsIGRhdGEpOworICAgICAgICAgICAg aWYgKHJldCkKKyAgICAgICAgICAgICAgICBicmVhazsKKyAgICAgICAgICAgIGhhbmRsZV9tb3Vz ZSgodm9pZCopZGF0YSk7CisgICAgICAgIH0KICAgICB9CiB9CiAKQEAgLTQwOSw3ICs0NDksMTMg QEAgdXNiX21vdXNlX2FjdGl2ZSh2b2lkKQogewogICAgIGlmICghIENPTkZJR19VU0JfTU9VU0Up CiAgICAgICAgIHJldHVybiAwOwotICAgIHJldHVybiBHRVRfR0xPQkFMKG1vdXNlX3BpcGUpICE9 IE5VTEw7CisKKyAgICBmb3IgKHN0cnVjdCBwaXBlX25vZGUgKm5vZGUgPSBHRVRfR0xPQkFMKG1v dXNlX3BpcGVfbm9kZSk7IG5vZGU7IG5vZGUgPSBHRVRfR0xPQkFMRkxBVChub2RlLT5uZXh0KSkg eworICAgICAgICBpZiAoR0VUX0dMT0JBTEZMQVQobm9kZS0+cGlwZSkpCisgICAgICAgICAgICBy ZXR1cm4gMTsKKyAgICB9CisKKyAgICByZXR1cm4gMDsKIH0KIAogLy8gSGFuZGxlIGEgcHMyIHN0 eWxlIG1vdXNlIGNvbW1hbmQuCi0tIAoyLjQ2LjAKCg== --00000000000072aed506256b85ff Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ SeaBIOS mailing list -- seabios@seabios.org To unsubscribe send an email to seabios-leave@seabios.org --00000000000072aed506256b85ff--