Subject: Re: More Mobilepro Questions
To: Steve Edwards <edwards_sj@yahoo.com>
From: Rasputin <rasputin@idoru.mine.nu>
List: port-hpcmips
Date: 03/12/2003 16:59:30
--LQksG6bCIzRHxTLp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

* Steve Edwards <edwards_sj@yahoo.com> [0343 15:43]:
>  --- Rasputin <rasputin@idoru.mine.nu> wrote: 
> 
> > I now run links or mozilla from the server upstairs over a ssh X11
> > forward, works a treat.
> 
> This is exactly what I want to do, are you using a wireless card or just a
> standard network card?

Orinoco wireless card, seems to work fine (dropped ipsec but I'll try that
again some time.)

> > I stuck the kernel onto the DOS partition to save as much space as
> > possible too - it makes rebooting without going through wince painful,
> > but this box hardly ever reboots.
> 
> Do you just leave it with the screen on?

Yeah, screen blanking doesn't seem to work unfortunately; pressing the
power button in the top right suspends the wireless card
(the lights stop flashing) I just plug it back into the mains -
and let it build up static :) - when I'm not using it.

> > my mp800 had no trouble running X locally, I just chose mp800
> > in pbsdboot and then startx - no need for any other config.
> > GENERIC was OK, but I hacked that down to save space - I can send you
> > a kernel config if you want?
> 
> That would be great.
> 
> startx just falls over for me...

See attached - it crosbuilt around Christmas OK, haven't tried since.

-- 
Pity the meek, for they shall inherit the earth.
		-- Don Marquis
Rasputin :: Jack of All Trades - Master of Nuns

--LQksG6bCIzRHxTLp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=SLIM

# $NetBSD: VR41XX,v 1.10 2002/09/18 02:43:59 lukem Exp $
#
# SLIM (based on VR41XX)
include		"arch/hpcmips/conf/std.hpcmips"
include		"arch/hpcmips/conf/std.hpcmips.vr41"
#ident 		"GENERIC-$Revision: 1.1.1.1 $"

#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

maxusers	16

# Support for specific models of H/PC MIPS
options 	VR4121			# NEC VR4121

# Standard system options
options 	KTRACE			# system call tracing support
options 	MSGBUFSIZE=8192		# dmesg buffer size
options 	KLOADER_KERNEL_PATH="\"/netbsd\""
options		KLOADER_DEBUG

options 	NTP			# network time protocol

# Filesystem options
file-system 	FFS		# fast filesystem with user and group quotas
file-system 	MFS		# memory-based filesystem
file-system 	NFS		# Sun NFS-compatible filesystem (client)
file-system 	MSDOSFS		# MS-DOS file system

file-system 	KERNFS		# /kern (kernel informational filesystem)
file-system 	PROCFS		# /proc
file-system 	UNION

#options 	NFSSERVER	# Sun NFS-compatible filesystem (server)
options 	SOFTDEP		# FFS soft updates support.
options 	VNODE_OP_NOINLINE # don't inline vnode op calls

# Networking options
#options 	GATEWAY		# IP packet forwarding
options 	INET		# IP + ICMP + TCP + UDP

# NetBSD backwards compatibility
options 	COMPAT_43

#options 	NFS_BOOT_DHCP

config		netbsd		root on ? type ?

# compile options
makeoptions	DEFGP="-G 8"

# WS console uses SUN or VT100 terminal emulation
options 	WSEMUL_VT100
options 	WSDISPLAY_DEFAULTSCREENS=3
options 	FONT_VT220L8x10
# compatibility to other console drivers
options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
options 	WSDISPLAY_COMPAT_USL		# VT handling
options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes

# temporally power management
hpcapm0	at mainbus0			# power management
apmdev0	at hpcapm0			# APM

options 	MQ200_DEBUG
#options 	MQ200_USECRT
mqvideo0 at vr4102ip? addr 0x0a000000 size 0x800000	# MQ200 video controller
hpcfb*		at	mqvideo?

ite8181video0 at vr4102ip? addr 0x0a000000 size 0x800000 # ITE8181 video controller
hpcfb*		at	ite8181video?

vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_430
vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_510
vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_520
vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_520A
vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_530
vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_SIGMARION
vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_530A
vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_700

# Workstation Console attachments
bivideo0	at	mainbus0
hpcfb*		at	bivideo0
wsdisplay*	at	hpcfb?
wskbd*		at	hpckbd? mux 1
wsmouse*	at	vrpiu? mux 0
btnmgr0		at	mainbus0
wskbd*		at	btnmgr0 mux 1

