📄 changes-previous-2
字号:
CHANGES FILEThis tarball is ixj-0.1.25.tgz and has the following changes includedsince the previous release (ixj-0.1.24.tgz):* The ixj driver now has an "official" major number assigned to it. The old, dynamic method of loading and unloading the module with a load script is now gone. Please run the new script (ixj_dev_create) to ensure you have deleted the old device files from /dev and to create the new files with the new assigned major number (159).* You should no longer use the "ixj_load" and "ixj_unload" scripts. You must, however, run the script ixj_dev_create once to remove any stray device files left in the /dev directory, and to create the new officially designated device files.* You can now use insmod to load the actual module. This implies that you should put the module (ixj.o) in a common module directory. We recommend that you copy the driver to /lib/modules/<kernel-rev>/misc Our current preferred location is /lib/modules/2.2.9/misc. You should run the command "depmod -a" to allow depmod to rebuild it's dependency information tables. Using insmod is easy and works in all cases. You simply type a line that looks like this: insmod ixj io=0x340,0x350,0x360,0x0370 ixjdebug=0 This particular line loads the driver and tells it to interface to cards found at io addresses 0x340,0x350,0x360,0x0370 (as defined and enabled in the isapnp.conf file). If you have only one card in the system, it will look something like this: insmod ixj io=0x300 ixjdebug=0 This will load the driver and enable the card at io address 0x300.* If you want to use kerneld to automatically load the driver when you need it (with no user action required), you must have compiled your kernel to support kerneld. You can check for this by looking at /usr/src/linux/.config and you should see this: # # Loadable module support # CONFIG_MODULES=y # CONFIG_MODVERSIONS is not set CONFIG_KMOD=y Edit the /etc/conf.modules file and add the following lines: options ixj io=0x300 ixjdebug=0 alias char-major-159 ixj Note that if you have multiple cards (see above insmod section) then you will need to set the options line appropriately. For example, if you had four cards at io addresses 0x340,0x350,0x360,0x0370 (as defined and enabled in the isapnp.conf file) you would use a line like this: options ixj io=0x340,0x350,0x360,0x0370 ixjdebug=0 If you do not add the "alias char-major-159 ixj" line then modprobe will fail, since it needs this to map the module to the major device number.* The ixj driver is not compiled with MODVERSIONS enabled. What this means for you is that if you have compiled your kernel to support MODVERSIONS then you will get an error when you do a "depmod -a" - this is simply a warning to you that there is a mismatch between the hash-code calculated by the module for it's symbol table, and the one that the kernel calculated. It does not mean the module won't work - only that kernel versioning for the driver will not work. If you want to see if you have things right for the present state of MODVERSIONS support, look in /usr/src/linux/.config and you should see this line: # CONFIG_MODVERSIONS is not set We will almost certainly add MODVERSIONS support in the next version, which may mean that you all will have to recompile your kernel. It really is a *Good Thing* in the long run, so plan on the fact that we will eventually use it.* The driver ixj.o has the following improvements: - fixed a bug that resulted in chopped audio in non-compressed codecs as a result of doing DTMF detection. It's now fixed. - added the ability to play tones, including DTMF and call progress tones. Please see the new files: playtone.c - shows DTMF examples busytone.c - shows both busy and ringback examples These files give examples of how to use the new ioctl calls to accomplish the playing of tones. - added support for the new official major number.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -