x205ta-create-iso.zip

安装

1.从官网下载地址Ubuntu20.4
2.下载附件x205ta-create-iso.zip并解压得到x205ta-create-iso.sh
3. 在脚本目录下运行
sudo bash x205ta-create-iso.sh  /filepath/Ubuntu20.4.iso
3.使用Rufus把iso制作成启动盘。(fat32 8196)
5.插入U盘,U盘启动安装即可安装成功。
6.安装新内核/修复一些bug 包括蓝牙/耳机等。。。

蓝牙问题修复:

  1. 下载这个驱动:
    sudo wget https://raw.githubusercontent.com/harryharryharry/x205ta-iso2usb-files/master/BCM43341B0.hcd -O /lib/firmware/brcm/BCM43341B0.hcd
  2. 查询蓝牙的MAC address
    hciconfig -a
    3.systemd添加一个服务 /etc/systemd/system/bluetooth-addr.service:

    [Unit]
    Description=Set Bluetooth device address
    After=bluetooth.service
    Requires=bluetooth.service

    [Service]
    ExecStart=/usr/bin/btmgmt -i hci0 public-addr {YOUR_BLUETOOTH_MAC_ADDRESS}
    Restart=on-failure

    [Install]
    WantedBy=bluetooth.target

然后启用自启动,启动服务:

sudo systemctl enable bluetooth-addr.service
sudo systemctl start bluetooth-addr.service

蓝牙问题修复 vim /etc/modprobe.d/50-x205ta.conf,添加以下代码:

options snd_soc_rt5645 quirk=0x31
blacklist snd_hdmi_lpe_audio #(only necessary if this module is built, but better safe than sorry)
blacklist btsdio #(not necessary for headphones support, but this module breaks wifi during suspend on the x205ta so it makes sense to blacklist it here anyway)

安装pavucontrol 选择输出源,目前还不能自动实现切换,所以需要这个工具切换。
install pavucontrol
run 'pavucontrol' and select 'speakers' instead of 'headphones'

部分配置/优化

1.修改声卡Headphone修改为扬声器

pacmd list-sinks 列出所有输出设备。

1 sink(s) available.
  * index: 0
    name: <alsa_output.platform-cht-bsw-rt5645.HiFi__hw_chtrt5645__sink>
    driver: <module-alsa-card.c>
    flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
    state: SUSPENDED
    suspend cause: IDLE
    priority: 9000
    volume: front-left: 83230 / 127% / 6.23 dB,   front-right: 83230 / 127% / 6.23 dB
            balance 0.00
    base volume: 65536 / 100% / 0.00 dB
    volume steps: 65537
    muted: no
    current latency: 0.00 ms
    max request: 0 KiB
    max rewind: 0 KiB
    monitor source: 0
    sample spec: s16le 2ch 48000Hz
    channel map: front-left,front-right
                 Stereo
    used by: 0
    linked by: 0
    configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
    card: 1 <alsa_card.platform-cht-bsw-rt5645>
    module: 8
    properties:
        alsa.resolution_bits = "16"
        device.api = "alsa"
        device.class = "sound"
        alsa.class = "generic"
        alsa.subclass = "generic-mix"
        alsa.name = ""
        alsa.id = "1"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        alsa.device = "0"
        alsa.card = "0"
        alsa.card_name = "chtrt5645"
        alsa.long_card_name = "ASUSTeKCOMPUTERINC.-X205TA-1.0-X205TA"
        alsa.driver_name = "snd_soc_sst_cht_bsw_rt5645"
        device.bus_path = "platform-cht-bsw-rt5645"
        sysfs.path = "/devices/platform/80860F28:00/cht-bsw-rt5645/sound/card0"
        device.form_factor = "internal"
        device.string = "hw:chtrt5645"
        device.buffering.buffer_size = "384000"
        device.buffering.fragment_size = "192000"
        device.access_mode = "mmap+timer"
        device.profile.name = "HiFi: hw:chtrt5645: sink"
        device.profile.description = "Headphones + Speaker"
        device.description = "Built-in Audio Headphones + Speaker"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card"
    ports:
        [Out] Headphones: Headphones (priority 100, latency offset 0 usec, available: yes)
            properties:
                
        [Out] Speaker: Speaker (priority 100, latency offset 0 usec, available: no)
            properties:
                
    active port: <[Out] Headphones>

使用以下命令修改默认输出设备为扬声器。如果需要开机自动切换,请添加一下代码到 /etc/pulse/default.pa结尾。

set-sink-port 0 [Out] Speaker
2.Language Support里面切换输入法为fcitx,安装中文输入法
sudo apt install fcitx-googlepinyin

在输入法里面添加谷歌拼音输入法。在输入法设置里面去掉繁体转换。

最后修改:2022 年 08 月 23 日
如果觉得我的文章对你有用,请随意赞赏