LINUX.ORG.RU

[solved] fiio q1 mark II не пашет под archlinux

 , ,


0

1

сегодня взял. на работе арч и всё норм, дома на ноуте на арче не хочет работать. гуглы с реддитами ничего не дали. может, не стоит чего на ноуте?

$ dmesg | tail -n 6
[375111.399378] usb 1-3: new high-speed USB device number 11 using xhci_hcd
[375111.539960] usb 1-3: New USB device found, idVendor=2972, idProduct=0035, bcdDevice= 1.07
[375111.539965] usb 1-3: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[375111.539968] usb 1-3: Product: FiiO Q1
[375111.539971] usb 1-3: Manufacturer: GuangZhou FiiO Electronics Co.,Ltd
[375111.539974] usb 1-3: SerialNumber: FA132531

$ cat /etc/asound.conf 
# Use PulseAudio by default
pcm.!default {
  type pulse
  fallback "sysdefault"
  hint {
    show on
    description "Default ALSA Output (currently PulseAudio Sound Server)"
  }
}

ctl.!default {
  type pulse
  fallback "sysdefault"
}

# vim:set ft=alsaconf:

sudo aplay -l не показывает

в pavucontrol и alsamixer нет нет

руками лезть в asound.conf не хочу, т.к. девайс хочу с собой носить и не знаю, как сделать так, чтобы там само всё цеплялось

xfce, если чё



Последнее исправление: luntik2012 (всего исправлений: 2)
Ответ на: комментарий от anonymous
user@dell /proc/asound $ ls -l
total 0
dr-xr-xr-x 9 root root 0 Nov 28 21:21 card0
-r--r--r-- 1 root root 0 Nov 28 21:35 cards
-r--r--r-- 1 root root 0 Nov 28 21:35 devices
-r--r--r-- 1 root root 0 Nov 28 21:35 hwdep
-r--r--r-- 1 root root 0 Nov 28 21:35 modules
dr-xr-xr-x 2 root root 0 Nov 28 21:35 oss
lrwxrwxrwx 1 root root 5 Nov 28 21:35 PCH -> card0
-r--r--r-- 1 root root 0 Nov 28 21:35 pcm
dr-xr-xr-x 2 root root 0 Nov 28 21:35 seq
-r--r--r-- 1 root root 0 Nov 28 21:35 timers
-r--r--r-- 1 root root 0 Nov 28 21:35 version
user@dell /proc/asound $ find .
.
./PCH
./oss
./oss/devices
./oss/sndstat
./pcm
./seq
./card0
./card0/id
./card0/pcm0c
./card0/pcm0c/info
./card0/pcm0c/sub0
./card0/pcm0c/sub0/info
./card0/pcm0c/sub0/status
./card0/pcm0c/sub0/prealloc
./card0/pcm0c/sub0/hw_params
./card0/pcm0c/sub0/sw_params
./card0/pcm0c/sub0/prealloc_max
./card0/pcm0p
./card0/pcm0p/info
./card0/pcm0p/sub0
./card0/pcm0p/sub0/info
./card0/pcm0p/sub0/status
./card0/pcm0p/sub0/prealloc
./card0/pcm0p/sub0/hw_params
./card0/pcm0p/sub0/sw_params
./card0/pcm0p/sub0/prealloc_max
./card0/pcm3p
./card0/pcm3p/info
./card0/pcm3p/sub0
./card0/pcm3p/sub0/info
./card0/pcm3p/sub0/status
./card0/pcm3p/sub0/prealloc
./card0/pcm3p/sub0/hw_params
./card0/pcm3p/sub0/sw_params
./card0/pcm3p/sub0/prealloc_max
./card0/pcm7p
./card0/pcm7p/info
./card0/pcm7p/sub0
./card0/pcm7p/sub0/info
./card0/pcm7p/sub0/status
./card0/pcm7p/sub0/prealloc
./card0/pcm7p/sub0/hw_params
./card0/pcm7p/sub0/sw_params
./card0/pcm7p/sub0/prealloc_max
./card0/pcm8p
./card0/pcm8p/info
./card0/pcm8p/sub0
./card0/pcm8p/sub0/info
./card0/pcm8p/sub0/status
./card0/pcm8p/sub0/prealloc
./card0/pcm8p/sub0/hw_params
./card0/pcm8p/sub0/sw_params
./card0/pcm8p/sub0/prealloc_max
./card0/pcm9p
./card0/pcm9p/info
./card0/pcm9p/sub0
./card0/pcm9p/sub0/info
./card0/pcm9p/sub0/status
./card0/pcm9p/sub0/prealloc
./card0/pcm9p/sub0/hw_params
./card0/pcm9p/sub0/sw_params
./card0/pcm9p/sub0/prealloc_max
./card0/pcm10p
./card0/pcm10p/info
./card0/pcm10p/sub0
./card0/pcm10p/sub0/info
./card0/pcm10p/sub0/status
./card0/pcm10p/sub0/prealloc
./card0/pcm10p/sub0/hw_params
./card0/pcm10p/sub0/sw_params
./card0/pcm10p/sub0/prealloc_max
./card0/codec#0
./card0/codec#2
./card0/eld#2.0
./card0/eld#2.1
./card0/eld#2.2
./card0/eld#2.3
./card0/eld#2.4
./card0/eld#2.5
./card0/eld#2.6
./card0/eld#2.7
./card0/eld#2.8
./cards
./hwdep
./timers
./devices
./modules
./version