#
# hpcmips isa? bus irq locator means:
#
# 0x0000000f ISA IRQ#
# 0x00ff0000 GPIO port#
# 0x01000000 interrupt signal hold/through	(1:hold/0:though)
# 0x02000000 interrupt detection level		(1:low /0:high	)
# 0x04000000 interrupt detection trigger	(1:edge/0:level	)

#
# MC-R300, MC-R500
# Button to GPIO port # mapping
#  + REC button       : 4
#  + Open/Close button: 6
# (PCIC-ISA : 9)
# (COM power:14)
#
# MC-R510
# Button to GPIO port # mapping
#  + Open/Close button: 3
# (PCIC-ISA : 9)
# (COM power:14)
#
# MC-R530
# Button to GPIO port # mapping
#  + Open/Close button: 3
#  + Application button: 2
# (PCIC-ISA : 9)
# (COM power:46)
#
# MC-R700
# Button to GPIO port # mapping
#  + Open/Close button: 3
# (PCIC-ISA : 9)
# (COM power:46)
#
# MC-CS
# Button to GPIO port # mapping
# (PCIC-ISA : 9)
# (COM power:14)
#
# IBM WorkPad z50
# Button to GPIO port # mapping
#  + REC button       : 1
#  + Application button?      : 2
# (PCIC-ISA : 9)
#
button0 at vrgiu? platform NEC_MCR_3XX id BTN_REC port 4
button0 at vrgiu? platform NEC_MCR_500 id BTN_REC port 4
button0 at vrgiu? platform IBM_WORKPAD id BTN_REC port 1 active 0
button1 at vrgiu? platform NEC_MCR_430 id BTN_COVER port 3
button1 at vrgiu? platform NEC_MCR_510 id BTN_COVER port 3
button1 at vrgiu? platform NEC_MCR_520 id BTN_COVER port 3
#button1 at vrgiu? platform NEC_MCR_520A id BTN_COVER port 3
button1 at vrgiu? platform NEC_MCR_530 id BTN_COVER port 3
#button1 at vrgiu? platform NEC_MCR_530A id BTN_COVER port 3
button1 at vrgiu? platform NEC_MCR_SIGMARION id BTN_COVER port 3
button1 at vrgiu? platform NEC_MCR_7XX id BTN_COVER port 3
button1 at vrgiu? platform NEC_MCR_3XX id BTN_COVER port 6
button1 at vrgiu? platform NEC_MCR_500 id BTN_COVER port 6
button2 at vrgiu? platform NEC_MCR_530 id BTN_APP0  port 2
button2 at vrgiu? platform IBM_WORKPAD id BTN_APP0  port 2 active 0
button3 at vrgiu? platform NEC_MCCS id BTN_LIGHT port 8
pwctl0 at vrgiu? platform NEC_MCR_3XX id PWCTL_COM0 port 14
pwctl0 at vrgiu? platform NEC_MCR_430 id PWCTL_COM0 port 46
pwctl0 at vrgiu? platform NEC_MCR_500 id PWCTL_COM0 port 14
pwctl0 at vrgiu? platform NEC_MCR_530 id PWCTL_COM0 port 46
pwctl0 at vrgiu? platform NEC_MCR_530A id PWCTL_COM0 port 46
#pwctl0 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM0 port 46
pwctl0 at vrgiu? platform NEC_MCR_7XX id PWCTL_COM0 port 46
pwctl0 at vrgiu? platform NEC_MCCS id PWCTL_COM0 port 14
pwctl1 at vrgiu? platform NEC_MCR_3XX id PWCTL_LCDLIGHT port 45
pwctl1 at vrgiu? platform NEC_MCR_500 id PWCTL_LCDLIGHT port 45
pwctl1 at vrgiu? platform NEC_MCCS id PWCTL_LCDLIGHT port 45
pwctl2 at vrgiu? platform NEC_MCR_3XX id PWCTL_LCD port 10
pwctl2 at vrgiu? platform NEC_MCR_500 id PWCTL_LCD port 10
pwctl2 at vrgiu? platform NEC_MCCS id PWCTL_LCD port 10
pwctl3 at vrgiu? platform NEC_MCR_3XX id PWCTL_SPEAKER port 12
pwctl3 at vrgiu? platform NEC_MCR_430 id PWCTL_SPEAKER port 44
pwctl3 at vrgiu? platform NEC_MCR_500 id PWCTL_SPEAKER port 12
pwctl3 at vrgiu? platform NEC_MCR_510 id PWCTL_SPEAKER port 44
pwctl3 at vrgiu? platform NEC_MCR_520 id PWCTL_SPEAKER port 44
#pwctl3 at vrgiu? platform NEC_MCR_520A id PWCTL_SPEAKER port 44
pwctl3 at vrgiu? platform NEC_MCR_530 id PWCTL_SPEAKER port 44
#pwctl3 at vrgiu? platform NEC_MCR_530A id PWCTL_SPEAKER port 44
#pwctl3 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_SPEAKER port 44
pwctl3 at vrgiu? platform IBM_WORKPAD id PWCTL_SPEAKER port 49
#pwctl4 at vrgiu? platform NEC_MCR_430 id PWCTL_COM1 port 47
#pwctl4 at vrgiu? platform NEC_MCR_530 id PWCTL_COM1 port 47
#pwctl4 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM1 port 47
vrisab0 at vrgiu? platform NEC_MCR
vrisab0 at vrgiu? platform NEC_MCCS
vrisab0 at vrgiu? platform IBM_WORKPAD isaportoffset 0x1000000
isa0	at vrisab0
pcic0	at isa0 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00090003
#
# Freestyle
# Button to GPIO port # mapping
#    +---------+
# 1 +|         |
#    |         |+ 7
#    |         |
#20 +|   LCD   |+ 4
#    |         | + 6
# 8 +|         |+ 5
#    |         |
#    |         |+----Power On/Off (connected to PMU)
#    +---------+
#          +9
#        +12 +10
#          +11
# (PCIC-ISA : 23)
button0 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP0 port 9
button1 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP1 port 10
button2 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP2 port 11
button3 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP3 port 12
button4 at vrgiu? platform EVEREX_FREESTYLE id BTN_CANCEL port 7
button5 at vrgiu? platform EVEREX_FREESTYLE id BTN_UP port 4
button6 at vrgiu? platform EVEREX_FREESTYLE id BTN_OK port 6
button7 at vrgiu? platform EVEREX_FREESTYLE id BTN_DOWN port 5
button8 at vrgiu? platform EVEREX_FREESTYLE id BTN_REC port 1
button9 at vrgiu? platform EVEREX_FREESTYLE id BTN_LIGHT port 20
button10 at vrgiu? platform EVEREX_FREESTYLE id BTN_CONTRAST port 8
vrisab1 at vrgiu? platform EVEREX_FREESTYLE isaportoffset 0x1000000
isa1	at vrisab1
pcic0	at isa1 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00170003

