When you echo something to new_id the kernelmodule/driver that
owns/manages that "file" handles doing what echoing something to that
"file" is supposed to do.

The defined rule for new_id is it appends the new data to the current
list of pci_ids/usb_ids devices that the driver supports.

Nothing in /sys /proc is a real file and all of these "files" do not
always act exactly like a real file.

On Wed, Dec 10, 2025 at 2:17 AM Stephen Morris
<[email protected]> wrote:
>
> Hi,
>      With the following rules content, why does the echo command
> specified not write to /sys/bus/usb/drivers/mt7925u/new_id, why does it
> append to that file?
>
> regards,
> --
> _______________________________________________
> users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/[email protected]
> Do not reply to spam, report it: 
> https://pagure.io/fedora-infrastructure/new_issue
-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to