ehafener | 6 Sep 2011 20:21
Picon

Serial port using hpcmips

I have a mobilepro 770 which has a functioning serial port (at least
it works in Windows CE).  I have NetBSD 5.0.2 hpcmips installed on it.
 I am interested in using the serial port to control relays on a robot
but can't seem to get the serial port configured.

I looked it /etc/ttys and noticed this file is abbreviated in hpcmips
when compared to i386.

I ran dmesg and didn't see anything that looked like the serial port.

Any help would be greatly appreciated.

Andy Ruhl | 7 Sep 2011 00:41
Picon

Re: Serial port using hpcmips

On Tue, Sep 6, 2011 at 11:21 AM, ehafener <ehafener <at> gmail.com> wrote:
> I have a mobilepro 770 which has a functioning serial port (at least
> it works in Windows CE).  I have NetBSD 5.0.2 hpcmips installed on it.
>  I am interested in using the serial port to control relays on a robot
> but can't seem to get the serial port configured.
>
> I looked it /etc/ttys and noticed this file is abbreviated in hpcmips
> when compared to i386.
>
> I ran dmesg and didn't see anything that looked like the serial port.
>
> Any help would be greatly appreciated.

You should post the dmesg. If you built a custom kernel, you should
post the config for it as well.

You might need to uncomment something related to serial ports and
build a kernel to get the serial port.

Andy

ehafener | 7 Sep 2011 02:11
Picon

Re: Serial port using hpcmips

Here is the dmesg output:

NEC MobilePro 770 (NEC VR4121 rev0.0 131.072MHz)
total memory = 32768 KB
avail memory = 27852 KB
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
cpu0 at mainbus0: NEC VR4100 CPU (0xc60) Rev. 6.0 with software
emulated floating point
cpu0: 16KB/16B direct-mapped L1 Instruction cache, 32 TLB entries
cpu0: 8KB/16B direct-mapped write-back L1 Data cache
vr4102ip0 at mainbus0
vrbcu0 at vr4102ip0 addr 0x0b000000-001f
vrbcu0: CPU 131.072MHz, bus 32.768MHz, ram 65.536MHz
vrcmu0 at vr4102ip0 addr 0x0b000060-007f
vrgiu0 at vr4102ip0 addr 0x0b000100-011f
vrdmaau0 at vr4102ip0 addr 0x0b000020-0037
vrdcu0 at vr4102ip0 addr 0x0b000040-004b
vrrtc0 at vr4102ip0 addr 0x0b0000c0-00df
vrkiu0 at vr4102ip0 addr 0x0b000180-019f
hpckbd0 at vrkiu0
wskbd0 at hpckbd0: console keyboard
vrpmu0 at vr4102ip0 addr 0x0b0000a0-00bf
vrpmu: Deadman's switch detected
vrdsu0 at vr4102ip0 addr 0x0b0000e0-00e7
vrled0 at vr4102ip0 addr 0x0b000240-024f
vrpiu0 at vr4102ip0 addr 0x0b000120-013f, 0x0b0002a0-02bf
wsmouse0 at vrpiu0 mux 0
vrpiu0: WARNING: powerhook_establish is deprecated
vrc4172pwm0 at vr4102ip0 addr 0x15003880-3885
(Continue reading)

Jun Ebihara | 7 Sep 2011 02:08
Picon

Re: Serial port using hpcmips

From: ehafener <ehafener <at> gmail.com>
Subject: Serial port using hpcmips
Date: Tue, 6 Sep 2011 14:21:52 -0400

> I have a mobilepro 770 which has a functioning serial port (at least
> it works in Windows CE).  I have NetBSD 5.0.2 hpcmips installed on it.
>  I am interested in using the serial port to control relays on a robot
> but can't seem to get the serial port configured.

If you using pbsdboot.exe, 
Please check "serial port on" checks on pbsdboot menu.
and you will find com0 on dmesg.

thanx for using hpcmips!
--
jun ebihara

ehafener | 7 Sep 2011 02:26
Picon

Re: Serial port using hpcmips

Thanks!

That worked.  I'm able to access the serial port and have been able to
get voltage output from it!

On 9/6/11, Jun Ebihara <jun <at> soum.co.jp> wrote:
> From: ehafener <ehafener <at> gmail.com>
> Subject: Serial port using hpcmips
> Date: Tue, 6 Sep 2011 14:21:52 -0400
>
>> I have a mobilepro 770 which has a functioning serial port (at least
>> it works in Windows CE).  I have NetBSD 5.0.2 hpcmips installed on it.
>>  I am interested in using the serial port to control relays on a robot
>> but can't seem to get the serial port configured.
>
> If you using pbsdboot.exe,
> Please check "serial port on" checks on pbsdboot menu.
> and you will find com0 on dmesg.
>
> thanx for using hpcmips!
> --
> jun ebihara
>


Gmane