linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* IR on lombard?
@ 1999-10-26  4:57 chris mccraw
  1999-10-26  9:29 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 5+ messages in thread
From: chris mccraw @ 1999-10-26  4:57 UTC (permalink / raw)
  To: linuxppc-dev



hi folks,

i've got a 333mhz g3 powerbook on which i'd dearly love to get serial-IR
working.  that is to say, use of the IR port like a serial port so that i
can talk to it with a palmpilot which is IR equipped.

the modem (on ttyS0) works a-ok...

this functionality seems to have been present or at least touched on for
the wallstreet powerbooks judging from the code in
	drivers/macintosh/macserial.c
but my (weak) attempts to force the second serial port into the role of
wallstreet powerbook_ir seem to have failed.

i did get the kernel to print "(powerbook IR)" next to the serial port init
by forcing zss->is_pwbk_ir to "1" in macserial.c (around line 2270)
but with no effect on the actual performance of the port.

turning on serial debugging shows that performing operations on /dev/ttyS1
seem successful (the port is opened, speed set, etc) but it doesn't answer
the pilot (as an x86 laptop with serial-IR did), nor show any actual
traffic over the port when i send it a few bits from the pilot.

i'm also not even sure that the second serial port detected on boot is
in fact the IR port...that's just a guess i cannot confirm or deny
after reading all the info i could find on the paddington and the pbg3-1999
on apple's site.

i am working with 2.2.13 from paul's tree synced this afternoon.

so, does anyone know if serial/IR is supposed to work on the lombards, or
have further suggestions for me to poke at it with?

much in your debt,

chris

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: IR on lombard?
@ 1999-10-26 12:44 Benjamin Herrenschmidt
  1999-10-27 13:41 ` Michael Schmitz
  0 siblings, 1 reply; 5+ messages in thread
From: Benjamin Herrenschmidt @ 1999-10-26 12:44 UTC (permalink / raw)
  To: Michael Schmitz, linuxppc-dev


On Tue, Oct 26, 1999, Michael Schmitz
<schmitz@amber.biophys.uni-duesseldorf.de> wrote:


>ttyS1 isn't recognized as IR port on my lombard. How do I dump the device
>tree? 

Get lsprop from ftp://devel.linuxppc.org/users/paulus/misc


and use it from /proc/device-tree


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~1999-10-27 13:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-26  4:57 IR on lombard? chris mccraw
1999-10-26  9:29 ` Benjamin Herrenschmidt
1999-10-26 11:38   ` Michael Schmitz
  -- strict thread matches above, loose matches on Subject: below --
1999-10-26 12:44 Benjamin Herrenschmidt
1999-10-27 13:41 ` Michael Schmitz

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).