Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5C6A7C433F5 for ; Tue, 16 Nov 2021 21:29:42 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9E16461465 for ; Tue, 16 Nov 2021 21:29:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9E16461465 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=valentin-vidic.from.hr Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94.2) (envelope-from ) id 1mn60s-00080c-Tn; Tue, 16 Nov 2021 16:29:10 -0500 Received: from valentin-vidic.from.hr ([2001:470:1f0b:3b7::1]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mn60r-0007zs-CY for kernelnewbies@kernelnewbies.org; Tue, 16 Nov 2021 16:29:09 -0500 X-Virus-Scanned: Debian amavisd-new at valentin-vidic.from.hr Received: by valentin-vidic.from.hr (Postfix, from userid 1000) id 5BFD026FBA; Tue, 16 Nov 2021 22:29:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=valentin-vidic.from.hr; s=2020; t=1637098140; bh=58IqXkNNy/n9v7hUO1zIeWdLjzBjcI3F8igMl9xWdeo=; h=Date:From:To:Subject:References:In-Reply-To:From; b=vmSfXHASN65IcIfoA6+SHfr9Qrtlo89P4T7S2hTB7XCLuioywS0YynMvabXhIgSIE tXSJqZXgewRE4M7yfeMrMp2yS37a53ID+KkTlhRvtto1wxJKXPzJB0/ZjMa/reSoEy lhguig4fN/nLzFwSdlFio/lFcX8czaVioq0hEMhit3CIS0MTb/zs80RBmcQIwu3E1Y TbpjaiyZtzyZyXIyknuvR+H1ujMK0qWQZpqnoUP5b+0ZE7rwIs8VLgpje9S6NeNP2V xkIabiBQ1EBonzst2KufvMTIkR5+Ds06JDfW7mYlAQasy/EMpr2y7d/Nm0b7+XZoxf DO+oUmn9Xt2rQo2UcTOV/80vBj0w12HN2q0CTvWV92HzQUmOU54S1N/EXSP9RWl1BU r73ENB/FMOqvMfjyR7PtzPhnZrsQPCGu8Qe4TKt+StPQ1Kl4tXPyZbXIgxuKemV+mJ 2Dt5qlSNeJOANrpEqwGVuCW9rMH7Lz/WUNSnrFh7FBtMTpDprmzBtGgMp0EcHDlCWP 4/tHyiYhhBLlzPljovB3uVx+V0W0rwOrhz98X0tduZ0l5Ju3DGMNhBdsBqOQHiYljr zJ6wUWDTEnMspzTD8/eC0YHjujTxw7C4EpiSeSLPxGA+07aH+H0zSI2YHI+X38WfI2 x8/2OgPL5xinjnHahTwcWHNw= Date: Tue, 16 Nov 2021 22:29:00 +0100 From: Valentin =?utf-8?B?VmlkacSH?= To: kernelnewbies@kernelnewbies.org Subject: Re: Does sysrq work over USB? Message-ID: References: <20211116140456.GA10235@alphanet.ch> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211116140456.GA10235@alphanet.ch> X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org On Tue, Nov 16, 2021 at 03:04:56PM +0100, Marc SCHAEFER wrote: > First, reading documentation, I thought that this would not be possible with > USB and only with the internal serial port [1], but then, reading kernel > source, it looks it should work with my adapter: > > Oct 11 14:30:56 apu2-init7 kernel: [ 9.915105] usb 2-2: pl2303 converter now attached to ttyUSB0 > > since the driver [2] contains code for magic sysrq, see line 993 for > sysrq mode and line 892 for break handling, with implementation in [3] > (lines 589-597). > > I am running Debian buster kernel 4.19.0-18-amd64 on the apu2. > > Should I abandon all hope to make it work with USB, or should it work? > > Thank your for any pointers. Do you have console=ttyUSB0,... set? What does /proc/consoles say? -- Valentin _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies