LinuxMCE Forums

General => Installation issues => Topic started by: cafedumonde on February 24, 2017, 05:35:20 pm

Title: PnP Install Broken for Phoenix USB Solo Mic
Post by: cafedumonde 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
Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: phenigma 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

Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: cafedumonde 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
Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: cafedumonde 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?
Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: tschak909 on February 24, 2017, 07:45:50 pm
Have you already tried modifying the script?

-Thom
Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: cafedumonde 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
Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: tschak909 on February 25, 2017, 09:36:07 am
try it.

-Thom
Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: cafedumonde on February 26, 2017, 09:24:48 pm

No luck. The modified script is below. I modified it on the diskless workstation and then tried reloading, rebooting and re-inserting the microphone in the USB port.

Code: [Select]

#!/bin/sh                                                                       

##                                                                             
## Setup Script for the Phoenix Solo USB microphone && Duet USB speaker/microph\
one.                                                                           
##                                                                             
## 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 AK4571 | awk '{ print $2 }' | cut -d':' -f1)
#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


CDM

Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: tschak909 on February 27, 2017, 04:08:49 am
Okay, I'll get one of my microphones back out and diagnose/debug.

Thanks for what you've done, so far. :)

-Thom
Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: cafedumonde on February 27, 2017, 04:17:03 am

Thom,

The thanks go to you, in this case and for all of your contributions.

CDM
Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: cafedumonde on March 08, 2017, 02:22:21 pm

I have registered the issue in github. Ticket number is 2744.

CDM
Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: phenigma on March 16, 2017, 02:56:28 pm
If the device was responding as 'AK4571' then the below script should be working.  Please post the output of 'aplay -l' and 'aplay -L'.  Shouldn't be any need to wait for a dev to test here.

J.


No luck. The modified script is below. I modified it on the diskless workstation and then tried reloading, rebooting and re-inserting the microphone in the USB port.

Code: [Select]

#!/bin/sh                                                                       

##                                                                             
## Setup Script for the Phoenix Solo USB microphone && Duet USB speaker/microph\
one.                                                                           
##                                                                             
## 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 AK4571 | awk '{ print $2 }' | cut -d':' -f1)
#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


CDM
Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: cafedumonde on March 17, 2017, 01:28:19 am
Phenigma,

Requested outputs are below. I tried running the script again manually, without an error in the shell or any messages from LMCE on the orbiter. The device is also absent from the devices tree in web admin for the MD that it is connected to.

Should I try modifying the file on the core/hybrid? Would that make a difference on the MD? Would it be worthwhile trying to install on the core/hybrid?

Code: [Select]
root@moon82:~# 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: 0/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 0: MID [HDA Intel MID], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: MID [HDA Intel MID], device 8: HDMI 2 [HDMI 2]
  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:~# aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
spdif_playback
asym_spdif
sysdefault:CARD=MID
    HDA Intel MID, ALC888 Analog
    Default Audio Device
front:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Analog
    Front speakers
surround40:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=MID,DEV=0
    HDA Intel MID, HDMI 0
    HDMI Audio Output
hdmi:CARD=MID,DEV=1
    HDA Intel MID, HDMI 1
    HDMI Audio Output
hdmi:CARD=MID,DEV=2
    HDA Intel MID, HDMI 2
    HDMI Audio Output
dmix:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Analog
    Direct sample mixing device
dmix:CARD=MID,DEV=1
    HDA Intel MID, ALC888 Digital
    Direct sample mixing device
dmix:CARD=MID,DEV=3
    HDA Intel MID, HDMI 0
    Direct sample mixing device
dmix:CARD=MID,DEV=7
    HDA Intel MID, HDMI 1
    Direct sample mixing device
dmix:CARD=MID,DEV=8
    HDA Intel MID, HDMI 2
    Direct sample mixing device
dsnoop:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Analog
    Direct sample snooping device
dsnoop:CARD=MID,DEV=1
    HDA Intel MID, ALC888 Digital
    Direct sample snooping device
