NetBSD-Users archive

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

Re: Experience with NetBSD on 13-gen Framework 13 laptop



Op maandag 5 juni 2023 19:15:05 CEST schreef Manuel Bouyer:
> > OK - so it's working as a basic mouse on NetBSD, but not as a two
> > finger capable device. I'm... going to have to drop out and hope
> > someone else knowing more can chime in :)
> 
> It looks like it's a I2C HID device. We have a driver for this:
> # DesignWare I2C controller as found in some Intel PCH and AMD FCH devices.
> dwiic*          at acpi?                # DesignWare I2C controller
> dwiic*          at pci?                 # DesignWare I2C controller
> iic*            at dwiic?
> 
> # I2C HID devices
> ihidev* at iic?
> 
> # I2C Mice
> ims*    at ihidev? reportid ?
> wsmouse* at ims? mux 0
> 
> The i2c controller are probably:
> [     1.050437] Intel 600 Series PCH-LP I2C 0 (miscellaneous serial bus, revision 0x01) at pci0 dev 21 function 0 not configured
> [     1.050437] Intel 600 Series PCH-LP I2C 1 (miscellaneous serial bus, revision 0x01) at pci0 dev 21 function 1 not configured
> [     1.050437] Intel 600 Series PCH-LP I2C 3 (miscellaneous serial bus, revision 0x01) at pci0 dev 21 function 3 not configured
> 
> (this matches the linux dmesg). So you could try rebuilding a kernel with
> this patch:
> Index: sys/arch/x86/pci/dwiic_pci.c
> ===================================================================

Thanks for diving in there and suggesting a patch! I've rebuilt with
the patch but it appears dwiic fails to configure the devices:

[     1.052303] dwiic0 at pci0 dev 21 function 0autoconfiguration error: : can't map register space
[     1.052303] dwiic1 at pci0 dev 21 function 1autoconfiguration error: : can't map register space
[     1.052303] dwiic2 at pci0 dev 21 function 3autoconfiguration error: : can't map register space

No further mention of dwiic beyond that.




Home | Main Index | Thread Index | Old Index