View previous topic :: View next topic |
Author |
Message |
EvanFoss n00b
Joined: 12 Oct 2019 Posts: 12
|
Posted: Mon Sep 23, 2024 3:50 pm Post subject: Framework 16 |
|
|
Hi (again),
I have been trying to install gentoo on my Framework 16 laptop. I think I have found an issue with the wiki entry for it.
https://wiki.gentoo.org/wiki/Framework_Laptop_16
The entry is marked as incomplete so I am bouncing between it, the suggested entry for the 13" variant and of course the AMD64 variation of the gentoo installation handbook.
I think I have everything working except for 2 issues (keyboard/usb and sound). All the firmware loads correctly and the ALSA devices appear for sound, video, wifi, and microcode. The ALSA devices for sound appear so I think I just need to set some defaults. I can work that problem on my own but I want to mention it in case it's somehow connected. The real issue is the keyboard which I think is connected to the USB issues.
When I boot off the minimal installer iso the keyboard and all the USB ports appear. Here is an lsusb of that:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 046d:c33a Logitech, Inc. G413 Gaming Keyboard
Bus 001 Device 003: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 004: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 005: ID 32ac:0003 Framework DisplayPort Expansion Card
Bus 001 Device 006: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 007: ID 0781:5567 SanDisk Corp. Cruzer Blade
Bus 001 Device 008: ID 0e8d:e616 MediaTek Inc. Wireless_Device
Bus 001 Device 009: ID 27c6:609c Shenzhen Goodix Technology Co.,Ltd. Goodix USB2.0 MISC
Bus 001 Device 010: ID 32ac:0012 Framework Laptop 16 Keyboard Module - ANSI
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 05e3:0625 Genesys Logic, Inc. USB3.2 Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
When I boot of the kernel I manually configured I don't see 2 of the USB ports and the built in keyboard is missing:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 003: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 004: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 005: ID 0e8d:e616 MediaTek Inc. Wireless_Device
Bus 001 Device 006: ID 046d:c33a Logitech, Inc. G413 Gaming Keyboard
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 05e3:0625 Genesys Logic, Inc. USB3.2 Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
I suspect there is a builtin USB hub that connects those 2 USB C ports and the keyboard to the rest of the machine.
I have tried booting off the installer and removing modules to see if I could find the one I need in my config. I have tried re-re-rechecking my config against the listing in the wiki. It's unclear to me what I am missing. I don't see anything in the wiki for the 13" config that is related so I assume that model has a very different architecture (i mean it's also intel vs amd so...) I would really appreciate any pointers someone could provide on this.
PS: To anyone else setting one of these up who gets a "super early kernel panic" like this
https://forums.gentoo.org/viewtopic-p-8814070.html?sid=e99a997e93673bb79dd3a14701d666ce
Try turning AMDGPU from built-in to a module. |
|
Back to top |
|
|
EvanFoss n00b
Joined: 12 Oct 2019 Posts: 12
|
Posted: Mon Sep 23, 2024 5:27 pm Post subject: |
|
|
As an added data point: I tried using the USB keyboard and a thumbdrive I know work with the machine via the working USB-A port on a USB hub (usb 2.0) in the USB port that works in my configured kernel. Now maybe this is because it's a USB2.0 device in a much more modern situation (unlikely) or more likely I bungled what ever settings are needed to make hubs work in general. |
|
Back to top |
|
|
EvanFoss n00b
Joined: 12 Oct 2019 Posts: 12
|
Posted: Mon Sep 23, 2024 10:03 pm Post subject: |
|
|
I got the sound working. It was just a configuration issue.
I am still stuck on this keyboard/usb thing. |
|
Back to top |
|
|
sinatosk n00b
Joined: 04 Sep 2024 Posts: 9
|
|
Back to top |
|
|
EvanFoss n00b
Joined: 12 Oct 2019 Posts: 12
|
Posted: Fri Sep 27, 2024 2:05 am Post subject: |
|
|
The keyboard was just never working and I was going nuts checking and rechecking the settings in the wiki. Turns out I was being stupid. Sorry forum members this wasn't some grand technical problem. It was PEBKAC.
I went back to my desktop and looked at it's kernel config and was about to compare it to my laptop config when I realized an option existed that I never noticed before.
[ ] Disable external hubs
Yeah I had accidentally set that to Yes in my laptop build...
Again my apologies for wasting everyone's time reading this thread. |
|
Back to top |
|
|
|