You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry I'm posting in here rather than the live chat. I'll follow this up tomorrow if needed. Just tired and about to go to bed. But this is a bit curly and it could be helpful to others.
So I have rebuilt a Lenovo ThinkCenter Desktop PC using Linux Mate 24.04. This is the same OS running on a working install using a Lenovo ThinkPad. The main difference is on the ThinkCenter I'm using a USB mic rather than a built in mic as is on the ThinkPad.
The Installer version I ran to install OVOS was:
OPEN VOICE OS INSTALLER | Version: 02bcb61b
Everything installed fine. The TTS works as I can type a command in the GUI and I get a spoken response. It's just the input / mic that is failing. There is no indication that speech is being received.
Always shows:
Monitor of Built-in Audio Analog Ster~
Built-in Audio Analog Stereo
The odd one is this one:
*AK5370 I/F A/D Converter Mono
Sometimes there will be nothing underneath, sometimes I will get 1 PipeWire ALSA [python3.12, and then sometimes I will have 2 under *AK5370. The only stay for a few seconds and disappear to reappear again.
I checked on the working laptop, and the PipeWire ALSA stays active and doesn't disappear.
I've gone into the Kernel logs and the Syslogs. Let me paste some of the relevant lines here.
Kernel:
2024-10-06T23:01:17.992198+11:00 Basic kernel: usb 1-1.5: USB disconnect, device number 3
2024-10-06T23:01:25.844199+11:00 Basic kernel: usb 1-1.4: new full-speed USB device number 8 using ehci-pci
2024-10-06T23:01:25.923198+11:00 Basic kernel: usb 1-1.4: New USB device found, idVendor=0556, idProduct=0001, bcdDevice= 0.01
2024-10-06T23:01:25.923213+11:00 Basic kernel: usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
2024-10-06T23:01:25.923216+11:00 Basic kernel: usb 1-1.4: Product: AK5370
2024-10-06T23:01:25.923218+11:00 Basic kernel: usb 1-1.4: Manufacturer: AKM
2024-10-06T23:02:26.148146+11:00 Basic kernel: traps: ovos-dinkum-lis[521709] trap invalid opcode ip:72edbc30fb7a sp:7ffcc58b2aa0 error:0 in _pywrap_tensorflow_interpreter_wrapper.so[72edbc2c7000+584000]
2024-10-06T23:02:51.064148+11:00 Basic kernel: traps: ovos-dinkum-lis[521890] trap invalid opcode ip:75b56510fb7a sp:7fff1c0c0ae0 error:0 in _pywrap_tensorflow_interpreter_wrapper.so[75b5650c7000+584000]
2024-10-06T23:03:01.711140+11:00 Basic kernel: traps: ovos-dinkum-lis[522107] trap invalid opcode ip:7cc99910fb7a sp:7ffd85016b40 error:0 in _pywrap_tensorflow_interpreter_wrapper.so[7cc9990c7000+584000]
2024-10-06T23:03:10.665157+11:00 Basic kernel: traps: ovos-dinkum-lis[522206] trap invalid opcode ip:721992f0fb7a sp:7ffdbe3089c0 error:0 in _pywrap_tensorflow_interpreter_wrapper.so[721992ec7000+584000]
2024-10-06T23:03:18.930153+11:00 Basic kernel: traps: ovos-dinkum-lis[522266] trap invalid opcode ip:79ded6f0fb7a sp:7ffc4d1af100 error:0 in _pywrap_tensorflow_interpreter_wrapper.so[79ded6ec7000+584000]
Syslog corresponding times:
2024-10-06T23:00:20.948910+11:00 Basic ovos_PHAL_admin[1365]: 2024-10-06 23:00:20.948 - PHAL_admin - ovos_bus_client.client.client:on_error:134 - WARNING - Message Bus Client will reconnect in 60.0 seconds.
2024-10-06T23:01:17.992198+11:00 Basic kernel: usb 1-1.5: USB disconnect, device number 3
2024-10-06T23:01:20.975479+11:00 Basic ovos_PHAL_admin[1365]: 2024-10-06 23:01:20.974 - PHAL_admin - ovos_bus_client.client.client:on_error:118 - WARNING - Connection Refused. Is Messagebus Service running?
2024-10-06T23:01:21.000612+11:00 Basic ovos_PHAL_admin[1365]: 2024-10-06 23:01:21.000 - PHAL_admin - ovos_bus_client.client.client:on_error:134 - WARNING - Message Bus Client will reconnect in 60.0 seconds.
2024-10-06T23:01:25.844199+11:00 Basic kernel: usb 1-1.4: new full-speed USB device number 8 using ehci-pci
2024-10-06T23:01:25.923198+11:00 Basic kernel: usb 1-1.4: New USB device found, idVendor=0556, idProduct=0001, bcdDevice= 0.01
2024-10-06T23:01:25.923213+11:00 Basic kernel: usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
2024-10-06T23:01:25.923216+11:00 Basic kernel: usb 1-1.4: Product: AK5370
2024-10-06T23:01:25.923218+11:00 Basic kernel: usb 1-1.4: Manufacturer: AKM
2024-10-06T23:01:26.019152+11:00 Basic mtp-probe: checking bus 1, device 8: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4"
2024-10-06T23:01:26.019313+11:00 Basic mtp-probe: bus: 1, device: 8 was not an MTP device
2024-10-06T23:01:26.722006+11:00 Basic mtp-probe: checking bus 1, device 8: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4"
2024-10-06T23:01:26.722113+11:00 Basic mtp-probe: bus: 1, device: 8 was not an MTP device
2024-10-06T23:01:26.722742+11:00 Basic systemd[1248]: Reached target sound.target - Sound Card.
2024-10-06T23:02:14.571845+11:00 Basic systemd[1248]: Started ovos-audio.service - Open Voice OS - Audio.
2024-10-06T23:02:14.573149+11:00 Basic systemd[1248]: Started ovos-core.service - Open Voice OS - Core (skills).
2024-10-06T23:02:14.574750+11:00 Basic systemd[1248]: Started ovos-ggwave-listener.service - Open Voice OS - ggwave listener.
2024-10-06T23:02:14.580305+11:00 Basic systemd[1248]: Started ovos-gui-websocket.service - Open Voice OS - GUI websocket.
2024-10-06T23:02:14.584705+11:00 Basic systemd[1248]: Started ovos-gui.service - Open Voice OS - GUI.
2024-10-06T23:02:14.591586+11:00 Basic systemd[1248]: Started ovos-listener.service - Open Voice OS - Listener.
2024-10-06T23:02:14.599603+11:00 Basic systemd[1248]: Started ovos-messagebus.service - Open Voice OS - Message bus service.
2024-10-06T23:02:14.600810+11:00 Basic systemd[1248]: Started ovos-phal.service - Open Voice OS - PHAL.
2024-10-06T23:02:14.602198+11:00 Basic systemd[1248]: Starting ovos.service - Open Voice OS - Meta service...
2024-10-06T23:02:14.667696+11:00 Basic systemd[1248]: Finished ovos.service - Open Voice OS - Meta service.
2024-10-06T23:02:14.670651+11:00 Basic ovos-gui-app[521708]: Failed to create wl_display (No such file or directory)
2024-10-06T23:02:14.696460+11:00 Basic ovos-gui-app[521708]: qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
.........................................................................
........................................................................
........................................................................
2024-10-06T23:02:16.395416+11:00 Basic ovos-messagebus[521710]: 2024-10-06 23:02:16.395 - bus - ovos_messagebus.main:main:46 - INFO - Starting message bus service...
2024-10-06T23:02:16.503524+11:00 Basic ovos-ggwave-listener[521706]: 2024-10-06 23:02:16.443 - OVOS - ovos_bus_client.client.client:on_error:118 - WARNING - Connection Refused. Is Messagebus Service running?
2024-10-06T23:02:16.506322+11:00 Basic ovos-ggwave-listener[521706]: 2024-10-06 23:02:16.444 - OVOS - ovos_bus_client.client.client:on_error:134 - WARNING - Message Bus Client will reconnect in 5.0 seconds.
2024-10-06T23:02:16.506399+11:00 Basic ovos-messagebus[521710]: 2024-10-06 23:02:16.459 - bus - ovos_messagebus.load_config:load_message_bus_config:33 - INFO - Loading message bus configs
........................................................................
.......................................................................
........................................................................
2024-10-06T23:02:20.999724+11:00 Basic ovos-messagebus[521710]: 2024-10-06 23:02:17.405 - bus - ovos_messagebus.main:on_ready:32 - INFO - Message bus service started!
2024-10-06T23:02:21.000071+11:00 Basic ovos-audio[521704]: 2024-10-06 23:02:18.570 - audio - ovos_audio.service:init:59 - INFO - Starting Audio Service
2024-10-06T23:02:21.000136+11:00 Basic ovos-audio[521704]: 2024-10-06 23:02:18.614 - audio - ovos_audio.service:on_started:41 - INFO - TTS service started.
2024-10-06T23:02:21.000174+11:00 Basic ovos-audio[521704]: 2024-10-06 23:02:19.716 - audio - ovos_audio.service:_maybe_reload_tts:352 - INFO - (re)loading TTS engine
2024-10-06T23:02:21.000215+11:00 Basic ovos-audio[521704]: 2024-10-06 23:02:19.762 - audio - ovos_audio.playback:run:152 - INFO - PlaybackThread started
.......................................................................
........................................................................
......................................................................
2024-10-06T23:02:21.001131+11:00 Basic ovos-ggwave-listener[521706]: ALSA lib pcm.c:2721:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
2024-10-06T23:02:21.001187+11:00 Basic ovos-ggwave-listener[521706]: ALSA lib pcm.c:2721:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
2024-10-06T23:02:21.001217+11:00 Basic ovos-ggwave-listener[521706]: ALSA lib pcm.c:2721:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
2024-10-06T23:02:21.001245+11:00 Basic ovos-ggwave-listener[521706]: ALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel map
2024-10-06T23:02:21.001329+11:00 Basic ovos-ggwave-listener[521706]: message repeated 3 times: [ ALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel map]
2024-10-06T23:02:21.001353+11:00 Basic ovos-ggwave-listener[521706]: Cannot connect to server socket err = No such file or directory
2024-10-06T23:02:21.001383+11:00 Basic ovos-ggwave-listener[521706]: Cannot connect to server request channel
2024-10-06T23:02:21.001411+11:00 Basic ovos-ggwave-listener[521706]: jack server is not running or cannot be started
2024-10-06T23:02:21.001439+11:00 Basic ovos-ggwave-listener[521706]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
2024-10-06T23:02:21.001467+11:00 Basic ovos-ggwave-listener[521706]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
2024-10-06T23:02:21.001663+11:00 Basic ovos_PHAL[521711]: 2024-10-06 23:02:17.357 - PHAL - ovos_PHAL.service:on_started:25 - INFO - PHAL is started
2024-10-06T23:02:21.001918+11:00 Basic ovos-gui-app[521708]: qrc:/main.qml:233:17: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }
.....................................................................
......................................................................
......................................................................
2024-10-06T23:02:21.420903+11:00 Basic ovos-dinkum-listener[521709]: 2024-10-06 23:02:21.420 - voice - ovos_dinkum_listener.service:init:159 - INFO - Starting Voice Service
........................................................
.................................................
.....................................................
2024-10-06T23:02:21.474196+11:00 Basic ovos-dinkum-listener[521709]: 2024-10-06 23:02:21.473 - voice - ovos_dinkum_listener.service:on_alive:94 - INFO - DinkumVoiceService is alive.
2024-10-06T23:02:21.474357+11:00 Basic ovos-dinkum-listener[521709]: 2024-10-06 23:02:21.474 - voice - ovos_dinkum_listener.service:_before_start:349 - INFO - Starting service...
...............................................
..............................................
.............................................
2024-10-06T23:02:23.368344+11:00 Basic ovos-dinkum-listener[521709]: 2024-10-06 23:02:23.367 - voice - ovos_dinkum_listener.service:on_alive:94 - INFO - DinkumVoiceService is alive.
2024-10-06T23:02:23.426357+11:00 Basic ovos-dinkum-listener[521709]: 2024-10-06 23:02:23.426 - voice - ovos_dinkum_listener.voice_loop.hotwords:load_hotword_engines:115 - INFO - creating hotword engines
2024-10-06T23:02:23.462392+11:00 Basic ovos-dinkum-listener[521709]: 2024-10-06 23:02:23.462 - voice - ovos_plugin_manager.wakewords:load_module:139 - INFO - Loading "hey_mycroft" wake word via ovos-ww-plugin-precise-lite with config: {'module': 'ovos-ww-plugin-precise-lite', 'model': 'https://github.com/OpenVoiceOS/precise-lite-models/raw/master/wakewords/en/hey_mycroft.tflite', 'expected_duration': 3, 'trigger_level': 3, 'sensitivity': 0.5, 'listen': True, 'fallback_ww': 'hey_mycroft_precise'}
2024-10-06T23:02:24.651581+11:00 Basic ovos_PHAL[521711]: 2024-10-06 23:02:24.651 - PHAL - ovos_PHAL_plugin_network_manager.gui:request_deactivate:109 - INFO - Gui Network Client Plugin Deactivation Requested
2024-10-06T23:02:24.652049+11:00 Basic ovos-gui-service[521707]: 2024-10-06 23:02:24.651 - gui - ovos_gui.namespace:handle_namespace_global_back:1019 - ERROR - received 'back' signal but there are no active namespaces
2024-10-06T23:02:24.675935+11:00 Basic ovos_PHAL_admin[1365]: 2024-10-06 23:02:24.675 - PHAL_admin - ovos_config.config:_on_file_change:311 - INFO - /home/bryan/.config/mycroft/mycroft.conf unchanged
2024-10-06T23:02:24.755461+11:00 Basic ovos-gui-service[521707]: 2024-10-06 23:02:24.724 - gui - ovos_gui.namespace:handle_namespace_global_back:1019 - ERROR - received 'back' signal but there are no active namespaces
2024-10-06T23:02:24.760276+11:00 Basic ovos-dinkum-listener[521709]: 2024-10-06 23:02:24.759 - voice - ovos_config.config:_on_file_change:311 - INFO - /home/bryan/.config/mycroft/mycroft.conf unchanged
...................................................................
......................................................................
......................................................................
2024-10-06T23:02:24.874240+11:00 Basic ovos-core[521705]: 2024-10-06 23:02:24.873 - skills - ovos_config.config:_on_file_change:311 - INFO - /home/bryan/.config/mycroft/mycroft.conf unchanged
2024-10-06T23:02:24.892212+11:00 Basic ovos-core[521705]: 2024-10-06 23:02:24.892 - skills - ovos_config.config:_on_file_change:311 - INFO - /home/bryan/.config/mycroft/mycroft.conf unchanged
2024-10-06T23:02:26.147475+11:00 Basic ovos-dinkum-listener[521709]: 2024-10-06 23:02:26.146 - voice - ovos_plugin_manager.wakewords:load_module:146 - INFO - Loaded the Wake Word hey_mycroft with module ovos-ww-plugin-precise-lite
2024-10-06T23:02:26.148146+11:00 Basic kernel: traps: ovos-dinkum-lis[521709] trap invalid opcode ip:72edbc30fb7a sp:7ffcc58b2aa0 error:0 in _pywrap_tensorflow_interpreter_wrapper.so[72edbc2c7000+584000]
2024-10-06T23:02:29.585197+11:00 Basic ovos-audio[521704]: 2024-10-06 23:02:29.584 - audio - ovos_plugin_manager.utils:load_plugin:173 - WARNING - Could not find the plugin PluginTypes.PHONEME.ovos-g2p-plugin-mimic
2024-10-06T23:02:29.586963+11:00 Basic ovos-audio[521704]: 2024-10-06 23:02:29.586 - audio - ovos_plugin_manager.g2p:create:121 - ERROR - The selected G2P plugin could not be loaded.
I can provide the full syslog, but there was a lot of PHAL setups for network, etc that went through fine.
It's the kernel:traps bit that has me perplexed. Don't recall ever seeing that before. But it seems linked to the precise-lite which is what I can't get working.
I've done the usual stuff. I've rebooted the machine. Restarted OVOS. Used different USB ports on the system.
My big fear is that after this, I'm going to install on a Pi, where I'll be using a USB dongle to break out the mic and speakers. So if there's something inherently a problem with the USB detection, I'm worried I could have issues on the Pi.
Should also note that this same system, including the mic, was working with a slightly older version of OVOS < 0.0.8 and running Kubuntu 22.04. So maybe this is something to do with Ubuntu Mate. Or something they changed in 22.04. But if I could get some pointers as to what to try next, I'd really appreciate it.
Thanks,
Bryan
p.s. I had a crack at looking through the other issues list, and did a bit of a Google search for something similar and didn't find anything. If this is a duplicate, sorry about that.
The text was updated successfully, but these errors were encountered:
Sorry I'm posting in here rather than the live chat. I'll follow this up tomorrow if needed. Just tired and about to go to bed. But this is a bit curly and it could be helpful to others.
So I have rebuilt a Lenovo ThinkCenter Desktop PC using Linux Mate 24.04. This is the same OS running on a working install using a Lenovo ThinkPad. The main difference is on the ThinkCenter I'm using a USB mic rather than a built in mic as is on the ThinkPad.
The Installer version I ran to install OVOS was:
OPEN VOICE OS INSTALLER | Version: 02bcb61b
Everything installed fine. The TTS works as I can type a command in the GUI and I get a spoken response. It's just the input / mic that is failing. There is no indication that speech is being received.
So basic details:
inxi -Fxxxrz
System:
Kernel: 6.8.0-45-generic arch: x86_64 bits: 64 compiler: gcc v: 13.2.0
clocksource: tsc
Desktop: MATE v: 1.26.2 wm: marco v: 1.26.2 with: mate-panel
tools: mate-screensaver dm: LightDM v: 1.30.0 Distro: MATE 24.04.1 LTS
(Noble Numbat) base: Ubuntu
Machine:
Type: Desktop System: LENOVO product: 4518C3M v: ThinkCentre M91p
serial:
Mobo: LENOVO model: N/A serial:
uuid: BIOS: LENOVO v: 9HKT47AUS date: 01/10/2012
CPU:
Info: quad core model: Intel Core i5-2400 bits: 64 type: MCP
smt: arch: Sandy Bridge rev: 7 cache: L1: 256 KiB L2: 1024 KiB
L3: 6 MiB
Speed (MHz): avg: 1599 high: 1600 min/max: 1600/3400 cores: 1: 1596
2: 1600 3: 1600 4: 1600 bogomips: 24743
Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
Graphics:
Device-1: AMD Cedar [Radeon HD 5000/6000/7350/8350 Series]
vendor: Micro-Star MSI driver: radeon v: kernel arch: TeraScale-2 pcie:
speed: 5 GT/s lanes: 16 ports: active: DVI-I-1 empty: DP-1 bus-ID: 01:00.0
chip-ID: 1002:68f9 class-ID: 0300 temp: 50.0 C
Display: x11 server: X.Org v: 21.1.11 compositor: marco v: 1.26.2 driver:
X: loaded: radeon unloaded: fbdev,modesetting,vesa dri: r600 gpu: radeon
display-ID: :0 screens: 1
Screen-1: 0 s-res: 1680x1050 s-dpi: 96 s-size: 444x277mm (17.48x10.91")
s-diag: 523mm (20.6")
Monitor-1: DVI-I-1 mapped: DVI-0 model: Lenovo L2250p Wide
serial: res: 1680x1050 hz: 60 dpi: 90
size: 474x296mm (18.66x11.65") diag: 559mm (22") modes: max: 1680x1050
min: 720x400
API: EGL v: 1.5 hw: drv: amd r600 platforms: device: 0 drv: r600 device: 1
drv: swrast surfaceless: drv: r600 x11: drv: r600 inactive: gbm,wayland
API: OpenGL v: 4.5 vendor: mesa v: 24.0.9-0ubuntu0.1 glx-v: 1.4
direct-render: yes renderer: AMD CEDAR (DRM 2.50.0 / 6.8.0-45-generic LLVM
17.0.6) device-ID: 1002:68f9
Audio:
Device-1: Intel 6 Series/C200 Series Family High Definition Audio
vendor: Lenovo ThinkCentre M91p driver: snd_hda_intel v: kernel
bus-ID: 00:1b.0 chip-ID: 8086:1c20 class-ID: 0403
Device-2: AMD Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series]
vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: speed: 5 GT/s
lanes: 16 bus-ID: 01:00.1 chip-ID: 1002:aa68 class-ID: 0403
Device-3: Asahi Kasei Microsystems AK5370 I/F A/D Converter
driver: snd-usb-audio type: USB rev: 1.1 speed: 12 Mb/s lanes: 1
bus-ID: 1-1.5:3 chip-ID: 0556:0001 class-ID: 0102
API: ALSA v: k6.8.0-45-generic status: kernel-api
Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
lsusb -v
Bus 001 Device 003: ID 0556:0001 Asahi Kasei Microsystems Co., Ltd AK5370 I/F A/D Converter
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 [unknown]
bDeviceSubClass 0 [unknown]
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0556 Asahi Kasei Microsystems Co., Ltd
idProduct 0x0001 AK5370 I/F A/D Converter
bcdDevice 0.01
iManufacturer 1 AKM
iProduct 2 AK5370
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0076
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 90mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 1 Control Device
bInterfaceProtocol 0
iInterface 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdADC 1.00
wTotalLength 0x0026
bInCollection 1
baInterfaceNr(0) 1
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType 0x0201 Microphone
bAssocTerminal 2
bNrChannels 1
wChannelConfig 0x0000
iChannelNames 0
iTerminal 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 2
wTerminalType 0x0101 USB Streaming
bAssocTerminal 1
bSourceID 3
iTerminal 0
AudioControl Interface Descriptor:
bLength 8
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 3
bSourceID 1
bControlSize 1
bmaControls(0) 0x03
Mute Control
Volume Control
iFeature 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
AudioStreaming Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 1 (AS_GENERAL)
bTerminalLink 2
bDelay 1 frames
wFormatTag 0x0001 PCM
AudioStreaming Interface Descriptor:
bLength 23
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 1
bSubframeSize 2
bBitResolution 16
bSamFreqType 5 Discrete
tSamFreq[ 0] 8000
tSamFreq[ 1] 11025
tSamFreq[ 2] 22050
tSamFreq[ 3] 44100
tSamFreq[ 4] 48000
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0064 1x 100 bytes
bInterval 1
AudioStreaming Endpoint Descriptor:
bLength 7
bDescriptorType 37
bDescriptorSubtype 1 (EP_GENERAL)
bmAttributes 0x01
Sampling Frequency
bLockDelayUnits 0 Undefined
wLockDelay 0x0000
CLI pulsemixer
Always shows:
Monitor of Built-in Audio Analog Ster~
Built-in Audio Analog Stereo
The odd one is this one:
*AK5370 I/F A/D Converter Mono
Sometimes there will be nothing underneath, sometimes I will get 1 PipeWire ALSA [python3.12, and then sometimes I will have 2 under *AK5370. The only stay for a few seconds and disappear to reappear again.
I checked on the working laptop, and the PipeWire ALSA stays active and doesn't disappear.
I've gone into the Kernel logs and the Syslogs. Let me paste some of the relevant lines here.
Kernel:
2024-10-06T23:01:17.992198+11:00 Basic kernel: usb 1-1.5: USB disconnect, device number 3
2024-10-06T23:01:25.844199+11:00 Basic kernel: usb 1-1.4: new full-speed USB device number 8 using ehci-pci
2024-10-06T23:01:25.923198+11:00 Basic kernel: usb 1-1.4: New USB device found, idVendor=0556, idProduct=0001, bcdDevice= 0.01
2024-10-06T23:01:25.923213+11:00 Basic kernel: usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
2024-10-06T23:01:25.923216+11:00 Basic kernel: usb 1-1.4: Product: AK5370
2024-10-06T23:01:25.923218+11:00 Basic kernel: usb 1-1.4: Manufacturer: AKM
2024-10-06T23:02:26.148146+11:00 Basic kernel: traps: ovos-dinkum-lis[521709] trap invalid opcode ip:72edbc30fb7a sp:7ffcc58b2aa0 error:0 in _pywrap_tensorflow_interpreter_wrapper.so[72edbc2c7000+584000]
2024-10-06T23:02:51.064148+11:00 Basic kernel: traps: ovos-dinkum-lis[521890] trap invalid opcode ip:75b56510fb7a sp:7fff1c0c0ae0 error:0 in _pywrap_tensorflow_interpreter_wrapper.so[75b5650c7000+584000]
2024-10-06T23:03:01.711140+11:00 Basic kernel: traps: ovos-dinkum-lis[522107] trap invalid opcode ip:7cc99910fb7a sp:7ffd85016b40 error:0 in _pywrap_tensorflow_interpreter_wrapper.so[7cc9990c7000+584000]
2024-10-06T23:03:10.665157+11:00 Basic kernel: traps: ovos-dinkum-lis[522206] trap invalid opcode ip:721992f0fb7a sp:7ffdbe3089c0 error:0 in _pywrap_tensorflow_interpreter_wrapper.so[721992ec7000+584000]
2024-10-06T23:03:18.930153+11:00 Basic kernel: traps: ovos-dinkum-lis[522266] trap invalid opcode ip:79ded6f0fb7a sp:7ffc4d1af100 error:0 in _pywrap_tensorflow_interpreter_wrapper.so[79ded6ec7000+584000]
Syslog corresponding times:
2024-10-06T23:00:20.948910+11:00 Basic ovos_PHAL_admin[1365]: 2024-10-06 23:00:20.948 - PHAL_admin - ovos_bus_client.client.client:on_error:134 - WARNING - Message Bus Client will reconnect in 60.0 seconds.
2024-10-06T23:01:17.992198+11:00 Basic kernel: usb 1-1.5: USB disconnect, device number 3
2024-10-06T23:01:20.975479+11:00 Basic ovos_PHAL_admin[1365]: 2024-10-06 23:01:20.974 - PHAL_admin - ovos_bus_client.client.client:on_error:118 - WARNING - Connection Refused. Is Messagebus Service running?
2024-10-06T23:01:21.000612+11:00 Basic ovos_PHAL_admin[1365]: 2024-10-06 23:01:21.000 - PHAL_admin - ovos_bus_client.client.client:on_error:134 - WARNING - Message Bus Client will reconnect in 60.0 seconds.
2024-10-06T23:01:25.844199+11:00 Basic kernel: usb 1-1.4: new full-speed USB device number 8 using ehci-pci
2024-10-06T23:01:25.923198+11:00 Basic kernel: usb 1-1.4: New USB device found, idVendor=0556, idProduct=0001, bcdDevice= 0.01
2024-10-06T23:01:25.923213+11:00 Basic kernel: usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
2024-10-06T23:01:25.923216+11:00 Basic kernel: usb 1-1.4: Product: AK5370
2024-10-06T23:01:25.923218+11:00 Basic kernel: usb 1-1.4: Manufacturer: AKM
2024-10-06T23:01:26.019152+11:00 Basic mtp-probe: checking bus 1, device 8: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4"
2024-10-06T23:01:26.019313+11:00 Basic mtp-probe: bus: 1, device: 8 was not an MTP device
2024-10-06T23:01:26.722006+11:00 Basic mtp-probe: checking bus 1, device 8: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4"
2024-10-06T23:01:26.722113+11:00 Basic mtp-probe: bus: 1, device: 8 was not an MTP device
2024-10-06T23:01:26.722742+11:00 Basic systemd[1248]: Reached target sound.target - Sound Card.
2024-10-06T23:02:14.571845+11:00 Basic systemd[1248]: Started ovos-audio.service - Open Voice OS - Audio.
2024-10-06T23:02:14.573149+11:00 Basic systemd[1248]: Started ovos-core.service - Open Voice OS - Core (skills).
2024-10-06T23:02:14.574750+11:00 Basic systemd[1248]: Started ovos-ggwave-listener.service - Open Voice OS - ggwave listener.
2024-10-06T23:02:14.580305+11:00 Basic systemd[1248]: Started ovos-gui-websocket.service - Open Voice OS - GUI websocket.
2024-10-06T23:02:14.584705+11:00 Basic systemd[1248]: Started ovos-gui.service - Open Voice OS - GUI.
2024-10-06T23:02:14.591586+11:00 Basic systemd[1248]: Started ovos-listener.service - Open Voice OS - Listener.
2024-10-06T23:02:14.599603+11:00 Basic systemd[1248]: Started ovos-messagebus.service - Open Voice OS - Message bus service.
2024-10-06T23:02:14.600810+11:00 Basic systemd[1248]: Started ovos-phal.service - Open Voice OS - PHAL.
2024-10-06T23:02:14.602198+11:00 Basic systemd[1248]: Starting ovos.service - Open Voice OS - Meta service...
2024-10-06T23:02:14.667696+11:00 Basic systemd[1248]: Finished ovos.service - Open Voice OS - Meta service.
2024-10-06T23:02:14.670651+11:00 Basic ovos-gui-app[521708]: Failed to create wl_display (No such file or directory)
2024-10-06T23:02:14.696460+11:00 Basic ovos-gui-app[521708]: qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
.........................................................................
........................................................................
........................................................................
2024-10-06T23:02:16.395416+11:00 Basic ovos-messagebus[521710]: 2024-10-06 23:02:16.395 - bus - ovos_messagebus.main:main:46 - INFO - Starting message bus service...
2024-10-06T23:02:16.503524+11:00 Basic ovos-ggwave-listener[521706]: 2024-10-06 23:02:16.443 - OVOS - ovos_bus_client.client.client:on_error:118 - WARNING - Connection Refused. Is Messagebus Service running?
2024-10-06T23:02:16.506322+11:00 Basic ovos-ggwave-listener[521706]: 2024-10-06 23:02:16.444 - OVOS - ovos_bus_client.client.client:on_error:134 - WARNING - Message Bus Client will reconnect in 5.0 seconds.
2024-10-06T23:02:16.506399+11:00 Basic ovos-messagebus[521710]: 2024-10-06 23:02:16.459 - bus - ovos_messagebus.load_config:load_message_bus_config:33 - INFO - Loading message bus configs
........................................................................
.......................................................................
........................................................................
2024-10-06T23:02:20.999724+11:00 Basic ovos-messagebus[521710]: 2024-10-06 23:02:17.405 - bus - ovos_messagebus.main:on_ready:32 - INFO - Message bus service started!
2024-10-06T23:02:21.000071+11:00 Basic ovos-audio[521704]: 2024-10-06 23:02:18.570 - audio - ovos_audio.service:init:59 - INFO - Starting Audio Service
2024-10-06T23:02:21.000136+11:00 Basic ovos-audio[521704]: 2024-10-06 23:02:18.614 - audio - ovos_audio.service:on_started:41 - INFO - TTS service started.
2024-10-06T23:02:21.000174+11:00 Basic ovos-audio[521704]: 2024-10-06 23:02:19.716 - audio - ovos_audio.service:_maybe_reload_tts:352 - INFO - (re)loading TTS engine
2024-10-06T23:02:21.000215+11:00 Basic ovos-audio[521704]: 2024-10-06 23:02:19.762 - audio - ovos_audio.playback:run:152 - INFO - PlaybackThread started
.......................................................................
........................................................................
......................................................................
2024-10-06T23:02:21.001131+11:00 Basic ovos-ggwave-listener[521706]: ALSA lib pcm.c:2721:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
2024-10-06T23:02:21.001187+11:00 Basic ovos-ggwave-listener[521706]: ALSA lib pcm.c:2721:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
2024-10-06T23:02:21.001217+11:00 Basic ovos-ggwave-listener[521706]: ALSA lib pcm.c:2721:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
2024-10-06T23:02:21.001245+11:00 Basic ovos-ggwave-listener[521706]: ALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel map
2024-10-06T23:02:21.001329+11:00 Basic ovos-ggwave-listener[521706]: message repeated 3 times: [ ALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel map]
2024-10-06T23:02:21.001353+11:00 Basic ovos-ggwave-listener[521706]: Cannot connect to server socket err = No such file or directory
2024-10-06T23:02:21.001383+11:00 Basic ovos-ggwave-listener[521706]: Cannot connect to server request channel
2024-10-06T23:02:21.001411+11:00 Basic ovos-ggwave-listener[521706]: jack server is not running or cannot be started
2024-10-06T23:02:21.001439+11:00 Basic ovos-ggwave-listener[521706]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
2024-10-06T23:02:21.001467+11:00 Basic ovos-ggwave-listener[521706]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
2024-10-06T23:02:21.001663+11:00 Basic ovos_PHAL[521711]: 2024-10-06 23:02:17.357 - PHAL - ovos_PHAL.service:on_started:25 - INFO - PHAL is started
2024-10-06T23:02:21.001918+11:00 Basic ovos-gui-app[521708]: qrc:/main.qml:233:17: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }
.....................................................................
......................................................................
......................................................................
2024-10-06T23:02:21.420903+11:00 Basic ovos-dinkum-listener[521709]: 2024-10-06 23:02:21.420 - voice - ovos_dinkum_listener.service:init:159 - INFO - Starting Voice Service
........................................................
.................................................
.....................................................
2024-10-06T23:02:21.474196+11:00 Basic ovos-dinkum-listener[521709]: 2024-10-06 23:02:21.473 - voice - ovos_dinkum_listener.service:on_alive:94 - INFO - DinkumVoiceService is alive.
2024-10-06T23:02:21.474357+11:00 Basic ovos-dinkum-listener[521709]: 2024-10-06 23:02:21.474 - voice - ovos_dinkum_listener.service:_before_start:349 - INFO - Starting service...
...............................................
..............................................
.............................................
2024-10-06T23:02:23.368344+11:00 Basic ovos-dinkum-listener[521709]: 2024-10-06 23:02:23.367 - voice - ovos_dinkum_listener.service:on_alive:94 - INFO - DinkumVoiceService is alive.
2024-10-06T23:02:23.426357+11:00 Basic ovos-dinkum-listener[521709]: 2024-10-06 23:02:23.426 - voice - ovos_dinkum_listener.voice_loop.hotwords:load_hotword_engines:115 - INFO - creating hotword engines
2024-10-06T23:02:23.462392+11:00 Basic ovos-dinkum-listener[521709]: 2024-10-06 23:02:23.462 - voice - ovos_plugin_manager.wakewords:load_module:139 - INFO - Loading "hey_mycroft" wake word via ovos-ww-plugin-precise-lite with config: {'module': 'ovos-ww-plugin-precise-lite', 'model': 'https://github.com/OpenVoiceOS/precise-lite-models/raw/master/wakewords/en/hey_mycroft.tflite', 'expected_duration': 3, 'trigger_level': 3, 'sensitivity': 0.5, 'listen': True, 'fallback_ww': 'hey_mycroft_precise'}
2024-10-06T23:02:24.651581+11:00 Basic ovos_PHAL[521711]: 2024-10-06 23:02:24.651 - PHAL - ovos_PHAL_plugin_network_manager.gui:request_deactivate:109 - INFO - Gui Network Client Plugin Deactivation Requested
2024-10-06T23:02:24.652049+11:00 Basic ovos-gui-service[521707]: 2024-10-06 23:02:24.651 - gui - ovos_gui.namespace:handle_namespace_global_back:1019 - ERROR - received 'back' signal but there are no active namespaces
2024-10-06T23:02:24.675935+11:00 Basic ovos_PHAL_admin[1365]: 2024-10-06 23:02:24.675 - PHAL_admin - ovos_config.config:_on_file_change:311 - INFO - /home/bryan/.config/mycroft/mycroft.conf unchanged
2024-10-06T23:02:24.755461+11:00 Basic ovos-gui-service[521707]: 2024-10-06 23:02:24.724 - gui - ovos_gui.namespace:handle_namespace_global_back:1019 - ERROR - received 'back' signal but there are no active namespaces
2024-10-06T23:02:24.760276+11:00 Basic ovos-dinkum-listener[521709]: 2024-10-06 23:02:24.759 - voice - ovos_config.config:_on_file_change:311 - INFO - /home/bryan/.config/mycroft/mycroft.conf unchanged
...................................................................
......................................................................
......................................................................
2024-10-06T23:02:24.874240+11:00 Basic ovos-core[521705]: 2024-10-06 23:02:24.873 - skills - ovos_config.config:_on_file_change:311 - INFO - /home/bryan/.config/mycroft/mycroft.conf unchanged
2024-10-06T23:02:24.892212+11:00 Basic ovos-core[521705]: 2024-10-06 23:02:24.892 - skills - ovos_config.config:_on_file_change:311 - INFO - /home/bryan/.config/mycroft/mycroft.conf unchanged
2024-10-06T23:02:26.147475+11:00 Basic ovos-dinkum-listener[521709]: 2024-10-06 23:02:26.146 - voice - ovos_plugin_manager.wakewords:load_module:146 - INFO - Loaded the Wake Word hey_mycroft with module ovos-ww-plugin-precise-lite
2024-10-06T23:02:26.148146+11:00 Basic kernel: traps: ovos-dinkum-lis[521709] trap invalid opcode ip:72edbc30fb7a sp:7ffcc58b2aa0 error:0 in _pywrap_tensorflow_interpreter_wrapper.so[72edbc2c7000+584000]
2024-10-06T23:02:29.585197+11:00 Basic ovos-audio[521704]: 2024-10-06 23:02:29.584 - audio - ovos_plugin_manager.utils:load_plugin:173 - WARNING - Could not find the plugin PluginTypes.PHONEME.ovos-g2p-plugin-mimic
2024-10-06T23:02:29.586963+11:00 Basic ovos-audio[521704]: 2024-10-06 23:02:29.586 - audio - ovos_plugin_manager.g2p:create:121 - ERROR - The selected G2P plugin could not be loaded.
I can provide the full syslog, but there was a lot of PHAL setups for network, etc that went through fine.
It's the kernel:traps bit that has me perplexed. Don't recall ever seeing that before. But it seems linked to the precise-lite which is what I can't get working.
I've done the usual stuff. I've rebooted the machine. Restarted OVOS. Used different USB ports on the system.
My big fear is that after this, I'm going to install on a Pi, where I'll be using a USB dongle to break out the mic and speakers. So if there's something inherently a problem with the USB detection, I'm worried I could have issues on the Pi.
Should also note that this same system, including the mic, was working with a slightly older version of OVOS < 0.0.8 and running Kubuntu 22.04. So maybe this is something to do with Ubuntu Mate. Or something they changed in 22.04. But if I could get some pointers as to what to try next, I'd really appreciate it.
Thanks,
Bryan
p.s. I had a crack at looking through the other issues list, and did a bit of a Google search for something similar and didn't find anything. If this is a duplicate, sorry about that.
The text was updated successfully, but these errors were encountered: