agrypa1 Apprentice
Joined: 31 Mar 2005 Posts: 244
|
Posted: Mon Mar 08, 2010 11:38 pm Post subject: ixj0 instead of /dev/phone0, kernel 2.6.33-gentoo |
|
|
Hi,
In struggling to get the quicknet PhoneJack Card to work with kernel 2.6.33-gentoo and asterisk-1.6.5.2, I descovered that /dev/phone0 doesn't get created after phonedev and ixj modules have been loaded.
I guess some udev rules would have to be written for that to work.
But even if one manually creates /dev/phone0 with major 100 and minor 0 the drivers phonedev and ixj do not use it, the file /etc/modules.conf having:
alias char-major-100 phonedev
alias char-major-100-0 ixj
It is evidenced with the fact that asterisk-1.6.5.2 does not load itself correctly giving errors about phone0: unable to register channel.
So after trial and error method I figured that:
Code: | mknod /dev/ixj0 c 100 0 |
is a better solution.
After phone.conf in asterisk is set to:
Code: | device => /dev/ixj0 |
one can enjoy asterisk with a quicknet PhoneJack Card.
I wonder why the ixj and phonedev modules do not react to /dev/phone0 character device under dev directory but they do so for ixj0.
Or perhaps I am missing here the whole point and someone could shed some other light on this case?
thank you for any input
agryppa _________________ The first successor of Saint Peter was Linus (a.d. 68-79) - whose namesake became the creator of Linux in our time. Torvalds' middle name is Benedict - the name assumed by the previous Pope who resigned from office. |
|