Based on that output, the code seems correct as-is. The sysfs numbering starts
from 0, and the /proc/bus/usb numbering starts from 1, so it adds 1 to the sysfs
value to get the procfs value.
What led you to the conclusion that it needed to be changed? Can you provide
more detail about the problem?
Based on that output, the code seems correct as-is. The sysfs numbering starts
from 0, and the /proc/bus/usb numbering starts from 1, so it adds 1 to the sysfs
value to get the procfs value.
What led you to the conclusion that it needed to be changed? Can you provide
more detail about the problem?