Re: Resetting USB modems and USB to serial converters increases ttyUSBXX counter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Krzysztof Opasiak wrote:
>>>>>> There's still a bit of a race condition here, isn't there?
>>>>>>
>>>>>> Is there any good way to deal with that?
>>
>> Yes, there is a race condition.  If the program closes the device node
>> before the device is plugged in again, the ttyUSB number won't change;
>> otherwise it will.  No, there is no good way to deal with this.
>
> You may use device authorization.

I think that's a good way. Thanks Krzysztof!


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



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux