You are not logged in.

#1 2015-08-11 16:40:40

cooliemaloolie
Member
Registered: 2015-08-11
Posts: 1

Problems with ALSA on 2015MBP

Hello Everyone,

I've been having a lot of issues with ALSA on my MBP12.1(early 2015). 

1)Installing xoscope (vie make) gives this error:

alsa.o: In function `sc_get_data':
/home/segev/progs/xoscope-2.1/alsa.c:408: undefined reference to `snd_pcm_recover'
/home/segev/progs/xoscope-2.1/alsa.c:414: undefined reference to `snd_pcm_recover'
collect2: error: ld returned 1 exit status
Makefile:450: recipe for target 'xoscope' failed
make[1]: *** [xoscope] Error 1
make[1]: Leaving directory '/home/segev/progs/xoscope-2.1'
Makefile:352: recipe for target 'all' failed
make: *** [all] Error 2

Notable (probably unrelated) line from ./configure:

checking for gtk_databox_grid_set_line_style in -lgtkdatabox... no

2) Trying to run Remmina using RDP gives

[08:42:58:313] [31988:31995] [ERROR][com.freerdp.legacy] - loading channel cliprdr

[08:42:58:327] [31988:31995] [ERROR][com.freerdp.legacy] - freerdp_set_last_error 0x2000C

[08:42:58:327] [31988:31995] [ERROR][com.freerdp.legacy] - Error: protocol security negotiation or connection failure

So I tried installing RDP from source. cmake went okay ( although some stuff was not found... I'll have to go through that) then make failed with these errors:

[ 93%] Linking C executable generate_argument_docbook
../common/libfreerdp-client.so.1.2.4: undefined reference to `snd_pcm_recover'
../common/libfreerdp-client.so.1.2.4: undefined reference to `snd_pcm_get_params'
../common/libfreerdp-client.so.1.2.4: undefined reference to `snd_pcm_htimestamp'
collect2: error: ld returned 1 exit status
client/X11/CMakeFiles/generate_argument_docbook.dir/build.make:137: recipe for target 'client/X11/generate_argument_docbook' failed
make[2]: *** [client/X11/generate_argument_docbook] Error 1
CMakeFiles/Makefile2:3492: recipe for target 'client/X11/CMakeFiles/generate_argument_docbook.dir/all' failed
make[1]: *** [client/X11/CMakeFiles/generate_argument_docbook.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

Now that I have two references to the problematic alsa functions, I decided to make a post. I'm using ALSA 1.0.9 installed from source (because the 1.0.29 stable isn't working for me), and I have sound control via alsamixer. Also, I'm dual booting 4.1.4-1-Arch and osx using refind, and


➜  xoscope-2.1  lsmod | grep snd           
snd_hda_codec_hdmi     53248  1
snd_hda_codec_cirrus    20480  1
snd_hda_codec_generic    69632  1 snd_hda_codec_cirrus
snd_hda_intel          28672  0
snd_hda_controller     28672  1 snd_hda_intel
snd_hda_codec          98304  5 snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller,snd_hda_codec_cirrus
snd_hda_core           28672  4 snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_controller
snd_hwdep              16384  1 snd_hda_codec
snd_pcm                90112  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer              28672  1 snd_pcm
snd                    69632  8 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_hda_codec_cirrus
soundcore              16384  1 snd
➜  xoscope-2.1  lspci -vv | grep Audio -A20
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
        Subsystem: Apple Inc. Device 013f
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 256 bytes
        Interrupt: pin A routed to IRQ 64
        Region 0: Memory at c1810000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit-
                Address: fee004d8  Data: 0000
        Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0
                        ExtTag- RBE-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
--
00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03)
        Subsystem: Intel Corporation Device 7270
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64, Cache Line Size: 256 bytes
        Interrupt: pin A routed to IRQ 61
        Region 0: Memory at c1814000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 3
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
                Address: 00000000fee00498  Data: 0000
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #1 (rev e3) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 256 bytes
        Interrupt: pin A routed to IRQ 16
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0

Thanks!
Segev

Offline

Board footer

Powered by FluxBB