On 06/25/2013 11:17 AM, Alan Stern wrote:
Say the sensor A gets
to port 3 and sensor B gets to port 4 the first time,  but when a reset
happens they get switched in order and sensor A gets to port 5 and
sensor B gets to port 4??.
That won't happen unless you remove the wires connecting the sensors to
the board, swap the wires, and then reconnect them to the board.
So you're saying, "go to the /sys/bus/usb/devices/, and read the specific devnum for each port, the lesser number corresponds to the first sensor and the greater number to the second one" ??
When the reset happens, it is certainly because of some fault.  I can't
tell from your description whether the fault is in hardware or
software.

Alan Stern


How can I determine this ?? Where can I look up to see if the kernel resets them because of a software or a hardware fault ??

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to