Community suggested kernel modules for the Jolla Tablet

asked 2015-01-31 18:21:30 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2015-02-02 13:04:05 +0300

tbr gravatar image

During the community meeting at FOSDEM it came up that users will want to use USB devices with their Jolla. This post will serve as a Wiki to collect driver names (both friendly name and kernel config option):

  • USB
    • USB serial: CONFIG_USB_ACM, CONFIG_USB_SERIAL CONFIG_USB_SERIAL_GENERIC and pretty much all below it, especially CONFIG_USB_SERIAL_OPTION (for USB mobile network modems)
    • Mass storage, aka USB-sticks and external drives CONFIG_USB_STORAGE
    • Webcam drivers - CONFIG_USB_VIDEO_CLASS, CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV and dependencies
  • HID - CONFIG_USB_HID



  • additional non USB:
    • KVM - KVM_INTEL
    • Kernel namespaces: PID, FS -- CONFIG_PID_NS, …
edit retag flag offensive close delete

Comments

3

USB HID devices would be nice to have.

mikelima ( 2015-01-31 20:53:31 +0300 )edit

@mikelima USB HID is something you can load as module, close to everything not required for booting or for actually register the device for later use may be sideloaded later (sry if I misunderstand you, I understand why s/o wants serial support but plain USB HID is of no use at first). For example if you want to boot from a USB 1.0 device you need to have it built in, if you do not need it to boot you can have it as module. The recovery kernel otoh would come handy with USB HID for the rescue-shell.

chemist ( 2015-01-31 21:59:54 +0300 )edit

@chemist: sorry, I understood the question as which kernel modules would come handy in general, and USB HID would be useful for keyboard, mice, external sound cards... Of course they can be built at any time, but being able to depend on them would be a plus. Anyway, if this is out of scope, maybe the question should be clarified.

mikelima ( 2015-01-31 22:40:31 +0300 )edit

ah, yeah sry, I misread... I thought about built-in but this is about modules, go ahead and pretend I am not here! -.-

chemist ( 2015-01-31 22:44:56 +0300 )edit
3

This list is about making it largely unnecessary for the most common use cases to "sideload" modules of unknown provenance. I tend to trust Jolla much more than a RPM file of unknown origin and no clear relation to source code used. Also not every user is capable to build their own kernel modules or the kernel modules would necessitate changes to built-ins and thus loading a whole custom kernel.

tbr ( 2015-02-02 13:02:44 +0300 )edit

noob question, to support e.g. external soundcards, will it be necessary to load a specific module for each model or is a general module for certain "classes of soundcards" possible/existant?. I do not want to suggest adding my ancient "umix44 soundcard" to be loaded if its module is not necessary to others and only would bloat the kernel... i'd rather try loading it myself then.

mosen ( 2015-02-02 13:55:10 +0300 )edit
1

All Linux supported USB audio card use the USB HID audio driver as far as I know. There may be specialty cards that need custom drivers, but they are not likely to work on Linux anyway. There is the question on how well the cards support the standard, and they may be quirky, but at least some basic support should be there.

Of course, the fact that the module is loaded does not mean the Sailfish stack can switch to an external card transparently... Still, it should be possible to use it with, say a port of audacity by bypassing the pulse audio stack and open the raw audio device.

mikelima ( 2015-02-02 14:01:13 +0300 )edit
1

"USB mobile network modems" like the Jolla with USB ethering enabled ? Sure ! Need ! This way, 3.5G support becomes less necessary. Anyway, my ISP does not support SIM card in tablets.

TNZ ( 2015-02-03 12:38:13 +0300 )edit

3 points / ideas :

  • What if iSCSI module/deamon/listener on a network interface over USB (seen on NAS) ?
  • And an activable SSH deamon (outside developer mode) for SSHFS and other SFTP ?
  • Module support for a video output over USB ?
TNZ ( 2015-02-06 12:56:14 +0300 )edit

+1 for USB HID

arg0 ( 2015-03-06 17:40:11 +0300 )edit