web-dev-qa-db-fra.com

Faire fonctionner mon casque USB avec le noyau ChrUbuntu

Je veux simplement passer un appel audio sur mon tout nouveau noyau Ubuntu 12.04 ChruBuntu depuis ma Chromebox. Pour cela, j'essaie d'utiliser 2 appareils:

Un casque logitech H555: http://www.logitech.com/en-au/webcam-communications/internet-headsets-phones/681

Comme cela ne fonctionne pas, j'ai également essayé une webcam, Logitech, pas sûr du modèle, mais semble être celle-ci: http://mobile.logitech.com/en-us/support/webcams/legacy -devices/3382

Le gros problème est qu'il ne s'affiche pas dans mes paramètres -> Son.

enter image description here

Après quelques recherches sur Internet, j'ai compris que dmesg pouvait aider ...

La sortie utile semble être ces lignes:

[34253.108017] EXT4-fs (sda5): couldn't mount RDWR because of unsupported optional features (ff000000)
[35669.588208] usb 2-1.5: USB disconnect, device number 5
[35679.288375] usb 1-1.5: USB disconnect, device number 5
[35682.803740] usb 2-1.5: new full-speed USB device number 6 using ehci_hcd
[35682.894724] usb 2-1.5: New USB device found, idVendor=046d, idProduct=0a01
[35682.894735] usb 2-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[35682.894741] usb 2-1.5: Product: Logitech USB Headset
[35682.894746] usb 2-1.5: Manufacturer: Logitech
[36676.293997] init: Failed to create pty - disabling logging for job
[36676.294067] init: Temporary process spawn error: No such file or directory
[36744.413838] usb 2-1.5: USB disconnect, device number 6
[36784.204411] usb 1-1.6: new full-speed USB device number 21 using ehci_hcd
[36784.294884] usb 1-1.6: New USB device found, idVendor=046d, idProduct=0a01
[36784.294895] usb 1-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[36784.294902] usb 1-1.6: Product: Logitech USB Headset
[36784.294906] usb 1-1.6: Manufacturer: Logitech

Je recherche encore beaucoup de forums et de blogs mais je ne trouve aucune réponse sur ce que je dois faire ensuite.

Un indice?

ÉDITER:

Autre info:

user@ChrUbuntu:~$ lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor
Family DRAM Controller (rev 09)

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation
Core Processor Family Integrated Graphics Controller (rev 09)

00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset
Family USB Enhanced Host Controller #2 (rev 05)

00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset
Family High Definition Audio Controller (rev 05)

00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
Family PCI Express Root Port 1 (rev b5)

00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
Family PCI Express Root Port 3 (rev b5)

00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
Family PCI Express Root Port 4 (rev b5)

00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset
Family USB Enhanced Host Controller #1 (rev 05)

00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC
Controller (rev 05)

00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series
Chipset Family 6 port SATA AHCI Controller (rev 05)

00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family
SMBus Controller (rev 05)

00:1f.6 Signal processing controller: Intel Corporation 6 Series/C200
Series Chipset Family Thermal Management Controller (rev 05)

01:00.0 Network controller: Atheros Communications Inc. AR9300
Wireless LAN adaptor (rev 01)

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)

user@ChrUbuntu:~$ cat /proc/asound/cards

0 [PCH            ]: HDA-Intel - HDA Intel PCH
                     HDA Intel PCH at 0xe0600000 irq 46

Plus d'informations:

user@ChrUbuntu:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 009: ID 046d:0a01 Logitech, Inc. USB Headset
Bus 001 Device 022: ID 046d:08f5 Logitech, Inc. QuickCam Messenger Communicate
Bus 001 Device 006: ID 0cf3:3004 Atheros Communications, Inc. 

MODIFIER ENCORE:

Comme suggéré par John S Gruber, voici les lignes de/var/log/udev qui contiennent v046D La sortie complète est ici: http://Pastebin.com/fWwCee

UDEV  [2.342758] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 (usb)
ACTION=add
BUSNUM=002
DEVICE=/proc/bus/usb/002/003
DEVNAME=/dev/bus/usb/002/003
DEVNUM=003
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2
DEVTYPE=usb_device
ID_BUS=usb
ID_MODEL=Logitech_USB_Headset
ID_MODEL_ENC=Logitech\x20USB\x20Headset
ID_MODEL_ID=0a01
ID_REVISION=1013
ID_SERIAL=Logitech_Logitech_USB_Headset
ID_USB_INTERFACES=:010100:010200:
ID_VENDOR=Logitech
ID_VENDOR_ENC=Logitech
ID_VENDOR_ID=046d
MAJOR=189
MINOR=130
PRODUCT=46d/a01/1013
SEQNUM=1286
SUBSYSTEM=usb
TYPE=0/0/0
UDEV_LOG=3
UPOWER_VENDOR=Logitech, Inc.
USEC_INITIALIZED=2342558

