Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Failed to open Alsa device "hw:1,0" no such file or directory
#9
@Deenoo

Interesting problem.

I have three USB audio devices


- an old C-Media CM108 USB to headphone adapter (e.g., 3.5mm analog audio out)
- a Creative Technology W2 USB-BT audio adapter
- a Khadas Tone Board

The USB device-tree information returned for these three by lsusb -v differs in details but in every case includes an interface class "Audio"

Code:
# In each case, I found the -d vendor:device codes by running lsusb without options
pi@moode3a:~ $ sudo lsusb -v -d 041e:3125|grep Audio
  iProduct                2 Creative Bluetooth Audio W2
      bInterfaceClass         1 Audio
...

pi@moode4b:~ $ lsusb -v -d 0d8c:013c|grep Audio
Couldn't open device, some information will be missing
Bus 001 Device 003: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio Controller
 idProduct          0x013c CM108 Audio Controller
     bInterfaceClass         1 Audio
...

# the iProduct string for the Khadas, not seen here, occurs later in the output
pi@moodelr:~ $ lsusb -v -d 20b1:000a|grep Audio
Couldn't open device, some information will be missing  ### can be ignored for this test
      bFunctionClass          1 Audio
      bInterfaceClass         1 Audio
...

More fundamentally, each of these devices was detected by the kernel as an audio device. For example, in the case of the Khadas Tone Board

Code:
pi@moodelr:~ $ dmesg|grep usb
... skipping all the lines about other USB devices detected
[    1.591733] usb 1-1.4: new high-speed USB device number 4 using xhci_hcd
[    1.722664] usb 1-1.4: New USB device found, idVendor=20b1, idProduct=000a, bcdDevice= 1.04
[    1.722708] usb 1-1.4: New USB device strings: Mfr=1, Product=3, SerialNumber=0
[    1.722741] usb 1-1.4: Product: Khadas Tone Control
[    1.722766] usb 1-1.4: Manufacturer: XMOS
[    5.722687] usbcore: registered new interface driver brcmfmac
[    5.848004] usb 1-1.4: 1:3 : unsupported format bits 0x100000000
[    5.853859] usbcore: registered new interface driver snd-usb-audio


If you don't see that last line then the Linux kernel isn't recognizing your Playmate. That's something for Burson to work out with the Linux developers.

Regards,
Kent
Reply


Messages In This Thread
RE: Failed to open Alsa device "hw:1,0" no such file or directory - by TheOldPresbyope - 10-22-2019, 05:41 PM

Forum Jump: