Hello Andrej,

by 'it' and 'that' I meant adding aliases to /etc/modules.devfs as you 
suggested.
However, doing what you suggest:

{pts/1}% ll /dev/irc*
zsh: no matches found: /dev/irc*
{pts/1}% sudo modprobe ircomm-tty
{pts/1}% ll /dev/irc*

works for me as well - there is about thirty devices created and working.

So now is the question - where and what fix should go (I am using Tekram 
dongle, this may apply to others as well):

- when irda starts via initscript, only tekram, irda and irtty modules 
are loaded. This combination works OK on systems without devfs.
- to work on devfs enabled system, ircomm-tty module has to be loaded as 
well (it creates actual devices). I am somewhat puzzled about what the 
difference is between irtty and ircomm-tty.

Possible places that I am thinking about one of the following:

- patching irattach (which is responsible for loading the tekram, irda 
and irtty modules as I found) to load ircomm-tty as well
- modifying /etc/modules to preload ircomm-tty module when irda/irtty 
module is loaded?
- modifying /etc/modules.conf to load ircomm-tty alongside irtty
- modifying irda initscript to load ircomm-tty when starting
- perhaps there is something that may be done in /etc/devfsd.conf, 
 (definitely at least to fix perms, so that port is rw for all)

Which would be the best solution? Any ideas?

Michal

Borsenkow Andrej wrote:

>On ���, 2001-12-16 at 20:30, Michal Bukovjan wrote:
>
>>Hello Andrej,
>>
>>I tried this and it does not work.
>>
>
>What `this' and what `it'?
>
>>The modules in question - related to irda - are irda, irtty, tekram.
>>I think the modules are loaded when irda is loaded via /etc/init.d/irda 
>>start
>>
>
>Well, you need somebody who knows IrDA stack better than me. I repeat,
>ircomm* nodes are created by ircomm-tty driver but I have no idea which
>modules are actually needed in your case.
>
>>I tried both ircomm-tty and irtty, neither works.
>>
>>Perhaps the reason could be that the Irda drivers are not converted to 
>>use devfs yet?
>>
>
>They are. 
>
>{pts/1}% ll /dev/irc*
>zsh: no matches found: /dev/irc*
>{pts/1}% sudo modprobe ircomm-tty
>{pts/1}% ll /dev/irc*
>crw-------    1 root     root     161,   0 ���  1  1970 /dev/ircomm0
>crw-------    1 root     root     161,   1 ���  1  1970 /dev/ircomm1
>...
>
>-andrej
>




Reply via email to