USB Audio Gadget: change displayed name

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

USB Audio Gadget: change displayed name

1,114 次查看
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

标签 (2)
标记 (3)
0 项奖励
回复
2 回复数

883 次查看
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 项奖励
回复

883 次查看
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 项奖励
回复