linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* IrDA on PowerBooks
@ 2000-10-16 22:50 Topi Kanerva
  2000-10-17 14:46 ` Claus Enneper
  0 siblings, 1 reply; 3+ messages in thread
From: Topi Kanerva @ 2000-10-16 22:50 UTC (permalink / raw)
  To: linuxppc-dev


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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: IrDA on PowerBooks
  2000-10-16 22:50 IrDA on PowerBooks Topi Kanerva
@ 2000-10-17 14:46 ` Claus Enneper
  2000-10-22 20:47   ` Topi Kanerva
  0 siblings, 1 reply; 3+ messages in thread
From: Claus Enneper @ 2000-10-17 14:46 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Topi Kanerva

[-- Attachment #1: Type: text/plain, Size: 573 bytes --]

Hi Topi!

 >: 
 >: 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

[-- Attachment #2: Type: application/pgp-signature, Size: 0 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: IrDA on PowerBooks
  2000-10-17 14:46 ` Claus Enneper
@ 2000-10-22 20:47   ` Topi Kanerva
  0 siblings, 0 replies; 3+ messages in thread
From: Topi Kanerva @ 2000-10-22 20:47 UTC (permalink / raw)
  To: Claus Enneper; +Cc: linuxppc-dev


On Tue, 17 Oct 2000, Claus Enneper wrote:

>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 byte
irda_setup timed out on 1st byte
IrDA: Registered device irda0
irtty_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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-10-22 20:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-16 22:50 IrDA on PowerBooks Topi Kanerva
2000-10-17 14:46 ` Claus Enneper
2000-10-22 20:47   ` Topi Kanerva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).