et

KERNEL[2.180449] add      /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.0 (usb)
ACTION=add
DEVICE=/proc/bus/usb/001/005
DEVPATH=/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.0
DEVTYPE=usb_interface
INTERFACE=255/255/255
MODALIAS=usb:v046Dp08F5d0100dcFFdscFFdpFFicFFiscFFipFF
PRODUCT=46d/8f5/100
SEQNUM=1282
SUBSYSTEM=usb
TYPE=255/255/255
UDEV_LOG=3

et

REMARQUE: Ces lignes n'apparaissent que pour v046DpC52 qui semble être la souris + le clavier qui fonctionnent réellement bien, je n'ai AUCUNE ligne contenant v046Dp0A01 (casque) ou v046Dp08F5 (webcam)

UDEV  [2.077186] add      /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.2/0003:046D:C52B.0003/input/input4 (input)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.2/0003:046D:C52B.0003/input/input4
EV=17
ID_BUS=usb
ID_INPUT=1
ID_INPUT_MOUSE=1
ID_MODEL=USB_Receiver
ID_MODEL_ENC=USB\x20Receiver
ID_MODEL_ID=c52b
ID_PATH=pci-0000:00:1a.0-usb-0:1.1:1.2
ID_PATH_TAG=pci-0000_00_1a_0-usb-0_1_1_1_2
ID_REVISION=1201
ID_SERIAL=Logitech_USB_Receiver
ID_TYPE=hid
ID_USB_DRIVER=usbhid
ID_USB_INTERFACES=:030101:030102:030000:
ID_USB_INTERFACE_NUM=02
ID_VENDOR=Logitech
ID_VENDOR_ENC=Logitech
ID_VENDOR_ID=046d
KEY=ffff0000 0 0 0 0
MODALIAS=input:b0003v046DpC52Be0111-e0,1,2,4,k110,111,112,113,114,115,116,117,118,119,11A,11B,11C,11D,11E,11F,r0,1,6,8,am4,lsfw
MSC=10
NAME="Logitech Unifying Device. Wireless PID:101a"
PHYS="usb-0000:00:1a.0-1.1:2"
PRODUCT=3/46d/c52b/111
PROP=0
REL=143
SEQNUM=1239
SUBSYSTEM=input
UDEV_LOG=3
UNIQ=""
USEC_INITIALIZED=2067428

Re-Re-Edit:

Aug  5 21:47:59 ChrUbuntu kernel: [ 1318.128047] usb 2-1.2: USB disconnect, device number 4
Aug  5 21:48:02 ChrUbuntu kernel: [ 1320.940343] usb 2-1.1: USB disconnect, device number 3
Aug  5 21:48:06 ChrUbuntu kernel: [ 1324.493860] usb 2-1.1: new full-speed USB device number 5 using ehci_hcd
Aug  5 21:48:06 ChrUbuntu kernel: [ 1324.580875] usb 2-1.1: New USB device found, idVendor=046d, idProduct=08f5
Aug  5 21:48:06 ChrUbuntu kernel: [ 1324.580885] usb 2-1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
Aug  5 21:48:06 ChrUbuntu kernel: [ 1324.580891] usb 2-1.1: Product: Camera
Aug  5 21:48:06 ChrUbuntu mtp-probe: checking bus 2, device 5: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1"
Aug  5 21:48:06 ChrUbuntu mtp-probe: bus: 2, device: 5 was not an MTP device
Aug  5 21:48:21 ChrUbuntu kernel: [ 1339.603896] usb 2-1.1: USB disconnect, device number 5
Aug  5 21:48:21 ChrUbuntu kernel: [ 1339.782120] usb 2-1.1: new full-speed USB device number 6 using ehci_hcd
Aug  5 21:48:21 ChrUbuntu kernel: [ 1339.868933] usb 2-1.1: New USB device found, idVendor=046d, idProduct=08f5
Aug  5 21:48:21 ChrUbuntu kernel: [ 1339.868948] usb 2-1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
Aug  5 21:48:21 ChrUbuntu kernel: [ 1339.868958] usb 2-1.1: Product: Camera
Aug  5 21:48:21 ChrUbuntu mtp-probe: checking bus 2, device 6: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1"
Aug  5 21:48:21 ChrUbuntu mtp-probe: bus: 2, device: 6 was not an MTP device
Aug  5 21:48:21 ChrUbuntu kernel: [ 1340.291313] usb 2-1.5: new full-speed USB device number 7 using ehci_hcd
Aug  5 21:48:22 ChrUbuntu kernel: [ 1340.382321] usb 2-1.5: New USB device found, idVendor=046d, idProduct=0a01
Aug  5 21:48:22 ChrUbuntu kernel: [ 1340.382332] usb 2-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Aug  5 21:48:22 ChrUbuntu kernel: [ 1340.382338] usb 2-1.5: Product: Logitech USB Headset
Aug  5 21:48:22 ChrUbuntu kernel: [ 1340.382343] usb 2-1.5: Manufacturer: Logitech
Aug  5 21:48:22 ChrUbuntu mtp-probe: checking bus 2, device 7: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5"
Aug  5 21:48:22 ChrUbuntu mtp-probe: bus: 2, device: 7 was not an MTP device

