Skip to content

Instantly share code, notes, and snippets.

@danilogco
Forked from ChriRas/readme.md
Created February 24, 2022 20:20
Show Gist options
  • Select an option

  • Save danilogco/2b0194c5b0032ee69299340e7e3d345e to your computer and use it in GitHub Desktop.

Select an option

Save danilogco/2b0194c5b0032ee69299340e7e3d345e to your computer and use it in GitHub Desktop.

Revisions

  1. @ChriRas ChriRas revised this gist Nov 22, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion readme.md
    Original file line number Diff line number Diff line change
    @@ -32,6 +32,6 @@ pactl list short sources
    3 alsa_input.pci-0000_00_1f.3.analog-stereo module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
    ```
    5. Set your internal speaker as default
    `pactl set-default-source <DEVICE>` e.g. `ppactl set-default-source alsa_input.pci-0000_00_1f.3.analog-stereo`
    `pactl set-default-source <DEVICE>` e.g. `pactl set-default-source alsa_input.pci-0000_00_1f.3.analog-stereo`

    6. Repeat step 3.
  2. @ChriRas ChriRas revised this gist May 7, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion readme.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    ## Problem

    I have a notebook connected to a port replicator. I want to use the build in speakers and microfone and not the external ones.
    I have a notebook connected to a port replicator. I want to use the build-in speakers and microfone and not the external ones.
    If I boot my notebook in my port replicator Ubuntu changes the devices to external.

    ## Solution
  3. @ChriRas ChriRas revised this gist May 7, 2020. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions readme.md
    Original file line number Diff line number Diff line change
    @@ -16,11 +16,11 @@ pactl list short sinks
    `pactl set-default-sink <DEVICE>` e.g. `pactl set-default-sink alsa_output.pci-0000_00_1f.3.analog-stereo`

    3. Add to "Startup Applications" ("Startprogramme" in German)
    Open the application "Startup Applications" (Should be preinstalled on Ubuntu)
    Click on "Add"
    Give your startup item a name
    Copy your command from above into the command field.
    Click on "Save".
    - Open the application "Startup Applications" (Should be preinstalled on Ubuntu)
    - Click on "Add"
    - Give your startup item a name
    - Copy your command from above into the command field.
    - Click on "Save".

    4. Find your internal microfone
    ```
  4. @ChriRas ChriRas revised this gist May 7, 2020. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions readme.md
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,8 @@ If I boot my notebook in my port replicator Ubuntu changes the devices to extern
    ## Solution

    1. Find your internal speaker
    ```pactl list short sinks
    ```
    pactl list short sinks
    0 alsa_output.usb-Generic_USB_Audio_201405280001-00.analog-stereo module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
    1 alsa_output.pci-0000_00_1f.3.analog-stereo module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
    @@ -22,7 +23,8 @@ If I boot my notebook in my port replicator Ubuntu changes the devices to extern
    Click on "Save".

    4. Find your internal microfone
    ```pactl list short sources
    ```
    pactl list short sources
    0 alsa_output.usb-Generic_USB_Audio_201405280001-00.analog-stereo.monitormodule-alsa-card.c s16le 2ch 44100Hz SUSPENDED
    1 alsa_input.usb-Generic_USB_Audio_201405280001-00.iec958-stereo module-alsa-card.c s16le 2ch 44100Hz RUNNING
  5. @ChriRas ChriRas revised this gist May 7, 2020. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions readme.md
    Original file line number Diff line number Diff line change
    @@ -6,11 +6,11 @@ If I boot my notebook in my port replicator Ubuntu changes the devices to extern
    ## Solution

    1. Find your internal speaker
    `pactl list short sinks
    ```pactl list short sinks
    0 alsa_output.usb-Generic_USB_Audio_201405280001-00.analog-stereo module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
    1 alsa_output.pci-0000_00_1f.3.analog-stereo module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
    `
    ```
    2. Set your internal speaker as default
    `pactl set-default-sink <DEVICE>` e.g. `pactl set-default-sink alsa_output.pci-0000_00_1f.3.analog-stereo`

    @@ -22,13 +22,13 @@ If I boot my notebook in my port replicator Ubuntu changes the devices to extern
    Click on "Save".

    4. Find your internal microfone
    `pactl list short sources
    ```pactl list short sources
    0 alsa_output.usb-Generic_USB_Audio_201405280001-00.analog-stereo.monitormodule-alsa-card.c s16le 2ch 44100Hz SUSPENDED
    1 alsa_input.usb-Generic_USB_Audio_201405280001-00.iec958-stereo module-alsa-card.c s16le 2ch 44100Hz RUNNING
    2 alsa_output.pci-0000_00_1f.3.analog-stereo.monitor module-alsa-card.c s16le 2ch 48000Hz SUSPENDED
    3 alsa_input.pci-0000_00_1f.3.analog-stereo module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
    `
    ```
    5. Set your internal speaker as default
    `pactl set-default-source <DEVICE>` e.g. `ppactl set-default-source alsa_input.pci-0000_00_1f.3.analog-stereo`

  6. @ChriRas ChriRas created this gist May 7, 2020.
    35 changes: 35 additions & 0 deletions readme.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,35 @@
    ## Problem

    I have a notebook connected to a port replicator. I want to use the build in speakers and microfone and not the external ones.
    If I boot my notebook in my port replicator Ubuntu changes the devices to external.

    ## Solution

    1. Find your internal speaker
    `pactl list short sinks

    0 alsa_output.usb-Generic_USB_Audio_201405280001-00.analog-stereo module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
    1 alsa_output.pci-0000_00_1f.3.analog-stereo module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
    `
    2. Set your internal speaker as default
    `pactl set-default-sink <DEVICE>` e.g. `pactl set-default-sink alsa_output.pci-0000_00_1f.3.analog-stereo`

    3. Add to "Startup Applications" ("Startprogramme" in German)
    Open the application "Startup Applications" (Should be preinstalled on Ubuntu)
    Click on "Add"
    Give your startup item a name
    Copy your command from above into the command field.
    Click on "Save".

    4. Find your internal microfone
    `pactl list short sources

    0 alsa_output.usb-Generic_USB_Audio_201405280001-00.analog-stereo.monitormodule-alsa-card.c s16le 2ch 44100Hz SUSPENDED
    1 alsa_input.usb-Generic_USB_Audio_201405280001-00.iec958-stereo module-alsa-card.c s16le 2ch 44100Hz RUNNING
    2 alsa_output.pci-0000_00_1f.3.analog-stereo.monitor module-alsa-card.c s16le 2ch 48000Hz SUSPENDED
    3 alsa_input.pci-0000_00_1f.3.analog-stereo module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
    `
    5. Set your internal speaker as default
    `pactl set-default-source <DEVICE>` e.g. `ppactl set-default-source alsa_input.pci-0000_00_1f.3.analog-stereo`

    6. Repeat step 3.