dsnoop:CARD=MID,DEV=3
    HDA Intel MID, HDMI 0
    Direct sample snooping device
dsnoop:CARD=MID,DEV=7
    HDA Intel MID, HDMI 1
    Direct sample snooping device
dsnoop:CARD=MID,DEV=8
    HDA Intel MID, HDMI 2
    Direct sample snooping device
hw:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Analog
    Direct hardware device without any conversions
hw:CARD=MID,DEV=1
    HDA Intel MID, ALC888 Digital
    Direct hardware device without any conversions
hw:CARD=MID,DEV=3
    HDA Intel MID, HDMI 0
    Direct hardware device without any conversions
hw:CARD=MID,DEV=7
    HDA Intel MID, HDMI 1
    Direct hardware device without any conversions
hw:CARD=MID,DEV=8
    HDA Intel MID, HDMI 2
    Direct hardware device without any conversions
plughw:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Analog
    Hardware device with all software conversions
plughw:CARD=MID,DEV=1
    HDA Intel MID, ALC888 Digital
    Hardware device with all software conversions
plughw:CARD=MID,DEV=3
    HDA Intel MID, HDMI 0
    Hardware device with all software conversions
plughw:CARD=MID,DEV=7
    HDA Intel MID, HDMI 1
    Hardware device with all software conversions
plughw:CARD=MID,DEV=8
    HDA Intel MID, HDMI 2
    Hardware device with all software conversions
sysdefault:CARD=AK4571
    AK4571, USB Audio
    Default Audio Device
front:CARD=AK4571,DEV=0
    AK4571, USB Audio
    Front speakers
surround40:CARD=AK4571,DEV=0
    AK4571, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=AK4571,DEV=0
    AK4571, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=AK4571,DEV=0
    AK4571, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=AK4571,DEV=0
    AK4571, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=AK4571,DEV=0
    AK4571, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=AK4571,DEV=0
    AK4571, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=AK4571,DEV=0
    AK4571, USB Audio
    Direct sample mixing device
dsnoop:CARD=AK4571,DEV=0
    AK4571, USB Audio
    Direct sample snooping device
hw:CARD=AK4571,DEV=0
    AK4571, USB Audio
    Direct hardware device without any conversions
plughw:CARD=AK4571,DEV=0
    AK4571, USB Audio
    Hardware device with all software conversions
root@moon82:~# /usr/pluto/bin/SoundCards_Setup_PhoenixUSB.sh
root@moon82:~#
Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: phenigma on March 17, 2017, 02:21:31 pm
k, your script should be working.  What is the output of the following:

Code: [Select]
aplay -l | grep AK4571 | awk '{ print $2 }' | cut -d':' -f1

The next question is: are you sure that this is the issue?  There are other things involved in the setup of the Phoenix.  This script does not do the 'detection' portion of adding the hardware, it simply configures it after it has been detected.

J.
Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: cafedumonde on March 17, 2017, 07:00:26 pm
Phenigma,

I affirm that this may not be the issue, though the fact that the device is now listed as AK4571 would break the original configuration script. Perhaps the name change has affected something else. I would be happy to follow up on any clues that you can provide.

The output of the command that you suggested is below:

Code: [Select]
root@moon82:~# 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: 0/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 0: MID [HDA Intel MID], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: MID [HDA Intel MID], device 8: HDMI 2 [HDMI 2]
  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:~# aplay -l | grep AK4571 | awk '{ print $2 }' | cut -d':' -f1
1
root@moon82:~#
Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: phenigma on March 17, 2017, 07:50:22 pm
So that's returning the correct value, that script should be working with your change.  We need to see if lsusb output matches the ids in the database, again this is working here for me but i have a duet which will have a different USB id's.  What is the output of 'lsusb -l'?

Sent from my Nexus 5 using Tapatalk

Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: cafedumonde on March 17, 2017, 09:06:11 pm


