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



On Mon, 5 Jun 2023 at 16:37, Sijmen J. Mulder <ik%sjmulder.nl@localhost> wrote:
>
> > >  - X and console use 1024x768 or something rather than the native
> > >    resolution or whatever the UEFI firmware sets up/suggests.
> >
> > If you drop into the bootloader does "gop" report any other useful
> > resolutions? - I hit the same issue on a ThinkPad T495, but now happy
> > in 1920x1080 with genfb0
>
> gop lists:
>
>  0: 2256x1504 BGRR pitch 2256 bpp 32
>  1: 640x480 BGRR pitch 640 bpp 32
> *2: 800x600 BGRR pitch 800 bpp 32
>  3: 1024x768 BGRR pitch 1024 bpp 32
> ...
>
> During kernel boot modesetting appears to happen (or just fonts?) and
> once in X, xrandr reports:
>
>  Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 768
>
> If on the boot prompt I enter 'gop 0' it switches to the native
> resolution with tiny font (as expected). When booting, the font changes
> something reasonable and in X I get native resolution and
> appropriately-sized, high-resolution fonts. Nice!
>
> The console appears to use either a lower resolution mode or a low
> resolution bitmap font. I'm not sure how to verify.

You can adjust /boot.cfg to automatically run the gop command - add or
update an entry as:

menu=Boot with gop 0:rndseed /var/db/entropy-file;gop 0;boot

> > >  - Touchpad doesn't work.
> >
> > So pms0 at pckbc1 is detected, but no additional information (such as:
> >
> > pms0 at pckbc1 (aux slot)
> > pms0: Synaptics touchpad version 10.32
> > pms0: Extended W mode, Passthrough, Palm detect, One button click pad,
> > Multi-finger Report, Multi-finger, Reports max, Reports min
> > pms0: Probed max coordinates right: 5678, top: 4694
> > pms0: Probed min coordinates left: 1266, bottom: 1162
> > wsmouse0 at pms0 mux 0
> >
> > Do you know offhand how Linux reports the touchpad?
>
> Don't know what happened but when testing now, still on the same
> original install, my touchpad does work although seemingly without
> right-click or scrolling support. Hand-copying dmesg output:
>
>  pms0 at pckbc1 (aux slot)
>  pckbc1: using irq 12 for aux slot
>  wsmouse0 at pms0 mux 0
>
> For Linux, these seem to be the relevant bits from the Fedora 38
> installation:
>
> [    3.776427] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input4
> [    3.828419] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=1 'systemd'
> [    3.850162] usb 3-9: new full-speed USB device number 4 using xhci_hcd
> [    3.932086] input: FRMW0001:00 32AC:0006 Wireless Radio Control as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-FRMW0001:00/0018:32AC:0006.0002/input/input5
> [    3.932217] input: FRMW0001:00 32AC:0006 Consumer Control as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-FRMW0001:00/0018:32AC:0006.0002/input/input6
> [    3.932252] input: FRMW0001:00 32AC:0006 as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-FRMW0001:00/0018:32AC:0006.0002/input/input7
> [    3.932291] hid-generic 0018:32AC:0006.0002: input,hidraw1: I2C HID v1.00 Device [FRMW0001:00 32AC:0006] on i2c-FRMW0001:00
> [    3.939039] input: PIXA3854:00 093A:0274 Mouse as /devices/pci0000:00/0000:00:15.3/i2c_designware.2/i2c-2/i2c-PIXA3854:00/0018:093A:0274.0003/input/input8
> [    3.951140] input: PIXA3854:00 093A:0274 Touchpad as /devices/pci0000:00/0000:00:15.3/i2c_designware.2/i2c-2/i2c-PIXA3854:00/0018:093A:0274.0003/input/input9
> [    3.963142] hid-generic 0018:093A:0274.0003: input,hidraw2: I2C HID v1.00 Mouse [PIXA3854:00 093A:0274] on i2c-PIXA3854:00
> ...
> [    4.031656] input: PIXA3854:00 093A:0274 Mouse as /devices/pci0000:00/0000:00:15.3/i2c_designware.2/i2c-2/i2c-PIXA3854:00/0018:093A:0274.0003/input/input10
> [    4.031750] input: PIXA3854:00 093A:0274 Touchpad as /devices/pci0000:00/0000:00:15.3/i2c_designware.2/i2c-2/i2c-PIXA3854:00/0018:093A:0274.0003/input/input11
> [    4.031800] hid-multitouch 0018:093A:0274.0003: input,hidraw1: I2C HID v1.00 Mouse [PIXA3854:00 093A:0274] on i2c-PIXA3854:00
>
> Full pre-login dmesg attached.

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 :)

David


Home | Main Index | Thread Index | Old Index