You are not logged in.

#1 2017-07-21 22:01:51

bapewka
Member
Registered: 2017-07-21
Posts: 5

USB DAC disconnects every 9 seconds

Hello.

I am trying to use Zishan Z1 as USB DAC, but its getting disconnected/connected every ~9 seconds.
At first i thought that my unit is faulty, but it works well on laptop with elementaryOS.

uname -r

4.11.9-1-ARCH

dmesg

...
[ 2862.198011] usb 1-5: USB disconnect, device number 46
[ 2862.821258] usb 1-5: new full-speed USB device number 47 using xhci_hcd
[ 2871.371383] usb 1-5: USB disconnect, device number 47
[ 2871.994640] usb 1-5: new full-speed USB device number 48 using xhci_hcd
[ 2880.331315] usb 1-5: USB disconnect, device number 48
[ 2880.958020] usb 1-5: new full-speed USB device number 49 using xhci_hcd
[ 2889.291416] usb 1-5: USB disconnect, device number 49
[ 2889.914726] usb 1-5: new full-speed USB device number 50 using xhci_hcd
[ 2898.251444] usb 1-5: USB disconnect, device number 50
[ 2898.874741] usb 1-5: new full-speed USB device number 51 using xhci_hcd
[ 2907.211430] usb 1-5: USB disconnect, device number 51
[ 2907.834697] usb 1-5: new full-speed USB device number 52 using xhci_hcd
...

journalctl

июл 22 02:54:14.306910 bapewka-desktop kernel: usb 1-5: USB disconnect, device number 71
июл 22 02:54:14.315444 bapewka-desktop baloo_file[687]: org.kde.baloo: Found removable storage volume for Baloo undocking: "/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/sound/card2/pcmC2D0p"
июл 22 02:54:14.316899 bapewka-desktop baloo_file[687]: org.kde.baloo: Found removable storage volume for Baloo undocking: "/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/sound/card2/controlC2"
июл 22 02:54:14.317926 bapewka-desktop baloo_file[687]: org.kde.baloo: Found removable storage volume for Baloo undocking: "/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/sound/card2"
июл 22 02:54:14.933552 bapewka-desktop kernel: usb 1-5: new full-speed USB device number 72 using xhci_hcd
июл 22 02:54:15.084531 bapewka-desktop mtp-probe[11548]: checking bus 1, device 72: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5"
июл 22 02:54:15.085099 bapewka-desktop mtp-probe[11548]: bus: 1, device: 72 was not an MTP device
июл 22 02:54:15.645418 bapewka-desktop kdeinit5[626]: QObject::connect: invalid null parameter
июл 22 02:54:15.646130 bapewka-desktop baloo_file[687]: org.kde.baloo: "/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/sound/card2"
июл 22 02:54:15.646339 bapewka-desktop baloo_file[687]: QObject::connect: invalid null parameter
июл 22 02:54:15.650807 bapewka-desktop baloo_file[687]: org.kde.baloo: "/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/sound/card2/pcmC2D0p"
июл 22 02:54:15.651746 bapewka-desktop baloo_file[687]: QObject::connect: invalid null parameter
июл 22 02:54:15.653321 bapewka-desktop kdeinit5[626]: QObject::connect: invalid null parameter
июл 22 02:54:15.661889 bapewka-desktop kdeinit5[626]: QObject::connect: invalid null parameter
июл 22 02:54:15.663312 bapewka-desktop baloo_file[687]: org.kde.baloo: "/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/sound/card2/controlC2"
июл 22 02:54:15.666044 bapewka-desktop baloo_file[687]: QObject::connect: invalid null parameter
июл 22 02:54:15.698343 bapewka-desktop pulseaudio[704]: W: [pulseaudio] sink.c: Default and alternate sample rates are the same.
июл 22 02:54:15.699356 bapewka-desktop rtkit-daemon[707]: Supervising 3 threads of 1 processes of 1 users.
июл 22 02:54:15.701045 bapewka-desktop rtkit-daemon[707]: Successfully made thread 11575 of process 704 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
июл 22 02:54:15.701059 bapewka-desktop rtkit-daemon[707]: Supervising 4 threads of 1 processes of 1 users.
июл 22 02:54:23.266989 bapewka-desktop kernel: usb 1-5: USB disconnect, device number 72
июл 22 02:54:23.267992 bapewka-desktop baloo_file[687]: org.kde.baloo: Found removable storage volume for Baloo undocking: "/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/sound/card2/controlC2"
июл 22 02:54:23.270033 bapewka-desktop baloo_file[687]: org.kde.baloo: Found removable storage volume for Baloo undocking: "/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/sound/card2/pcmC2D0p"
июл 22 02:54:23.272604 bapewka-desktop baloo_file[687]: org.kde.baloo: Found removable storage volume for Baloo undocking: "/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/sound/card2"
июл 22 02:54:23.890262 bapewka-desktop kernel: usb 1-5: new full-speed USB device number 73 using xhci_hcd
июл 22 02:54:24.040552 bapewka-desktop mtp-probe[11588]: checking bus 1, device 73: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5"
июл 22 02:54:24.041209 bapewka-desktop mtp-probe[11588]: bus: 1, device: 73 was not an MTP device
июл 22 02:54:24.609163 bapewka-desktop kdeinit5[626]: QObject::connect: invalid null parameter
июл 22 02:54:24.610750 bapewka-desktop kdeinit5[626]: QObject::connect: invalid null parameter
июл 22 02:54:24.612785 bapewka-desktop baloo_file[687]: org.kde.baloo: "/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/sound/card2"
июл 22 02:54:24.613296 bapewka-desktop baloo_file[687]: QObject::connect: invalid null parameter
июл 22 02:54:24.613683 bapewka-desktop baloo_file[687]: org.kde.baloo: "/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/sound/card2/pcmC2D0p"
июл 22 02:54:24.613789 bapewka-desktop baloo_file[687]: QObject::connect: invalid null parameter
июл 22 02:54:24.616997 bapewka-desktop baloo_file[687]: org.kde.baloo: "/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/sound/card2/controlC2"
июл 22 02:54:24.617077 bapewka-desktop baloo_file[687]: QObject::connect: invalid null parameter
июл 22 02:54:24.617935 bapewka-desktop kdeinit5[626]: QObject::connect: invalid null parameter
июл 22 02:54:24.647572 bapewka-desktop pulseaudio[704]: W: [pulseaudio] sink.c: Default and alternate sample rates are the same.
июл 22 02:54:24.648376 bapewka-desktop rtkit-daemon[707]: Supervising 3 threads of 1 processes of 1 users.
июл 22 02:54:24.649986 bapewka-desktop rtkit-daemon[707]: Successfully made thread 11615 of process 704 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
июл 22 02:54:24.649999 bapewka-desktop rtkit-daemon[707]: Supervising 4 threads of 1 processes of 1 users.

