1

I have raspberry pi running raspbian that has 3 sound devices plugged in via USB. I successfully renamed the card ids for alsa based on the USB port with this rule:

SUBSYSTEM!="sound", GOTO="my_usb_audio_end"
ACTION!="add", GOTO="my_usb_audio_end"

DEVPATH=="/devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9.2/1-9.2:1.0/sound/card?", ATTR{id}="Audio_Channel_1"

LABEL="my_usb_audio_end"

(plase not that the USB path may be off, ive done this on my computer for now not on the raspberry).

What I would like to change now too is the device name reported by lsusb. Currently this is:

USB PnP Sound Device, USB Audio

How can I also rename the device name with udev?

2

You can't change the output of lsusb with udev.

Actually, you can't change the output of lsusb at all, the names are reported by the USB devices themselves.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.