16
Installation issues / Re: PnP Install Broken for Phoenix USB Solo Mic
« on: March 20, 2017, 07:29:16 pm »My bad. I uploaded the wrong screenshot by mistake. See attached.
Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
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>
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>
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>
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>
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:~#
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:~#
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:~#
#!/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
apt-get update
apt-get dist-upgrade
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
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#
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#