lsusb -t

...
    |__ Port 5: Dev 82, If 1, Class=Audio, Driver=snd-usb-audio, 12M
    |__ Port 5: Dev 82, If 0, Class=Audio, Driver=snd-usb-audio, 12M
...

Offline

#2 2017-07-22 01:38:28

GenkiSky
Member
From: This account is henceforth dis
Registered: 2017-04-04
Posts: 82

Re: USB DAC disconnects every 9 seconds

The fact that it works in Elementary, and seeing threads like https://askubuntu.com/questions/505932/ … 507#666507  , https://ubuntuforums.org/archive/index. … 64198.html , and https://bbs.archlinux.org/viewtopic.php?id=119676 make me guess that the "was not an MTP device" along with "usb disconnect" are the main keywords to search online for. Perhaps libmtp (and maybe correspondingly KDE) is reacting strangely to the device. To debug, I would recommend trying uninstalling libmtp, rebooting, logging in, and seeing if you still have that USB disconnect issue. This isn't to say libmtp is bad, it just may be missing the right config. So either way, that askubuntu.com thread where the person shows how to add a udev rule for MTP devices might be the next thing to try.

Last edited by GenkiSky (2017-07-22 01:42:26)

Offline

#3 2017-07-22 12:24:29

bapewka
Member
Registered: 2017-07-21
Posts: 5

Re: USB DAC disconnects every 9 seconds

Thanks for answer.

Issue is still there even without libmtp. I have also tried disabling baloo, but result is still the same.

Offline

#4 2017-07-22 19:28:54

progandy
Member
Registered: 2012-05-17
Posts: 5,190

Re: USB DAC disconnects every 9 seconds

Can you try to boot to tty (multi-user.target) without X and try what happens then? In that case neither pulseaudio nor kde should be running, so you can check if they are responsible.
https://wiki.archlinux.org/index.php/Sy … _boot_into

You can also check if booting with arch iso on your elementaryOS machine has the same errors. Maybe your DAC doesn't work well with your arch hardware.

Last edited by progandy (2017-07-22 19:31:44)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#5 2017-07-22 20:28:24

bapewka
Member
Registered: 2017-07-21
Posts: 5

Re: USB DAC disconnects every 9 seconds

progandy wrote:

Can you try to boot to tty (multi-user.target) without X and try what happens then? In that case neither pulseaudio nor kde should be running, so you can check if they are responsible.
https://wiki.archlinux.org/index.php/Sy … _boot_into

Still the same.

progandy wrote:

You can also check if booting with arch iso on your elementaryOS machine has the same errors. Maybe your DAC doesn't work well with your arch hardware.

It works there(i've used antergos minimal image)

Offline

#6 2017-07-22 20:36:43

bapewka
Member
Registered: 2017-07-21
Posts: 5

Re: USB DAC disconnects every 9 seconds

Booted same image on my arch machine, no disconnects.

Also tried to hook hdd with windows10 and booted there - works well, so i dont think its a hardware issue.

Offline

#7 2017-07-22 20:57:14

seth
Member
Registered: 2012-09-03
Posts: 51,046

Re: USB DAC disconnects every 9 seconds

Tried the lts kernel?

Offline

#8 2017-07-22 21:11:28

bapewka
Member
Registered: 2017-07-21
Posts: 5

Re: USB DAC disconnects every 9 seconds

seth wrote:

Tried the lts kernel?

Yeah, same thing (4.9.37-1-lts).

Offline

Board footer

Powered by FluxBB