[Asterisk-doc] preliminary notes/docs for quicknet hardware

Karl Brose asterisk-doc@lists.digium.com
Thu, 27 May 2004 20:36:53 -0400


Just wondering,  are you planning on running multiple cards?


Scott Edwards wrote:

>> My target audiance is from the asterisk-doc's itself. (eg, reading 
>> from the docs)
>> Enjoy. (needs proofing etc...)
>
>
> This set of documentation is prepared in part, by Scott Edwards.
> If at any time you feel this documentation is insufficent, or lacking 
> in some area, you are free to update us.  Remarks about "there's 
> nothing here" will go unanswered because we'd rather spend time 
> writing it.
> I've spent countless hours to get the ixj driver working with the 
> Quicknet Internet Phone Jack.  I only have the ISA version at this time.
> The summary for getting this card to work with asterisk is as follows:
> First, the card must work with the telephony API layer for the Linux 
> kernel. Without this level of support, you still have hardware or 
> driver issues. (again, that's not an asterisk problem!)  I'm using 
> Debian, and may have done some things the 'Debian' way.
> First, let's start with the bad news.  The 2.4.26 kernel.org ixj 
> driver does not appear to work.  (feel free to correct me, with some 
> documentation to back it up if I'm wrong)
> This will result in syslog entries like:
> May 22 18:44:03 bell kernel: preparing failed -16
> Also, asterisk will throw these errors: (with the correct phone.conf)
> [chan_phone.so] => (Linux Telephony API Support)
> WARNING[1024]: File chan_phone.c, Line 907 (mkif): Unable to open 
> '/dev/phone0'
> ERROR[1024]: File chan_phone.c, Line 1040 (load_module): Unable to 
> register channel '/dev/phone0'
> WARNING[1024]: File loader.c, Line 269 (ast_load_resource): 
> chan_phone.so: load_module failed, returning -1
> WARNING[1024]: File loader.c, Line 363 (load_modules): Loading module 
> chan_phone.so failed!
> Lets compare procinfo stats on the ixj node from different versions:
> kernel.org ixj driver:
> bell:~# cat /proc/ixj
> $Id: ixj.c,v 4.7 2001/08/13 06:19:33 craigs Exp $
> $Id: ixj.h,v 4.1 2001/08/04 14:49:27 craigs Exp $
> $Id: ixjuser.h,v 4.1 2001/08/05 00:17:37 craigs Exp $
> Driver version 1.0.1
> sizeof IXJ struct 21156 bytes
> sizeof DAA struct 642 bytes
> Using old telephony API
> Debug Level 0
> bell:~#
> Notice how there is only 8 lines?  There should be more. (many more if 
> you have multiple cards)  I was able to prove there was a big issue, 
> after taking the card from the machine, and trying to replicate it.  
> Yes, this (possibly both) ixj driver will appear to load if the card 
> is not present.  The results above are identical with and without the 
> card using the kernel.org ixj driver. (pay close attention to the cvs 
> version, date, and commiter here soon)
>