Cant get piscreen to work

Home Forums Forums Technical Support for PiScreen Cant get piscreen to work

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #3826
    tarumaycry
    Participant

    Hi,

    I just received my PiScreen today. I can actually see whats happening if i use HDMI output but there is absolutely nothing from the piscreen. Im using Raspbian at the moment. Ive also tried following the instructions at ozzmaker.com/piscreen-driver-install-instructions and i still cant get it going.

    Please help.

    #3827
    Mark Williams
    Keymaster

    Some questions;
    1)have you double checked that the switch on the PiScreen is in the "on" position?
    2)did you perform the quick test at the bottom of the page at https://ozzmaker.com/piscreen-driver-install-instructions
    3)what is the output of ls -l /dev/fb*
    4)what is the output of demsg

    Mark --OzzMaker.com --

    #3828
    tarumaycry
    Participant

    Hi Mark,

    Thanks for responding so fast.

    1) Ive tried both positions, but definitively i dont know which state is on and which is off. (unless the piscreen needs to be on the on state prior to being turned on)
    2) Ive completed that tutorial, with the exception of step 4
    3) crw-rw---T 1 root video 29, 0 Jan 1 1970 /dev/fb0
    4)
    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.7-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #755 SMP PREEMPT Thu Feb 12 17:20:48 GMT 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 80820480, 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 11 pages/cpu @ba05d000 s12864 r8192 d24000 u45056
    [ 0.000000] pcpu-alloc: s12864 r8192 d24000 u45056 alloc=11*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=1776 bcm2708_fb.fbheight=952 bcm2709.boardrev=0xa21041 bcm2709.serial=0x91d22f12 smsc95xx.macaddr=B8:27:EB:D2:2F:12 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/mmcblk0p6 rootfstype=ext4 elevator=deadline rootwait
    [ 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: 940740K/966656K available (5785K kernel code, 377K rwdata, 1760K rodata, 396K init, 771K bss, 25916K 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 - 0x80766748 (7546 kB)
    [ 0.000000] .init : 0x80767000 - 0x807ca000 ( 396 kB)
    [ 0.000000] .data : 0x807ca000 - 0x808287ec ( 378 kB)
    [ 0.000000] .bss : 0x808287ec - 0x808e96d4 ( 772 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:480
    [ 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.000337] Console: colour dummy device 80x30
    [ 0.001765] console [tty1] enabled
    [ 0.001816] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
    [ 0.001898] pid_max: default: 32768 minimum: 301
    [ 0.002318] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.002378] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.003670] Initializing cgroup subsys memory
    [ 0.003756] Initializing cgroup subsys devices
    [ 0.003811] Initializing cgroup subsys freezer
    [ 0.003861] Initializing cgroup subsys net_cls
    [ 0.003921] Initializing cgroup subsys blkio
    [ 0.004038] CPU: Testing write buffer coherency: ok
    [ 0.004153] ftrace: allocating 19969 entries in 59 pages
    [ 0.053491] CPU0: update cpu_capacity 1024
    [ 0.053570] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
    [ 0.053608] [bcm2709_smp_prepare_cpus] enter
    [ 0.053770] Setting up static identity map for 0x536c78 - 0x536cd0
    [ 0.113433] [bcm2709_boot_secondary] cpu:1 started (0) 17
    [ 0.113750] CPU1: Booted secondary processor
    [ 0.113758] [bcm2709_secondary_init] enter cpu:1
    [ 0.113813] CPU1: update cpu_capacity 1024
    [ 0.113822] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
    [ 0.133408] [bcm2709_boot_secondary] cpu:2 started (0) 16
    [ 0.133663] CPU2: Booted secondary processor
    [ 0.133670] [bcm2709_secondary_init] enter cpu:2
    [ 0.133701] CPU2: update cpu_capacity 1024
    [ 0.133710] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
    [ 0.153464] [bcm2709_boot_secondary] cpu:3 started (0) 18
    [ 0.153707] CPU3: Booted secondary processor
    [ 0.153714] [bcm2709_secondary_init] enter cpu:3
    [ 0.153746] CPU3: update cpu_capacity 1024
    [ 0.153755] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
    [ 0.153847] Brought up 4 CPUs
    [ 0.153968] SMP: Total of 4 processors activated (153.60 BogoMIPS).
    [ 0.154001] CPU: All CPU(s) started in SVC mode.
    [ 0.155037] devtmpfs: initialized
    [ 0.178185] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
    [ 0.180410] pinctrl core: initialized pinctrl subsystem
    [ 0.183739] NET: Registered protocol family 16
    [ 0.189365] DMA: preallocated 4096 KiB pool for atomic coherent allocations
    [ 0.213254] cpuidle: using governor ladder
    [ 0.243283] cpuidle: using governor menu
    [ 0.243684] bcm2709.uart_clock = 3000000
    [ 0.246667] No ATAGs?
    [ 0.246736] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [ 0.246792] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [ 0.246855] mailbox: Broadcom VideoCore Mailbox driver
    [ 0.246985] bcm2708_vcio: mailbox at f300b880
    [ 0.247363] bcm_power: Broadcom power driver
    [ 0.247401] bcm_power_open() -> 0
    [ 0.247426] bcm_power_request(0, 8)
    [ 0.748127] bcm_mailbox_read -> 00000080, 0
    [ 0.748158] bcm_power_request -> 0
    [ 0.748314] Serial: AMBA PL011 UART driver
    [ 0.748474] dev:f1: ttyAMA0 at MMIO 0x3f201000 (irq = 83, base_baud = 0) is a PL011 rev3
    [ 1.266874] console [ttyAMA0] enabled
    [ 1.346704] SCSI subsystem initialized
    [ 1.350722] usbcore: registered new interface driver usbfs
    [ 1.356389] usbcore: registered new interface driver hub
    [ 1.361849] usbcore: registered new device driver usb
    [ 1.368821] Switched to clocksource arch_sys_counter
    [ 1.403648] FS-Cache: Loaded
    [ 1.406909] CacheFiles: Loaded
    [ 1.422323] NET: Registered protocol family 2
    [ 1.427953] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 1.435208] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [ 1.441915] TCP: Hash tables configured (established 8192 bind 8192)
    [ 1.448385] TCP: reno registered
    [ 1.451665] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [ 1.457648] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [ 1.464407] NET: Registered protocol family 1
    [ 1.469262] RPC: Registered named UNIX socket transport module.
    [ 1.475204] RPC: Registered udp transport module.
    [ 1.479994] RPC: Registered tcp transport module.
    [ 1.484717] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 1.492254] bcm2708_dma: DMA manager at f3007000
    [ 1.497061] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
    [ 1.507020] futex hash table entries: 1024 (order: 4, 65536 bytes)
    [ 1.513478] audit: initializing netlink subsys (disabled)
    [ 1.518990] audit: type=2000 audit(1.309:1): initialized
    [ 1.540536] VFS: Disk quotas dquot_6.5.2
    [ 1.544857] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 1.554554] FS-Cache: Netfs 'nfs' registered for caching
    [ 1.560941] NFS: Registering the id_resolver key type
    [ 1.566081] Key type id_resolver registered
    [ 1.570325] Key type id_legacy registered
    [ 1.575476] msgmni has been set to 1853
    [ 1.581085] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
    [ 1.588716] io scheduler noop registered
    [ 1.592700] io scheduler deadline registered (default)
    [ 1.598190] io scheduler cfq registered
    [ 1.604727] BCM2708FB: allocated DMA memory fac00000
    [ 1.609793] BCM2708FB: allocated DMA channel 0 @ f3007000
    [ 1.643868] Console: switching to colour frame buffer device 222x59
    [ 1.668137] bcm2708-dmaengine bcm2708-dmaengine: Load BCM2835 DMA engine driver
    [ 1.675980] uart-pl011 dev:f1: no DMA platform data
    [ 1.681570] vc-cma: Videocore CMA driver
    [ 1.685576] vc-cma: vc_cma_base = 0x00000000
    [ 1.690396] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
    [ 1.695894] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
    [ 1.713329] brd: module loaded
    [ 1.722653] loop: module loaded
    [ 1.726215] vchiq: vchiq_init_state: slot_zero = 0xba800000, is_master = 0
    [ 1.734116] Loading iSCSI transport class v2.0-870.
    [ 1.740184] usbcore: registered new interface driver smsc95xx
    [ 1.746112] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
    [ 1.952322] Core Release: 2.80a
    [ 1.955540] Setting default values for core params
    [ 1.960489] Finished setting default values for core params
    [ 2.166593] Using Buffer DMA mode
    [ 2.169999] Periodic Transfer Interrupt Enhancement - disabled
    [ 2.175937] Multiprocessor Interrupt Enhancement - disabled
    [ 2.181629] OTG VER PARAM: 0, OTG VER FLAG: 0
    [ 2.186074] Dedicated Tx FIFOs mode
    [ 2.190014] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xbac14000 dma = 0xfac14000 len=9024
    [ 2.200076] FIQ FSM acceleration enabled for :
    [ 2.200076] Non-periodic Split Transactions
    [ 2.200076] Periodic Split Transactions
    [ 2.200076] High-Speed Isochronous Endpoints
    [ 2.225965] dwc_otg: Microframe scheduler enabled
    [ 2.226040] WARN::hcd_init_fiq:412: FIQ on core 1 at 0x803e4200
    [ 2.236486] WARN::hcd_init_fiq:413: FIQ ASM at 0x803e455c length 36
    [ 2.247244] WARN::hcd_init_fiq:438: MPHI regs_base at 0xbb806000
    [ 2.257750] dwc_otg bcm2708_usb: DWC OTG Controller
    [ 2.267151] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
    [ 2.278950] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
    [ 2.289049] Init: Port Power? op_state=1
    [ 2.297495] Init: Power Port (0)
    [ 2.305506] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 2.316855] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 2.328590] usb usb1: Product: DWC OTG Controller
    [ 2.337757] usb usb1: Manufacturer: Linux 3.18.7-v7+ dwc_otg_hcd
    [ 2.348229] usb usb1: SerialNumber: bcm2708_usb
    [ 2.358225] hub 1-0:1.0: USB hub found
    [ 2.366523] hub 1-0:1.0: 1 port detected
    [ 2.375396] dwc_otg: FIQ enabled
    [ 2.375410] dwc_otg: NAK holdoff enabled
    [ 2.375421] dwc_otg: FIQ split-transaction FSM enabled
    [ 2.375460] Module dwc_common_port init
    [ 2.375862] usbcore: registered new interface driver usb-storage
    [ 2.386639] mousedev: PS/2 mouse device common for all mice
    [ 2.397379] bcm2835-cpufreq: min=600000 max=900000
    [ 2.406905] sdhci: Secure Digital Host Controller Interface driver
    [ 2.417568] sdhci: Copyright(c) Pierre Ossman
    [ 2.426617] DMA channels allocated for the MMC driver
    [ 2.468863] Load BCM2835 MMC driver
    [ 2.482436] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 2.493167] ledtrig-cpu: registered to indicate activity on CPUs
    [ 2.503865] hidraw: raw HID events driver (C) Jiri Kosina
    [ 2.515062] usbcore: registered new interface driver usbhid
    [ 2.525175] usbhid: USB HID core driver
    [ 2.534904] TCP: cubic registered
    [ 2.542740] Initializing XFRM netlink socket
    [ 2.551505] NET: Registered protocol family 17
    [ 2.560538] Key type dns_resolver registered
    [ 2.569656] Registering SWP/SWPB emulation handler
    [ 2.578973] Indeed it is in host mode hprt0 = 00021501
    [ 2.589376] registered taskstats version 1
    [ 2.598191] vc-sm: Videocore shared memory driver
    [ 2.607442] [vc_sm_connected_init]: start
    [ 2.616776] [vc_sm_connected_init]: end - returning 0
    [ 2.627773] Waiting for root device /dev/mmcblk0p6...
    [ 2.644398] mmc0: host does not support reading read-only switch, assuming write-enable
    [ 2.661188] mmc0: new high speed SDHC card at address aaaa
    [ 2.671867] mmcblk0: mmc0:aaaa SU08G 7.40 GiB
    [ 2.683816] mmcblk0: p1 p2 < p5 p6 > p3
    [ 2.752716] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
    [ 2.758992] usb 1-1: new high-speed USB device number 2 using dwc_otg
    [ 2.765532] Indeed it is in host mode hprt0 = 00001101
    [ 2.786221] VFS: Mounted root (ext4 filesystem) readonly on device 179:6.
    [ 2.807291] devtmpfs: mounted
    [ 2.815497] Freeing unused kernel memory: 396K (80767000 - 807ca000)
    [ 2.959311] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
    [ 2.970770] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [ 2.983511] hub 1-1:1.0: USB hub found
    [ 2.992112] hub 1-1:1.0: 5 ports detected
    [ 3.279102] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
    [ 3.389526] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
    [ 3.402270] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [ 3.421041] smsc95xx v1.0.4
    [ 3.494559] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:d2:2f:12
    [ 3.589226] usb 1-1.2: new low-speed USB device number 4 using dwc_otg
    [ 3.725415] usb 1-1.2: New USB device found, idVendor=093a, idProduct=2510
    [ 3.738016] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [ 3.750515] usb 1-1.2: Product: USB Optical Mouse
    [ 3.760400] usb 1-1.2: Manufacturer: PixArt
    [ 3.776378] input: PixArt USB Optical Mouse as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:093A:2510.0001/input/input0
    [ 3.794763] hid-generic 0003:093A:2510.0001: input,hidraw0: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-bcm2708_usb-1.2/input0
    [ 3.945246] udevd[175]: starting version 175
    [ 4.049186] usb 1-1.3: new low-speed USB device number 5 using dwc_otg
    [ 4.197609] usb 1-1.3: New USB device found, idVendor=1c4f, idProduct=0016
    [ 4.210095] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [ 4.227394] usb 1-1.3: Product: USB Keyboard
    [ 4.240770] usb 1-1.3: Manufacturer: SIGMACHIP
    [ 4.267183] input: SIGMACHIP USB Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:1C4F:0016.0002/input/input1
    [ 4.289770] hid-generic 0003:1C4F:0016.0002: input,hidraw1: USB HID v1.10 Keyboard [SIGMACHIP USB Keyboard] on usb-bcm2708_usb-1.3/input0
    [ 4.318643] input: SIGMACHIP USB Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:1C4F:0016.0003/input/input2
    [ 4.340678] hid-generic 0003:1C4F:0016.0003: input,hidraw2: USB HID v1.10 Device [SIGMACHIP USB Keyboard] on usb-bcm2708_usb-1.3/input1
    [ 4.423906] bcm2708_spi 3f204000.spi: master is unqueued, this is deprecated
    [ 4.455646] ads7846 spi0.1: touchscreen, irq 465
    [ 4.495524] input: ADS7846 Touchscreen as /devices/soc/3f204000.spi/spi_master/spi0/spi0.1/input/input3
    [ 4.543000] bcm2708_spi 3f204000.spi: SPI Controller at 0x3f204000 (irq 80)
    [ 5.807340] random: nonblocking pool is initialized
    [ 6.523122] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)
    [ 6.795247] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)
    [ 12.071965] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
    [ 13.595391] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1
    [ 15.097831] Adding 102396k swap on /var/swap. Priority:-1 extents:1 across:102396k SSFS
    [ 20.666884] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
    [ 462.623277] smsc95xx 1-1.1:1.0 eth0: link down
    [ 474.347053] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
    [ 474.440934] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
    [ 1150.797513] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1

    #3829
    Mark Williams
    Keymaster

    the driver isn't loaded.
    there should be
    /dev/fb0 <--HDMI and /dev/fb1 <-- PiScreen Check that page again, as i just updated it about 1 hour ago. In summary, all you should need to do is; 1) sudo rpi-update 2) step 3 on the page, which is add one line to /boot/config.txt

    Mark --OzzMaker.com --

    #3833
    tarumaycry
    Participant

    Hi Mark,

    Still no dice, and im still not able to see /dev/fb1

    Ive run the rpi-update and it says im up to date. I loaded the original image from the Raspberry Pi website called NOOBS.

    Ive added the line under /boot/config.txt.

    #3834
    Mark Williams
    Keymaster

    it is strange... your touchscreen driver is loading, but not the display driver.

    can you show me the output of
    sudo vcdbg log msg

    If you have a spare SD card.. you can try this image which has the drivers already installed; https://ozzmaker.com/piscreen/PiScreenImage-SDCard-1.8.zip

    Mark --OzzMaker.com --

    #3837
    tarumaycry
    Participant

    Hi Mark,

    Thanks for all your help yesturday. I managed to get the screen working (also figured out what is on and what is off), using your SD 1.7 image. Took forever to download though.

    Ive got issues not being able to touch the borders of the screens, so im suspecting its a calibration issue.

    My final question is, if i wanted to use the piscreen with other Raspberry Pi OS's would this be possible and how would i do it?

    #3838
    tarumaycry
    Participant

    Also, im curious as to why a fresh install of Raspbian didnt pick up the screen....Is it because im using the Pi2?

    #3840
    Mark Williams
    Keymaster

    The drivers are not in the current version of Raspbian, so you have to do an update. The next .img of Raspbian that is realest will have it installed. However you still need to enable it.

    For now...on any image, all you need to do is;
    1)'sudo rpi-update' Get the latest firmware
    2) Add

    dtoverlay=piscreen,speed=16000000,rotate=90

    to /boot/config

    You need to calibrate the touchscreen, that image should have the calibration software already installed.
    Deleting the old calibration data will force the calibration project to run just before X starts
    sudo rm /etc/pointercal.xinput

    Mark --OzzMaker.com --

    #3844
    tarumaycry
    Participant

    Hi Mark,

    Unfortunately I cannot get the screen to work with any other OS other than the one you have supplied in your link. Ive tried the instructions above from fresh installs and other pre-imaged OSs but still no luck. Im not sure if this is just an isolated issue for me, or others are experiencing the same issue.

    Im using the Raspberry Pi 2 Model B

    #3845
    Mark Williams
    Keymaster

    What other OS are you trying?
    From a fresh install, of any Raspbian image. rpi-update and editing /boot/config should work.

    Even after doing this... it will "look" like it isn't working as the screen will still be black. You need to tell the Raspberry Pi to start using this screen.

    If you see /dev/fb1. then the drivers have loaded.

    After following the instructions in my last post.. did you perform the quick test the bottom of this page;

    PiScreen Driver Install Instructions


    This quick test should display a picture.

    If the test works, and you would like X to appear on PiScreen.. then follow this;

    Enable X windows on PiScreen

    Or.. to enable the console;

    Enable Console on PiScreen

    Mark --OzzMaker.com --

    #3851
    YngF
    Participant

    I had the same problem as tarumaycry, but I eventually got it working. Maybe this will help:

    1. If this is a freshly installed image, run sudo rpi-update to get the latest firmware.
    2. Run sudo raspi-config. (or you can also do steps 3-6 on the initial raspi-config on a fresh image.)
    3. Go to 8 Advanced Options.
    4. Go to A5 Device Tree and choose "No" to disable the Device Tree, and "Ok" on the message saying "Device Tree will be disabled after a reboot".
    5. Go back to 8 Advanced Options.
    6. Go to A6 SPI, and choose "Yes" to enable SPI kernel module to be loaded by default.
    7. Exit raspi-config and reboot.
    8. After reboot, edit the config.txt (sudo nano /boot/config.txt) and remove the line that says "device_tree=" if its there.
    9. Make sure there is a line that says "dtparam=spi=on",
    10. Add the line "dtoverlay=piscreen,speed=16000000,rotate=90".
    11. Save, exit and reboot.

    Hopefully that will get the PiScreen shining. ๐Ÿ™‚

    #3853
    Mark Williams
    Keymaster

    YngF
    Can you please tell me the exact image name you used... I want to try and replicate it.

    Mark --OzzMaker.com --

    #3854
    heatvent
    Participant

    I followed YngF's advice but didn't work for me. I took a similar but different route and it now works:

    burned v 1.8 image from "https://ozzmaker.com/piscreen/PiScreenImage-SDCard-1.8.zip"
    sudo apt-get update
    sudo apt-get upgrade
    sudo reboot
    HERE SCREEN WENT WHITE
    sudo /boot/config.txt
    add line "dtparam=spi=on"
    sudo raspi-config
    8 Advanced Settings
    A6 SPI
    SPI Enabled? Yes
    Confirm Yes
    sudo reboot
    sudo rpi-update
    sudo reboot
    HERE SCREEN BACK TO WORKING

    FYI, /boot/config.txt has the following lines which are slightly different than the posts above:

    dtoverlay=piscreen,speed=16000000
    dtparam=spi=on

    Hi!

    #3855
    heatvent
    Participant

    UPDATE:

    I do have one issue, where I touch on the screen does not seem to line up with the cursor in X windows. I re-calibrated by deleting the file noted in the instructions and still no joy?

    Not sure if it is a related or different issue. I also added rotate=90 to the config file but that only flipped the screen the other way and did not help the issue above.

    Any thoughts would be appreciated!

    Hi!

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

Blip, blop, bloop...