sortie lsusb -v (le terminal est trop court pour afficher les premières lignes:

      Right Front (R)
    iChannelNames           0 
    iTerminal               0 
  AudioControl Interface Descriptor:
    bLength                13
    bDescriptorType        36
    bDescriptorSubtype      4 (MIXER_UNIT)
    bUnitID                 9
    bNrInPins               2
    baSourceID( 0)         12
    baSourceID( 1)          6
    bNrChannels             2
    wChannelConfig     0x0003
      Left Front (L)
      Right Front (R)
    iChannelNames           0 
    bmControls         0x00
    iMixer                  0 
  AudioControl Interface Descriptor:
    bLength                10
    bDescriptorType        36
    bDescriptorSubtype      6 (FEATURE_UNIT)
    bUnitID                 1
    bSourceID               9
    bControlSize            1
    bmaControls( 0)      0x01
      Mute Control
    bmaControls( 1)      0x02
      Volume Control
    bmaControls( 2)      0x02
      Volume Control
    iFeature                0 
  AudioControl Interface Descriptor:
    bLength                 9
    bDescriptorType        36
    bDescriptorSubtype      3 (OUTPUT_TERMINAL)
    bTerminalID            14
    wTerminalType      0x0301 Speaker
    bAssocTerminal          0
    bSourceID               1
    iTerminal               0 
  AudioControl Interface Descriptor:
    bLength                12
    bDescriptorType        36
    bDescriptorSubtype      2 (INPUT_TERMINAL)
    bTerminalID            11
    wTerminalType      0x0201 Microphone
    bAssocTerminal          0
    bNrChannels             1
    wChannelConfig     0x0001
      Left Front (L)
    iChannelNames           0 
    iTerminal               0 
  AudioControl Interface Descriptor:
    bLength                 9
    bDescriptorType        36
    bDescriptorSubtype      6 (FEATURE_UNIT)
    bUnitID                 2
    bSourceID              11
    bControlSize            1
    bmaControls( 0)      0x03
      Mute Control
      Volume Control
    bmaControls( 1)      0x00
    iFeature                0 
  AudioControl Interface Descriptor:
    bLength                12
    bDescriptorType        36
    bDescriptorSubtype      4 (MIXER_UNIT)
    bUnitID                 7
    bNrInPins               1
    baSourceID( 0)          2
    bNrChannels             1
    wChannelConfig     0x0001
      Left Front (L)
    iChannelNames           0 
    bmControls         0x00
    iMixer                  0 
  AudioControl Interface Descriptor:
    bLength                 9
    bDescriptorType        36
    bDescriptorSubtype      3 (OUTPUT_TERMINAL)
    bTerminalID            10
    wTerminalType      0x0101 USB Streaming
    bAssocTerminal          0
    bSourceID               7
    iTerminal               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          12
    bDelay                  1 frames
    wFormatTag              1 PCM
  AudioStreaming Interface Descriptor:
    bLength                23
    bDescriptorType        36
    bDescriptorSubtype      2 (FORMAT_TYPE)
    bFormatType             1 (FORMAT_TYPE_I)
    bNrChannels             2
    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                 9
    bDescriptorType         5
    bEndpointAddress     0x01  EP 1 OUT
    bmAttributes            9
      Transfer Type            Isochronous
      Synch Type               Adaptive
      Usage Type               Data
    wMaxPacketSize     0x00c0  1x 192 bytes
    bInterval               1
    bRefresh                0
    bSynchAddress           0
    AudioControl Endpoint Descriptor:
      bLength                 7
      bDescriptorType        37
      bDescriptorSubtype      1 (EP_GENERAL)
      bmAttributes         0x01
        Sampling Frequency
      bLockDelayUnits         0 Undefined
      wLockDelay              0 Undefined
Interface Descriptor:
  bLength                 9
  bDescriptorType         4
  bInterfaceNumber        1
  bAlternateSetting       2
  bNumEndpoints           1
  bInterfaceClass         1 Audio
  bInterfaceSubClass      2 Streaming
  bInterfaceProtocol      0 
  iInterface              0 
  AudioStreaming Interface Descriptor:
    bLength                 7
    bDescriptorType        36
    bDescriptorSubtype      1 (AS_GENERAL)
    bTerminalLink          12
    bDelay                  1 frames
    wFormatTag              1 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                 9
    bDescriptorType         5
    bEndpointAddress     0x01  EP 1 OUT
    bmAttributes            9
      Transfer Type            Isochronous
      Synch Type               Adaptive
      Usage Type               Data
    wMaxPacketSize     0x0060  1x 96 bytes
    bInterval               1
    bRefresh                0
    bSynchAddress           0
    AudioControl Endpoint Descriptor:
      bLength                 7
      bDescriptorType        37
      bDescriptorSubtype      1 (EP_GENERAL)
      bmAttributes         0x01
        Sampling Frequency
      bLockDelayUnits         0 Undefined
      wLockDelay              0 Undefined
Interface Descriptor:
  bLength                 9
  bDescriptorType         4
  bInterfaceNumber        2
  bAlternateSetting       0
  bNumEndpoints           0
  bInterfaceClass         1 Audio
  bInterfaceSubClass      2 Streaming
  bInterfaceProtocol      0 
  iInterface              0 
Interface Descriptor:
  bLength                 9
  bDescriptorType         4
  bInterfaceNumber        2
  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          10
    bDelay                  0 frames
    wFormatTag              1 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                 9
    bDescriptorType         5
    bEndpointAddress     0x84  EP 4 IN
    bmAttributes            9
      Transfer Type            Isochronous
      Synch Type               Adaptive
      Usage Type               Data
    wMaxPacketSize     0x0060  1x 96 bytes
    bInterval               1
    bRefresh                0
    bSynchAddress           0
    AudioControl Endpoint Descriptor:
      bLength                 7
      bDescriptorType        37
      bDescriptorSubtype      1 (EP_GENERAL)
      bmAttributes         0x01
        Sampling Frequency
      bLockDelayUnits         2 Decoded PCM samples
      wLockDelay              1 Decoded PCM samples

EDIT (Encore une fois ..)

Après

gksu gedit /etc/modprobe.d/alsa-base.conf Changer les options snd-usb-audio index = -2 en `options snd-usb-audio index = 1

Rebranchez ensuite votre casque.

J'ai perdu la sortie numérique et mon casque est devenu une sortie:

enter image description here

user@ChrUbuntu:~$ modprobe snd-usb-audio
FATAL: Module snd_usb_audio not found.

Syslog:

Aug 10 22:51:56 ChrUbuntu kernel: [   27.765382] usb 2-1.1: USB disconnect, device number 3
Aug 10 22:51:58 ChrUbuntu kernel: [   28.964259] usb 2-1.5: new full-speed USB device number 4 using ehci_hcd
Aug 10 22:51:58 ChrUbuntu kernel: [   29.055118] usb 2-1.5: New USB device found, idVendor=046d, idProduct=0a01
Aug 10 22:51:58 ChrUbuntu kernel: [   29.055128] usb 2-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Aug 10 22:51:58 ChrUbuntu kernel: [   29.055135] usb 2-1.5: Product: Logitech USB Headset
Aug 10 22:51:58 ChrUbuntu kernel: [   29.055139] usb 2-1.5: Manufacturer: Logitech
Aug 10 22:51:58 ChrUbuntu mtp-probe: checking bus 2, device 4: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5"
Aug 10 22:51:58 ChrUbuntu mtp-probe: bus: 2, device: 4 was not an MTP device

Cartes:

 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xe0600000 irq 46

Dispositifs:

  2: [ 0- 8]: digital audio playback
  3: [ 0- 7]: digital audio playback
  4: [ 0- 3]: digital audio playback
  5: [ 0- 0]: digital audio playback
  6: [ 0- 0]: digital audio capture
  7: [ 0- 3]: hardware dependent
  8: [ 0- 0]: hardware dependent
  9: [ 0]   : control
 33:        : timer


user@ChrUbuntu:~$ uname -a
Linux ChrUbuntu 3.2.7 #1 SMP Tue Jun 26 23:10:36 PDT 2012 x86_64 x86_64 x86_64 GNU/Linux

bash: /home/user/.bashrc: ligne 110: inattendu EOF lors de la recherche de la correspondance `` 'bash: /home/user/.bashrc: ligne 114: erreur de syntaxe: fin inattendue de fichier

user@ChrUbuntu:~$ locate snd-usb-audio
/lib/modules/3.2.0-23-generic/kernel/sound/usb/snd-usb-audio.ko
/lib/modules/3.2.0-24-generic/kernel/sound/usb/snd-usb-audio.ko
/lib/modules/3.2.0-26-generic/kernel/sound/usb/snd-usb-audio.ko
/lib/modules/3.2.0-27-generic/kernel/sound/usb/snd-usb-audio.ko
/lib/modules/3.2.0-29-generic/kernel/sound/usb/snd-usb-audio.ko
user@ChrUbuntu:~$ lsmod
Module                  Size  Used by
Fuse                   59804  2 
snd_hda_codec_hdmi     29062  1 
snd_hda_codec_cirrus    20544  1 
rfcomm                 25259  0 
joydev                 16448  0 
hid_logitech_dj        16448  0 
ath3k                  12352  0 
bluetooth             116787  10 rfcomm,ath3k
snd_hda_intel          24640  3 
ath9k                 117696  0 
snd_hda_codec          67292  3 snd_hda_codec_hdmi,snd_hda_codec_cirrus,snd_hda_intel
snd_hwdep              12390  1 snd_hda_codec
mac80211              198984  1 ath9k
ath9k_common           12643  1 ath9k
ath9k_hw              363295  2 ath9k,ath9k_common
ath                    21066  3 ath9k,ath9k_common,ath9k_hw
snd_pcm                61378  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
memconsole             12352  0 
cfg80211              140766  3 ath9k,mac80211,ath
r8169                  45120  0 
snd_timer              21094  1 snd_pcm
rtc_cmos               16448  0 
snd_page_alloc         12757  2 snd_hda_intel,snd_pcm
nm10_gpio              12352  0 
user@ChrUbuntu:~$ 
1
Waza_Be

Il me semble que vous utilisez un noyau personnalisé, depuis linux 3.2.7, comme indiqué dans votre uname -a la sortie a un numéro de version plus élevé que le noyau de la version 12.04 actuelle (3.2.0-29). (Il est également inférieur au noyau 12.10 actuel).

En regardant la sortie de lsmod, nous pouvons voir qu'il n'y a pas module snd_usb_audio dans la liste des modules chargés. Vous en avez besoin pour exécuter la plupart des périphériques audio USB qui utilisent la norme USB pour les périphériques audio.

La commande Locate répertorie plusieurs modules snd_usb_audio, mais pas pour votre noyau en cours d'exécution.

  • Je vous suggère d'utiliser un noyau standard et de voir si cela ne détecte pas et ne prend pas en charge vos écouteurs.

  • Si vous avez compilé le noyau personnalisé vous-même, vous souhaiterez peut-être que cela fonctionne, je suggère de faire de snd_usb_audio un module en changeant les variables de configuration du noyau correspondantes, recompilez le noyau et exécutez make modules_install aussi bien que make install pour réinstaller le noyau personnalisé refait. Je reconnais que ce noyau peut avoir snd_usb_audio lié au noyau, auquel cas je ne sais pas pourquoi le noyau personnalisé ne l'utilise pas correctement pour installer les périphériques audio nécessaires.

CONFIG_SND_USB = y
CONFIG_SND_USB_AUDIO = m

3
John S Gruber

Basé sur lsusb -v sortie, le sous-système ALSA du noyau Linux snd_usb_audio devrait allouer les périphériques de contrôle et pcm pour votre périphérique et les piloter.

En regardant this post, cela pourrait valoir la peine d'essayer cette solution:

gksu gedit /etc/modprobe.d/alsa-base.conf

Changement options snd-usb-audio index=-2 à `options snd-usb-audio index=1

Rebranchez ensuite votre casque.


Si cela ne fonctionne pas, veuillez exécuter lsmod et mettre la sortie dans votre question.

Si snd-usb-audio n'apparaît pas dans la liste, veuillez essayer modprobe snd-usb-audio, et capturez/var/log/syslog lorsque vous le faites. À ce moment, veuillez également vérifier lsmod et/proc/asound/devices et/proc/asound/cards et rechercher à nouveau l'interface.

1
John S Gruber