Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gpio manipulation on rasp pi



Hi All:

If anyone can give some pointers on manipulating gpio pins in netbsd i
would be very appreciative. I have had no luck with gpioctl. Here is my
session so far.

bash-4.3# gpioctl gpio0 25 set out pp
gpioctl: GPIOSET: Operation not permitted
bash-4.3# gpioctl gpio0 24 set out pp
gpioctl: GPIOSET: Operation not permitted
bash-4.3# gpioctl gpio 2 set out pp
gpioctl: GPIOSET: Operation not permitted
bash-4.3# gpioctl gpio0 2 set out pp
gpioctl: GPIOSET: Operation not permitted
bash-4.3# gpioctl gpio1 2 set out pp
gpioctl: GPIOSET: Operation not permitted
bash-4.3# gpioctl gpio2 2 set out pp
gpioctl: /dev/gpio2: Device not configured
bash-4.3# gpioctl gpio3 2 set out pp
gpioctl: /dev/gpio3: Device not configured
bash-4.3# gpioctl gpio4 2 set out pp
gpioctl: /dev/gpio4: Device not configured
bash-4.3# gpioctl gpio5 2 set out pp
gpioctl: /dev/gpio5: Device not configured
bash-4.3# gpioctl gpio6 2 set out pp
gpioctl: /dev/gpio6: Device not configured
bash-4.3# gpioctl gpio7 2 set out pp
gpioctl: /dev/gpio7: Device not configured
bash-4.3# gpioctl gpio0 2 1
gpioctl: GPIOWRITE: Operation not permitted
bash-4.3# gpioctl gpio0 3 1
gpioctl: GPIOWRITE: Operation not permitted
bash-4.3# gpioctl gpio0 4 1
gpioctl: GPIOWRITE: Operation not permitted
bash-4.3# gpioctl gpio0 5 1
gpioctl: GPIOWRITE: Operation not permitted
bash-4.3# gpioctl gpio0 5 1
gpioctl: GPIOWRITE: Operation not permitted
bash-4.3# gpioctl gpio0 6 1
gpioctl: GPIOWRITE: Operation not permitted
bash-4.3# gpioctl gpio0 2 set iout
gpioctl: GPIOSET: Operation not permitted
bash-4.3# gpioctl gpio0 3 set iout
gpioctl: GPIOSET: Operation not permitted

This is with a rasp pi 2 with a standard kern

