NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/59206



The following reply was made to PR kern/59206; it has been noted by GNATS.

From: Hans Rosenfeld <hans%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/59206
Date: Sun, 23 Mar 2025 09:34:15 +0100

 This Thinkpad X270 has a touchscreen that is internally connected
 through USB. This seems to be the culprit:
 
 [   4.5967218] uhidev0 at uhub1 port 10 configuration 1 interface 0
 [   4.6267147] uhidev0: ELAN (0x04f3) Touchscreen (0x237b), rev 2.00/57.03, addr 5, iclass 3/0
 [   4.6567148] uhidev0: 68 report ids
 [   4.6867155] uts0 at uhidev0 reportid 1
 [   4.7067147] wsmouse1 at uts0 mux 0
 [   4.7367149] uhid0 at uhidev0 reportid 2: input=64, output=0, feature=0
 [   4.7667146] uhid1 at uhidev0 reportid 3: input=0, output=63, feature=0
 [   4.7967149] uhid2 at uhidev0 reportid 4: input=19, output=0, feature=0
 [   4.8167146] uhid3 at uhidev0 reportid 10: input=0, output=0, feature=1
 [   4.8467146] uhid4 at uhidev0 reportid 68: input=0, output=0, feature=256
 
 Now that I've identified this, I was able to change the DIAGNOSTIC check
 in sys/dev/usb/uts.c for a quick test, and then I got this:
 
 [  40.4167109] wsmuxopen: dev already in use
 [  50.9066988] uts_disable: not enabled
 [  50.9066988] panic: kernel diagnostic assertion "scd->sc_state & UHIDEV_OPEN" failed: file "../../../../dev/usb/uhidev.c", line 978 uhidev0: report id 1: unpaired close
 [  50.9066988] cpu0: Begin traceback...
 [  50.9066988] vpanic() at netbsd:vpanic+0x183
 [  50.9066988] kern_assert() at netbsd:kern_assert+0x4b
 [  50.9066988] uhidev_close() at netbsd:uhidev_close+0x266
 [  50.9066988] wsmouse_mux_close() at netbsd:wsmouse_mux_close+0x29
 [  50.9066988] wsmux_do_close() at netbsd:wsmux_do_close+0x57
 [  50.9066988] wsmuxclose() at netbsd:wsmuxclose+0x41
 [  50.9066988] cdev_close() at netbsd:cdev_close+0x92
 [  50.9166976] spec_close() at netbsd:spec_close+0x22a
 [  50.9166976] VOP_CLOSE() at netbsd:VOP_CLOSE+0x44
 [  50.9166976] vn_close() at netbsd:vn_close+0x35
 [  50.9166976] closef() at netbsd:closef+0x60
 [  50.9166976] fd_close() at netbsd:fd_close+0x141
 [  50.9166976] sys_close() at netbsd:sys_close+0x22
 [  50.9166976] syscall() at netbsd:syscall+0x196
 [  50.9166976] --- syscall (number 6) ---
 [  50.9166976] netbsd:syscall+0x196:
 [  50.9166976] cpu0: End traceback...
 


Home | Main Index | Thread Index | Old Index