options 	PCIC_ISA_INTR_ALLOC_MASK=0x0008 # IRQ 3 only (MCR/Freestyle)

#
# Fujitsu INTERTOP CX300
#
pwctl0	at vrgiu? platform FUJITSU_INTERTOP id PWCTL_COM0 port 15
vrisab2	at vrgiu? platform FUJITSU_INTERTOP isaportoffset 0x1000000
isa2	at vrisab2
pcic0	at isa2 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00060003

#
# Vadem Clio and Sharp Tripad
#
vrisab3	at vrgiu? platform SHARP_TRIPAD isaportoffset 0x1000000
vrisab3	at vrgiu? platform VADEM_CLIO_C isaportoffset 0x1000000
isa3	at vrisab3
pcic0	at isa3 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x000d0003

#
# CASIO CASSIOPEIA E55 and for DoCoMo
#
button0 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_OK active 0 port 6
button1 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_CANCEL active 0 port 7
button2 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP0 active 0 port 8
button3 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP1 active 0 port 9
button4 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP2 active 0 port 10
button5 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP3 active 0 port 11
button6 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_DOWN active 0 port 12
button7 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_UP active 0 port 13
pwctl0	at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_COM0 port 38
pwctl1	at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_LCDLIGHT port 26

# 'CF hack' for all CASSIOPEIA E series
vrisab4	at vrgiu? platform CASIO_CASSIOPEIAE_EXX isaportoffset 0xc000
vrisab4	at vrgiu? platform CASIO_CASSIOPEIAE_EXXX isaportoffset 0xc000
isa4	at vrisab4
wdc0	at isa4 port 0x170 irq 0x02000003 flags 0x0002  # single drive

#
# Fujitsu PenCentra 130
#
vrc4172gpio0 at vrgiu? platform FUJITSU_PENCENTRA_130 addr 0x15001080 size 0x4a port 10
vrisab5	at vrc4172gpio0 isaportoffset 0x1000000
isa5	at vrisab5
pcic0	at isa5 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00010003

