From nobody Sun Jul 23 12:39:30 2023 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 4R82tQ3HpQz4nbFH for ; Sun, 23 Jul 2023 12:39:42 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4R82tN32YCz4X71 for ; Sun, 23 Jul 2023 12:39:40 +0000 (UTC) (envelope-from wojtek@puchar.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=puchar.net header.s=default header.b=WRPik7hp; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net; dmarc=none Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.17.1) with ESMTPS id 36NCdVCX074127 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 23 Jul 2023 14:39:32 +0200 (CEST) (envelope-from wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1690115972; bh=u9vXIOzoo0OckAppEtFJYGT11Ud847I0MYPaY4uPLJE=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=WRPik7hpaGR4wqtkFcKUqDz3gHxZC9/SLxQ0xUW0ukDK98bwzSveyfuzDNiV841Y7 c7knoTJF9+Ly20SNxJVTmtICbznOKaS1sfdyVkBePwAt9+34GRqgfVoUYXtBQaYIMe T3IeU4xenTYYFNfinlReYwqYbS5dTnbbLbJ2nugQ= Received: from wojtek.intra (localhost [127.0.0.1]) by wojtek.intra (8.16.1/8.16.1) with ESMTP id 36NCdV7v001582; Sun, 23 Jul 2023 14:39:31 +0200 (CEST) (envelope-from wojtek@puchar.net) Received: from localhost (wojtek@localhost) by wojtek.intra (8.16.1/8.16.1/Submit) with ESMTP id 36NCdUUb001579; Sun, 23 Jul 2023 14:39:31 +0200 (CEST) (envelope-from wojtek@puchar.net) X-Authentication-Warning: wojtek.intra: wojtek owned process doing -bs Date: Sun, 23 Jul 2023 14:39:30 +0200 (CEST) From: Wojciech Puchar To: Andrea Venturoli cc: freebsd-hackers@freebsd.org Subject: Re: new laptop ASUS vivobook max X541SA problem In-Reply-To: <0a8cdab8-5c7a-4bf2-31d0-7069ee759902@netfence.it> Message-ID: References: <5e5458d7-216e-cb39-3bfc-8ce8eb81d329@puchar.net> <0a8cdab8-5c7a-4bf2-31d0-7069ee759902@netfence.it> 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 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[puchar.net:s=default]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[puchar.net:+]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; BLOCKLISTDE_FAIL(0.00)[194.1.144.90:server fail]; HAS_XAW(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; DMARC_NA(0.00)[puchar.net]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4R82tN32YCz4X71 X-Spamd-Bar: --- for hms or hmt working at first iichid must work but doesn't. anyway i tried loading what you specified - no effect. > _On 7/20/23 17:37, Wojciech Puchar wrote: >> everything works under FreeBSD except touchpad >> i can use this computer without problem after connecting external USB mouse >> but >> it's not how i like it ;) >> iicbus0: on ig4iic0 >> iichid0: at addr 0x15 on iicbus0 >> iichid0: Interrupt setup failed >> >> how to fix it? thank you >> > > Hello. > > I know nothing about your laptop, so this is a shot in the dark... but I'll > compare with mine (StarLite). > > > > First, I get "Interrupt setup failed"; actually, I get "Interrupt setup > failed. Fallback to sampling". the problem is that it doesn't fallback to sampling i think. what i found in sources #ifdef IICHID_SAMPLING device_printf(sc->dev, "Interrupt setup failed. Fallback to sampling\n"); sc->sampling_rate_slow = IICHID_SAMPLING_RATE_SLOW; #else added options IICHID_SAMPLING compiled kernel and works now. iichid0: at addr 0x15 on iicbus0 iichid0: Interrupt setup failed. Fallback to sampling hidbus0: on iichid0 hms0: on hidbus0 works completely, no problems. thank you very much