d
bash-4.3# dmesg
two0: dwc2_hc_chhltd_intr_dma: Channel 3 - ChHltd set, but reason is unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 4 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 0 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 2 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 4 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 3 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 0 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 1 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 4 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 5 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 0 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 2 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 1 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 7 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 1 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 4 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 3 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 4 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 7 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 7 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 2 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 3 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 4 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 5 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 2 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 7 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 3 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 4 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 5 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 0 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 7 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 4 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 1 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 5 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 4 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 1 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 5 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 4 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 4 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x06600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 3 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x06600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 5 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 7 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 5 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 3 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 1 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 0 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 4 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 7 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 1 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 5 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 4 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 7 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 3 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 1 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 7 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 4 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 7 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 4 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 3 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
umidi_search_quirk: v=1133, p=2226, i=0
umidi_search_quirk: v=1133, p=2226, i=1
umidi_search_quirk: v=1133, p=2226, i=2
ugen0 at uhub1 port 4
ugen0: vendor 0x046d product 0x08b2, rev 1.10/0.00, addr 5
ugen0: detached
ugen0: at uhub1 port 4 (addr 5) disconnected
umidi_search_quirk: v=1133, p=2226, i=0
umidi_search_quirk: v=1133, p=2226, i=1
umidi_search_quirk: v=1133, p=2226, i=2
ugen0 at uhub1 port 5
ugen0: vendor 0x046d product 0x08b2, rev 1.10/0.00, addr 5
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 7 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 0 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 2 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 7 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 2 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 3 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
ugen0: detached
ugen0: at uhub1 port 5 (addr 5) disconnected
umidi_search_quirk: v=1133, p=2226, i=0
umidi_search_quirk: v=1133, p=2226, i=1
umidi_search_quirk: v=1133, p=2226, i=2
ugen0 at uhub1 port 4
ugen0: vendor 0x046d product 0x08b2, rev 1.10/0.00, addr 5
ugen0: detached
ugen0: at uhub1 port 4 (addr 5) disconnected
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 2 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 0 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 3 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 3 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 1 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
dwctwo0: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set, but reason is
unknown
dwctwo0: hcint 0x00000402, intsts 0x04600009
ucomreadcb: wonky status=INVAL
syncing disks... done
unmounting file systems...
unmounted tmpfs on /var/shm type tmpfs
unmounted procfs on /proc type procfs
unmounted ptyfs on /dev/pts type ptyfs
unmounted kernfs on /kern type kernfs
unmounted /dev/ld0e on /boot type msdos
unmounted /dev/ld0a on / type ffs
unmounting done
rebooting...
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 7.0.0_PATCH (RPI.201601100500Z)
total memory = 448 MB
avail memory = 437 MB
sysctl_createv: sysctl_create(machine_arch) returned 17
kern.module.path=/stand/evbarm/7.0/modules
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
cpu0 at mainbus0 core 0: 700 MHz ARM1176JZ-S r0p7 (ARM11J V6ZK core)
cpu0: DC enabled IC enabled WB enabled LABT
cpu0: isar: [0]=0x140011 [1]=0x12002111 [2]=0x11231121 [3]=0x1102131,
[4]=0x1141, [5]=0
cpu0: mmfr: [0]=0x1130003 [1]=0x10030302 [2]=0x1222100 [3]=0
cpu0: pfr: [0]=0x111 [1]=0x11
cpu0: 16KB/32B 4-way L1 VIPT Instruction cache
cpu0: 16KB/32B 4-way write-back-locking-C L1 VIPT Data cache
vfp0 at cpu0: VFP11, rounding, exceptions
vfp0: mvfr: [0]=0x11111111 [1]=0
obio0 at mainbus0
bcmicu0 at obio0
bcmmbox0 at obio0: VC mailbox
vcmbox0 at bcmmbox0
bcmtmr0 at obio0 intr 3: VC System Timer
vchiq0 at obio0 intr 66: BCM2835 VCHIQ
bcmpm0 at obio0: Power management, Reset and Watchdog controller
bcmdmac0 at obio0: DMA0 DMA2 DMA4 DMA5 DMA8 DMA9 DMA10
bcmrng0 at obio0: RNG
plcom0 at obio0 intr 57
plcom0: txfifo disabled
plcom0: console
genfb0 at obio0: switching to framebuffer console
genfb0: framebuffer at 0x1e876000, size 1280x720, depth 32, stride 5120
wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 emulation)
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 1-3 added (default, vt100 emulation)
sdhc0 at obio0 intr 62: SDHC controller
sdhc0: interrupting on intr 62
dwctwo0 at obio0 intr 9: USB controller
bcmspi0 at obio0 intr 54: SPI
spi0 at bcmspi0: SPI bus
bsciic0 at obio0 intr 53: BSC0
iic0 at bsciic0: I2C bus
bsciic1 at obio0 intr 53: BSC1
iic1 at bsciic1: I2C bus
bcmgpio0 at obio0: GPIO [0...31]
gpio0 at bcmgpio0: 32 pins
bcmgpio1 at obio0: GPIO [32...53]
gpio1 at bcmgpio1: 22 pins
usb0 at dwctwo0: USB revision 2.0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "bcmtmr0" frequency 1000000 Hz quality 100
sdhc0: SD Host Specification 3.0, rev.153
sdhc0: using DMA transfer
sdmmc0 at sdhc0 slot 0
uhub0 at usb0: vendor 0x0000 DWC2 root hub, class 9/0, rev 2.00/1.00, addr 1
uhub0: 1 port with 1 removable, self powered
ld0 at sdmmc0: <0x03:0x5344:SU16G:0x80:0x1da723cc:0x0cc>
ld0: 15193 MB, 7717 cyl, 64 head, 63 sec, 512 bytes/sect x 31116288 sectors
ld0: 4-bit width, bus clock 50.000 MHz
uhub1 at uhub0 port 1: vendor 0x0424 product 0x9514, class 9/0, rev
2.00/2.00, addr 2
uhub1: multiple transaction translators
uhub1: 5 ports with 4 removable, self powered
usmsc0 at uhub1 port 1
usmsc0: vendor 0x0424 product 0xec00, rev 2.00/2.00, addr 3
usmsc0:  Ethernet address b8:27:eb:4e:07:f5
ukphy0 at usmsc0 phy 1: OUI 0x00800f, model 0x000c, rev. 3
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
uftdi0 at uhub1 port 3
uftdi0: FTDI FT232R USB UART, rev 2.00/6.00, addr 4
ucom0 at uftdi0 portno 1
boot device: ld0
root on ld0a dumps on ld0b
root file system type: ffs
vchiq: local ver 6 (min 3), remote ver 6.
vcaudio0 at vchiq0: auds
vchiq_get_state: g_state.remote->initialised != 1 (0)
WARNING: no TOD clock present
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!
audio0 at vcaudio0: half duplex, playback, capture, independent
bash-4.3#

-----
Kern looks like it should support the gpio

bash-4.3# dmesg |grep gpio
bcmgpio0 at obio0: GPIO [0...31]
gpio0 at bcmgpio0: 32 pins
bcmgpio1 at obio0: GPIO [32...53]
gpio1 at bcmgpio1: 22 pins
bash-4.3#


bash-4.3# ls /dev |grep gpio
gpio
gpio0
gpio1
gpio2
gpio3
gpio4
gpio5
gpio6
gpio7

--------


Thanks !

--- Marina Brown


Home | Main Index | Thread Index | Old Index