#
# SigmarionII
#
com*	at vrgiu? platform NEC_MCR_SIGMARION2 addr 0x0b600000 port 8
vrisab6	at vrgiu? platform NEC_MCR_SIGMARION2 isaportoffset 0xf780f800
isa6	at vrisab6
ne*	at isa6 port 0x300 irq  0x00090003 # port 9, active high and thorough
#wdc*	at isa6 port 0x170 irq 0x00090003 flags 0x0002  # single drive
hpcioman6 at vrgiu? platform NEC_MCR_SIGMARION2
hpcin*	at hpcioman6 evtype PCIINTR id PCIINTR_00_12_02 port 0 level 1 connect 1

#
# MP-C303/304
#
hpcioman7 at vrgiu? platform VICTOR_INTERLINK_MPC303
hpcioman7 at vrgiu? platform VICTOR_INTERLINK_MPC304
hpcin*	at hpcioman7 evtype PCIINTR id PCIINTR_00_19_02 port 1 level 0 hold 1 connect 1


# PCI bus support
options 	PCIVERBOSE
pci*	at vrpciu?

# VRC4173
vrc4173bcu* at pci? dev ? function ?	# VRC4173 BCU
#vrc4173cmu* at vrc4173bcu?		# VRC4173 CMU
#vrc4173piu* at vrc4173bcu?		# VRC4173 PIU
#vrc4173kiu* at vrc4173bcu?		# VRC4173 KIU

#vrc4173cardu* at pci? dev ? function ?	# VRC4173 CARDU
#pcmcia*	at vrc4173cardu?

# PCI USB controllers
ohci*	at pci?	dev ? function ?	# Open Host Controller
#options 	OHCI_DEBUG, USB_DEBUG, UHUB_DEBUG

# PCMCIA bus support
pcmcia*	at pcic? controller 0 socket ?

# PCMCIA IDE disk
wdc*	at pcmcia? function ?
wd*	at wdc? channel ? drive ? flags 0x0000

# PCMCIA network interfaces
#ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
#mbe*	at pcmcia? function ?		# MB8696x based Ethernet
#ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
#ray*	at pcmcia? function ?		# Raytheon Raylink (802.11)
#sm*	at pcmcia? function ?		# Megahertz Ethernet
wi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
#awi*	at pcmcia? function ?		# WLI-PCM
#an*	at pcmcia? function ?		# Aironet PC4500/PC4800 (802.11)

# PCMCIA Serial interfaces
#com*	at pcmcia? function ?		# Modems and serial cards

# PCMCIA SCSI interfaces
#aic*	at pcmcia? function ?
#esp*	at pcmcia? function ?		# NCR53c406 SCSI

# ATAPI bus support
#atapibus* at wdc? channel ?
#cd*	at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
#sd*	at atapibus? drive ? flags 0x0000 # ATAPI disk drives

# SCSI bus support
#scsibus* at aic?
#scsibus* at esp?
#sd*	at scsibus? target ? lun ?	# SCSI disk drives
#cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives

# USB Hubs
usb*	at ohci?
uhub*	at usb?
uhub*	at uhub? port ? configuration ? interface ?

# USB HID device
uhidev*	at uhub? port ? configuration ? interface ?

# USB Mice
ums*	at uhidev? reportid ?
wsmouse*	at ums? mux 0

# USB Keyboards
#ukbd*	at uhidev? reportid ?
#wskbd*	at ukbd? console ? mux 1

# USB Generic HID devices
uhid*	at uhidev? reportid ?

# USB Mass Storage
umass*	at uhub? port ? configuration ? interface ?
scsibus* at umass? channel ?
sd* at scsibus? target ? lun ?

# USB Ethernet adapters
#aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
#cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
#kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters

# Prolofic PL2301/PL2302 host-to-host adapter
#upl*	at uhub? port ?

# Serial adapters

#uftdi*	at uhub? port ?  # FTDI FT8U100AX serial adapter
#ucom*	at uftdi? portno ?

#uplcom*	at uhub? port ?		# I/O DATA USB-RSAQ2 serial adapter
#ucom*	at uplcom? portno ?

#umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
#ucom*	at umct? portno ?

# USB Generic driver

ugen*	at uhub? port ?

pseudo-device	loop		1	# network loopback
pseudo-device	pty			# pseudo-terminals
pseudo-device	bpfilter	16	# packet filter ports
pseudo-device	ipfilter		# IP filter, NAT

pseudo-device	vnd		4	# virtual disk ick
pseudo-device	rnd			# /dev/random and in-kernel generator
pseudo-device	clockctl		# user control of clock subsystem

pseudo-device	biconsdev	1	# build-in console device
pseudo-device	wsmux			# mouse & keyboard multiplexor
#pseudo-device	md		1	# memory disk device (ramdisk)

--LQksG6bCIzRHxTLp--