fix description

This commit is contained in:
NIIBE Yutaka 2012-05-14 11:57:34 +09:00
parent 2f38503c61
commit 27f26564ba
2 changed files with 18 additions and 12 deletions

View File

@ -1,3 +1,3 @@
# VID:PID bcdDev Product_STRING Vender_STRING
# VID:PID bcdDev Product_STRING Vender_STRING
234b:0000 0200 FSIJ USB Token Free Software Initiative of Japan
##########<TAB> ##<TAB> ##########<TAB> #################

28
README
View File

@ -229,17 +229,20 @@ Gnuk is distributed with external source code.
USB vendor ID and product ID (USB device ID)
============================================
When you have a vender ID and assign a product ID for Gnuk, please
contact Niibe, so that it is listed to the file GNUK_USB_DEVICE_ID.
When you have a vender ID and assign a product ID for Gnuk, edit the
file GNUK_USB_DEVICE_ID and add an entry for yours. In this case,
please contact Niibe, so that it is listed to the file in the official
release of source code.
When you modify Gnuk and install it to device, you should replace
"FSIJ" in the string gnukStringSerial to yours, so that it can be
checked as device serial number.
When you are modifing Gnuk and installing the binary to device, you
should replace "FSIJ" in the string gnukStringSerial (usb_desc.c) to
yours, so that the device will say it's modified version by device
serial number.
FSIJ allows you to use USB device ID of FSIJ (234b:0000) for devices
with Gnuk under one of following conditions:
* For everyone for experiment purpose:
* For everyone for experimental purpose:
- You must not distribute a binary with FSIJ's USB device ID, but
must use the binary by yourself only for your experiment. Note
@ -248,8 +251,9 @@ with Gnuk under one of following conditions:
* For general individuals:
- You must use your Gnuk device with a card serial number
generated by chip unique ID or with the one *not* by FSIJ.
- You must use your Gnuk device with a card serial number which is
*not* by FSIJ. Easy one would be a card serial number generated
by chip unique ID.
* For individuals with explicit permission from FSIJ.
@ -264,7 +268,7 @@ Please ask FSIJ for permission.
Otherwise, companies which want to distribute Gnuk devices, please use
your own USB vendor ID and product ID. When you modify Gnuk, please
replace "FSIJ" in the string gnukStringSerial to yours.
replace "FSIJ" in the string gnukStringSerial (usb_desc.c) to yours.
Host Requirements
@ -309,9 +313,11 @@ Change directory to `src':
Then, run `configure':
$ ./configure --vidpid <VID:PID>
$ ./configure --vidpid=<VID:PID>
Here, you need to specify USB vendor ID and product ID. For FSIJ's,
it's: --vidpid=234b:0000
Here, you need to specify USB vendor ID and product ID.
Please read section 'USB vendor ID and product ID' above.
Type: