Hi,

I'm an authour of this kernel module (snd-bebob), I think you already
know.

I'll explain about the naming rule for ALSA FireWire drivers.

struct snd_ctl_card_info.driver[16]
    => BeBoB/Fireworks/OXFW/Dice/Digi00x etc...
struct snd_ctl_card_info.name[32]
    => 'model name' from config ROM, see below
struct snd_ctl_card_info.longname[80]
    => a joined string of 'vendor name', 'model name', bus speed etc... 
Sometimes truncated.
struct snd_ctl_card_info.mixername[80]
    => not important because these modules basically has no control elements
struct snd_ctl_card_info.components[128]
    => not filled

The 'config ROM' is defined in IEEE 1212 and IEEE 1394. Generally, each
device on IEEE 1394 bus have its information in the same register
defined in these specifications. In the information, vendor and model
name is included and the kernel modules refers to them.

You can see actual examples of the information in config ROM in ffado page:
http://subversion.ffado.org/wiki/AvcModels

For example,
http://subversion.ffado.org/wiki/AvcModels/TerratecPhase88

{{{
Config ROM
        Current Node Id:        0
        GUID:                   0x000aac0300d99287
        Vendor Name:            TerraTec Electronic GmbH
        Model Name:             PHASE 88 Rack FW
        ...
}}}

Well, I reccomend you to use struct snd_ctl_card_info.name[32] for shown
name. It can be retrieved by snd_ctl_card_info_get_name().

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1381475

Title:
  Firewire sound card registered by the name of the fw controller

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1381475/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to