From: Clemens Ladisch <clemens@ladisch.de>
To: Brian Jones <g0ukb@ivarc.org.uk>, alsa-devel@alsa-project.org
Subject: Re: ERROR: USB Sound card with unsafe characters
Date: Mon, 29 Feb 2016 10:42:14 +0100 [thread overview]
Message-ID: <56D41276.9080506@ladisch.de> (raw)
In-Reply-To: <CADKQKXYmcT8eOf9wH=Do_0RTk1RGBwMwTY0hvyNoXxVEwptWRg@mail.gmail.com>
Brian Jones wrote:
> I don't know how to get this bug to the developers
Just send it to the alsa-devel list. Once.
> My USB soundcard is an Asus Xonar U7 Echelon Edition
> <https://www.asus.com/Sound-Cards/Xonar_U7_Echelon_Edition/> which
> identifies itself to alsa as "Xonar U7 Echelon Ed." The card is supported
> by alsa and works well in analog mode but I cannot get digital output via
> alsa.
>
> Attempts to change the iec958 device in USB-Audio.conf fail because of the
> period char and apparently my level of OS (Mint 17.3 based on Ubuntu 14.04,
> kernel 3.19.0-32) does not have alsa supporting USB vendorid:productid
> naming
The vendor:product naming is used only for device that do not have a name.
The newer version of alsa-lib would replace unsafe characters (like '.')
with an underscore.
Try changing /usr/share/alsa/cards/USB-Audio.conf. Dont add an entry to
the USB-Audio.pcm.iec958_device list near the top, but go to the bottom,
to the USB-Audio.pcm.iec958.0 definition, and change this:
USB-Audio.pcm.iec958.0 {
@args [ CARD AES0 AES1 AES2 AES3 ]
@args.CARD { type string }
@args.AES0 { type integer }
@args.AES1 { type integer }
@args.AES2 { type integer }
@args.AES3 { type integer }
@func refer
name {
...(lots of stuff)...
}
default {
...(lots of stuff)...
}
}
to this:
USB-Audio.pcm.iec958.0 {
@args [ CARD AES0 AES1 AES2 AES3 ]
@args.CARD { type string }
@args.AES0 { type integer }
@args.AES1 { type integer }
@args.AES2 { type integer }
@args.AES3 { type integer }
type hw # no @func
card $CARD
device 1
}
(This will break S/PDIF on all other USB devices, but who cares ...)
Regards,
Clemens
next prev parent reply other threads:[~2016-02-29 9:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-29 9:08 ERROR: USB Sound card with unsafe characters Brian Jones
2016-02-29 9:42 ` Clemens Ladisch [this message]
2016-02-29 10:27 ` Brian Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56D41276.9080506@ladisch.de \
--to=clemens@ladisch.de \
--cc=alsa-devel@alsa-project.org \
--cc=g0ukb@ivarc.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.