lsusb did not like the -l option. Here is default output as well as what -t returns. I have a usbuirt and a thumb drive plugged in in addition to the phoenix.

Code: [Select]
root@moon82:~# lsusb
Bus 002 Device 004: ID 0556:0004 Asahi Kasei Microsystems Co., Ltd
Bus 002 Device 003: ID 05dc:c75c Lexar Media, Inc.
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0403:f850 Future Technology Devices International, Ltd USB-UIRT (Universal Infrared Receiver+Transmitter)
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@moon82:~# lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
        |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M
        |__ Port 2: Dev 4, If 0, Class=Audio, Driver=snd-usb-audio, 12M
        |__ Port 2: Dev 4, If 1, Class=Audio, Driver=snd-usb-audio, 12M
        |__ Port 2: Dev 4, If 2, Class=Audio, Driver=snd-usb-audio, 12M
        |__ Port 2: Dev 4, If 3, Class=Human Interface Device, Driver=usbhid, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
        |__ Port 2: Dev 3, If 0, Class=Vendor Specific Class, Driver=ftdi_sio, 12M
root@moon82:~#
Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: phenigma on March 17, 2017, 09:15:12 pm
Usb id is correct,please check that it's not been added to the ignore list.  Advanced configuration unknown devices in webadmin.  Make sure that the HAL device is not disabled and that it is running.  Then watch the dcerouter log and the HAL log while pluging in and out the solo.  It should show immediately in the logs and give a pop up on orbiters. 

Sent from my Nexus 5 using Tapatalk
Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: phenigma on March 17, 2017, 09:16:03 pm
And check if you have a solo device in your device tree on that md

Sent from my Nexus 5 using Tapatalk
Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: cafedumonde on March 17, 2017, 10:37:34 pm

I have also just tried unboxing a brand new solo mic and plugging it into my system, in order to try a previously unseen device. Same result.

The tail of dcerouter.log shows activity related to plugging in the device, but it still has not registered and there are no notifications on the orbiters. This is shown below:

Code: [Select]
07 03/17/17 17:25:32.779 Event #65 has no handlers <0xad99db40>
07 03/17/17 17:25:32.779 Received Message from 16 (HAL / Bedroom (Master)) to -1001 (unknown / ), type 2 id 65 Event:Device Detected, retry none, parameters: <0xad99db40>
07 03/17/17 17:25:32.779   Parameter 5(Mac Address):  <0xad99db40>
07 03/17/17 17:25:32.779   Parameter 13(Text):  <0xad99db40>
07 03/17/17 17:25:32.779   Parameter 28(IP Address):  <0xad99db40>
07 03/17/17 17:25:32.779   Parameter 49(PK_DeviceTemplate): 0 <0xad99db40>
07 03/17/17 17:25:32.779   Parameter 51(VendorModelID): 05560004 <0xad99db40>
07 03/17/17 17:25:32.779   Parameter 52(PK_CommMethod): 4 <0xad99db40>
07 03/17/17 17:25:32.779   Parameter 53(PK_PnpProtocol): 0 <0xad99db40>
07 03/17/17 17:25:32.779   Parameter 54(PNP Serial Number): /org/freedesktop/Hal/devices/usb_device_556_4_AKM_AK4571 <0xad99db40>
07 03/17/17 17:25:32.779   Parameter 55(DeviceData):  <0xad99db40>
07 03/17/17 17:25:32.779   Parameter 56(Category):  <0xad99db40>
07 03/17/17 17:25:32.779   Parameter 59(Signature): 16,HAL <0xad99db40>

A screenshot of my advanced->configuration->unknown devices page is attached. I cannot correlate it with the device information in lsusb. Perhaps you can help.

Also, I checked the HAL devices for both the core/hybrid and diskless MD and the disabled box is unchecked for both.

Finally there are no solo mics in my devices trees for either the hybrid or MD.

CDM



Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: phenigma on March 17, 2017, 11:04:34 pm
Ok, so the device detection is working, something is deciding not to add the device.  For some reason. 

