Loading ...
Sorry, an error occurred while loading the content.

3980Re: Cool'n Quiet on LS2 MIPS : UART string?

Expand Messages
  • oseyboldt
    Aug 31, 2005
      Hi there,
      I´m really looking forward to a mips-compatible script. So, the
      answer is:
      echo -n "SSSS" > "$devSERIAL"

      Is that what you need?

      Regards,
      Oliver

      --- In LinkStation_General@yahoogroups.com, "Frenchy "
      <glasseron@y...> wrote:
      > By the time we get to the bottom of this message we should have
      the
      > solution for LS2 mips...
      >
      > echo -n "YYYY" > /dev/ttyS0
      > is case sensitive and spelled with a ZERO at the end not letter O.
      > Is that what you entered?
      >
      > let's take a look at LS2/mips to figure the specific UART port:
      > cat /www/script/melsub_init.sh
      >
      > Near the top of the above file, LS1/ppc shows:
      > ### AVR ###
      > echo -n "SSSS" > /dev/ttyS1
      >
      > WHAT DO YOU HAVE on LS2/mips after the ">" /???/?????
      >
      > AutoFan script update is ready to work on either cpu. Just need
      the
      > correct UART string from LS2 user!
      > -Sam.
      >
      >
      > --- In LinkStation_General@yahoogroups.com, "gouldyis"
      > <gouldyis@y...> wrote:
      > > uname -n displays:
      > >
      > > root@LINKSTATION2:~# uname -m
      > > mips
      > >
      > > the other cmd did not flash my led
      > >
      > >
      > >
      > > --- In LinkStation_General@yahoogroups.com, "Frenchy "
      > > <glasseron@y...> wrote:
      > > > Outstanding, yes uname does it! Txs for the tip.
      > > >
      > > > That is where we get the infamous Linkstation welcome:
      > > > #990 2004╟» 5╖ε 21╞ⁿ
      > > ╢Γ═╦╞ⁿ 13:39:00 JST
      > > >
      > > >
      > > > 1- Can someone with a LS2 MIPS run this cmd: uname -m
      > > > and paste the answer?
      > > > Is the answer string: "mips"?
      > > >
      > > > 2- In anycase on LS1 it is returns "ppc" so I have a way to
      set
      > my
      > > > script to be handle LS2.
      > > >
      > > > 2- Can someone test this on a LS2: echo -n 'YYYY' >/dev/ttyS0
      > > > Does this blink your red LED?
      > > > If so this will stop the blinking: echo -n 'XXXX' >/dev/ttyS0
      > > > Report back.
      > > > If nothing happens above, there will be not AutoFan for LS2
      > unless
      > > > we find out what serial port the UART is hooked up to.
      > > > -Sam.
      > > >
      > > > --- In LinkStation_General@yahoogroups.com, "prb0x" <al@t...>
      > > wrote:
      > > > > --- In LinkStation_General@yahoogroups.com, "Frenchy "
      > > > > > Do you know the Shell cmd to tell what CPU is on the
      > platform?
      > > I
      > > > > > could make the CPU changes automatic by querying the CPU
      > > model...
      > > > > >
      > > > >
      > > > > Try uname -m
      > > > >
      > > > > mips on the LSII (2.05 firmware with busybox)
      > > > > ppc on the LSI (though that is under gentoo but should be
      the
      > > > same as
      > > > > it's reported from the kernel)
      > > > >
      > > > > bash-2.05a# uname -?
      > > > > #BusyBox v0.60.5 (2004.05.17-01:23+0000) multi-call binary
      > > > >
      > > > > Usage: uname [OPTION]...
      > > > >
      > > > > Print certain system information. With no OPTION, same as -
      s.
      > > > >
      > > > > Options:
      > > > > -a print all information
      > > > > -m the machine (hardware) type
      > > > > -n print the machine's network node hostname
      > > > > -r print the operating system release
      > > > > -s print the operating system name
      > > > > -p print the host processor type
      > > > > -v print the operating system version
    • Show all 13 messages in this topic