* [PATCH - quirk for USB Aureon cards 1/1] Add quirk to provide proper naming of the Terratec Aureon 5.1 MkII USB card
@ 2009-05-31 21:06 Andrea Borgia
2009-06-01 9:08 ` Takashi Iwai
0 siblings, 1 reply; 9+ messages in thread
From: Andrea Borgia @ 2009-05-31 21:06 UTC (permalink / raw)
To: patch; +Cc: alsa-devel
[-- Attachment #1: 0001-Add-quirk-to-provide-proper-naming-of-the-Terratec-A.patch --]
[-- Type: text/x-diff, Size: 632 bytes --]
Signed-off-by: Andrea Borgia <andrea@borgia.bo.it>
diff --git a/sound/usb/usbquirks.h b/sound/usb/usbquirks.h
index 5d955aa..d84d6f3 100644
--- a/sound/usb/usbquirks.h
+++ b/sound/usb/usbquirks.h
@@ -1951,6 +1951,14 @@ YAMAHA_DEVICE(0x7010, "UB99"),
}
},
{
+ USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0028),
+ .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
+ .vendor_name = "TerraTec",
+ .product_name = "Aureon 5.1 MkII",
+ .ifnum = QUIRK_NO_INTERFACE
+ }
+},
+{
USB_DEVICE(0x0ccd, 0x0035),
.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
.vendor_name = "Miditech",
--
1.6.0.4
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH - quirk for USB Aureon cards 1/1] Add quirk to provide proper naming of the Terratec Aureon 5.1 MkII USB card
2009-05-31 21:06 [PATCH - quirk for USB Aureon cards 1/1] Add quirk to provide proper naming of the Terratec Aureon 5.1 MkII USB card Andrea Borgia
@ 2009-06-01 9:08 ` Takashi Iwai
2009-06-02 18:39 ` Andrea Borgia
0 siblings, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2009-06-01 9:08 UTC (permalink / raw)
To: Andrea Borgia; +Cc: alsa-devel, patch
At Sun, 31 May 2009 23:06:07 +0200,
Andrea Borgia wrote:
>
> [1 <text/plain; ISO-8859-15 (7bit)>]
>
> [2 0001-Add-quirk-to-provide-proper-naming-of-the-Terratec-A.patch <text/x-diff (7bit)>]
>
> Signed-off-by: Andrea Borgia <andrea@borgia.bo.it>
Applied now. Thanks!
(BTW, it'd be helpful if you write a proper subject line and a changelog
in the patch itself at the next time so that I can apply it directly
with git-am.)
Takashi
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH - quirk for USB Aureon cards 1/1] Add quirk to provide proper naming of the Terratec Aureon 5.1 MkII USB card
2009-06-01 9:08 ` Takashi Iwai
@ 2009-06-02 18:39 ` Andrea Borgia
2009-06-03 6:18 ` Takashi Iwai
0 siblings, 1 reply; 9+ messages in thread
From: Andrea Borgia @ 2009-06-02 18:39 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
Takashi Iwai ha scritto:
>> Signed-off-by: Andrea Borgia <andrea@borgia.bo.it>
> Applied now. Thanks!
I fear I might have made a mistake somewhere: after patching, rebuilding
and reloading the module the device is still showing up with the generic
"Audio" name in /proc/asound/cards
>From the looks of it, would you agree my latest patch works like my
earlier one for the Toshiba SB-0500 ? That is, renames the device and
nothing else?
Andrea.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH - quirk for USB Aureon cards 1/1] Add quirk to provide proper naming of the Terratec Aureon 5.1 MkII USB card
2009-06-02 18:39 ` Andrea Borgia
@ 2009-06-03 6:18 ` Takashi Iwai
2009-06-03 13:40 ` Andrea Borgia
0 siblings, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2009-06-03 6:18 UTC (permalink / raw)
To: Andrea Borgia; +Cc: alsa-devel
At Tue, 02 Jun 2009 20:39:13 +0200,
Andrea Borgia wrote:
>
> Takashi Iwai ha scritto:
>
> >> Signed-off-by: Andrea Borgia <andrea@borgia.bo.it>
> > Applied now. Thanks!
>
> I fear I might have made a mistake somewhere: after patching, rebuilding
> and reloading the module the device is still showing up with the generic
> "Audio" name in /proc/asound/cards
>
> From the looks of it, would you agree my latest patch works like my
> earlier one for the Toshiba SB-0500 ? That is, renames the device and
> nothing else?
Hm, doesn't it work properly even after your correction patch?
Takashi
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH - quirk for USB Aureon cards 1/1] Add quirk to provide proper naming of the Terratec Aureon 5.1 MkII USB card
2009-06-03 6:18 ` Takashi Iwai
@ 2009-06-03 13:40 ` Andrea Borgia
2009-06-03 15:56 ` Takashi Iwai
0 siblings, 1 reply; 9+ messages in thread
From: Andrea Borgia @ 2009-06-03 13:40 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
Takashi Iwai ha scritto:
>> From the looks of it, would you agree my latest patch works like my
>> earlier one for the Toshiba SB-0500 ? That is, renames the device and
>> nothing else?
> Hm, doesn't it work properly even after your correction patch?
It does, sort of... but at least I found out that the patched module
wasn't being rebuilt and that was causing the glitch.
Now I get a funny name: "MkII". The full name is ok, but the shorter
name in "cards" is not.
What do you suggest in such cases? Remove all spaces, change them to
underscores or what else?
A.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH - quirk for USB Aureon cards 1/1] Add quirk to provide proper naming of the Terratec Aureon 5.1 MkII USB card
2009-06-03 13:40 ` Andrea Borgia
@ 2009-06-03 15:56 ` Takashi Iwai
2009-06-03 15:59 ` Andrea Borgia
0 siblings, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2009-06-03 15:56 UTC (permalink / raw)
To: Andrea Borgia; +Cc: alsa-devel
At Wed, 03 Jun 2009 15:40:10 +0200,
Andrea Borgia wrote:
>
> Takashi Iwai ha scritto:
>
> >> From the looks of it, would you agree my latest patch works like my
> >> earlier one for the Toshiba SB-0500 ? That is, renames the device and
> >> nothing else?
> > Hm, doesn't it work properly even after your correction patch?
>
> It does, sort of... but at least I found out that the patched module
> wasn't being rebuilt and that was causing the glitch.
>
> Now I get a funny name: "MkII". The full name is ok, but the shorter
> name in "cards" is not.
>
> What do you suggest in such cases? Remove all spaces, change them to
> underscores or what else?
Show the whole name strings. I don't know whether it's funny or not
unless I see them :)
Takashi
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH - quirk for USB Aureon cards 1/1] Add quirk to provide proper naming of the Terratec Aureon 5.1 MkII USB card
2009-06-03 15:56 ` Takashi Iwai
@ 2009-06-03 15:59 ` Andrea Borgia
2009-06-03 16:24 ` Takashi Iwai
0 siblings, 1 reply; 9+ messages in thread
From: Andrea Borgia @ 2009-06-03 15:59 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
Takashi Iwai ha scritto:
> Show the whole name strings. I don't know whether it's funny or not
> unless I see them :)
-x-x-x-
0 [SIS966 ]: HDA-Intel - HDA SIS966
HDA SIS966 at 0xd4200000 irq 18
1 [MkII ]: USB-Audio - Aureon 5.1 MkII
TerraTec Aureon 5.1 MkII at usb-0000:00:03.0-2, full speed
-x-x-x-
You see, MkII could be a lot of things, like Colossus or anything ;-)
A.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH - quirk for USB Aureon cards 1/1] Add quirk to provide proper naming of the Terratec Aureon 5.1 MkII USB card
2009-06-03 15:59 ` Andrea Borgia
@ 2009-06-03 16:24 ` Takashi Iwai
2009-06-03 19:57 ` Andrea Borgia
0 siblings, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2009-06-03 16:24 UTC (permalink / raw)
To: Andrea Borgia; +Cc: alsa-devel
At Wed, 03 Jun 2009 17:59:34 +0200,
Andrea Borgia wrote:
>
> Takashi Iwai ha scritto:
>
> > Show the whole name strings. I don't know whether it's funny or not
> > unless I see them :)
>
> -x-x-x-
> 0 [SIS966 ]: HDA-Intel - HDA SIS966
> HDA SIS966 at 0xd4200000 irq 18
> 1 [MkII ]: USB-Audio - Aureon 5.1 MkII
> TerraTec Aureon 5.1 MkII at usb-0000:00:03.0-2, full speed
> -x-x-x-
>
> You see, MkII could be a lot of things, like Colossus or anything ;-)
Well, it's just an id string. The only requirement is to be unique on
the running system.
If this name is unacceptable (e.g. it's the name of my ex, it's a
patent infringement, or whatever reason), concatenate Aureon 5.1 and
MkII to a single word, then you'll get a different one.
Or, you could implement more codes to give a better id string with
the API function recently added...
thanks,
Takashi
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH - quirk for USB Aureon cards 1/1] Add quirk to provide proper naming of the Terratec Aureon 5.1 MkII USB card
2009-06-03 16:24 ` Takashi Iwai
@ 2009-06-03 19:57 ` Andrea Borgia
0 siblings, 0 replies; 9+ messages in thread
From: Andrea Borgia @ 2009-06-03 19:57 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
Takashi Iwai ha scritto:
> Well, it's just an id string. The only requirement is to be unique on
> the running system.
Although highly unlikely in this specific case, how about multiple
identical cards on the same host? Does it still hold true?
> If this name is unacceptable (e.g. it's the name of my ex, it's a
> patent infringement, or whatever reason), concatenate Aureon 5.1 and
> MkII to a single word, then you'll get a different one.
> Or, you could implement more codes to give a better id string with
> the API function recently added...
Where should I look for this super snazzy function? I'm curious, I
already know how to add a quirk, let's learn something new :-)
Andrea.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-06-03 19:57 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-31 21:06 [PATCH - quirk for USB Aureon cards 1/1] Add quirk to provide proper naming of the Terratec Aureon 5.1 MkII USB card Andrea Borgia
2009-06-01 9:08 ` Takashi Iwai
2009-06-02 18:39 ` Andrea Borgia
2009-06-03 6:18 ` Takashi Iwai
2009-06-03 13:40 ` Andrea Borgia
2009-06-03 15:56 ` Takashi Iwai
2009-06-03 15:59 ` Andrea Borgia
2009-06-03 16:24 ` Takashi Iwai
2009-06-03 19:57 ` Andrea Borgia
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.