Re: [PATCH] gadget/file_storage.c : Add a serial number parameter.

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

 



Hi,

Le 25/05/2010 23:59, David Brownell a écrit :
>>> What if 2 devices are used, as they should have unique
>> serial ?
>>
>> That's not possible.  The design of the gadget API
>> doesn't permit more 
>> than one gadget to be defined.
> 
> ... per system.  If you take two boards and run
> identical kernels, they should have unique serial
> numbers ... they'd be two distinct gadgets.
> 
> The way to manage unique IDs is to have some kind
> of ID generation scheme, and store them on each
> board.  (Maybe in EEPROM ... or, as in the original
> composite gadget code, module parameters.
>  
>>> Should it be randomized ?
>>
>> No.
So, is :

Board developers have a way, using module parameter, to
differentiate the devices's serial. Up to them to use it.

an acceptable answer for now ?

-- 
Yann Cantin
A4FEB47F
--


--
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