USB Audio Gadget: change displayed name

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB Audio Gadget: change displayed name

1,112 Views
dabrain
Contributor I

Dear all,

I'm using the USB Audio Gadget mode on imx but i would like to change the name displayed on PC host. For now it displays Linux USB audio gadget in alsa interface list. Can it be changed for a custom name without change PID/VID ?

BR.

Steph

Labels (2)
Tags (3)
0 Kudos
Reply
2 Replies

881 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi Steph,

The display name could be changed by modifying the “String Descriptors”, which are the strings that are used to “show” a name of the Device on the Host.


Hope this will be useful for you.
Best regards!
/Carlos

--------------------------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
--------------------------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

881 Views
dabrain
Contributor I

Hi Carlos,

Thx for your anwser.

I tried to change DRIVER_DESC in drivers/usb/gadget/audio.c but it does not seem to be enough.

Indeed i guess i need to change the VID/PID couple seen that my linux host is still recognizing it as an Audio gadget class.

What do you think ? What can i use as PID/VID?

Best regards.

0 Kudos
Reply