piscreen doesn't change to black

Forums Technical Support for PiScreen piscreen doesn't change to black

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3846
    nusys3
    Participant

    Hi,

    I am trying to follow the instruction here

    PiScreen Driver Install Instructions

    and when I completed Step 3 for the driver and rebooted, the screen stays in white.

    (Quick test doesn't work)

    dmesg says:
    pi@raspberrypi ~ $ dmesg
    [ 0.000000] Booting Linux on physical CPU 0xf00
    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Initializing cgroup subsys cpuacct
    [ 0.000000] Linux version 3.18.11-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #776 SMP PREEMPT Mon Apr 6 13:19:43 BST 2015
    [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] Machine model: Raspberry Pi 2 Model B
    [ 0.000000] cma: Reserved 8 MiB at 0x3a800000
    [ 0.000000] Memory policy: Data cache writealloc
    [ 0.000000] On node 0 totalpages: 241664
    [ 0.000000] free_area_init_node: node 0, pgdat 8080f480, node_mem_map ba093000
    [ 0.000000] Normal zone: 1888 pages used for memmap
    [ 0.000000] Normal zone: 0 pages reserved
    [ 0.000000] Normal zone: 241664 pages, LIFO batch:31
    [ 0.000000] [bcm2709_smp_init_cpus] enter (8620->f3003010)
    [ 0.000000] [bcm2709_smp_init_cpus] ncores=4
    [ 0.000000] PERCPU: Embedded 10 pages/cpu @ba060000 s11456 r8192 d21312 u40960
    [ 0.000000] pcpu-alloc: s11456 r8192 d21312 u40960 alloc=10*4096
    [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 239776
    [ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2709.boardrev=0xa21041 bcm2709.serial=0xe8aec98b smsc95xx.macaddr=B8:27:EB:AE:C9:8B bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait fbcon=map:10 fbcon=rotate:2 fbcon=font:ProFont6x11
    [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Memory: 940828K/966656K available (5722K kernel code, 397K rwdata, 1748K rodata, 384K init, 763K bss, 25828K reserved)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xffe00000 (2048 kB)
    [ 0.000000] vmalloc : 0xbb800000 - 0xff000000 (1080 MB)
    [ 0.000000] lowmem : 0x80000000 - 0xbb000000 ( 944 MB)
    [ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB)
    [ 0.000000] .text : 0x80008000 - 0x80753a48 (7471 kB)
    [ 0.000000] .init : 0x80754000 - 0x807b4000 ( 384 kB)
    [ 0.000000] .data : 0x807b4000 - 0x808174bc ( 398 kB)
    [ 0.000000] .bss : 0x808174bc - 0x808d6254 ( 764 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] NR_IRQS:608
    [ 0.000000] Architected cp15 timer(s) running at 19.20MHz (virt).
    [ 0.000015] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 3579139424256ns
    [ 0.000039] Switching to timer-based delay loop, resolution 52ns
    [ 0.000340] Console: colour dummy device 80x30
    [ 0.001797] console [tty1] enabled
    [ 0.001847] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
    [ 0.001931] pid_max: default: 32768 minimum: 301
    [ 0.002334] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.002395] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.003669] Initializing cgroup subsys memory
    [ 0.003760] Initializing cgroup subsys devices
    [ 0.003814] Initializing cgroup subsys freezer
    [ 0.003864] Initializing cgroup subsys net_cls
    [ 0.003928] Initializing cgroup subsys blkio
    [ 0.004034] CPU: Testing write buffer coherency: ok
    [ 0.004149] ftrace: allocating 19612 entries in 58 pages
    [ 0.052618] CPU0: update cpu_capacity 1024
    [ 0.052696] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
    [ 0.052735] [bcm2709_smp_prepare_cpus] enter
    [ 0.052890] Setting up static identity map for 0x528538 - 0x52856c
    [ 0.112555] [bcm2709_boot_secondary] cpu:1 started (0) 18
    [ 0.112871] CPU1: Booted secondary processor
    [ 0.112880] [bcm2709_secondary_init] enter cpu:1
    [ 0.112935] CPU1: update cpu_capacity 1024
    [ 0.112944] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
    [ 0.132534] [bcm2709_boot_secondary] cpu:2 started (0) 18
    [ 0.132783] CPU2: Booted secondary processor
    [ 0.132790] [bcm2709_secondary_init] enter cpu:2
    [ 0.132822] CPU2: update cpu_capacity 1024
    [ 0.132831] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
    [ 0.152604] [bcm2709_boot_secondary] cpu:3 started (0) 18
    [ 0.152843] CPU3: Booted secondary processor
    [ 0.152850] [bcm2709_secondary_init] enter cpu:3
    [ 0.152880] CPU3: update cpu_capacity 1024
    [ 0.152888] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
    [ 0.152980] Brought up 4 CPUs
    [ 0.153102] SMP: Total of 4 processors activated (153.60 BogoMIPS).
    [ 0.153135] CPU: All CPU(s) started in SVC mode.
    [ 0.154144] devtmpfs: initialized
    [ 0.179097] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
    [ 0.181085] pinctrl core: initialized pinctrl subsystem
    [ 0.184462] NET: Registered protocol family 16
    [ 0.190164] DMA: preallocated 4096 KiB pool for atomic coherent allocations
    [ 0.191410] bcm2709.uart_clock = 3000000
    [ 0.194709] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [ 0.194762] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [ 0.194818] mailbox: Broadcom VideoCore Mailbox driver
    [ 0.194953] bcm2708_vcio: mailbox at f300b880
    [ 0.195319] bcm_power: Broadcom power driver
    [ 0.195356] bcm_power_open() -> 0
    [ 0.195381] bcm_power_request(0, 8)
    [ 0.696060] bcm_mailbox_read -> 00000080, 0
    [ 0.696093] bcm_power_request -> 0
    [ 0.696247] Serial: AMBA PL011 UART driver
    [ 0.696396] dev:f1: ttyAMA0 at MMIO 0x3f201000 (irq = 83, base_baud = 0) is a PL011 rev3
    [ 1.208940] console [ttyAMA0] enabled
    [ 1.285781] SCSI subsystem initialized
    [ 1.289800] usbcore: registered new interface driver usbfs
    [ 1.295473] usbcore: registered new interface driver hub
    [ 1.300943] usbcore: registered new device driver usb
    [ 1.307937] Switched to clocksource arch_sys_counter
    [ 1.343735] FS-Cache: Loaded
    [ 1.346966] CacheFiles: Loaded
    [ 1.361563] NET: Registered protocol family 2
    [ 1.367207] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 1.374462] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [ 1.381161] TCP: Hash tables configured (established 8192 bind 8192)
    [ 1.387629] TCP: reno registered
    [ 1.390905] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [ 1.396891] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [ 1.403625] NET: Registered protocol family 1
    [ 1.408694] RPC: Registered named UNIX socket transport module.
    [ 1.414637] RPC: Registered udp transport module.
    [ 1.419406] RPC: Registered tcp transport module.
    [ 1.424125] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 1.431642] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
    [ 1.440060] bcm2708_dma: DMA manager at f3007000
    [ 1.444853] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
    [ 1.454682] futex hash table entries: 1024 (order: 4, 65536 bytes)
    [ 1.461202] audit: initializing netlink subsys (disabled)
    [ 1.466685] audit: type=2000 audit(1.239:1): initialized
    [ 1.488353] VFS: Disk quotas dquot_6.5.2
    [ 1.492667] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 1.502262] FS-Cache: Netfs 'nfs' registered for caching
    [ 1.508669] NFS: Registering the id_resolver key type
    [ 1.513830] Key type id_resolver registered
    [ 1.518058] Key type id_legacy registered
    [ 1.523234] msgmni has been set to 1853
    [ 1.528971] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
    [ 1.536598] io scheduler noop registered
    [ 1.540576] io scheduler deadline registered (default)
    [ 1.546047] io scheduler cfq registered
    [ 1.552591] BCM2708FB: allocated DMA memory fac00000
    [ 1.557606] BCM2708FB: allocated DMA channel 0 @ f3007000
    [ 1.568655] Console: switching to colour frame buffer device 82x26
    [ 1.580616] bcm2708-dmaengine bcm2708-dmaengine: Load BCM2835 DMA engine driver
    [ 1.589925] uart-pl011 dev:f1: no DMA platform data
    [ 1.596934] vc-cma: Videocore CMA driver
    [ 1.602462] vc-cma: vc_cma_base = 0x00000000
    [ 1.608742] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
    [ 1.615667] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
    [ 1.634544] brd: module loaded
    [ 1.644999] loop: module loaded
    [ 1.649940] vchiq: vchiq_init_state: slot_zero = 0xba800000, is_master = 0
    [ 1.659116] Loading iSCSI transport class v2.0-870.
    [ 1.666450] usbcore: registered new interface driver smsc95xx
    [ 1.673822] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
    [ 1.881453] Core Release: 2.80a
    [ 1.886073] Setting default values for core params
    [ 1.892377] Finished setting default values for core params
    [ 2.099850] Using Buffer DMA mode
    [ 2.104632] Periodic Transfer Interrupt Enhancement - disabled
    [ 2.112016] Multiprocessor Interrupt Enhancement - disabled
    [ 2.119151] OTG VER PARAM: 0, OTG VER FLAG: 0
    [ 2.125065] Dedicated Tx FIFOs mode
    [ 2.130452] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xbac14000 dma = 0xfac14000 len=9024
    [ 2.143421] FIQ FSM acceleration enabled for :
    [ 2.143421] Non-periodic Split Transactions
    [ 2.143421] Periodic Split Transactions
    [ 2.143421] High-Speed Isochronous Endpoints
    [ 2.166377] dwc_otg: Microframe scheduler enabled
    [ 2.166452] WARN::hcd_init_fiq:412: FIQ on core 1 at 0x803d9994
    [ 2.174008] WARN::hcd_init_fiq:413: FIQ ASM at 0x803d9cf0 length 36
    [ 2.181920] WARN::hcd_init_fiq:438: MPHI regs_base at 0xbb80a000
    [ 2.189537] dwc_otg bcm2708_usb: DWC OTG Controller
    [ 2.196025] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
    [ 2.204910] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
    [ 2.212039] Init: Port Power? op_state=1
    [ 2.217502] Init: Power Port (0)
    [ 2.222546] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 2.230957] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 2.239782] usb usb1: Product: DWC OTG Controller
    [ 2.246029] usb usb1: Manufacturer: Linux 3.18.11-v7+ dwc_otg_hcd
    [ 2.253699] usb usb1: SerialNumber: bcm2708_usb
    [ 2.260725] hub 1-0:1.0: USB hub found
    [ 2.266051] hub 1-0:1.0: 1 port detected
    [ 2.271945] dwc_otg: FIQ enabled
    [ 2.271960] dwc_otg: NAK holdoff enabled
    [ 2.271973] dwc_otg: FIQ split-transaction FSM enabled
    [ 2.272013] Module dwc_common_port init
    [ 2.272396] usbcore: registered new interface driver usb-storage
    [ 2.280201] mousedev: PS/2 mouse device common for all mice
    [ 2.287889] bcm2835-cpufreq: min=600000 max=900000
    [ 2.294545] sdhci: Secure Digital Host Controller Interface driver
    [ 2.302281] sdhci: Copyright(c) Pierre Ossman
    [ 2.308370] DMA channels allocated for the MMC driver
    [ 2.347985] Load BCM2835 MMC driver
    [ 2.354819] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 2.366089] ledtrig-cpu: registered to indicate activity on CPUs
    [ 2.376084] hidraw: raw HID events driver (C) Jiri Kosina
    [ 2.383428] usbcore: registered new interface driver usbhid
    [ 2.391669] usbhid: USB HID core driver
    [ 2.400524] TCP: cubic registered
    [ 2.407472] Initializing XFRM netlink socket
    [ 2.413386] NET: Registered protocol family 17
    [ 2.422879] Key type dns_resolver registered
    [ 2.429275] Registering SWP/SWPB emulation handler
    [ 2.436499] registered taskstats version 1
    [ 2.442381] vc-sm: Videocore shared memory driver
    [ 2.448601] [vc_sm_connected_init]: start
    [ 2.454859] [vc_sm_connected_init]: end - returning 0
    [ 2.461470] mmc0: host does not support reading read-only switch, assuming write-enable
    [ 2.472639] Indeed it is in host mode hprt0 = 00021501
    [ 2.480287] Waiting for root device /dev/mmcblk0p2...
    [ 2.487176] mmc0: new high speed SDHC card at address aaaa
    [ 2.494879] mmcblk0: mmc0:aaaa SS32G 29.7 GiB
    [ 2.502465] mmcblk0: p1 p2
    [ 2.612214] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 2.623526] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    [ 2.633024] devtmpfs: mounted
    [ 2.638324] Freeing unused kernel memory: 384K (80754000 - 807b4000)
    [ 2.658068] usb 1-1: new high-speed USB device number 2 using dwc_otg
    [ 2.666665] Indeed it is in host mode hprt0 = 00001101
    [ 2.868346] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
    [ 2.876910] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [ 2.886737] hub 1-1:1.0: USB hub found
    [ 2.892579] hub 1-1:1.0: 5 ports detected
    [ 3.178223] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
    [ 3.278664] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
    [ 3.288090] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [ 3.301027] smsc95xx v1.0.4
    [ 3.362718] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:ae:c9:8b
    [ 3.458317] usb 1-1.4: new high-speed USB device number 4 using dwc_otg
    [ 3.569786] usb 1-1.4: New USB device found, idVendor=0bda, idProduct=8176
    [ 3.578934] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 3.588606] usb 1-1.4: Product: 802.11n WLAN Adapter
    [ 3.595450] usb 1-1.4: Manufacturer: Realtek
    [ 3.601782] usb 1-1.4: SerialNumber: 00e04c000001
    [ 3.778028] udevd[175]: starting version 175
    [ 4.280731] bcm2708_spi 3f204000.spi: master is unqueued, this is deprecated
    [ 4.388564] ads7846 spi0.1: touchscreen, irq 497
    [ 4.396689] input: ADS7846 Touchscreen as /devices/soc/3f204000.spi/spi_master/spi0/spi0.1/input/input0
    [ 4.530528] random: nonblocking pool is initialized
    [ 4.541714] fbtft: module is from the staging directory, the quality is unknown, you have been warned.
    [ 4.571233] fb_ili9486: module is from the staging directory, the quality is unknown, you have been warned.
    [ 4.597486] fbtft_of_value: regwidth = 16
    [ 4.604714] fbtft_of_value: buswidth = 8
    [ 4.628295] fbtft_of_value: debug = 0
    [ 4.640602] fbtft_of_value: rotate = 90
    [ 4.652477] fbtft_of_value: fps = 30
    [ 4.734603] usbcore: registered new interface driver rtl8192cu
    [ 5.207462] graphics fb1: fb_ili9486 frame buffer, 480x320, 300 KiB video memory, 4 KiB DMA buffer memory, fps=33, spi0.0 at 32 MHz
    [ 5.223994] bcm2708_spi 3f204000.spi: SPI Controller at 0x3f204000 (irq 80)
    [ 5.234494] bcm2708_i2c_init_pinmode(1,2)
    [ 5.241462] bcm2708_i2c_init_pinmode(1,3)
    [ 5.247516] bcm2708_i2c 3f804000.i2c: BSC1 Controller at 0x3f804000 (irq 79) (baudrate 100000)
    [ 7.096833] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [ 7.574494] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [ 12.671776] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
    [ 16.618609] Adding 102396k swap on /var/swap. Priority:-1 extents:2 across:2134012k SSFS

    and

    pi@raspberrypi ~ $ ls /dev/fb*
    /dev/fb0 /dev/fb1

    Can you help me find what seems the problem?

    Thanks!

    #3847
    nusys3
    Participant

    And I am using Pi 2, FYI..

    #3848
    Mark Williams
    Keymaster

    how do you have the PiScreen connected?
    Can you show me a photo of the screen.

    Mark --OzzMaker.com --

    #3849
    nusys3
    Participant

    Mark,
    I don't have a camera with me now. but I think I am using GPIO (the pins).

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Blip, blop, bloop...