On Apr 9, 2005 3:08 PM, Florian Loitsch <gumstix@...> wrote:
> On Saturday 09 April 2005 21:35, Peter Darling wrote:
> > > > > http://www.gumstix.org/tikiwiki/tiki-view_faq.php?faqId=13#q147
> > > >
> > > > After performing the above mod on my original waysmall board, do I
> > > > need to switch some /proc/gpio/GPIOx thingys around? And am I right
> > > > that the outermost minidin8 port becomes /dev/ttyS2?
> > >
> > > yes: the outermost port becomes ttyS2.
> > > normally the gumstix should be configured for ttyS2, so it should work
> > > out of the box. Just don't forget to disable flow-control (have a look at
> > > the tips&tricks page of the wiki). Should be something like
> > > "stty -F /dev/ttyS2 -ixon". The tips&tricks (or Troubleshooting)-page
> > > tells you which GPIOs are the ttyS2-pins (if you want to verify).
> > > // florian
> > I still can't see data in or out on ttyS2. I do see 5.5v at the
> > minidin8 port..
> if you have an oscilloscope you could attach to the 20PIN GPIO-layout and see
> if anything comes out there...
> > I did a start/stop S30bluetooth and noticed this:
> > # ./S30bluetooth stop rfcomm hidd sdpd hcid /dev/ttyS1.
> > # ./S30bluetooth start
> > Set (GPIO,out,clear) via /proc/gpio/GPIO7
> > Set (GPIO,out,set) via /proc/gpio/GPIO7
> > Starting Bluetooth subsystem: /dev/ttyS1 hcid sdpd rfcomm pand.
> > #
> > I read this as GPIO7 being used for bluetooth. If GPIO7 is IR_RXD (in
> > schematics) and it's being used for bluetooth, does that mean that the
> > faq entry (at
> > http://www.gumstix.org/tikiwiki/tiki-view_faq.php?faqId=13#q147 ) which
> > shows a jumper being soldered from GPIO7, is making an
> > alteration to the bluetooth serial configuration? Or am I
> > misconfigured?
> GPIO7 is used by Bluetooth, but IR_RDX is not GPIO7. It's the seventh pin of
> the 20Pin GPIO breakout.
> gives you the layout, and the mapping (20_GPIO7 -> GPIO46).
> Btw: you are using /dev/ttyS1 for bluetooth, which means, that your
> modification wasn't needed. As you already performed the modification, you
> should probably switch to the HWUART for you bluetooth.
> // florian
Thanks for the clarification. I was wondering if the gpio numbers were
actually mapped to the schematic ids...suppose I could have looked at
the layout table...
I ended up flashing to newest build of filesystem and that shifted the
hci device to ttys3. still working on ttys2, testing it like so:
# tail -f /dev/ttyS2 > dump &
# echo "hello" > /dev/ttyS2 && cat dump
hahaa. cat dump.