IrDA on PowerBooks
hello. I'm addressing you of this problem of mine because someone out there might already know the answer so I don't have to dig through all those kernel sources. I'm trying to get my Ericsson R380s phone to talk to my Pismo PowerBook. For some reason it plainly does not work. I cannot be configuring wrong all that IrDA protocol stuff, so there must be something fundamentally wrong. I suppose IrCOMM only supports SIRs emulating the 16550A serial chip, and from the kernel log one can notice that the PowerBook seems to utilize Z8530 chips which I suppose is a different thing altogether. Can I just snatch some Z8530 code from other driver sources, e.g. the stuff for the old TurboChannel DECstations which used this chip for their keyboard etc. i/o? I'm just running quite short on time, since this is really needed for the CEO of our company, since I persuaded him to get a PowerBook to run Linux on... sheesh.
Now, anyone who has succesfully got any IrDA devices to work with the PowerBook IrDA port? any suggestions?
-topi
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Hi Topi!
Quoted 3 lines
:
: Now, anyone who has succesfully got any IrDA devices to work with the : PowerBook IrDA port? any suggestions?
don't know anything about the ericson, but as long as you followed the IRDA-HOWTO, it should work right out of the box.
get the irda-utils src, or use debian's package.
and there is a gsmlib-rpm at linuxppc, which manage your sms (no GUI).
I did't try that one, 'cause I use irda only for the palm.
# irattach /dev/ttyS1 # irmanager -d 1 and after that it's a matter of your userland app via /dev/ircomm0
Claus
Quoted 5 lines · Claus Enneper
don't know anything about the ericson, but as long as you followed the IRDA-HOWTO, it should work right out of the box.
get the irda-utils src, or use debian's package.
and there is a gsmlib-rpm at linuxppc, which manage your sms (no GUI).
I did't try that one, 'cause I use irda only for the palm.
now I know why it didn't work out of the box for me... this is what I get in the dmesg log:
IrDA (tm) Protocols for Linux-2.2 (Dag Brattli)irda_setup timed out on 1st byteirda_setup timed out on 1st byte
IrDA: Registered device irda0irtty_net_open()irlap_change_speed(), setting speed to 9600
I looked at macserial.c, the "irda_setup timed out on 1st byte" is printed if the chip doesn't give a proper response until the timeout finishes. i tried increasing the timeout from 10ms to 20ms, but it didn't help.
so, the irda setup supposedly fails. (it branches to a label called "out", but I didn't look the code much further...) so, this is on a Pismo PowerBook, with kernel 2.2.17pre20-ben3, macserial.c compiled in the kernel, other things are modules (like irda.o, ircomm.o, ircomm-tty.o, irtty.o) however, I don't know what is the main difference between ircomm and irtty, I couldn't find an explanation good enough anywhere, anyway which one of these is supposed to work on PowerBooks?
-topi
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/