FAQ

Q: Can I set up the major number to an optional value?

A: In API-TOOL(LNX) driver, the major number is automatically allocated by default.
You can use the parameter of insmod command to specify the major number to the optional value.
Specifies as the following.
# insmod cdio.o major=200

Q: Can I read the source code of the driver?

A: Sorry, the source code of the driver isn't opened.

Q: Can I use API-TOOL(LNX) in the kernel version which isn't supported in the specification?

A: If you use in the kernel version which isn't supported in the specification, error is displayed with executing insmod.
The module may be loaded when insmod with -f option is executed, but the action cannot guarantee. It is up to you to verify the operation.

Q: How to verify whether the board is normally recognized?

A: If you want to check the state before the driver is installed, you can read the /proc/pci file.
If you want to check the state after the driver is installed, verify that I/O address and IRQ is displayed in the board list in configuration.
Or, verify that I/O address and IRQ is displayed in /proc/ioports and /proc/interrupts.
And, execute the initialization function, if the return value is "normal complete", you can confirm that the board is normally recognized.

Q: Board is recognized, but the action is abnormal.

A: In BIOS setting, verify Plug & Play OS setting is No.
If Plug & Play OS is Yes, it is possible that BIOS doesn't normally setup PCI bus board.
Even if BIOS doesn't normally setup PCI bus board, the board could be found in /proc/pci.

Q: Error has occurred when the application is started without the shared libraries?

A: It is possible that the install is failed. Please install with root authority.
If you only copy shared library to /usr/lib, it couldn't be activated.
The shared library is valid when ldconfig command is executed after the file is copied and the symbolic link is made.
For details, refer to explanation of the install cdio/library/Makefile.

Q: Can I put the shared library to /usr/local/lib and manage it?

A: Rewrite /etc/ld.so.conf and execute ldconfig, or add LD_LIBRARY_PATH setting to the shell start script(For example.bash).
The contents vary with the shell you use.
For details, check with man command.
(For example).bash_profile
LD_LIBRARY_PATH=/usr/local/lib
export LD_LIBRARY_PATH