lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 14 Jul 2011 17:01:08 -0400 (EDT)
From:	Justin Piszcz <jpiszcz@...idpixels.com>
To:	linux-kernel@...r.kernel.org
Subject: 2.6.39.2: alsa question: usb sound/card shows up as mixer1/audio1?

Hi,

Is this a simple udev issue or something else?
I bought two of these but they are actually different devices, on one host 
it works ok, on the other, I get this:

p34:~# dmesg|grep -i audio
[   15.499078] usb 2-2.4: Product: C-Media USB Audio Device
[   15.500235] input: C-Media USB Audio Device    as 
/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2.4/2-2.4:1.3/input/input5
[   15.500416] generic-usb 0003:0D8C:0008.0003: input,hidraw2: USB HID 
v1.00 Device [C-Media USB Audio Device   ] on usb-0000:00:1d.7-2.4/input3
[   15.534185] usbcore: registered new interface driver snd-usb-audio
p34:~# ls /dev/mixer*
/dev/mixer1
p34:~# ls /dev/audio*
/dev/audio1
p34:~#

$ cat /proc/asound/cards
  1 [Device         ]: USB-Audio - C-Media USB Audio Device
                       C-Media USB Audio Device at usb-0000:00:1d.7-2.4, 
full speed

On the working host:
$ cat /proc/asound/cards
  0 [Device         ]: USB-Audio - USB PnP Sound Device
                       C-Media Electronics Inc. USB PnP Sound Device at 
usb-0000:00:1d.7-2.4, full spe

--

$ aumix

aumix:  error opening mixer: No such file or directory

--

Any clue why one is mapped to [1] and the other [0], where the one that is 
[0] works properly and the [1] does not?

Justin.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