Author Topic: PnP Install Broken for Phoenix USB Solo Mic  (Read 143 times)

cafedumonde

  • Veteran
  • ***
  • Posts: 96
    • View Profile
PnP Install Broken for Phoenix USB Solo Mic
« on: February 24, 2017, 05:35:20 pm »

Today I tried adding a Phoenix USB Solo microphone to my new diskless MD but it has not been detected. Further, the installation is also not working on my hybrid/core, though it has previously under 14.04. I think the problem is as follows:

Code: [Select]
root@moon82:/usr/pluto/bin# cat SoundCards_Setup_PhoenixUSB.sh
#!/bin/sh

##
## Setup Script for the Phoenix Solo USB microphone && Duet USB speaker/microphone.
##
## TODO: Store volume values in Device's DD
##

## MDs AudioSettings parameter isn't used at all. This is a
## completely separate device from the main sound in an MD.

CARDID=$(aplay -l | grep Phnx | awk '{ print $2 }' | cut -d':' -f1)

amixer -c "$CARDID" sset "PCM",0 50 >/dev/null
amixer -c "$CARDID" sset "Speaker",0 44 >/dev/null
amixer -c "$CARDID" sset "Mic",0 50 >/dev/null

root@moon82:/usr/pluto/bin#

The script looks for a soundcard with "Phnx" in the description that is returned by aplay. However, the card returns "AK4571" as shown below.

Code: [Select]
root@moon82:/usr/pluto/bin# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: MID [HDA Intel MID], device 0: ALC888 Analog [ALC888 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: MID [HDA Intel MID], device 1: ALC888 Digital [ALC888 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: MID [HDA Intel MID], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: AK4571 [AK4571], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
root@moon82:/usr/pluto/bin#

Should I just modify the script to trigger on "AK4571?" Have I found a bug? How could the value returned by the card have changed? I thought that this was in the firmware of the usb device. This mic has worked for me previously.

Comments welcome.

CDM

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1681
    • View Profile
Re: PnP Install Broken for Phoenix USB Solo Mic
« Reply #1 on: February 24, 2017, 05:54:14 pm »
If you're not running 1404 what version are you running?  I assume you're trying to use it for an md phone?  Lmce HAL detects mine fine but I'm not using it for md phone atm.  It looks like the naming has changed.  Please give me some more details about your installing.  Thanks.

Sent from my Nexus 5 using Tapatalk


cafedumonde

  • Veteran
  • ***
  • Posts: 96
    • View Profile
Re: PnP Install Broken for Phoenix USB Solo Mic
« Reply #2 on: February 24, 2017, 06:22:18 pm »
I am running 1404. This mic has worked previously but I am unsure if that was since my last install, which was in August or September. Below is an excerpt from Home -> Advanced -> Software Versions in webadmin.

Code: [Select]
lmce-core = 2.0.0.47.201602071815+c31bc44f
lmce-core-locator = 2.0.0.47.0~lmce2~trusty1
lmce-diskless-tools = 2.0.0.47.201611272017+a7c10426
lmce-game-db = 2.0.0.47.16010131782
lmce-hybrid = 2.0.0.47.15121531757
lmce-install-scripts = 2.0.0.47.201602141633+a332f49a
lmce-launch-manager = 2.0.0.47.201602240724+a84db86f

I would like to use the mic with the orbiter phone eventually but my immediate goal is to just enable intercom between my MDs.


CDM
« Last Edit: February 24, 2017, 06:24:14 pm by cafedumonde »

cafedumonde

  • Veteran
  • ***
  • Posts: 96
    • View Profile
Re: PnP Install Broken for Phoenix USB Solo Mic
« Reply #3 on: February 24, 2017, 06:45:32 pm »

Thinking about it, I followed the directions for diskless MD install a few weeks ago, using:

Code: [Select]
apt-get update
apt-get dist-upgrade

Could something have changed with the updates?

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5536
  • DOES work for LinuxMCE.
    • View Profile
Re: PnP Install Broken for Phoenix USB Solo Mic
« Reply #4 on: February 24, 2017, 07:45:50 pm »
Have you already tried modifying the script?

-Thom

cafedumonde

  • Veteran
  • ***
  • Posts: 96
    • View Profile
Re: PnP Install Broken for Phoenix USB Solo Mic
« Reply #5 on: February 24, 2017, 10:29:55 pm »

Not yet. But I would be happy to do that if it is advised. I was unsure if there might also be a dependency on the string returned by soundcard/USB detection downstream somewhere.

CDM

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5536
  • DOES work for LinuxMCE.
    • View Profile
Re: PnP Install Broken for Phoenix USB Solo Mic
« Reply #6 on: February 25, 2017, 09:36:07 am »
try it.

-Thom