Sxmo - Simple X Mobile Released for the Pinephone (new minimalistic UI & image)
(11-28-2020, 05:41 PM)hiimtye Wrote: update: I can select different devices, but selecting speakers powers them on, but no sound comes through them
so I resolved this, by accident. when I was configuring my conky display, I set my old tconk.sh script to run, and one of my extra config options in it is to swap in a .asoundrc depending on what sound system I'm using (I have one for pulse/OSS, one for pulse/alsa, one for alsa/dmix). I swapped in the pulse/alsa one (as that's the one I use on my PC, which the script is configured for) and lost sound. I swapped in the alsa/dmix one and the speakers work fine now. for reference, here's my alsa/dmix .asoundrc:


Code:
# This configuration works for sharing sound in WINE and normal apps
pcm.my_card {
    type hw
    card 0
    device 0
}

ctl.my_card {
  type hw
  card 0
}

pcm.dmixed {
    type dmix
    ipc_key 1024
    slave {
        pcm "my_card"
    period_time 0
    period_size 1024
    buffer_size 8192
    rate 44100
    #format "S32_LE"
    #periods 128
    }
}

ctl.dmixed {
  type hw
  card 0
}

pcm.dsnooped {
    type dsnoop
    ipc_key 2048
    slave {
        pcm "my_card"
    }
}

ctl.dsnooped {
  type hw
  card 0
}

pcm.asymed {
    type asym
    playback.pcm "dmixed"
    capture.pcm "dsnooped"
}

ctl.asymed {
  type hw
  card 0
}

pcm.pasymed {
    type plug
    slave.pcm "asymed"
}

ctl.pasymed {
  type hw
  card 0
}

pcm.dsp0 {
    type plug
    slave.pcm "asymed"
}

ctl.dsp0 {
  type hw
  card 0
}

pcm.!default {
    type plug
    slave.pcm "asymed"
}

ctl.!default {
  type hw
  card 0
}


Messages In This Thread
RE: Sxmo - Simple X Mobile Released for the Pinephone (new minimalistic UI & image) - by hiimtye - 12-17-2020, 10:41 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PostmarketOS sxmo pinephone keyboard keymaps? afwtioane 2 2,237 09-11-2022, 04:37 AM
Last Post: manubert
  sxmo pim nextcloud Uturn 8 6,510 02-22-2022, 03:23 PM
Last Post: TRS-80
  Battery life on sxmo xark 1 2,199 02-12-2022, 10:07 AM
Last Post: TRS-80
  Official Channels for Sxmo Support anjanmomi 2 3,219 02-12-2022, 09:50 AM
Last Post: TRS-80
  sxmo & php --- 2 1,913 01-31-2022, 01:45 PM
Last Post: ---
  sxmo improvements unrealb2 7 6,053 11-17-2021, 06:43 AM
Last Post: fdlamotte
  SXMO on Debian IVp 0 2,268 08-21-2021, 02:33 PM
Last Post: IVp
  Megi's multiboot sxmo image aithal 1 2,289 06-14-2021, 08:07 AM
Last Post: fdlamotte
  SXMO svkbd with joypad layout [for basic dosbox play] streak 0 1,561 05-27-2021, 08:47 AM
Last Post: streak
  Sxmo on Arch IVp 4 6,725 05-19-2021, 03:18 AM
Last Post: dukla2000

Forum Jump:


Users browsing this thread: 5 Guest(s)