Samsung Pen S NT950SBE - Ubuntu 20.04 : EGPU setup + ALC298 Audio Fix (not yet internal speaker) + UIM 한글 hangul

Laptop spec :

CPU : intel i5-8265U
GPU0 : intel UHD Graphics 620
GPU1 : NVIDIA GeForce MX 150
EGPU : Zotax Amp Box mini + 1050 TI
MEM : 8G
PORT : TB3



1. Egpu Setup

i) Install proper graphic driver at
settings -> About -> Software Updates -> Additional Drivers
(my case nvidia-driver-440 works fine)



ii) Install epu-switcher by hertg

sudo add-apt-repository ppa:hertg/egpu-switcher
sudo apt update
sudo apt install egpu-switcher
sudo egpu-switcher setup



and reboot

ERROR) If it doesn't work, change nvidia-driver and reboot.



2. ALC298 sound card problem

Internal speaker and headphone doesn't work in Ubuntu.

This problem is common in laptop using ALC298 sound card.

following link is about this bug
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1851518

at /lib/firmware/alc298-sound-patch.fw,

[codec]
0x10ec0298 0x144dc812 0

[model]
auto

[verb]
0x1a 0x707 0xc5

at /etc/modprobe.d/alc298-sound-patch.conf,

options snd-hda-intel patch=alc298-sound-patch.fw,alc298-sound-patch.fw,alc298-sound-patch.fw,alc298-sound-patch.fw

Internal speaker not fixed yet.


3. UIM Korean/English switch by HangulKey 한영키

i) install uim, uim-byeoru

sudo apt install uim uim-byeoru


ii) set input method

language support -> keyboard input method system -> uim


iii) Directly change keymap RALT-> HNGL, RCTL -> HJCV.
 
cd /usr/share/X11/xkb/keycodes

sudo vim evdev

Then find RALT, RCTL and comment out (using //)
and replace HNGL with keycode of RALT, HJCV with RCTL.



After you change, you must check there is no duplicated keycode.


Reboot.


iiii) uim setting.

superkey + search uim

Check following box




Byeoru key bindings 1
[Byeoru] on and off -> Edit -> Grab -> 한영키 -> Add

























[Byeoru] convert Hangul to Chinese -> same as above except grab 한자키

Reboot.


Comments

Popular Posts