Hello, i have a Toshiba Libretto 110 CT and a HP LaserJet 5P printer.
I'm running kernel 2.2.13 and i got a lot of difficulties to make work IRDA
with the printer (in fact it worked with W98 of M$ the first time i tried
but i'm a kind of a masochist)
It works fine through parallel port but not with infrared port.
I looked at all the documentation i could find (IR-HOWTO mostly) and now i
understand almost nothing :)
So, i have some basic questions (in fact there's only one: 'how to print on
my HP Lasejet 5P with linux on my Libretto 110CT through IRDA ?') :

1) Should I apply the latest kernel patch (patch-2.2.13-irda9) ?
Without the patch, linux crashes on boot, when irda drivers are built in the
kernel.
With the patch, IRLTP client and server have disappeared when i do 'make
menuconfig'.

2) Should I build the irda drivers compiled in the kernel or as modules ?

3) What kernel configurations options do i need ?
Do I need irtty, o ircomm ?
I always choose the toshoboe driver, is that right ?

4) for /etc/conf.modules :
Since i use 2.2.13 kernel, i think i need to add :
alias tty-ldisc-11 irtty
alias char-major-60 ircomm-tty

Is it right ? Is 60 the right major device-number ?

5) How to start Irda ?
Do i really need irmanager or irattach ?
Should i start my modules in a specific order ?
Should i start toshoboe module first ?
How should i configure /etc/irda/drivers ?
Should i configure /etc/irda/printer ?

6) One of the most written thing in this mailing list is :
'here is what you need in /dev:
dagbnb /usr/src > ll /dev/ir*
crw---------    1    dagb    161,    0    Aug    25     20:13
/dev/ircomm0 '
...

(I understood that major number 161 is for kernels 2.3.x.)
Are these device files created automatically, or when you say 'here is what
you need' does it mean that i have to type :
mknod /dev/irlpt0    c    161    16
However, i always obtain this kind of error message :"this device does not
exist" when i do 'cat textfile > /dev/irlpt0' (after i created the file
/dev/irlpt0 with mknod).

7) In the IR-HowTo, i can read :
"to print somthing, make a modprobe irtty, and a modprobe irlpt_client, then
mknod /dev/irlpt0 c 10 <minor device number>, you can find this number in
/proc/misc on the same line that irlpt0"
But i've never found any 'irlpt0' line in /proc/misc. The only irda-related
thing i find is : '63 irda'.

8) Enough for today :)

I know that you may be tired answering always the same questions, but after
two weeks i spent to make it not work, i really need your help. Thank you.

Nicolas Lhommet
[EMAIL PROTECTED]








_______________________________________________
Linux-IrDA mailing list  -  [EMAIL PROTECTED]
http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda

Reply via email to