Sent from my Nexus 5 using Tapatalk

Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: phenigma on March 17, 2017, 11:06:54 pm
We may need to wipe the pnpqueue table in the database, if the device is in there it may not recreate it, iirc

Sent from my Nexus 5 using Tapatalk

Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: cafedumonde on March 17, 2017, 11:29:08 pm

OK. Please suggest the right sql commands. Will this trigger detection for all of my currently installed devices?

CDM
Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: phenigma on March 17, 2017, 11:33:42 pm
I'm still pondering.  It will trigger detection of anything not in unknown devices, but existing devices will just be detected and then be happy.  It's been a while since I touched all that code so I'm trying to recall anything else that may affect this part of the process.  Everything up to creating the device is working... The only reason it didn't create devices is if they're already dealt with, which pnpqueue table tracks... 

Sent from my Nexus 5 using Tapatalk

Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: phenigma on March 19, 2017, 04:48:50 pm
Launch mysql from the command line and 'delete from PnpQueue' should do it, the table name needs to match.

Sent from my Nexus 5 using Tapatalk

Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: posde on March 19, 2017, 08:05:26 pm
If removal of the records is the thing that helps,

TRUNCATE from PnpQueue

might be the better option.
Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: cafedumonde on March 20, 2017, 12:36:31 am

Still no luck with the microphone, though it did ask about some other devices that I had previously told it to ignore. I extrapolated your recommendations somewhat in terms of the exact sql command, but I think I did what you suggested. A transcript is below:

Code: [Select]
mysql> SHOW DATABASES;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| asterisk           |
| mysql              |
| mythconverg        |
| performance_schema |
| pluto_main         |
| pluto_media        |
| pluto_myth         |
| pluto_security     |
| pluto_telecom      |
+--------------------+
10 rows in set (0.00 sec)

mysql> TRUNCATE TABLE pluto_main.PnpQueue;
Query OK, 0 rows affected (0.00 sec)

mysql>


Please confirm that I did this correctly.

Digging a little deeper, I see the following in the PnpQueue table after doing the truncate:

Code: [Select]
mysql> select * from pluto_main.PnpQueue;
+-------------+---------------------+---------------+------+-----------+------------+----------+--------------------------------------+---------------+----------------+-------------------+-------------------+--------------------+-----------+---------+-------+-----------+------------------------------------------------------+------------------------------------------------+--------+-----------+----------+------------+---------------------+--------------+
| PK_PnpQueue | DetectedDate        | VendorModelId | Path | IPaddress | MACaddress | Category | SerialNumber                         | FK_CommMethod | FK_PnpProtocol | FK_DeviceTemplate | FK_Device_Created | FK_Device_Reported | Signature | Removed | Stage | Processed | Parms                                                | Description                                    | psc_id | psc_batch | psc_user | psc_frozen | psc_mod             | psc_restrict |
+-------------+---------------------+---------------+------+-----------+------------+----------+--------------------------------------+---------------+----------------+-------------------+-------------------+--------------------+-----------+---------+-------+-----------+------------------------------------------------------+------------------------------------------------+--------+-----------+----------+------------+---------------------+--------------+
|           1 | 2017-03-19 19:30:02 |               |      |           |            |          | 7e878e2a-336e-4a53-bf97-9c0e25878f18 |             8 |              0 |              1790 |                74 |                  1 |           |       0 |    19 |         1 | 267|7e878e2a-336e-4a53-bf97-9c0e25878f18|277|1.82 TB | 1.82 TB [sdb1] ST2000DL003-9VT166 on dcerouter |   NULL |      NULL |     NULL |          0 | 2017-03-19 19:30:02 |         NULL |
+-------------+---------------------+---------------+------+-----------+------------+----------+--------------------------------------+---------------+----------------+-------------------+-------------------+--------------------+-----------+---------+-------+-----------+------------------------------------------------------+------------------------------------------------+--------+-----------+----------+------------+---------------------+--------------+
1 row in set (0.00 sec)

