Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ixj0 instead of /dev/phone0, kernel 2.6.33-gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
agrypa1
Apprentice
Apprentice


Joined: 31 Mar 2005
Posts: 244

PostPosted: Mon Mar 08, 2010 11:38 pm    Post subject: ixj0 instead of /dev/phone0, kernel 2.6.33-gentoo Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum