Yesterday I have tried to plug in USB serial cable into my PineTab but unfortunately it wasn't recognized by the kernel - probably because the kernel module for it isn't included in the defconfig. I would suggest basing our config on a config that has more modules enabled by default (Alpine linux*?, Arch Linux config?).
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items 0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items 0
Link issues together to show that they're related.
Learn more.
I think this is kind of related to https://gitlab.com/postmarketOS/pmbootstrap/issues/1824 (the kernel config fragment idea that I explained there). The issue is kind of stuck because there is not really any good tooling for managing such kernel config fragments.
But my point is that (manually) adjusting each of our kernel forks to include this and that driver is a lot of (duplicated) work. If someone takes the time to make a proper kernel config, all other kernels will still lack the driver someone cares about.
At some point, I made such a (comparatively large) kernel configuration based on Arch Linux for asus-me176c. It's not exactly fun to go through everything for a couple of hours, to make sure you have what you need but at the same time don't compile 5 GBs of drivers that are not relevant at all.
My idea was that there is one shared kernel config fragment that you can go to, add your USB serial driver for example, and then it would appear at least in all our mainline kernels. (It's probably not safe to do this for downstream kernels - they would easily run into compile or runtime errors...) I personally think this is an idea worth exploring, but it definitely needs more discussion.
So the pine* serial cable uses CONFIG_USB_SERIAL_CH341 (module name ch341) and it is enabled in the linux-lts config from Alpine so I'm fine with that.
Maybe we can use megis pinephone_defconfig (https://megous.com/git/linux/commit/?h=pp-5.5&id=70fe04f93fcf95b28519ce069a26ed2c7343cf4e) as "modules we need for the pinephone" and enable the couple we need for pinetab & a64lts?
I'm pushing a commit to the integration/pinephone branch for now which enables CONFIG_USB_SERIAL_CH341 because I definitely want that ASAP