mysql>


The microphone is absent. Now, plugging in the microphone..

Code: [Select]

mysql> select * from pluto_main.PnpQueue;
+-------------+---------------------+---------------+------+-----------+------------+----------+----------------------------------------------------------+---------------+----------------+-------------------+-------------------+--------------------+-----------+---------+-------+-----------+------------------------------------------------------+------------------------------------------------+--------+-----------+----------+------------+---------------------+--------------+
| PK_PnpQueue | DetectedDate        | VendorModelId | Path | IPaddress | MACaddress | Category | SerialNumber                                             | FK_CommMethod | FK_PnpProtocol | FK_DeviceTemplate | FK_Device_Created | FK_Device_Reported | Signature | Removed | Stage | Processed | Parms                                                | Description                                    | psc_id | psc_batch | psc_user | psc_frozen | psc_mod             | psc_restrict |
+-------------+---------------------+---------------+------+-----------+------------+----------+----------------------------------------------------------+---------------+----------------+-------------------+-------------------+--------------------+-----------+---------+-------+-----------+------------------------------------------------------+------------------------------------------------+--------+-----------+----------+------------+---------------------+--------------+
|           1 | 2017-03-19 19:30:02 |               |      |           |            |          | 7e878e2a-336e-4a53-bf97-9c0e25878f18                     |             8 |              0 |              1790 |                74 |                  1 |           |       0 |    19 |         1 | 267|7e878e2a-336e-4a53-bf97-9c0e25878f18|277|1.82 TB | 1.82 TB [sdb1] ST2000DL003-9VT166 on dcerouter |   NULL |      NULL |     NULL |          0 | 2017-03-19 19:30:02 |         NULL |
|           2 | 2017-03-19 19:33:12 | 05560004      |      |           |            |          | /org/freedesktop/Hal/devices/usb_device_556_4_AKM_AK4571 |             4 |              0 |                 0 |                 0 |                 16 | 16,HAL    |       0 |    19 |         1 |                                                      |                                                |   NULL |      NULL |     NULL |          0 | 2017-03-19 19:33:13 |         NULL |
+-------------+---------------------+---------------+------+-----------+------------+----------+----------------------------------------------------------+---------------+----------------+-------------------+-------------------+--------------------+-----------+---------+-------+-----------+------------------------------------------------------+------------------------------------------------+--------+-----------+----------+------------+---------------------+--------------+
2 rows in set (0.00 sec)

mysql>


The microphone is there, but there is still no activity on the orbiter. Should I expect this to take some time?

Thanks for helping me out with this so far...

CDM
Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: phenigma on March 20, 2017, 01:47:44 am
It should be pretty quick to pop up, it also goes away quickly.  Big Q is did it show in your device tree.

Sent from my Nexus 5 using Tapatalk

Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: cafedumonde on March 20, 2017, 02:24:47 am

There is no reference to the microphone in the devices tree. See screenshot attached.
Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: posde on March 20, 2017, 03:04:34 pm
Click on Show Devices on the left hand side to get a tree of all devices.
Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: cafedumonde on March 20, 2017, 07:29:16 pm

My bad. I uploaded the wrong screenshot by mistake. See attached.
Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: posde on March 20, 2017, 08:22:13 pm
Could you open the branch under Onscreen Orbiter, please.
Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: cafedumonde on March 21, 2017, 12:13:00 am

See the screenshot. The mic is still plugged in and I have reloaded since.
Title: Re: PnP Install Broken for Phoenix USB Solo Mic
Post by: cafedumonde on March 22, 2017, 03:59:42 am

Microphones are now working!! Darkwizard pointed me to the sound card selection for the orbiter phones in webadmin. The Solo mics appeared in the drop down. I selected them manually and did a quick reload.

As for the ticket, the script in /usr/pluto/bin definetly needs to be changed in order to work correctly. Not sure if there is anything else needed for PnP.

Nonetheless, I am good for now. Thanks again to Darkwizard.

CDM