ЗЫ как тут телегу под кат прятать?

luntik2012
() автор топика

1) приходишь на работу, смотришь вывод lspci -k |grep -iA2 audio и cat /proc/asound/{cards,modules} 2) приходишь домой, смотришь вывод таких же команд 3) ??! 4) PROFIT!

PS. можно ещё дома и на работе посмотреть вывод lsusb -t
но это так, между делом

anonymous
()
Ответ на: комментарий от anonymous

рабочий:

user@pc ~ $ lspci -k | grep -iA2 audio
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
  Subsystem: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
  Kernel driver in use: snd_hda_intel
  Kernel modules: snd_hda_intel
--
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
  Subsystem: Gigabyte Technology Co., Ltd 8 Series/C220 Series Chipset High Definition Audio Controller
  Kernel driver in use: snd_hda_intel
  Kernel modules: snd_hda_intel
--
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
  Subsystem: Gigabyte Technology Co., Ltd Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
  Kernel driver in use: snd_hda_intel
  Kernel modules: snd_hda_intel
user@pc ~ $ cat /proc/asound/{cards,modules}
 0 [HDMI_1         ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xd0834000 irq 37
 1 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xd0830000 irq 34
 2 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xd0260000 irq 36
 3 [Q1             ]: USB-Audio - FiiO Q1
                      GuangZhou FiiO Electronics Co.,Ltd FiiO Q1 at usb-0000:00:14.0-8.4, high speed
 0 snd_hda_intel
 1 snd_hda_intel
 2 snd_hda_intel
 3 snd_usb_audio
user@pc ~ $ lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
    |__ Port 5: Dev 2, If 0, Class=Vendor Specific Class, Driver=ax88179_178a, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/15p, 480M
    |__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 4: Dev 4, If 0, Class=Hub, Driver=hub/4p, 480M
    |__ Port 4: Dev 3, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 3: Dev 8, If 1, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 3: Dev 8, If 2, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 3: Dev 8, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 2: Dev 6, If 2, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 2: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 2: Dev 6, If 3, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 2: Dev 6, If 1, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 7: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 8: Dev 7, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 3: Dev 22, If 5, Class=Mass Storage, Driver=usb-storage, 480M
        |__ Port 3: Dev 22, If 3, Class=Vendor Specific Class, Driver=, 480M
        |__ Port 3: Dev 22, If 1, Class=Vendor Specific Class, Driver=, 480M
        |__ Port 3: Dev 22, If 4, Class=Vendor Specific Class, Driver=qmi_wwan, 480M
        |__ Port 3: Dev 22, If 2, Class=Vendor Specific Class, Driver=, 480M
        |__ Port 3: Dev 22, If 0, Class=Vendor Specific Class, Driver=, 480M
        |__ Port 1: Dev 9, If 0, Class=Hub, Driver=hub/4p, 480M
            |__ Port 1: Dev 11, If 0, Class=Vendor Specific Class, Driver=r8152, 480M
        |__ Port 4: Dev 21, If 2, Class=Application Specific Interface, Driver=, 480M
        |__ Port 4: Dev 21, If 0, Class=Audio, Driver=snd-usb-audio, 480M
        |__ Port 4: Dev 21, If 3, Class=Vendor Specific Class, Driver=, 480M
        |__ Port 4: Dev 21, If 1, Class=Audio, Driver=snd-usb-audio, 480M
$ lsmod | grep audio
snd_usb_audio         274432  2
snd_usbmidi_lib        40960  1 snd_usb_audio
mc                     61440  1 snd_usb_audio
ledtrig_audio          16384  2 snd_hda_codec_generic,snd_hda_codec_realtek
snd_hwdep              20480  2 snd_usb_audio,snd_hda_codec
snd_pcm               135168  6 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
snd                   110592  25 snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi

ноут:

$  lspci -k |grep -iA2 audio
lspci: Unable to load libkmod resources: error -12
00:1f.3 Audio device: Intel Corporation Cannon Point-LP High Definition Audio Controller (rev 30)
	DeviceName: Onboard - Sound
	Subsystem: Dell Cannon Point-LP High Definition Audio Controller
	Kernel driver in use: snd_hda_intel
00:1f.4 SMBus: Intel Corporation Cannon Point-LP SMBus Controller (rev 30)
$ cat /proc/asound/{cards,modules}
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xa1318000 irq 148
 0 snd_hda_intel
$ lsusb -t 
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 10000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
    |__ Port 1: Dev 9, If 1, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 1: Dev 9, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 2: Dev 17, If 2, Class=Application Specific Interface, Driver=, 480M
    |__ Port 2: Dev 17, If 0, Class=Audio, Driver=, 480M
    |__ Port 2: Dev 17, If 3, Class=Vendor Specific Class, Driver=, 480M
    |__ Port 2: Dev 17, If 1, Class=Audio, Driver=, 480M
    |__ Port 6: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 6: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M
    |__ Port 10: Dev 4, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 10: Dev 4, If 1, Class=Wireless, Driver=btusb, 12M
luntik2012
() автор топика
Ответ на: комментарий от anonymous

ну нет это типа нет в lsmod. в dmesg не грепается, только то, что в шапке, появляется. ну или так

$ dmesg | grep -iE "usb|snd|sound|audio"
[420136.846471] usb 1-2: USB disconnect, device number 14
[420138.287422] usb 1-3: USB disconnect, device number 13
[423470.425364] usb 1-2: new high-speed USB device number 15 using xhci_hcd
[423470.569499] usb 1-2: New USB device found, idVendor=2972, idProduct=0035, bcdDevice= 1.07
[423470.569505] usb 1-2: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[423470.569508] usb 1-2: Product: FiiO Q1
[423470.569511] usb 1-2: Manufacturer: GuangZhou FiiO Electronics Co.,Ltd
[423470.569513] usb 1-2: SerialNumber: FA132531
[429175.815748] usb 1-2: USB disconnect, device number 15
[429674.074397] usb 1-2: new high-speed USB device number 16 using xhci_hcd
[429674.218495] usb 1-2: New USB device found, idVendor=2972, idProduct=0035, bcdDevice= 1.07
[429674.218500] usb 1-2: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[429674.218503] usb 1-2: Product: FiiO Q1
[429674.218506] usb 1-2: Manufacturer: GuangZhou FiiO Electronics Co.,Ltd
[429674.218508] usb 1-2: SerialNumber: FA132531
[434291.842993] usb 1-2: USB disconnect, device number 16
[459901.703093] usb 1-2: new high-speed USB device number 17 using xhci_hcd
[459901.844138] usb 1-2: New USB device found, idVendor=2972, idProduct=0035, bcdDevice= 1.07
[459901.844144] usb 1-2: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[459901.844147] usb 1-2: Product: FiiO Q1
[459901.844150] usb 1-2: Manufacturer: GuangZhou FiiO Electronics Co.,Ltd
[459901.844153] usb 1-2: SerialNumber: FA132531

а в компе модуль грузится. пойду погуглю, чё доставить. modprobe говорит «нихачу»

luntik2012
() автор топика
Ответ на: комментарий от luntik2012

короче ржунимагу. не скажу, что впервые у меня траблы с testing репами, но тем не менее

обновил систему, появился fiio, но отвалилась встроенная вафля. при заходе в pavucontrol система висла намертво.

убрал testing репы, анально установил ядро и прочая, всё заработало.

на работе тоже testing репы, но я не каждый день обновляюсь. видимо, звёзды сошлись.

luntik2012
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.