Re: X50v and IrDA

From: Richard Bateman <taxilian_at_zzt.net>
Date: Fri, 16 Sep 2005 10:31:27 -0600

JeDi wrote:

>Hi Richard,
>
>Some questions before you are offline for two years :-)
>
>We haven't had much time the last couple of weeks, but we modified the
>irda driver of the kernel so it automatically activates the irda
>console in the kernel (initrd is still needed because it needs
>/dev/console). We tried this with two laptops, and we are able to see
>the kernel booting through irda on the other laptop, and we are able
>to login (agetty, ...).
>
>
who is "we"? just wondering who else is working with you on it, so I
know what information you have access to. =]

In order to make the IR work, you will (at minimum) need to initialize
the IR port (which I *think* uses the STUART on the chip) and set up the
GPIOs correctly.

all gpio info I've compiled can be found at
http://www.bfamily.us/~richard/tmp/arm/gpio_map.xml
it's an xml file... view source for more detailed, but less friendly, view.

you need to set the GPIO 46 to AFR 2, and 47 to AFR 1, at the very least.

I'll try to probe the gpios again to see if there are any other gpios
that seem to be used for IR.
If I had a windows program that would allow me to use a serial terminal
on my laptop's IR port, I might be able to figure something out...
particularly if someone had a small ARM program that would output data
to a given TTY port so I could test it.

Tell ya'll what... Saturday afternoon, I'll try to spend some time
working on it.

>So if we want this to work with our x50v pdas, we have to get a irda
>driver working for the machine. If we use the kernel26 from your site,
>only one FIR driver shows up, so we tried that, withouth luck. We
>tried using SIR after that, but that didn't work either...
>
>
>So my questions:
>- Do you or anyone else have experience with irda on the x50v? Can we
>find some specs for it in the documents on your site (tmp dir)?
>
>
I don't, but I *think* that the IRDA uses the STUART. play with wgpio
while enabling and disabling the IR port, that'll probably give you some
insight. someone besides me needs to learn how to use that effectively
anyway =]

>- We still weren't able to boot a kernel and get output on the
>framebuffer. You said it was working with the vsfb driver, but we
>can't get it to work. If you could provide us a kernel and initrd (and
>default.txt and haret if they aren't the fisherss ones) that is
>verified to work with console output on the x50v, we would be very
>glad. If you can give me the source for that working kernel (or the
>.config if it's built with the kernel26 of your site), that would be
>even better!
>
>
I'll see what I can come up with saturday (tomorrow, I guess).

>I really hope we can get some progress before you leave, cause I don't
>think there is someone else working on the x50v port, is it?
>
>
There are a few others, but I've been the most vocal.

Richard
Received on Fri Sep 16 2005 - 12:36:37 EDT

This archive was generated by hypermail 2.2.0 : Fri Sep 16 2005 - 12:36:49 EDT