astro-pi / python-sense-hat

Source code for Sense HAT Python library
https://sense-hat.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
510 stars 255 forks source link

OSError: Cannot detect RPi-Sense FB device #28

Closed El-Don-Quijote closed 8 years ago

El-Don-Quijote commented 8 years ago

hello there, using my new sensehat on my raspberry pi b+ with a newly installed raspbian via NOOBS i get the following error message

OSError: Cannot detect RPi-Sense FB device

altough all LEDs are on. Similiar to following issue (https://github.com/RPi-Distro/python-sense-hat/issues/8), i also enabled the device tree, however, nothing changed.

i would be very glad for any kind of help! and a happy new year! :)

XECDesign commented 8 years ago

Hello, could you please provide the output of the following:

sudo apt-get install device-tree-compiler
uname -a
vcgencmd version
sudo dtc -I fs /proc/device-tree
ptrelford commented 8 years ago

I've been experiencing the same error when trying to run the python samples, i.e. "Cannot detect RPi-Sense FB device"

I've tried plugging the Sense Hat into 2 different Raspberry Pi 2 devices, and I've tried both Raspbian Wheezy and a fresh install of Jessie, but still keep coming up against the same issue.

On both devices the Sense Hat starts up with a rainbow like image across the LEDs, which remains even after the device boots.

For Wheezy I followed all the additional steps I've managed to find scattered around the internet:

Please help :)

XECDesign commented 8 years ago

Hello, could you please provide the output of the following:

sudo apt-get install device-tree-compiler
uname -a
vcgencmd version
sudo dtc -I fs /proc/device-tree
dmesg
ls /dev/fb*

Please use a clean jessie with no modifications, wheezy is not supported.

eichin commented 8 years ago

I don't know if this is quite relevant, but through some discussion on reddit, I had a SenseHat on a Pi Zero running Jessie-Lite, and using raspi-config to enable i2c got me the sensors but no LED activity; installing and running rpi-update (and rebooting) did, however, enable the LEDs (based on vcgencmd version, going from Nov 18 2015 15:43:45/0c9af7cde38e223c95c3404f468db8fc5004495c where they didn't work, to Jan 13 2016 20:33:52/17c0f609ee91eb69090c22a3e0e8dc907b696096 where they did.)

recantha commented 8 years ago

Try adding dtoverlay=rpi-sense to the bottom of /boot/config.txt That worked for me.

AlainGeenrits commented 8 years ago

I am using the sense hat on Pi2 and tried everything. I had device - tree enabled. This last comment by recantha solved it for me ! A million thx ! Why is this not in the doc ??

XECDesign commented 8 years ago

Because this shouldn't be a required step. I keep asking the same questions to try to figure out why this is happening to some people, but am getting ignored.

AlainGeenrits commented 8 years ago

I am sorry to hear. How can I help ? Do you need output from my system to help you ?

Sent from my iPad

On 22 Jan 2016, at 18:19, XECDesign notifications@github.com wrote:

Because this shouldn't be a required step. I keep asking the same questions to try to figure out why this is happening to some people, but am getting ignored.

— Reply to this email directly or view it on GitHub.

XECDesign commented 8 years ago

It would be very helpful if you could remove that line from config.txt, install device-tree-compiler, reboot and then provide the output of the following commands:

uname -a
vcgencmd version
sudo dtc -I fs /proc/device-tree
dmesg
ls /dev/fb*
AlainGeenrits commented 8 years ago

Here you go ! Hope it helps !

uame -a : Linux raspberrypi 4.1.13-v7+ #826 SMP PREEMPT Fri Nov 13 20:19:03 GMT 2015 armv7l GNU/Linux

vcgencmd version Nov 18 2015 15:43:45 Copyright (c) 2012 Broadcom version 0c9af7cde38e223c95c3404f468db8fc5004495c (clean) (release)

ls /dev/fb* /dev/fb0

device-tree and dmesg output attached as text files.

See you on the bitstream, Alain

On Sat, Jan 23, 2016 at 5:29 PM, XECDesign notifications@github.com wrote:

It would be very helpful if you could remove that line from config.txt, install device-tree-compiler, reboot and then provide the output of the following commands:

uname -a vcgencmd version sudo dtc -I fs /proc/device-tree dmesg ls /dev/fb*

— Reply to this email directly or view it on GitHub https://github.com/RPi-Distro/python-sense-hat/issues/28#issuecomment-174198069 .

See you on the bitstream, Alain

Alain Geenrits - alain@geenrits.net twitter: alaingeenrits blog: http://bitstream.geenrits.net

/dts-v1/;

/ { model = "Raspberry Pi 2 Model B Rev 1.1"; compatible = "brcm,bcm2709"; memreserve = <0x3b000000 0x4000000>;

address-cells = <0x1>;

#size-cells = <0x1>;
interrupt-parent = <0x1>;
axi {

    dma {
        broadcom,channels = <0x7f35>;
    };

    usb {

        hub {

            ethernet {
                mac-address = [b8 27 eb b0 f2 bf];
            };
        };
    };

    sdhci {
        clock-frequency = <0xee6b280>;
    };

    uart0 {
        clock-frequency = <0x2dc6c0>;
    };

    vc_mem {
        reg = <0x3dc00000 0x3f000000 0xc0000000>;
    };
};

soc {
    compatible = "simple-bus";
    ranges = <0x7e000000 0x3f000000 0x1000000>;
    #address-cells = <0x1>;
    phandle = <0x22>;
    #size-cells = <0x1>;
    linux,phandle = <0x22>;

    fb {
        compatible = "brcm,bcm2708-fb";
        firmware = <0x10>;
        status = "okay";
        phandle = <0x29>;
        linux,phandle = <0x29>;
    };

    mailbox@7e00b800 {
        reg = <0x7e00b880 0x40>;
        interrupts = <0x0 0x1>;
        compatible = "brcm,bcm2835-mbox";
        #mbox-cells = <0x0>;
        phandle = <0xe>;
        linux,phandle = <0xe>;
    };

    leds {
        compatible = "gpio-leds";
        phandle = <0x28>;
        linux,phandle = <0x28>;

        act {
            gpios = <0xf 0x2f 0x0>;
            label = "led0";
            linux,default-trigger = "mmc0";
            phandle = <0x1c>;
            linux,phandle = <0x1c>;
        };

        pwr {
            gpios = <0xf 0x23 0x0>;
            label = "led1";
            linux,default-trigger = "input";
            phandle = <0x1d>;
            linux,phandle = <0x1d>;
        };
    };

    mmc@7e300000 {
        reg = <0x7e300000 0x100>;
        dmas = <0x6 0xb 0x6 0xb>;
        interrupts = <0x2 0x1e>;
        compatible = "brcm,bcm2835-mmc";
        bus-width = <0x4>;
        clocks = <0xc>;
        status = "okay";
        phandle = <0x25>;
        dma-names = "tx", "rx";
        linux,phandle = <0x25>;
    };

    vchiq {
        reg = <0x7e00b840 0xf>;
        interrupts = <0x0 0x2>;
        compatible = "brcm,bcm2835-vchiq";
        cache-line-size = <0x40>;
        firmware = <0x10>;
        phandle = <0x11>;
        linux,phandle = <0x11>;
    };

    thermal {
        compatible = "brcm,bcm2835-thermal";
        firmware = <0x10>;
        phandle = <0x2a>;
        linux,phandle = <0x2a>;
    };

    firmware {
        compatible = "raspberrypi,bcm2835-firmware";
        mboxes = <0xe>;
        phandle = <0x10>;
        linux,phandle = <0x10>;
    };

    i2c@7e205000 {
        reg = <0x7e205000 0x1000>;
        interrupts = <0x2 0x15>;
        pinctrl-0 = <0x9>;
        compatible = "brcm,bcm2708-i2c";
        clock-frequency = <0x186a0>;
        clocks = <0x8>;
        status = "disabled";
        #address-cells = <0x1>;
        phandle = <0x19>;
        #size-cells = <0x0>;
        pinctrl-names = "default";
        linux,phandle = <0x19>;
    };

    dma@7e007000 {
        reg = <0x7e007000 0xf00>;
        interrupts = <0x1 0x10 0x1 0x11 0x1 0x12 0x1 0x13 0x1 0x14 0x1 0x15 0x1 0x16 0x1 0x17 0x1 0x18 0x1 0x19 0x1 0x1a 0x1 0x1b>;
        brcm,dma-channel-mask = <0xf35>;
        compatible = "brcm,bcm2835-dma";
        #dma-cells = <0x1>;
        phandle = <0x6>;
        linux,phandle = <0x6>;
    };

    usb@7e980000 {
        reg = <0x7e980000 0x10000 0x7e006000 0x1000>;
        interrupts = <0x2 0x0 0x1 0x9>;
        compatible = "brcm,bcm2708-usb";
        phandle = <0x27>;
        linux,phandle = <0x27>;
    };

    i2s@7e203000 {
        reg = <0x7e203000 0x24 0x7e101098 0x8>;
        pinctrl-0 = <0x4>;
        compatible = "brcm,bcm2708-i2s";
        status = "disabled";
        #sound-dai-cells = <0x0>;
        phandle = <0x17>;
        dma-names = "tx", "rx";
        pinctrl-names = "default";
        linux,phandle = <0x17>;
    };

    pwm@7e20c000 {
        reg = <0x7e20c000 0x28>;
        compatible = "brcm,bcm2835-pwm";
        clocks = <0xa>;
        #pwm-cells = <0x2>;
        status = "disabled";
        phandle = <0x23>;
        linux,phandle = <0x23>;
    };

    i2c@7e804000 {
        reg = <0x7e804000 0x1000>;
        interrupts = <0x2 0x15>;
        pinctrl-0 = <0xd>;
        compatible = "brcm,bcm2708-i2c";
        clock-frequency = <0x186a0>;
        clocks = <0x8>;
        status = "okay";
        #address-cells = <0x1>;
        phandle = <0x1a>;
        #size-cells = <0x0>;
        pinctrl-names = "default";
        linux,phandle = <0x1a>;
    };

    i2c@7e805000 {
        reg = <0x7e805000 0x1000>;
        interrupts = <0x2 0x15>;
        compatible = "brcm,bcm2708-i2c";
        clock-frequency = <0x186a0>;
        clocks = <0x8>;
        status = "disabled";
        #address-cells = <0x1>;
        phandle = <0x1b>;
        #size-cells = <0x0>;
        linux,phandle = <0x1b>;
    };

    gpiomem {
        reg = <0x7e200000 0x1000>;
        compatible = "brcm,bcm2835-gpiomem";
        status = "okay";
    };

    smi@7e600000 {
        reg = <0x7e600000 0x44 0x7e1010b0 0x8>;
        dmas = <0x6 0x4>;
        interrupts = <0x2 0x10>;
        brcm,smi-clock-source = <0x6>;
        compatible = "brcm,bcm2835-smi";
        brcm,smi-clock-divisor = <0x4>;
        status = "disabled";
        phandle = <0x26>;
        dma-names = "rx-tx";
        linux,phandle = <0x26>;
    };

    spi@7e204000 {
        reg = <0x7e204000 0x1000>;
        dmas = <0x6 0x6 0x6 0x7>;
        interrupts = <0x2 0x16>;
        pinctrl-0 = <0x7>;
        compatible = "brcm,bcm2835-spi";
        cs-gpios = <0x0 0x0>;
        clocks = <0x5>;
        status = "okay";
        #address-cells = <0x1>;
        phandle = <0x18>;
        #size-cells = <0x0>;
        dma-names = "tx", "rx";
        pinctrl-names = "default";
        linux,phandle = <0x18>;

        spidev@0 {
            reg = <0x0>;
            compatible = "spidev";
            spi-max-frequency = <0x7a120>;
            #address-cells = <0x1>;
            #size-cells = <0x0>;
        };

        spidev@1 {
            reg = <0x1>;
            compatible = "spidev";
            spi-max-frequency = <0x7a120>;
            #address-cells = <0x1>;
            #size-cells = <0x0>;
        };
    };

    watchdog@7e100000 {
        reg = <0x7e100000 0x28>;
        compatible = "brcm,bcm2835-pm-wdt";
        status = "disabled";
        phandle = <0x1f>;
        linux,phandle = <0x1f>;
    };

    rng@7e104000 {
        reg = <0x7e104000 0x10>;
        compatible = "brcm,bcm2835-rng";
        status = "disabled";
        phandle = <0x20>;
        linux,phandle = <0x20>;
    };

    arm-pmu {
        interrupts = <0x3 0x9>;
        compatible = "arm,cortex-a7-pmu";
    };

    gpio@7e200000 {
        reg = <0x7e200000 0xb4>;
        interrupts = <0x2 0x11 0x2 0x12>;
        #gpio-cells = <0x2>;
        compatible = "brcm,bcm2835-gpio";
        #interrupt-cells = <0x2>;
        phandle = <0xf>;
        interrupt-controller;
        gpio-controller;
        linux,phandle = <0xf>;

        i2s {
            phandle = <0x4>;
            brcm,function = <0x4>;
            brcm,pins = <0x12 0x13 0x14 0x15>;
            linux,phandle = <0x4>;
        };

        i2c0 {
            phandle = <0x9>;
            brcm,function = <0x4>;
            brcm,pins = <0x0 0x1>;
            linux,phandle = <0x9>;
        };

        i2c1 {
            phandle = <0xd>;
            brcm,function = <0x4>;
            brcm,pins = <0x2 0x3>;
            linux,phandle = <0xd>;
        };

        spi0_pins {
            phandle = <0x7>;
            brcm,function = <0x4>;
            brcm,pins = <0x7 0x8 0x9 0xa 0xb>;
            linux,phandle = <0x7>;
        };
    };

    interrupt-controller {
        reg = <0x7e00b200 0x200>;
        compatible = "brcm,bcm2708-armctrl-ic";
        #interrupt-cells = <0x2>;
        phandle = <0x1>;
        interrupt-controller;
        linux,phandle = <0x1>;
    };

    uart@7e201000 {
        reg = <0x7e201000 0x1000>;
        interrupts = <0x2 0x19>;
        compatible = "arm,pl011", "arm,primecell";
        clock-names = "uartclk", "apb_pclk";
        clocks = <0x2 0x3>;
        status = "okay";
        arm,primecell-periphid = <0x241011>;
        phandle = <0x16>;
        linux,phandle = <0x16>;
    };

    uart@7e215040 {
        reg = <0x7e215040 0x40>;
        interrupts = <0x1 0x1d>;
        reg-shift = <0x2>;
        no-loopback-test;
        compatible = "brcm,bcm2835-aux-uart", "ns16550";
        clocks = <0xb>;
        status = "disabled";
        phandle = <0x24>;
        linux,phandle = <0x24>;
    };
};

cpus {
    #address-cells = <0x1>;
    phandle = <0x2c>;
    #size-cells = <0x0>;
    linux,phandle = <0x2c>;

    cpu@0 {
        reg = <0xf00>;
        compatible = "arm,cortex-a7";
        clock-frequency = <0x35a4e900>;
        device_type = "cpu";
        phandle = <0x12>;
        linux,phandle = <0x12>;
    };

    cpu@1 {
        reg = <0xf01>;
        compatible = "arm,cortex-a7";
        clock-frequency = <0x35a4e900>;
        device_type = "cpu";
        phandle = <0x13>;
        linux,phandle = <0x13>;
    };

    cpu@2 {
        reg = <0xf02>;
        compatible = "arm,cortex-a7";
        clock-frequency = <0x35a4e900>;
        device_type = "cpu";
        phandle = <0x14>;
        linux,phandle = <0x14>;
    };

    cpu@3 {
        reg = <0xf03>;
        compatible = "arm,cortex-a7";
        clock-frequency = <0x35a4e900>;
        device_type = "cpu";
        phandle = <0x15>;
        linux,phandle = <0x15>;
    };
};

display {
    broadcom,height = <0x0>;
    broadcom,depth = <0x10>;
    broadcom,width = <0x0>;
};

audio {
    compatible = "brcm,bcm2835-audio";
    status = "okay";
    brcm,pwm-channels = <0x8>;
    phandle = <0x1e>;
    linux,phandle = <0x1e>;
};

sound {
    phandle = <0x21>;
    linux,phandle = <0x21>;
};

timer {
    interrupts = <0x3 0x0 0x3 0x1 0x3 0x3 0x3 0x2>;
    compatible = "arm,armv7-timer";
    clock-frequency = <0x124f800>;
    always-on;
};

chosen {
    bootargs = "dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1080 bcm2709.boardrev=0xa01041 bcm2709.serial=0xd3b0f2bf smsc95xx.macaddr=B8:27:EB:B0:F2:BF 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/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait";
};

clocks {
    compatible = "simple-bus";
    #address-cells = <0x1>;
    phandle = <0x2b>;
    #size-cells = <0x0>;
    linux,phandle = <0x2b>;

    clock@0 {
        reg = <0x0>;
        #clock-cells = <0x0>;
        compatible = "fixed-clock";
        clock-frequency = <0xee6b280>;
        clock-output-names = "mmc";
        phandle = <0xc>;
        linux,phandle = <0xc>;
    };

    clock@1 {
        reg = <0x1>;
        #clock-cells = <0x0>;
        compatible = "fixed-clock";
        clock-frequency = <0xee6b280>;
        clock-output-names = "i2c";
        phandle = <0x8>;
        linux,phandle = <0x8>;
    };

    clock@2 {
        reg = <0x2>;
        #clock-cells = <0x0>;
        compatible = "fixed-clock";
        clock-frequency = <0xee6b280>;
        clock-output-names = "core";
        phandle = <0x5>;
        linux,phandle = <0x5>;
    };

    clock@3 {
        reg = <0x3>;
        #clock-cells = <0x0>;
        compatible = "fixed-clock";
        clock-frequency = <0x2dc6c0>;
        clock-output-names = "uart0_pclk";
        phandle = <0x2>;
        linux,phandle = <0x2>;
    };

    clock@4 {
        reg = <0x4>;
        #clock-cells = <0x0>;
        compatible = "fixed-clock";
        clock-frequency = <0x7829b80>;
        clock-output-names = "apb_pclk";
        phandle = <0x3>;
        linux,phandle = <0x3>;
    };

    clock@5 {
        reg = <0x3>;
        #clock-cells = <0x0>;
        compatible = "fixed-clock";
        clock-frequency = <0x5f5e100>;
        clock-output-names = "pwm";
        phandle = <0xa>;
        linux,phandle = <0xa>;
    };

    clock@6 {
        #clock-cells = <0x0>;
        compatible = "fixed-factor-clock";
        clocks = <0x5>;
        clock-div = <0x1>;
        phandle = <0xb>;
        clock-mult = <0x2>;
        linux,phandle = <0xb>;
    };
};

memory {
    reg = <0x0 0x3b000000>;
    device_type = "memory";
};

system {
    linux,revision = <0xa01041>;
    linux,serial = <0x0 0xd3b0f2bf>;
};

__symbols__ {
    fb = "/soc/fb";
    i2c = "/soc/i2c@7e804000";
    i2s = "/soc/i2s@7e203000";
    dma = "/soc/dma@7e007000";
    mmc = "/soc/mmc@7e300000";
    pwm = "/soc/pwm@7e20c000";
    smi = "/soc/smi@7e600000";
    soc = "/soc";
    usb = "/soc/usb@7e980000";
    cpus = "/cpus";
    i2c0 = "/soc/i2c@7e205000";
    i2c1 = "/soc/i2c@7e804000";
    i2c2 = "/soc/i2c@7e805000";
    gpio = "/soc/gpio@7e200000";
    intc = "/soc/interrupt-controller";
    leds = "/soc/leds";
    spi0 = "/soc/spi@7e204000";
    pwr_led = "/soc/leds/pwr";
    v7_cpu0 = "/cpus/cpu@0";
    v7_cpu1 = "/cpus/cpu@1";
    v7_cpu2 = "/cpus/cpu@2";
    v7_cpu3 = "/cpus/cpu@3";
    i2c_arm = "/soc/i2c@7e804000";
    audio = "/audio";
    sound = "/sound";
    uart0 = "/soc/uart@7e201000";
    uart1 = "/soc/uart@7e215040";
    vchiq = "/soc/vchiq";
    i2s_pins = "/soc/gpio@7e200000/i2s";
    mailbox = "/soc/mailbox@7e00b800";
    thermal = "/soc/thermal";
    clocks = "/clocks";
    firmware = "/soc/firmware";
    i2c_vc = "/soc/i2c@7e205000";
    watchdog = "/soc/watchdog@7e100000";
    i2c0_pins = "/soc/gpio@7e200000/i2c0";
    i2c1_pins = "/soc/gpio@7e200000/i2c1";
    act_led = "/soc/leds/act";
    random = "/soc/rng@7e104000";
    spi0_pins = "/soc/gpio@7e200000/spi0_pins";
    clk_apb_p = "/clocks/clock@4";
    clk_uart0 = "/clocks/clock@3";
    clk_uart1 = "/clocks/clock@6";
    clk_core = "/clocks/clock@2";
    clk_i2c = "/clocks/clock@1";
    clk_mmc = "/clocks/clock@0";
    clk_pwm = "/clocks/clock@5";
};

aliases {
    fb = "/soc/fb";
    i2c = "/soc/i2c@7e804000";
    i2s = "/soc/i2s@7e203000";
    dma = "/soc/dma@7e007000";
    mmc = "/soc/mmc@7e300000";
    soc = "/soc";
    usb = "/soc/usb@7e980000";
    i2c0 = "/soc/i2c@7e205000";
    i2c1 = "/soc/i2c@7e804000";
    i2c2 = "/soc/i2c@7e805000";
    gpio = "/soc/gpio@7e200000";
    intc = "/soc/interrupt-controller";
    leds = "/soc/leds";
    spi0 = "/soc/spi@7e204000";
    i2c_arm = "/soc/i2c@7e804000";
    audio = "/audio";
    sound = "/sound";
    uart0 = "/soc/uart@7e201000";
    uart1 = "/soc/uart@7e215040";
    vchiq = "/soc/vchiq";
    mailbox = "/soc/mailbox@7e00b800";
    thermal = "/soc/thermal";
    clocks = "/clocks";
    i2c_vc = "/soc/i2c@7e205000";
    watchdog = "/soc/watchdog@7e100000";
    random = "/soc/rng@7e104000";
};

__overrides__ {
    i2c = [00 00 00 1a 73 74 61 74 75 73 00];
    i2s = [00 00 00 17 73 74 61 74 75 73 00];
    spi = [00 00 00 18 73 74 61 74 75 73 00];
    act_led_trigger = [00 00 00 1c 6c 69 6e 75 78 2c 64 65 66 61 75 6c 74 2d 74 72 69 67 67 65 72 00];
    i2c0 = [00 00 00 19 73 74 61 74 75 73 00];
    i2c1 = [00 00 00 1a 73 74 61 74 75 73 00];
    i2c_arm = [00 00 00 1a 73 74 61 74 75 73 00];
    audio = [00 00 00 1e 73 74 61 74 75 73 00];
    uart0 = [00 00 00 16 73 74 61 74 75 73 00];
    i2c2_iknowwhatimdoing = [00 00 00 1b 73 74 61 74 75 73 00];
    act_led_activelow = <0x1c 0x6770696f 0x733a3800>;
    pwr_led_gpio = <0x1d 0x6770696f 0x733a3400>;
    i2c0_baudrate = [00 00 00 19 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
    pwr_led_trigger = [00 00 00 1d 6c 69 6e 75 78 2c 64 65 66 61 75 6c 74 2d 74 72 69 67 67 65 72 00];
    i2c_vc_baudrate = [00 00 00 19 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
    uart0_clkrate = [00 00 00 02 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
    i2c_vc = [00 00 00 19 73 74 61 74 75 73 00];
    i2c1_baudrate = [00 00 00 1a 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
    i2c_baudrate = [00 00 00 1a 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
    watchdog = [00 00 00 1f 73 74 61 74 75 73 00];
    random = "", "", "", " status";
    arm_freq = <0x12 0x636c6f63 0x6b2d6672 0x65717565 0x6e63793a 0x30000000 0x13636c 0x6f636b2d 0x66726571 0x75656e63 0x793a3000 0x14 0x636c6f63 0x6b2d6672 0x65717565 0x6e63793a 0x30000000 0x15636c 0x6f636b2d 0x66726571 0x75656e63 0x793a3000>;
    i2c2_baudrate = [00 00 00 1b 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
    core_freq = [00 00 00 05 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
    i2c_arm_baudrate = [00 00 00 1a 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
    pwr_led_activelow = <0x1d 0x6770696f 0x733a3800>;
    act_led_gpio = <0x1c 0x6770696f 0x733a3400>;
    cache_line_size = [00 00 00 11 63 61 63 68 65 2d 6c 69 6e 65 2d 73 69 7a 65 3a 30 00];
};

};

[ 0.000000] Booting Linux on physical CPU 0xf00 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.1.13-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #826 SMP PREEMPT Fri Nov 13 20:19:03 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 Rev 1.1 [ 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 8085f000, node_mem_map b9fa6000 [ 0.000000] Normal zone: 2124 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 (9420->f3003010) [ 0.000000] [bcm2709_smp_init_cpus] ncores=4 [ 0.000000] PERCPU: Embedded 13 pages/cpu @b9f64000 s20608 r8192 d24448 u53248 [ 0.000000] pcpu-alloc: s20608 r8192 d24448 u53248 alloc=13*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: 239540 [ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1080 bcm2709.boardrev=0xa01041 bcm2709.serial=0xd3b0f2bf smsc95xx.macaddr=B8:27:EB:B0:F2:BF 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/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes 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: 939496K/966656K available (5967K kernel code, 534K rwdata, 1652K rodata, 420K init, 757K bss, 18968K reserved, 8192K cma-reserved) [ 0.000000] Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xbb800000 - 0xff000000 (1080 MB) lowmem : 0x80000000 - 0xbb000000 ( 944 MB) modules : 0x7f000000 - 0x80000000 ( 16 MB) .text : 0x80008000 - 0x80778f64 (7620 kB) .init : 0x80779000 - 0x807e2000 ( 420 kB) .data : 0x807e2000 - 0x80867b6c ( 535 kB) .bss : 0x8086a000 - 0x8092779c ( 758 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Additional per-CPU info printed with stalls. [ 0.000000] NR_IRQS:608 [ 0.000000] Architected cp15 timer(s) running at 19.20MHz (phys). [ 0.000000] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns [ 0.000011] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns [ 0.000032] Switching to timer-based delay loop, resolution 52ns [ 0.000320] Console: colour dummy device 80x30 [ 0.002084] console [tty1] enabled [ 0.002149] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000) [ 0.002248] pid_max: default: 32768 minimum: 301 [ 0.002626] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.002692] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.003998] Initializing cgroup subsys blkio [ 0.004083] Initializing cgroup subsys memory [ 0.004151] Initializing cgroup subsys devices [ 0.004212] Initializing cgroup subsys freezer [ 0.004285] Initializing cgroup subsys net_cls [ 0.004398] CPU: Testing write buffer coherency: ok [ 0.004516] ftrace: allocating 20235 entries in 60 pages [ 0.053924] CPU0: update cpu_capacity 1024 [ 0.054007] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00 [ 0.054054] [bcm2709_smp_prepare_cpus] enter [ 0.054215] Setting up static identity map for 0x8240 - 0x8274 [ 0.113796] [bcm2709_boot_secondary] cpu:1 started (0) 17 [ 0.114233] [bcm2709_secondary_init] enter cpu:1 [ 0.114285] CPU1: update cpu_capacity 1024 [ 0.114294] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01 [ 0.133782] [bcm2709_boot_secondary] cpu:2 started (0) 17 [ 0.134141] [bcm2709_secondary_init] enter cpu:2 [ 0.134175] CPU2: update cpu_capacity 1024 [ 0.134183] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02 [ 0.153823] [bcm2709_boot_secondary] cpu:3 started (0) 17 [ 0.154078] [bcm2709_secondary_init] enter cpu:3 [ 0.154107] CPU3: update cpu_capacity 1024 [ 0.154115] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03 [ 0.154206] Brought up 4 CPUs [ 0.154340] SMP: Total of 4 processors activated (153.60 BogoMIPS). [ 0.154381] CPU: All CPU(s) started in HYP mode. [ 0.154417] CPU: Virtualization extensions available. [ 0.155474] devtmpfs: initialized [ 0.179838] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.180227] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.181363] pinctrl core: initialized pinctrl subsystem [ 0.182208] NET: Registered protocol family 16 [ 0.188009] DMA: preallocated 4096 KiB pool for atomic coherent allocations [ 0.189276] bcm2709.uart_clock = 3000000 [ 0.194478] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.194549] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.194769] Serial: AMBA PL011 UART driver [ 0.194979] 3f201000.uart: ttyAMA0 at MMIO 0x3f201000 (irq = 83, base_baud = 0) is a PL011 rev2 [ 0.701690] console [ttyAMA0] enabled [ 0.705963] bcm2835-mbox 3f00b880.mailbox: mailbox enabled [ 0.786294] bcm2708-dmaengine 3f007000.dma: DMA legacy API manager at f3007000, dmachans=0xf35 [ 0.795052] bcm2708-dmaengine 3f007000.dma: Initialized 7 DMA channels (+ 1 legacy) [ 0.803459] bcm2708-dmaengine 3f007000.dma: Load BCM2835 DMA engine driver [ 0.810385] bcm2708-dmaengine 3f007000.dma: dma_debug:0 [ 0.816361] SCSI subsystem initialized [ 0.820401] usbcore: registered new interface driver usbfs [ 0.826013] usbcore: registered new interface driver hub [ 0.831498] usbcore: registered new device driver usb [ 0.837274] raspberrypi-firmware soc:firmware: Attached to firmware from 2015-11-18 15:43 [ 0.872868] Switched to clocksource arch_sys_counter [ 0.927072] FS-Cache: Loaded [ 0.930356] CacheFiles: Loaded [ 0.945106] NET: Registered protocol family 2 [ 0.950801] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 0.958065] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 0.964781] TCP: Hash tables configured (established 8192 bind 8192) [ 0.971274] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.977300] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.984064] NET: Registered protocol family 1 [ 0.988866] RPC: Registered named UNIX socket transport module. [ 0.994884] RPC: Registered udp transport module. [ 0.999615] RPC: Registered tcp transport module. [ 1.004374] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.012104] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available [ 1.021718] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 1.043747] VFS: Disk quotas dquot_6.6.0 [ 1.048082] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 1.057709] FS-Cache: Netfs 'nfs' registered for caching [ 1.064255] NFS: Registering the id_resolver key type [ 1.069421] Key type id_resolver registered [ 1.073661] Key type id_legacy registered [ 1.080471] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 1.088157] io scheduler noop registered [ 1.092115] io scheduler deadline registered (default) [ 1.097622] io scheduler cfq registered [ 1.104103] BCM2708FB: allocated DMA memory fac00000 [ 1.109128] BCM2708FB: allocated DMA channel 0 @ f3007000 [ 1.148441] Console: switching to colour frame buffer device 240x67 [ 1.175682] Serial: 8250/16550 driver, 0 ports, IRQ sharing disabled [ 1.183572] vc-cma: Videocore CMA driver [ 1.187588] vc-cma: vc_cma_base = 0x00000000 [ 1.192378] vc-cma: vc_cma_size = 0x00000000 (0 MiB) [ 1.197901] vc-cma: vc_cma_initial = 0x00000000 (0 MiB) [ 1.203662] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB) [ 1.228104] brd: module loaded [ 1.240302] loop: module loaded [ 1.244684] vchiq: vchiq_init_state: slot_zero = 0xbac80000, is_master = 0 [ 1.253631] Loading iSCSI transport class v2.0-870. [ 1.259595] usbcore: registered new interface driver smsc95xx [ 1.265607] dwc_otg: version 3.00a 10-AUG-2012 (platform bus) [ 1.471851] Core Release: 2.80a [ 1.475122] Setting default values for core params [ 1.480044] Finished setting default values for core params [ 1.686149] Using Buffer DMA mode [ 1.689537] Periodic Transfer Interrupt Enhancement - disabled [ 1.695498] Multiprocessor Interrupt Enhancement - disabled [ 1.701173] OTG VER PARAM: 0, OTG VER FLAG: 0 [ 1.705639] Dedicated Tx FIFOs mode [ 1.709559] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xbac14000 dma = 0xfac14000 len=9024 [ 1.719629] FIQ FSM acceleration enabled for : Non-periodic Split Transactions Periodic Split Transactions High-Speed Isochronous Endpoints [ 1.736693] dwc_otg: Microframe scheduler enabled [ 1.736774] WARN::hcd_init_fiq:412: FIQ on core 1 at 0x80402c54 [ 1.742811] WARN::hcd_init_fiq:413: FIQ ASM at 0x80402fb0 length 36 [ 1.749196] WARN::hcd_init_fiq:438: MPHI regs_base at 0xbb89a000 [ 1.755348] dwc_otg 3f980000.usb: DWC OTG Controller [ 1.760448] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1 [ 1.767948] dwc_otg 3f980000.usb: irq 32, io mem 0x00000000 [ 1.773693] Init: Port Power? op_state=1 [ 1.782962] Init: Power Port (0) [ 1.791744] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.803923] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.816499] usb usb1: Product: DWC OTG Controller [ 1.826514] usb usb1: Manufacturer: Linux 4.1.13-v7+ dwc_otg_hcd [ 1.837831] usb usb1: SerialNumber: 3f980000.usb [ 1.848660] hub 1-0:1.0: USB hub found [ 1.857792] hub 1-0:1.0: 1 port detected [ 1.867444] dwc_otg: FIQ enabled [ 1.867458] dwc_otg: NAK holdoff enabled [ 1.867469] dwc_otg: FIQ split-transaction FSM enabled [ 1.867511] Module dwc_common_port init [ 1.867911] usbcore: registered new interface driver usb-storage [ 1.879514] mousedev: PS/2 mouse device common for all mice [ 1.891273] bcm2835-cpufreq: min=600000 max=900000 [ 1.901757] sdhci: Secure Digital Host Controller Interface driver [ 1.913287] sdhci: Copyright(c) Pierre Ossman [ 1.923437] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0 [ 1.934624] mmc-bcm2835 3f300000.mmc: DMA channels allocated [ 1.983248] sdhci-pltfm: SDHCI platform and OF driver helper [ 2.000235] ledtrig-cpu: registered to indicate activity on CPUs [ 2.011762] hidraw: raw HID events driver (C) Jiri Kosina [ 2.024710] usbcore: registered new interface driver usbhid [ 2.036567] usbhid: USB HID core driver [ 2.046083] Initializing XFRM netlink socket [ 2.055677] NET: Registered protocol family 17 [ 2.063029] Indeed it is in host mode hprt0 = 00021501 [ 2.079060] Key type dns_resolver registered [ 2.089077] Registering SWP/SWPB emulation handler [ 2.100100] registered taskstats version 1 [ 2.109664] vc-sm: Videocore shared memory driver

[ 2.129689] [vc_sm_connected_init]: end - returning 0 [ 2.142283] Waiting for root device /dev/mmcblk0p7... [ 2.156795] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.172161] mmc0: new high speed SDHC card at address 1234 [ 2.183585] mmcblk0: mmc0:1234 SA08G 7.21 GiB [ 2.199750] mmcblk0: p1 p2 < p5 p6 p7 > [ 2.242929] usb 1-1: new high-speed USB device number 2 using dwc_otg [ 2.254915] Indeed it is in host mode hprt0 = 00001101 [ 2.267867] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null) [ 2.281432] VFS: Mounted root (ext4 filesystem) readonly on device 179:7. [ 2.304476] devtmpfs: mounted [ 2.313455] Freeing unused kernel memory: 420K (80779000 - 807e2000) [ 2.463343] usb 1-1: New USB device found, idVendor=0424, idProduct=9514 [ 2.476029] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 2.489668] hub 1-1:1.0: USB hub found [ 2.499121] hub 1-1:1.0: 5 ports detected [ 2.714246] random: systemd urandom read with 66 bits of entropy available [ 2.731817] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR) [ 2.751471] systemd[1]: Detected architecture 'arm'. [ 2.782952] usb 1-1.1: new high-speed USB device number 3 using dwc_otg [ 2.883334] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00 [ 2.896044] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 2.912182] smsc95xx v1.0.4 [ 2.969274] NET: Registered protocol family 10 [ 2.983371] systemd[1]: Inserted module 'ipv6' [ 2.994166] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:b0:f2:bf [ 3.012816] systemd[1]: Set hostname to . [ 3.090277] uart-pl011 3f201000.uart: no DMA platform data [ 3.092984] usb 1-1.2: new high-speed USB device number 4 using dwc_otg [ 3.194581] usb 1-1.2: New USB device found, idVendor=7392, idProduct=7811 [ 3.208837] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 3.222129] usb 1-1.2: Product: 802.11n WLAN Adapter [ 3.234604] usb 1-1.2: Manufacturer: Realtek [ 3.246208] usb 1-1.2: SerialNumber: 00e04c000001 [ 3.352958] usb 1-1.3: new full-speed USB device number 5 using dwc_otg [ 3.466765] usb 1-1.3: New USB device found, idVendor=2222, idProduct=1001 [ 3.479651] usb 1-1.3: New USB device strings: Mfr=1, Product=3, SerialNumber=0 [ 3.492912] usb 1-1.3: Product: Generic Hub [ 3.503043] usb 1-1.3: Manufacturer: Macally [ 3.516777] hub 1-1.3:1.0: USB hub found [ 3.527153] hub 1-1.3:1.0: 3 ports detected [ 3.574649] systemd[1]: Expecting device dev-ttyAMA0.device... [ 3.593919] systemd[1]: Starting Forward Password Requests to Wall Directory Watch. [ 3.607833] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 3.621528] systemd[1]: Starting Remote File Systems (Pre). [ 3.640269] systemd[1]: Reached target Remote File Systems (Pre). [ 3.652518] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point. [ 3.675142] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 3.690811] systemd[1]: Starting Encrypted Volumes. [ 3.709196] systemd[1]: Reached target Encrypted Volumes. [ 3.720832] systemd[1]: Starting Swap. [ 3.738165] systemd[1]: Reached target Swap. [ 3.748677] systemd[1]: Expecting device dev-mmcblk0p6.device... [ 3.768001] systemd[1]: Starting Root Slice. [ 3.782939] usb 1-1.5: new low-speed USB device number 6 using dwc_otg [ 3.798524] systemd[1]: Created slice Root Slice. [ 3.809458] systemd[1]: Starting User and Session Slice. [ 3.828525] systemd[1]: Created slice User and Session Slice. [ 3.840491] systemd[1]: Starting /dev/initctl Compatibility Named Pipe. [ 3.860825] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [ 3.874032] systemd[1]: Starting Delayed Shutdown Socket. [ 3.892907] systemd[1]: Listening on Delayed Shutdown Socket. [ 3.904843] systemd[1]: Starting Journal Socket (/dev/log). [ 3.924011] systemd[1]: Listening on Journal Socket (/dev/log). [ 3.936182] systemd[1]: Starting udev Control Socket. [ 3.954483] systemd[1]: Listening on udev Control Socket. [ 3.965948] systemd[1]: Starting udev Kernel Socket. [ 3.984510] systemd[1]: Listening on udev Kernel Socket. [ 3.995868] systemd[1]: Starting Journal Socket. [ 4.006684] usb 1-1.5: New USB device found, idVendor=15ca, idProduct=00c3 [ 4.019536] usb 1-1.5: New USB device strings: Mfr=0, Product=2, SerialNumber=0 [ 4.019550] usb 1-1.5: Product: USB Optical Mouse [ 4.050592] systemd[1]: Listening on Journal Socket. [ 4.061613] systemd[1]: Starting System Slice. [ 4.072943] usb 1-1.3.1: new full-speed USB device number 7 using dwc_otg [ 4.076978] input: USB Optical Mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/0003:15CA:00C3.0001/input/input0 [ 4.077500] hid-generic 0003:15CA:00C3.0001: input,hidraw0: USB HID v1.10 Mouse [USB Optical Mouse] on usb-3f980000.usb-1.5/input0 [ 4.127571] systemd[1]: Created slice System Slice. [ 4.138631] systemd[1]: Starting File System Check on Root Device... [ 4.161636] systemd[1]: Starting system-systemd\x2dfsck.slice. [ 4.181874] systemd[1]: Created slice system-systemd\x2dfsck.slice. [ 4.194981] systemd[1]: Starting system-autologin.slice. [ 4.215234] systemd[1]: Created slice system-autologin.slice. [ 4.227377] systemd[1]: Starting system-serial\x2dgetty.slice. [ 4.244142] usb 1-1.3.1: New USB device found, idVendor=2222, idProduct=0005 [ 4.244161] usb 1-1.3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 4.244171] usb 1-1.3.1: Product: Macally ICEKey Keyboard [ 4.244181] usb 1-1.3.1: Manufacturer: Macally [ 4.252692] input: Macally Macally ICEKey Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.0/0003:2222:0005.0002/input/input1 [ 4.303300] hid-generic 0003:2222:0005.0002: input,hidraw1: USB HID v1.10 Keyboard [Macally Macally ICEKey Keyboard] on usb-3f980000.usb-1.3.1/input0 [ 4.340089] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 4.353778] systemd[1]: Starting Increase datagram queue length... [ 4.377364] input: Macally Macally ICEKey Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.1/0003:2222:0005.0003/input/input2 [ 4.379656] systemd[1]: Starting Restore / save the current clock... [ 4.427013] systemd[1]: Mounted Huge Pages File System. [ 4.440311] systemd[1]: Mounting Debug File System... [ 4.463531] hid-generic 0003:2222:0005.0003: input,hidraw2: USB HID v1.10 Device [Macally Macally ICEKey Keyboard] on usb-3f980000.usb-1.3.1/input1 [ 4.465275] systemd[1]: Starting Create list of required static device nodes for the current kernel... [ 4.530720] systemd[1]: Started Set Up Additional Binary Formats. [ 4.544267] systemd[1]: Mounting POSIX Message Queue File System... [ 4.569978] systemd[1]: Starting udev Coldplug all Devices... [ 4.616221] systemd[1]: Starting Load Kernel Modules... [ 4.641221] systemd[1]: Starting Slices. [ 4.662571] systemd[1]: Reached target Slices. [ 4.692566] systemd[1]: Mounted POSIX Message Queue File System. [ 4.702318] fuse init (API version 7.23) [ 4.725682] systemd[1]: Mounted Debug File System. [ 4.737892] i2c /dev entries driver [ 4.757150] systemd[1]: Started File System Check on Root Device. [ 4.792587] systemd[1]: Started Increase datagram queue length. [ 4.815260] systemd[1]: Started Restore / save the current clock. [ 4.838853] systemd[1]: Started Create list of required static device nodes for the current kernel. [ 4.870338] systemd[1]: Started Load Kernel Modules. [ 4.889692] systemd[1]: Time has been changed [ 4.949332] systemd[1]: Started udev Coldplug all Devices. [ 5.130108] systemd[1]: Starting Apply Kernel Variables... [ 5.154752] systemd[1]: Mounting FUSE Control File System... [ 5.179669] systemd[1]: Mounting Configuration File System... [ 5.205385] systemd[1]: Starting Create Static Device Nodes in /dev... [ 5.218242] systemd[1]: Starting Syslog Socket. [ 5.227318] systemd[1]: Listening on Syslog Socket. [ 5.227554] systemd[1]: Starting Journal Service... [ 5.248409] systemd[1]: Started Journal Service. [ 5.411203] systemd-udevd[111]: starting version 215 [ 6.170060] EXT4-fs (mmcblk0p7): re-mounted. Opts: (null) [ 6.227123] bcm2708_i2c 3f804000.i2c: BSC1 Controller at 0x3f804000 (irq 79) (baudrate 100000) [ 6.256759] spi spi0.0: setting up native-CS0 as GPIO 8 [ 6.257754] spi spi0.1: setting up native-CS1 as GPIO 7 [ 6.259822] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000 [ 6.294771] random: nonblocking pool is initialized [ 6.756775] usbcore: registered new interface driver rtl8192cu [ 7.163145] systemd-journald[109]: Received request to flush runtime journal from PID 1 [ 8.157982] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 8.782463] cfg80211: Calling CRDA to update world regulatory domain [ 8.890484] cfg80211: World regulatory domain updated: [ 8.890525] cfg80211: DFS Master region: unset [ 8.890540] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 8.890559] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 8.890576] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 8.890592] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A) [ 8.890615] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A) [ 8.890643] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s) [ 8.890660] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 8.890676] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 8.890692] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A) [ 9.066123] Adding 102396k swap on /var/swap. Priority:-1 extents:2 across:135164k SSFS [ 10.334405] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 12.607330] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup [ 12.607923] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 13.284670] bcm2708_fb soc:fb: Unknown ioctl 0x40187a22 [ 22.553831] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)

XECDesign commented 8 years ago

Thanks, that's very helpful. It looks like the auto-detection doesn't work. Could you add dtdebug=1 to /boot/config.txt, reboot and then provide the output of sudo vcdbg log msg 2>&1

AlainGeenrits commented 8 years ago

Here you go !

On Tue, Jan 26, 2016 at 4:49 PM, XECDesign notifications@github.com wrote:

Thanks, that's very helpful. It looks like the auto-detection doesn't work. Could you add dtdebug=1 to /boot/config.txt, reboot and then provide the output of sudo vcdbg log msg 2>&1

— Reply to this email directly or view it on GitHub https://github.com/RPi-Distro/python-sense-hat/issues/28#issuecomment-175085779 .

See you on the bitstream, Alain

Alain Geenrits - alain@geenrits.net twitter: alaingeenrits blog: http://bitstream.geenrits.net

000763.271: HDMI:EDID version 1.3, 1 extensions, screen size 48x27 cm 000763.336: HDMI:EDID features - videodef 0x80 !standby !suspend active off; colour encoding:RGB444|YCbCr422; sRGB is not default colourspace; preferred format is native; does not support GTF 000763.396: HDMI:EDID found preferred CEA detail timing format: 1920x1080p @ 60 Hz (16) 000763.436: HDMI:EDID found DMT format: code 4, 640x480p @ 60 Hz in established timing I/II 000763.475: HDMI:EDID found DMT format: code 5, 640x480p @ 72 Hz in established timing I/II 000763.512: HDMI:EDID found DMT format: code 6, 640x480p @ 75 Hz in established timing I/II 000763.551: HDMI:EDID found DMT format: code 9, 800x600p @ 60 Hz in established timing I/II 000763.588: HDMI:EDID found DMT format: code 11, 800x600p @ 75 Hz in established timing I/II 000763.628: HDMI:EDID found DMT format: code 16, 1024x768p @ 60 Hz in established timing I/II 000763.667: HDMI:EDID found DMT format: code 18, 1024x768p @ 75 Hz in established timing I/II 000763.707: HDMI:EDID found DMT format: code 36, 1280x1024p @ 75 Hz in established timing I/II 000763.795: HDMI:EDID standard timings block x 8: 0xD1C0 9500 950F B300 8180 81C0 0101 0101 000763.859: HDMI:EDID found DMT format: code 82, 1920x1080p @ 60 Hz (16:9) in standard timing 0 000763.912: HDMI:EDID found DMT format: code 47, 1440x900p @ 60 Hz (16:10) in standard timing 1 000763.962: HDMI:EDID found DMT format: code 48, 1440x900p @ 75 Hz (16:10) in standard timing 2 000764.015: HDMI:EDID found DMT format: code 58, 1680x1050p @ 60 Hz (16:10) in standard timing 3 000764.065: HDMI:EDID found DMT format: code 35, 1280x1024p @ 60 Hz (5:4) in standard timing 4 000764.117: HDMI:EDID found DMT format: code 85, 1280x720p @ 60 Hz (16:9) in standard timing 5 000777.127: HDMI:EDID parsing v3 CEA extension 0 000777.164: HDMI:EDID monitor support - underscan IT formats:yes, basic audio:yes, yuv444:yes, yuv422:yes, #native DTD:1 000777.206: HDMI:EDID found CEA detail timing format: 1920x1080p @ 60 Hz (16) 000777.245: HDMI:EDID found CEA detail timing format: 720x480p @ 60 Hz (2) 000777.288: HDMI:EDID found CEA detail timing format: 1280x720p @ 60 Hz (4) 000777.332: HDMI:EDID found CEA detail timing format: 720x576p @ 50 Hz (17) 000777.366: HDMI:EDID found CEA format: code 1, 640x480p @ 60Hz 000777.399: HDMI:EDID found CEA format: code 2, 720x480p @ 60Hz 000777.432: HDMI:EDID found CEA format: code 3, 720x480p @ 60Hz 000777.465: HDMI:EDID found CEA format: code 5, 1920x1080i @ 60Hz 000777.498: HDMI:EDID found CEA format: code 6, 1440x480i @ 60Hz 000777.531: HDMI:EDID found CEA format: code 7, 1440x480i @ 60Hz 000777.562: HDMI:EDID found CEA format: code 16, 1920x1080p @ 60Hz 000777.596: HDMI:EDID found CEA format: code 17, 720x576p @ 50Hz 000777.627: HDMI:EDID found CEA format: code 18, 720x576p @ 50Hz 000777.660: HDMI:EDID found CEA format: code 19, 1280x720p @ 50Hz 000777.693: HDMI:EDID found CEA format: code 20, 1920x1080i @ 50Hz 000777.725: HDMI:EDID found CEA format: code 21, 1440x576i @ 50Hz 000777.759: HDMI:EDID found CEA format: code 22, 1440x576i @ 50Hz 000777.793: HDMI:EDID found CEA format: code 31, 1920x1080p @ 50Hz 000777.826: HDMI:EDID found CEA format: code 4, 1280x720p @ 60Hz 000777.882: HDMI:EDID found audio format 2 channels PCM, sample rate: 32|44|48|96 kHz, sample size: 16|20|24 bits 000777.901: HDMI:EDID found HDMI VSDB length 5 000777.925: HDMI:EDID HDMI VSDB has physical address 1.0.0.0 000777.940: HDMI:EDID HDMI VSDB has no extension fields 000777.982: HDMI:EDID filtering formats with pixel clock > 162 MHz or h. blanking > 1023 000778.167: HDMI:EDID preferred mode remained as CEA (16) 1920x1080p @ 60 Hz with pixel clock 148 MHz 000782.322: HDMI:Setting property pixel encoding to Default 000782.342: HDMI:Setting property pixel clock type to PAL 000782.363: HDMI:Setting property content type flag to No data 000782.381: HDMI:Setting property fuzzy format match to enabled 000797.587: gpioman: gpioman_get_pin_num: pin LEDS_RUNNING not defined 000797.613: gpioman: gpioman_get_pin_num: pin LEDS_NAND_ACTIVITY not defined 000797.636: gpioman: gpioman_get_pin_num: pin LEDS_USB_ACTIVITY not defined 000797.658: gpioman: gpioman_get_pin_num: pin LEDS_FATAL_ERROR not defined 000797.678: gpioman: gpioman_get_pin_num: pin LEDS_APP_OK not defined 000797.699: gpioman: gpioman_get_pin_num: pin LEDS_APP_FAILED not defined 000797.721: gpioman: gpioman_get_pin_num: pin LEDS_HDCP_AUTH not defined 000797.742: gpioman: gpioman_get_pin_num: pin LEDS_HDCP_UNAUTH not defined 000797.761: gpioman: gpioman_get_pin_num: pin LEDS_HDMI_ON not defined 000797.782: gpioman: gpioman_get_pin_num: pin LEDS_DVI_ON not defined 000797.802: gpioman: gpioman_get_pin_num: pin LEDS_HDMI_HPD_UP not defined 000797.825: gpioman: gpioman_get_pin_num: pin LEDS_REMOTE_CONTROL not defined 000797.848: gpioman: gpioman_get_pin_num: pin LEDS_ARM_CONTROLLED not defined 000966.949: hdmi: HDMI:>>>>>>>>>>>>>Rx sensed, reading EDID<<<<<<<<<<<<< 000979.088: hdmi: HDMI:EDID version 1.3, 1 extensions, screen size 48x27 cm 000979.159: hdmi: HDMI:EDID features - videodef 0x80 !standby !suspend active off; colour encoding:RGB444|YCbCr422; sRGB is not default colourspace; preferred format is native; does not support GTF 000979.219: hdmi: HDMI:EDID found preferred CEA detail timing format: 1920x1080p @ 60 Hz (16) 000979.265: hdmi: HDMI:EDID found DMT format: code 4, 640x480p @ 60 Hz in established timing I/II 000979.306: hdmi: HDMI:EDID found DMT format: code 5, 640x480p @ 72 Hz in established timing I/II 000979.348: hdmi: HDMI:EDID found DMT format: code 6, 640x480p @ 75 Hz in established timing I/II 000979.388: hdmi: HDMI:EDID found DMT format: code 9, 800x600p @ 60 Hz in established timing I/II 000979.430: hdmi: HDMI:EDID found DMT format: code 11, 800x600p @ 75 Hz in established timing I/II 000979.473: hdmi: HDMI:EDID found DMT format: code 16, 1024x768p @ 60 Hz in established timing I/II 000979.513: hdmi: HDMI:EDID found DMT format: code 18, 1024x768p @ 75 Hz in established timing I/II 000979.559: hdmi: HDMI:EDID found DMT format: code 36, 1280x1024p @ 75 Hz in established timing I/II 000979.649: hdmi: HDMI:EDID standard timings block x 8: 0xD1C0 9500 950F B300 8180 81C0 0101 0101 000979.716: hdmi: HDMI:EDID found DMT format: code 82, 1920x1080p @ 60 Hz (16:9) in standard timing 0 000979.769: hdmi: HDMI:EDID found DMT format: code 47, 1440x900p @ 60 Hz (16:10) in standard timing 1 000979.825: hdmi: HDMI:EDID found DMT format: code 48, 1440x900p @ 75 Hz (16:10) in standard timing 2 000979.880: hdmi: HDMI:EDID found DMT format: code 58, 1680x1050p @ 60 Hz (16:10) in standard timing 3 000979.936: hdmi: HDMI:EDID found DMT format: code 35, 1280x1024p @ 60 Hz (5:4) in standard timing 4 000979.994: hdmi: HDMI:EDID found DMT format: code 85, 1280x720p @ 60 Hz (16:9) in standard timing 5 000993.009: hdmi: HDMI:EDID parsing v3 CEA extension 0 000993.051: hdmi: HDMI:EDID monitor support - underscan IT formats:yes, basic audio:yes, yuv444:yes, yuv422:yes, #native DTD:1 000993.100: hdmi: HDMI:EDID found CEA detail timing format: 1920x1080p @ 60 Hz (16) 000993.145: hdmi: HDMI:EDID found CEA detail timing format: 720x480p @ 60 Hz (2) 000993.188: hdmi: HDMI:EDID found CEA detail timing format: 1280x720p @ 60 Hz (4) 000993.233: hdmi: HDMI:EDID found CEA detail timing format: 720x576p @ 50 Hz (17) 000993.272: hdmi: HDMI:EDID found CEA format: code 1, 640x480p @ 60Hz 000993.307: hdmi: HDMI:EDID found CEA format: code 2, 720x480p @ 60Hz 000993.341: hdmi: HDMI:EDID found CEA format: code 3, 720x480p @ 60Hz 000993.376: hdmi: HDMI:EDID found CEA format: code 5, 1920x1080i @ 60Hz 000993.410: hdmi: HDMI:EDID found CEA format: code 6, 1440x480i @ 60Hz 000993.445: hdmi: HDMI:EDID found CEA format: code 7, 1440x480i @ 60Hz 000993.482: hdmi: HDMI:EDID found CEA format: code 16, 1920x1080p @ 60Hz 000993.517: hdmi: HDMI:EDID found CEA format: code 17, 720x576p @ 50Hz 000993.554: hdmi: HDMI:EDID found CEA format: code 18, 720x576p @ 50Hz 000993.589: hdmi: HDMI:EDID found CEA format: code 19, 1280x720p @ 50Hz 000993.627: hdmi: HDMI:EDID found CEA format: code 20, 1920x1080i @ 50Hz 000993.664: hdmi: HDMI:EDID found CEA format: code 21, 1440x576i @ 50Hz 000993.699: hdmi: HDMI:EDID found CEA format: code 22, 1440x576i @ 50Hz 000993.736: hdmi: HDMI:EDID found CEA format: code 31, 1920x1080p @ 50Hz 000993.771: hdmi: HDMI:EDID found CEA format: code 4, 1280x720p @ 60Hz 000993.831: hdmi: HDMI:EDID found audio format 2 channels PCM, sample rate: 32|44|48|96 kHz, sample size: 16|20|24 bits 000993.852: hdmi: HDMI:EDID found HDMI VSDB length 5 000993.882: hdmi: HDMI:EDID HDMI VSDB has physical address 1.0.0.0 000993.901: hdmi: HDMI:EDID HDMI VSDB has no extension fields 000993.948: hdmi: HDMI:EDID filtering formats with pixel clock > 162 MHz or h. blanking > 1023 000994.133: hdmi: HDMI:EDID preferred mode remained as CEA (16) 1920x1080p @ 60 Hz with pixel clock 148 MHz 000994.156: hdmi: HDMI: hotplug attached with HDMI support 000994.222: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead 000996.690: hdmi: HDMI: power_on to CEA mode 1080p60 000999.859: hdmi: HDMI: Action callback added to queue to happen at frame 2 000999.882: hdmi: HDMI: Action stop_3d_mode added to queue to happen at frame 2 000999.905: hdmi: HDMI: Action unmute added to queue to happen at frame 3 000999.930: hdmi: HDMI: Action cec_init added to queue to happen at frame 3 001049.949: * Restart logging 001051.291: Read command line from file 'cmdline.txt' dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait 001147.541: Loading 'kernel7.img' from SD card 001388.907: Kernel trailer DTOK property says yes 001389.034: Loading 'bcm2709-rpi-2-b.dtb' from SD card 001401.883: dtdebug: /aliases:i2c_vc=i2c0 001405.026: dtdebug: /symbols:i2c_vc=i2c0 001407.723: dtdebug: /overrides:i2c_vc=i2c0 001412.728: dtdebug: /overrides:i2c_vc_baudrate=i2c0_baudrate 001414.920: dtdebug: /aliases:i2c=i2c1 001418.124: dtdebug: /symbols:i2c=i2c1 001420.873: dtdebug: /overrides:i2c=i2c1 001423.135: dtdebug: /aliases:i2c_arm=i2c1 001426.390: dtdebug: /symbols:i2c_arm=i2c1 001429.202: dtdebug: /overrides:i2c_arm=i2c1 001434.378: dtdebug: /overrides:i2c_baudrate=i2c1_baudrate 001439.577: dtdebug: /overrides**:i2c_arm_baudrate=i2c1_baudrate 001439.596: dtparam: pwr_led_gpio=35 001441.262: dtdebug: Found override pwr_led_gpio 001441.302: dtdebug: override pwr_led_gpio: cell target gpios @ offset 4 (size 4) 001448.810: dtparam: audio=on 001450.522: dtdebug: Found override audio 001450.550: dtdebug: override audio: string target 'status' 001452.730: dtparam: spi=on 001454.304: dtdebug: Found override spi 001454.329: dtdebug: override spi: string target 'status' 001457.563: dtparam: i2c_arm=on 001459.047: dtdebug: Found override i2c_arm 001459.073: dtdebug: override i2c_arm: string target 'status' 001463.163: dtparam: arm_freq=900000000 001464.706: dtdebug: Found override arm_freq 001464.749: dtdebug: override arm_freq: cell target clock-frequency @ offset 0 (size 4) 001470.552: dtdebug: override arm_freq: cell target clock-frequency @ offset 0 (size 4) 001476.378: dtdebug: override arm_freq: cell target clock-frequency @ offset 0 (size 4) 001482.288: dtdebug: override arm_freq: cell target clock-frequency @ offset 0 (size 4) 001488.262: dtparam: cache_line_size=64 001489.781: dtdebug: Found override cache_line_size 001489.826: dtdebug: override cache_line_size: cell target cache-line-size @ offset 0 (size 4) 001493.750: dtdebug: delete_node(/hat) 001549.763: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined 003299.639: vchiq_core: vchiq_init_state: slot_zero = 0xfac80000, is_master = 1 003303.321: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead 003307.266: gpioman: gpioman_get_pin_num: pin LEDS_RUNNING not defined 003307.291: gpioman: gpioman_get_pin_num: pin LEDS_NAND_ACTIVITY not defined 003307.313: gpioman: gpioman_get_pin_num: pin LEDS_USB_ACTIVITY not defined 003307.333: gpioman: gpioman_get_pin_num: pin LEDS_FATAL_ERROR not defined 003307.357: gpioman: gpioman_get_pin_num: pin LEDS_APP_OK not defined 003307.379: gpioman: gpioman_get_pin_num: pin LEDS_APP_FAILED not defined 003307.401: gpioman: gpioman_get_pin_num: pin LEDS_HDCP_AUTH not defined 003307.424: gpioman: gpioman_get_pin_num: pin LEDS_HDCP_UNAUTH not defined 003307.447: gpioman: gpioman_get_pin_num: pin LEDS_HDMI_ON not defined 003307.469: gpioman: gpioman_get_pin_num: pin LEDS_DVI_ON not defined 003307.492: gpioman: gpioman_get_pin_num: pin LEDS_HDMI_HPD_UP not defined 003307.513: gpioman: gpioman_get_pin_num: pin LEDS_REMOTE_CONTROL not defined 003307.535: gpioman: gpioman_get_pin_num: pin LEDS_ARM_CONTROLLED not defined 003307.927: TV service:host side not connected, dropping notification 0x00000002, 0x00000001, 0x00000010

XECDesign commented 8 years ago

Thanks again. Looks like either a firmware or hardware fault. Tried my sense hat and it works as expected. I've seen someone report that they've had a few not working in a classroom, which seems to indicate it's a hardware issue, specifically with the eeprom.

AlainGeenrits commented 8 years ago

You are welcome ! I will try another one to check. This is an RPi2.

On 27 Jan 2016, at 13:58, XECDesign notifications@github.com wrote:

Thanks again. Looks like either a firmware or hardware fault. Tried my sense hat and it works as expected. I've seen someone report that they've had a few not working in a classroom, which seems to indicate it's a hardware issue, specifically with the eeprom.

— Reply to this email directly or view it on GitHub https://github.com/RPi-Distro/python-sense-hat/issues/28#issuecomment-175605958.

XECDesign commented 8 years ago

To clarify, this would be an issue with the HAT, not the pi.

I will add instructions on how to program the EEPROM to fix this later.

XECDesign commented 8 years ago

One final bit of information is needed to confirm whether the EEPROM is the problem. Could someone whose sense hat isn't automatically detected on the latest raspbian image please read the eeprom using these instructions here and then send me sense_read.eep? Either a link to where it's uploaded or an email attachment would be great (serge at the obvious address dot org).

AlainGeenrits commented 8 years ago

Here is the file I obtained attached. Hope it helps !

On Tue, Feb 2, 2016 at 9:29 AM, XECDesign notifications@github.com wrote:

One final bit of information is needed to confirm whether the EEPROM is the problem. Could someone please read the eeprom using these instructions here https://github.com/raspberrypi/documentation/blob/master/hardware/sense-hat/README.md#eeprom-data and then send me sense_read.eep? Either a link to where it's uploaded or an email attachment would be great (serge at the obvious address dot org).

— Reply to this email directly or view it on GitHub https://github.com/RPi-Distro/python-sense-hat/issues/28#issuecomment-178442023 .

See you on the bitstream, Alain

Alain Geenrits - alain@geenrits.net twitter: alaingeenrits blog: http://bitstream.geenrits.net

XECDesign commented 8 years ago

I've got the file and can confirm that the EEPROM data is incomplete. The issue can be resolved using flashing the eeprom data yourself, but I recommend saving the old data first. The device UUID from the old data may help the factory track down the issue.

Thanks again for the help.

denizozger commented 8 years ago

Hi @XECDesign, unfortunately I have the same issue. It's a Pi Zero, when I turn it on all LEDs momentarily light up, but I can't run any of the example SenseHAT code.

pi@raspberrypi:~ $ python /usr/src/sense-hat/examples/python-sense-hat/text_scroll.py
Traceback (most recent call last):
  File "/usr/src/sense-hat/examples/python-sense-hat/text_scroll.py", line 4, in <module>
    sense = SenseHat()
  File "/usr/lib/python2.7/dist-packages/sense_hat/sense_hat.py", line 36, in __init__
    raise OSError('Cannot detect %s device' % self.SENSE_HAT_FB_NAME)
OSError: Cannot detect RPi-Sense FB device

I have

Output of the following commands are below:

uname -a
vcgencmd version
sudo dtc -I fs /proc/device-tree
dmesg
ls /dev/fb*
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.1.17+ #838 Tue Feb 9 12:57:10 GMT 2016 armv6l GNU/Linux
pi@raspberrypi:~ $ vcgencmd version
Feb  9 2016 19:35:19
Copyright (c) 2012 Broadcom
version dc2c1aba32c7469e82a87be0d5d921aa9233e60d (clean) (release)
pi@raspberrypi:~ $ sudo dtc -I fs /proc/device-tree
Warning (avoid_default_addr_size): Relying on default #address-cells value for /axi/vc_mem
Warning (avoid_default_addr_size): Relying on default #size-cells value for /axi/vc_mem
/dts-v1/;

/ {
  model = "Raspberry Pi Zero Rev 1.2";
  compatible = "brcm,bcm2708";
  memreserve = <0x1c000000 0x4000000>;
  #address-cells = <0x1>;
  #size-cells = <0x1>;
  interrupt-parent = <0x1>;

  axi {

      dma {
          broadcom,channels = <0x7f35>;
      };

      usb {

          hub {

              ethernet {
                  mac-address = [b8 27 eb 91 64 27];
              };
          };
      };

      vc_mem {
          reg = <0x1ec00000 0x20000000 0x40000000>;
      };
  };

  soc {
      compatible = "simple-bus";
      ranges = <0x7e000000 0x20000000 0x1000000>;
      #address-cells = <0x1>;
      phandle = <0x1e>;
      #size-cells = <0x1>;
      linux,phandle = <0x1e>;

      fb {
          compatible = "brcm,bcm2708-fb";
          firmware = <0x10>;
          status = "okay";
          phandle = <0x26>;
          linux,phandle = <0x26>;
      };

      mailbox@7e00b800 {
          reg = <0x7e00b880 0x40>;
          interrupts = <0x0 0x1>;
          compatible = "brcm,bcm2835-mbox";
          #mbox-cells = <0x0>;
          phandle = <0xe>;
          linux,phandle = <0xe>;
      };

      leds {
          compatible = "gpio-leds";
          phandle = <0x25>;
          linux,phandle = <0x25>;

          act {
              gpios = <0xf 0x2f 0x0>;
              label = "led0";
              linux,default-trigger = "mmc0";
              phandle = <0x18>;
              linux,phandle = <0x18>;
          };

          pwr {
              gpios = <0xf 0x23 0x0>;
              label = "led1";
              linux,default-trigger = "input";
              phandle = <0x19>;
              linux,phandle = <0x19>;
          };
      };

      mmc@7e300000 {
          reg = <0x7e300000 0x100>;
          dmas = <0x7 0xb 0x7 0xb>;
          interrupts = <0x2 0x1e>;
          compatible = "brcm,bcm2835-mmc";
          bus-width = <0x4>;
          clocks = <0xc>;
          status = "okay";
          phandle = <0x22>;
          dma-names = "tx", "rx";
          linux,phandle = <0x22>;
      };

      vchiq {
          reg = <0x7e00b840 0xf>;
          interrupts = <0x0 0x2>;
          compatible = "brcm,bcm2835-vchiq";
          cache-line-size = <0x20>;
          firmware = <0x10>;
          phandle = <0x11>;
          linux,phandle = <0x11>;
      };

      thermal {
          compatible = "brcm,bcm2835-thermal";
          firmware = <0x10>;
          phandle = <0x27>;
          linux,phandle = <0x27>;
      };

      firmware {
          compatible = "raspberrypi,bcm2835-firmware";
          mboxes = <0xe>;
          phandle = <0x10>;
          linux,phandle = <0x10>;
      };

      i2c@7e205000 {
          reg = <0x7e205000 0x1000>;
          interrupts = <0x2 0x15>;
          pinctrl-0 = <0x9>;
          compatible = "brcm,bcm2708-i2c";
          clock-frequency = <0x186a0>;
          clocks = <0x6>;
          status = "disabled";
          #address-cells = <0x1>;
          phandle = <0x15>;
          #size-cells = <0x0>;
          pinctrl-names = "default";
          linux,phandle = <0x15>;
      };

      dma@7e007000 {
          reg = <0x7e007000 0xf00>;
          interrupts = <0x1 0x10 0x1 0x11 0x1 0x12 0x1 0x13 0x1 0x14 0x1 0x15 0x1 0x16 0x1 0x17 0x1 0x18 0x1 0x19 0x1 0x1a 0x1 0x1b>;
          brcm,dma-channel-mask = <0xf35>;
          compatible = "brcm,bcm2835-dma";
          #dma-cells = <0x1>;
          phandle = <0x7>;
          linux,phandle = <0x7>;
      };

      usb@7e980000 {
          reg = <0x7e980000 0x10000 0x7e006000 0x1000>;
          interrupts = <0x2 0x0 0x1 0x9>;
          compatible = "brcm,bcm2708-usb";
          phandle = <0x24>;
          linux,phandle = <0x24>;
      };

      i2s@7e203000 {
          reg = <0x7e203000 0x24 0x7e101098 0x8>;
          pinctrl-0 = <0x5>;
          compatible = "brcm,bcm2708-i2s";
          status = "disabled";
          #sound-dai-cells = <0x0>;
          phandle = <0x13>;
          dma-names = "tx", "rx";
          pinctrl-names = "default";
          linux,phandle = <0x13>;
      };

      pwm@7e20c000 {
          reg = <0x7e20c000 0x28>;
          compatible = "brcm,bcm2835-pwm";
          clocks = <0xa>;
          #pwm-cells = <0x2>;
          status = "disabled";
          phandle = <0x20>;
          linux,phandle = <0x20>;
      };

      i2c@7e804000 {
          reg = <0x7e804000 0x1000>;
          interrupts = <0x2 0x15>;
          pinctrl-0 = <0xd>;
          compatible = "brcm,bcm2708-i2c";
          clock-frequency = <0x186a0>;
          clocks = <0x6>;
          status = "okay";
          #address-cells = <0x1>;
          phandle = <0x16>;
          #size-cells = <0x0>;
          pinctrl-names = "default";
          linux,phandle = <0x16>;
      };

      i2c@7e805000 {
          reg = <0x7e805000 0x1000>;
          interrupts = <0x2 0x15>;
          compatible = "brcm,bcm2708-i2c";
          clock-frequency = <0x186a0>;
          clocks = <0x6>;
          status = "disabled";
          #address-cells = <0x1>;
          phandle = <0x17>;
          #size-cells = <0x0>;
          linux,phandle = <0x17>;
      };

      cprman@7e101000 {
          reg = <0x7e101000 0x2000>;
          #clock-cells = <0x1>;
          compatible = "brcm,bcm2835-cprman";
          clocks = <0x2>;
          status = "disabled";
          phandle = <0x1f>;
          linux,phandle = <0x1f>;
      };

      gpiomem {
          reg = <0x7e200000 0x1000>;
          compatible = "brcm,bcm2835-gpiomem";
          status = "okay";
      };

      smi@7e600000 {
          reg = <0x7e600000 0x44 0x7e1010b0 0x8>;
          dmas = <0x7 0x4>;
          interrupts = <0x2 0x10>;
          brcm,smi-clock-source = <0x6>;
          compatible = "brcm,bcm2835-smi";
          brcm,smi-clock-divisor = <0x4>;
          status = "disabled";
          phandle = <0x23>;
          dma-names = "rx-tx";
          linux,phandle = <0x23>;
      };

      spi@7e204000 {
          reg = <0x7e204000 0x1000>;
          dmas = <0x7 0x6 0x7 0x7>;
          interrupts = <0x2 0x16>;
          pinctrl-0 = <0x8>;
          compatible = "brcm,bcm2835-spi";
          cs-gpios = <0x0 0x0>;
          clocks = <0x6>;
          status = "disabled";
          #address-cells = <0x1>;
          phandle = <0x14>;
          #size-cells = <0x0>;
          dma-names = "tx", "rx";
          pinctrl-names = "default";
          linux,phandle = <0x14>;

          spidev@0 {
              reg = <0x0>;
              compatible = "spidev";
              spi-max-frequency = <0x7a120>;
              #address-cells = <0x1>;
              #size-cells = <0x0>;
          };

          spidev@1 {
              reg = <0x1>;
              compatible = "spidev";
              spi-max-frequency = <0x7a120>;
              #address-cells = <0x1>;
              #size-cells = <0x0>;
          };
      };

      watchdog@7e100000 {
          reg = <0x7e100000 0x28>;
          compatible = "brcm,bcm2835-pm-wdt";
          status = "disabled";
          phandle = <0x1b>;
          linux,phandle = <0x1b>;
      };

      rng@7e104000 {
          reg = <0x7e104000 0x10>;
          compatible = "brcm,bcm2835-rng";
          status = "okay";
          phandle = <0x1c>;
          linux,phandle = <0x1c>;
      };

      arm-pmu {
          compatible = "arm,arm1176-pmu";
      };

      gpio@7e200000 {
          reg = <0x7e200000 0xb4>;
          interrupts = <0x2 0x11 0x2 0x12>;
          #gpio-cells = <0x2>;
          compatible = "brcm,bcm2835-gpio";
          #interrupt-cells = <0x2>;
          phandle = <0xf>;
          interrupt-controller;
          gpio-controller;
          linux,phandle = <0xf>;

          i2s {
              phandle = <0x5>;
              brcm,function = <0x4>;
              brcm,pins = <0x12 0x13 0x14 0x15>;
              linux,phandle = <0x5>;
          };

          i2c0 {
              phandle = <0x9>;
              brcm,function = <0x4>;
              brcm,pins = <0x0 0x1>;
              linux,phandle = <0x9>;
          };

          i2c1 {
              phandle = <0xd>;
              brcm,function = <0x4>;
              brcm,pins = <0x2 0x3>;
              linux,phandle = <0xd>;
          };

          spi0_pins {
              phandle = <0x8>;
              brcm,function = <0x4>;
              brcm,pins = <0x7 0x8 0x9 0xa 0xb>;
              linux,phandle = <0x8>;
          };
      };

      interrupt-controller {
          reg = <0x7e00b200 0x200>;
          compatible = "brcm,bcm2708-armctrl-ic";
          #interrupt-cells = <0x2>;
          phandle = <0x1>;
          interrupt-controller;
          linux,phandle = <0x1>;
      };

      uart@7e201000 {
          reg = <0x7e201000 0x1000>;
          interrupts = <0x2 0x19>;
          compatible = "arm,pl011", "arm,primecell";
          clock-names = "uartclk", "apb_pclk";
          clocks = <0x3 0x4>;
          status = "okay";
          arm,primecell-periphid = <0x241011>;
          phandle = <0x12>;
          linux,phandle = <0x12>;
      };

      uart@7e215040 {
          reg = <0x7e215040 0x40>;
          interrupts = <0x1 0x1d>;
          reg-shift = <0x2>;
          no-loopback-test;
          compatible = "brcm,bcm2835-aux-uart", "ns16550";
          clocks = <0xb>;
          status = "disabled";
          phandle = <0x21>;
          linux,phandle = <0x21>;
      };
  };

  display {
      broadcom,height = <0x0>;
      broadcom,depth = <0x10>;
      broadcom,width = <0x0>;
  };

  audio {
      compatible = "brcm,bcm2835-audio";
      status = "okay";
      brcm,pwm-channels = <0x8>;
      phandle = <0x1a>;
      linux,phandle = <0x1a>;
  };

  sound {
      phandle = <0x1d>;
      linux,phandle = <0x1d>;
  };

  chosen {
      bootargs = "dma.dmachans=0x7f35 bcm2708_fb.fbwidth=592 bcm2708_fb.fbheight=448 bcm2708.boardrev=0x900092 bcm2708.serial=0xde916427 smsc95xx.macaddr=B8:27:EB:91:64:27 bcm2708_fb.fbswap=1 bcm2708.uart_clock=3000000 bcm2708.disk_led_gpio=47 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait";
  };

  clocks {
      compatible = "simple-bus";
      #address-cells = <0x1>;
      phandle = <0x28>;
      #size-cells = <0x0>;
      linux,phandle = <0x28>;

      clock@0 {
          reg = <0x0>;
          #clock-cells = <0x0>;
          compatible = "fixed-clock";
          clock-frequency = <0x17d78400>;
          clock-output-names = "core";
          phandle = <0x6>;
          linux,phandle = <0x6>;
      };

      clock@1 {
          reg = <0x1>;
          #clock-cells = <0x0>;
          compatible = "fixed-clock";
          clock-frequency = <0xee6b280>;
          clock-output-names = "mmc";
          phandle = <0xc>;
          linux,phandle = <0xc>;
      };

      clock@2 {
          reg = <0x2>;
          #clock-cells = <0x0>;
          compatible = "fixed-clock";
          clock-frequency = <0x2dc6c0>;
          clock-output-names = "uart0_pclk";
          phandle = <0x3>;
          linux,phandle = <0x3>;
      };

      clock@3 {
          reg = <0x3>;
          #clock-cells = <0x0>;
          compatible = "fixed-clock";
          clock-frequency = <0x7829b80>;
          clock-output-names = "apb_pclk";
          phandle = <0x4>;
          linux,phandle = <0x4>;
      };

      clock@4 {
          reg = <0x4>;
          #clock-cells = <0x0>;
          compatible = "fixed-clock";
          clock-frequency = <0x5f5e100>;
          clock-output-names = "pwm";
          phandle = <0xa>;
          linux,phandle = <0xa>;
      };

      clock@5 {
          reg = <0x5>;
          #clock-cells = <0x0>;
          compatible = "fixed-factor-clock";
          clocks = <0x6>;
          clock-div = <0x1>;
          phandle = <0xb>;
          clock-mult = <0x2>;
          linux,phandle = <0xb>;
      };

      clock@6 {
          reg = <0x6>;
          #clock-cells = <0x0>;
          compatible = "fixed-clock";
          clock-frequency = <0x124f800>;
          clock-output-names = "osc";
          phandle = <0x2>;
          linux,phandle = <0x2>;
      };
  };

  memory {
      reg = <0x0 0x1c000000>;
      device_type = "memory";
  };

  system {
      linux,revision = <0x900092>;
      linux,serial = <0x0 0xde916427>;
  };

  __symbols__ {
      fb = "/soc/fb";
      i2c = "/soc/i2c@7e804000";
      i2s = "/soc/i2s@7e203000";
      dma = "/soc/dma@7e007000";
      mmc = "/soc/mmc@7e300000";
      pwm = "/soc/pwm@7e20c000";
      smi = "/soc/smi@7e600000";
      soc = "/soc";
      usb = "/soc/usb@7e980000";
      i2c0 = "/soc/i2c@7e205000";
      i2c1 = "/soc/i2c@7e804000";
      i2c2 = "/soc/i2c@7e805000";
      gpio = "/soc/gpio@7e200000";
      intc = "/soc/interrupt-controller";
      leds = "/soc/leds";
      spi0 = "/soc/spi@7e204000";
      pwr_led = "/soc/leds/pwr";
      i2c_arm = "/soc/i2c@7e804000";
      audio = "/audio";
      sound = "/sound";
      uart0 = "/soc/uart@7e201000";
      uart1 = "/soc/uart@7e215040";
      vchiq = "/soc/vchiq";
      i2s_pins = "/soc/gpio@7e200000/i2s";
      mailbox = "/soc/mailbox@7e00b800";
      thermal = "/soc/thermal";
      clocks = "/clocks";
      firmware = "/soc/firmware";
      cprman = "/soc/cprman@7e101000";
      i2c_vc = "/soc/i2c@7e205000";
      watchdog = "/soc/watchdog@7e100000";
      i2c0_pins = "/soc/gpio@7e200000/i2c0";
      i2c1_pins = "/soc/gpio@7e200000/i2c1";
      act_led = "/soc/leds/act";
      random = "/soc/rng@7e104000";
      spi0_pins = "/soc/gpio@7e200000/spi0_pins";
      clk_apb_p = "/clocks/clock@3";
      clk_uart0 = "/clocks/clock@2";
      clk_uart1 = "/clocks/clock@5";
      clk_core = "/clocks/clock@0";
      clk_mmc = "/clocks/clock@1";
      clk_osc = "/clocks/clock@6";
      clk_pwm = "/clocks/clock@4";
  };

  aliases {
      fb = "/soc/fb";
      i2c = "/soc/i2c@7e804000";
      i2s = "/soc/i2s@7e203000";
      dma = "/soc/dma@7e007000";
      mmc = "/soc/mmc@7e300000";
      soc = "/soc";
      usb = "/soc/usb@7e980000";
      i2c0 = "/soc/i2c@7e205000";
      i2c1 = "/soc/i2c@7e804000";
      i2c2 = "/soc/i2c@7e805000";
      gpio = "/soc/gpio@7e200000";
      intc = "/soc/interrupt-controller";
      leds = "/soc/leds";
      spi0 = "/soc/spi@7e204000";
      i2c_arm = "/soc/i2c@7e804000";
      audio = "/audio";
      sound = "/sound";
      uart0 = "/soc/uart@7e201000";
      uart1 = "/soc/uart@7e215040";
      vchiq = "/soc/vchiq";
      mailbox = "/soc/mailbox@7e00b800";
      thermal = "/soc/thermal";
      clocks = "/clocks";
      i2c_vc = "/soc/i2c@7e205000";
      watchdog = "/soc/watchdog@7e100000";
      random = "/soc/rng@7e104000";
  };

  __overrides__ {
      i2c = [00 00 00 16 73 74 61 74 75 73 00];
      i2s = [00 00 00 13 73 74 61 74 75 73 00];
      spi = [00 00 00 14 73 74 61 74 75 73 00];
      act_led_trigger = [00 00 00 18 6c 69 6e 75 78 2c 64 65 66 61 75 6c 74 2d 74 72 69 67 67 65 72 00];
      i2c0 = [00 00 00 15 73 74 61 74 75 73 00];
      i2c1 = [00 00 00 16 73 74 61 74 75 73 00];
      i2c_arm = [00 00 00 16 73 74 61 74 75 73 00];
      audio = [00 00 00 1a 73 74 61 74 75 73 00];
      uart0 = [00 00 00 12 73 74 61 74 75 73 00];
      i2c2_iknowwhatimdoing = [00 00 00 17 73 74 61 74 75 73 00];
      act_led_activelow = <0x18 0x6770696f 0x733a3800>;
      pwr_led_gpio = <0x19 0x6770696f 0x733a3400>;
      i2c0_baudrate = [00 00 00 15 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
      pwr_led_trigger = [00 00 00 19 6c 69 6e 75 78 2c 64 65 66 61 75 6c 74 2d 74 72 69 67 67 65 72 00];
      i2c_vc_baudrate = [00 00 00 15 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
      uart0_clkrate = [00 00 00 03 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
      i2c_vc = [00 00 00 15 73 74 61 74 75 73 00];
      i2c1_baudrate = [00 00 00 16 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
      i2c_baudrate = [00 00 00 16 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
      watchdog = [00 00 00 1b 73 74 61 74 75 73 00];
      random = [00 00 00 1c 73 74 61 74 75 73 00];
      i2c2_baudrate = [00 00 00 17 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
      core_freq = [00 00 00 06 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
      i2c_arm_baudrate = [00 00 00 16 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
      pwr_led_activelow = <0x19 0x6770696f 0x733a3800>;
      act_led_gpio = <0x18 0x6770696f 0x733a3400>;
      cache_line_size = [00 00 00 11 63 61 63 68 65 2d 6c 69 6e 65 2d 73 69 7a 65 3a 30 00];
  };
};
pi@raspberrypi:~ $ dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.1.17+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #838 Tue Feb 9 12:57:10 GMT 2016
[    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine model: Raspberry Pi Zero Rev 1.2
[    0.000000] cma: Reserved 8 MiB at 0x1b400000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 114688
[    0.000000] free_area_init_node: node 0, pgdat c0833994, node_mem_map db010000
[    0.000000]   Normal zone: 1008 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 114688 pages, LIFO batch:31
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 113680
[    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=592 bcm2708_fb.fbheight=448 bcm2708.boardrev=0x900092 bcm2708.serial=0xde916427 smsc95xx.macaddr=B8:27:EB:91:64:27 bcm2708_fb.fbswap=1 bcm2708.uart_clock=3000000 bcm2708.disk_led_gpio=47 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 436860K/458752K available (5771K kernel code, 488K rwdata, 1788K rodata, 348K init, 720K bss, 13700K reserved, 8192K cma-reserved)
[    0.000000] Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xdc800000 - 0xff000000   ( 552 MB)
    lowmem  : 0xc0000000 - 0xdc000000   ( 448 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc076a0cc   (7561 kB)
      .init : 0xc076b000 - 0xc07c2000   ( 348 kB)
      .data : 0xc07c2000 - 0xc083c278   ( 489 kB)
       .bss : 0xc083c278 - 0xc08f03e0   ( 721 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:522
[    0.000000] clocksource stc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[    0.000013] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[    0.000053] Switching to timer-based delay loop, resolution 1000ns
[    0.000334] Console: colour dummy device 80x30
[    0.001268] console [tty1] enabled
[    0.001324] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[    0.001403] pid_max: default: 32768 minimum: 301
[    0.001767] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001833] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.002882] Initializing cgroup subsys blkio
[    0.002969] Initializing cgroup subsys memory
[    0.003032] Initializing cgroup subsys devices
[    0.003091] Initializing cgroup subsys freezer
[    0.003146] Initializing cgroup subsys net_cls
[    0.003254] CPU: Testing write buffer coherency: ok
[    0.003368] ftrace: allocating 19733 entries in 58 pages
[    0.105896] Setting up static identity map for 0x81c0 - 0x81f8
[    0.108018] devtmpfs: initialized
[    0.118752] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[    0.119214] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.121144] pinctrl core: initialized pinctrl subsystem
[    0.122054] NET: Registered protocol family 16
[    0.127646] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.129197] bcm2708.uart_clock = 3000000
[    0.134250] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[    0.134325] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.134532] Serial: AMBA PL011 UART driver
[    0.134837] 20201000.uart: ttyAMA0 at MMIO 0x20201000 (irq = 83, base_baud = 0) is a PL011 rev2
[    0.511591] console [ttyAMA0] enabled
[    0.515978] bcm2835-mbox 2000b880.mailbox: mailbox enabled
[    0.561559] bcm2708-dmaengine 20007000.dma: DMA legacy API manager at f2007000, dmachans=0xf35
[    0.570406] bcm2708-dmaengine 20007000.dma: Initialized 7 DMA channels (+ 1 legacy)
[    0.578900] bcm2708-dmaengine 20007000.dma: Load BCM2835 DMA engine driver
[    0.585872] bcm2708-dmaengine 20007000.dma: dma_debug:0
[    0.591957] SCSI subsystem initialized
[    0.596147] usbcore: registered new interface driver usbfs
[    0.601834] usbcore: registered new interface driver hub
[    0.607402] usbcore: registered new device driver usb
[    0.613376] raspberrypi-firmware soc:firmware: Attached to firmware from 2016-02-09 19:35
[    0.649177] Switched to clocksource stc
[    0.698469] FS-Cache: Loaded
[    0.701880] CacheFiles: Loaded
[    0.720101] NET: Registered protocol family 2
[    0.725945] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.733217] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.739799] TCP: Hash tables configured (established 4096 bind 4096)
[    0.746394] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.752350] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.759017] NET: Registered protocol family 1
[    0.764056] RPC: Registered named UNIX socket transport module.
[    0.770104] RPC: Registered udp transport module.
[    0.774838] RPC: Registered tcp transport module.
[    0.779603] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.787381] hw perfevents: enabled with armv6_1176 PMU driver, 3 counters available
[    0.796515] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.818675] VFS: Disk quotas dquot_6.6.0
[    0.823209] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.832799] FS-Cache: Netfs 'nfs' registered for caching
[    0.839553] NFS: Registering the id_resolver key type
[    0.844729] Key type id_resolver registered
[    0.848941] Key type id_legacy registered
[    0.856718] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.864721] io scheduler noop registered
[    0.868714] io scheduler deadline registered (default)
[    0.874396] io scheduler cfq registered
[    0.880762] BCM2708FB: allocated DMA memory 5b800000
[    0.885843] BCM2708FB: allocated DMA channel 0 @ f2007000
[    0.896313] Console: switching to colour frame buffer device 74x28
[    0.907692] Serial: 8250/16550 driver, 0 ports, IRQ sharing disabled
[    0.917565] vc-cma: Videocore CMA driver
[    0.923369] vc-cma: vc_cma_base      = 0x00000000
[    0.929839] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    0.936979] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    0.944454] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[    0.975206] brd: module loaded
[    0.989014] loop: module loaded
[    0.995044] vchiq: vchiq_init_state: slot_zero = 0xdb880000, is_master = 0
[    1.007190] Loading iSCSI transport class v2.0-870.
[    1.015394] usbcore: registered new interface driver smsc95xx
[    1.023111] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.230908] Core Release: 2.80a
[    1.235754] Setting default values for core params
[    1.242241] Finished setting default values for core params
[    1.449779] Using Buffer DMA mode
[    1.454782] Periodic Transfer Interrupt Enhancement - disabled
[    1.462339] Multiprocessor Interrupt Enhancement - disabled
[    1.469653] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.475778] Dedicated Tx FIFOs mode
[    1.481499] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xdb814000 dma = 0x5b814000 len=9024
[    1.494868] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
[    1.518477] dwc_otg: Microframe scheduler enabled
[    1.518604] WARN::hcd_init_fiq:412: FIQ on core 0 at 0xc03d7f70
[    1.526293] WARN::hcd_init_fiq:413: FIQ ASM at 0xc03d8248 length 36
[    1.534303] WARN::hcd_init_fiq:438: MPHI regs_base at 0xdc896000
[    1.542173] dwc_otg 20980000.usb: DWC OTG Controller
[    1.548957] dwc_otg 20980000.usb: new USB bus registered, assigned bus number 1
[    1.559725] dwc_otg 20980000.usb: irq 32, io mem 0x00000000
[    1.567086] Init: Port Power? op_state=1
[    1.572757] Init: Power Port (0)
[    1.577998] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.588239] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.598972] usb usb1: Product: DWC OTG Controller
[    1.605515] usb usb1: Manufacturer: Linux 4.1.17+ dwc_otg_hcd
[    1.613094] usb usb1: SerialNumber: 20980000.usb
[    1.620598] hub 1-0:1.0: USB hub found
[    1.626248] hub 1-0:1.0: 1 port detected
[    1.632574] dwc_otg: FIQ enabled
[    1.632596] dwc_otg: NAK holdoff enabled
[    1.632607] dwc_otg: FIQ split-transaction FSM enabled
[    1.632663] Module dwc_common_port init
[    1.633196] usbcore: registered new interface driver usb-storage
[    1.641522] mousedev: PS/2 mouse device common for all mice
[    1.650052] bcm2835-cpufreq: min=700000 max=1000000
[    1.657175] sdhci: Secure Digital Host Controller Interface driver
[    1.665270] sdhci: Copyright(c) Pierre Ossman
[    1.672066] mmc-bcm2835 20300000.mmc: mmc_debug:0 mmc_debug2:0
[    1.679880] mmc-bcm2835 20300000.mmc: DMA channels allocated
[    1.719611] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.727894] ledtrig-cpu: registered to indicate activity on CPUs
[    1.738609] hidraw: raw HID events driver (C) Jiri Kosina
[    1.751715] usbcore: registered new interface driver usbhid
[    1.759120] usbhid: USB HID core driver
[    1.768605] Initializing XFRM netlink socket
[    1.776943] NET: Registered protocol family 17
[    1.785542] Key type dns_resolver registered
[    1.796989] registered taskstats version 1
[    1.803455] vc-sm: Videocore shared memory driver
[    1.809899] [vc_sm_connected_init]: start
[    1.816425] [vc_sm_connected_init]: end - returning 0
[    1.825342] Waiting for root device /dev/mmcblk0p7...
[    1.832596] Indeed it is in host mode hprt0 = 00021501
[    1.907649] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.922708] mmc0: new high speed SDHC card at address aaaa
[    1.930830] mmcblk0: mmc0:aaaa SL08G 7.40 GiB
[    1.941264]  mmcblk0: p1 p2 < p5 p6 p7 >
[    2.019266] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.028076] Indeed it is in host mode hprt0 = 00001101
[    2.111324] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
[    2.123189] VFS: Mounted root (ext4 filesystem) readonly on device 179:7.
[    2.144293] devtmpfs: mounted
[    2.150585] Freeing unused kernel memory: 348K (c076b000 - c07c2000)
[    2.232982] usb 1-1: New USB device found, idVendor=0a5c, idProduct=bd1e
[    2.243639] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.254703] usb 1-1: Product: BCMUSB 802.11 Wireless Adapter
[    2.262444] usb 1-1: Manufacturer: Broadcom
[    2.268654] usb 1-1: SerialNumber: 43143
[    2.615026] random: systemd urandom read with 82 bits of entropy available
[    2.633759] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[    2.654100] systemd[1]: Detected architecture 'arm'.
[    2.860686] NET: Registered protocol family 10
[    2.869606] systemd[1]: Inserted module 'ipv6'
[    2.880891] systemd[1]: Set hostname to <raspberrypi>.
[    2.995955] random: nonblocking pool is initialized
[    3.063354] uart-pl011 20201000.uart: no DMA platform data
[    3.613852] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[    3.626412] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    3.638225] systemd[1]: Expecting device dev-ttyAMA0.device...
[    3.649281] systemd[1]: Starting Remote File Systems (Pre).
[    3.659838] systemd[1]: Reached target Remote File Systems (Pre).
[    3.668268] systemd[1]: Starting Encrypted Volumes.
[    3.678025] systemd[1]: Reached target Encrypted Volumes.
[    3.685867] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[    3.702373] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    3.716110] systemd[1]: Starting Swap.
[    3.724826] systemd[1]: Reached target Swap.
[    3.731478] systemd[1]: Expecting device dev-mmcblk0p6.device...
[    3.742469] systemd[1]: Starting Root Slice.
[    3.751856] systemd[1]: Created slice Root Slice.
[    3.758763] systemd[1]: Starting User and Session Slice.
[    3.769340] systemd[1]: Created slice User and Session Slice.
[    3.777261] systemd[1]: Starting Delayed Shutdown Socket.
[    3.787628] systemd[1]: Listening on Delayed Shutdown Socket.
[    3.795586] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[    3.807315] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    3.818393] systemd[1]: Starting Journal Socket (/dev/log).
[    3.829277] systemd[1]: Listening on Journal Socket (/dev/log).
[    3.837458] systemd[1]: Starting udev Control Socket.
[    3.847542] systemd[1]: Listening on udev Control Socket.
[    3.855266] systemd[1]: Starting udev Kernel Socket.
[    3.865194] systemd[1]: Listening on udev Kernel Socket.
[    3.872798] systemd[1]: Starting Journal Socket.
[    3.882550] systemd[1]: Listening on Journal Socket.
[    3.890023] systemd[1]: Starting System Slice.
[    3.899668] systemd[1]: Created slice System Slice.
[    3.906852] systemd[1]: Starting File System Check on Root Device...
[    3.922933] systemd[1]: Starting system-systemd\x2dfsck.slice.
[    3.944621] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    3.956930] systemd[1]: Starting system-autologin.slice.
[    3.980575] systemd[1]: Created slice system-autologin.slice.
[    3.988447] systemd[1]: Starting system-serial\x2dgetty.slice.
[    4.000847] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    4.010429] systemd[1]: Starting Increase datagram queue length...
[    4.032686] systemd[1]: Starting Restore / save the current clock...
[    4.090372] systemd[1]: Mounting Debug File System...
[    4.142139] systemd[1]: Mounted Huge Pages File System.
[    4.175280] systemd[1]: Mounting POSIX Message Queue File System...
[    4.301204] systemd[1]: Started Set Up Additional Binary Formats.
[    4.372979] systemd[1]: Starting Load Kernel Modules...
[    4.413128] systemd[1]: Starting udev Coldplug all Devices...
[    4.464323] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[    4.511920] fuse init (API version 7.23)
[    4.524630] systemd[1]: Starting Slices.
[    4.562524] systemd[1]: Reached target Slices.
[    4.590897] i2c /dev entries driver
[    4.632747] systemd[1]: Mounted POSIX Message Queue File System.
[    4.663208] systemd[1]: Mounted Debug File System.
[    4.687320] systemd[1]: Started File System Check on Root Device.
[    4.729132] systemd[1]: Started Increase datagram queue length.
[    4.743474] systemd[1]: Started Restore / save the current clock.
[    4.760517] systemd[1]: Started Load Kernel Modules.
[    4.789662] systemd[1]: Started Create list of required static device nodes for the current kernel.
[    4.840393] systemd[1]: Time has been changed
[    5.010455] systemd[1]: Started udev Coldplug all Devices.
[    5.235636] systemd[1]: Starting Create Static Device Nodes in /dev...
[    5.253207] systemd[1]: Mounting FUSE Control File System...
[    5.290847] systemd[1]: Starting Apply Kernel Variables...
[    5.358814] systemd[1]: Mounting Configuration File System...
[    5.421958] systemd[1]: Starting Syslog Socket.
[    5.451338] systemd[1]: Listening on Syslog Socket.
[    5.477761] systemd[1]: Starting Journal Service...
[    5.512222] systemd[1]: Started Journal Service.
[    5.863240] systemd-udevd[91]: starting version 215
[    8.688290] bcm2835-rng 20104000.rng: hwrng registered
[    8.800990] EXT4-fs (mmcblk0p7): re-mounted. Opts: (null)
[    9.824975] cfg80211: Calling CRDA to update world regulatory domain
[    9.894874] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr  3 2014 04:43:32 version 6.10.198.66 (r467479) FWID 01-32bd010e
[    9.927229] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[    9.934598] usbcore: registered new interface driver brcmfmac
[   11.681883] systemd-journald[90]: Received request to flush runtime journal from PID 1
[   12.380880] gpiomem-bcm2835 20200000.gpiomem: Initialised: Registers at 0x20200000
[   12.387673] bcm2708_i2c 20804000.i2c: BSC1 Controller at 0x20804000 (irq 79) (baudrate 100000)
[   12.853490] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[   12.853527] cfg80211: World regulatory domain updated:
[   12.853538] cfg80211:  DFS Master region: unset
[   12.853547] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   12.853563] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   12.853576] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   12.853603] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   12.853616] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   12.853629] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   12.853640] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   12.853651] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   12.853661] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   13.863789] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[   13.863818] brcmfmac: brcmf_add_if: ignore IF event
[   14.979484] cfg80211: Calling CRDA for country: GB
[   15.067511] cfg80211: Regulatory domain changed to country: GB
[   15.067560] cfg80211:  DFS Master region: ETSI
[   15.067570] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   15.067585] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   15.067599] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   15.067611] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   15.067623] cfg80211:   (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s)
[   15.067648] cfg80211:   (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[   18.165362] Adding 102396k swap on /var/swap.  Priority:-1 extents:2 across:839676k SSFS
[   34.701889] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
pi@raspberrypi:~ $ ls /dev/fb*
/dev/fb0

Thanks!

XECDesign commented 8 years ago

@denizozger , I would recommend recantha's solution (adding dtoverlay=rpi-sense to the bottom of /boot/config.txt). If that fixes it, you can consider flashing the eeprom yourself to make sure it just work without needing to adjust config.txt in the future.

denizozger commented 8 years ago

I added dtoverlay=rpi-sense to the bottom of /boot/config.txt, and rebooted, still getting the same error.

Any ideas? Is there are way to double check if dtoverlay is honoured?

XECDesign commented 8 years ago

You should be able to tell from the output of sudo vcdbg log msg and the dtc command from before.

denizozger commented 8 years ago

The output of sudo vcdbg log msg and sudo dtc -I fs /proc/device-tree are below. There's nothing about dtoverlay, although I can confirm the last line of /boot/config.txt is dtoverlay=rpi-sense.

pi@raspberrypi:~ $ sudo vcdbg log msg
000944.496: clock: clock_set_clock:  dst: CLK_H264, source: XOSC, div: 0.000000
000944.532: clock: clock_set_clock:  dst: CLK_ISP, source: XOSC, div: 0.000000
000944.570: clock: clock_set_clock:  dst: CLK_H264, source: XOSC, div: 0.000000
000944.606: clock: clock_set_clock:  dst: CLK_ISP, source: XOSC, div: 0.000000
000944.646: clock: clock_set_clock:  dst: CLK_VEC, source: XOSC, div: 1.000000
000944.679: clock: clock_set_clock:  dst: CLK_VEC, source: XOSC, div: 0.000000
000944.972: HDMI:EDID error reading EDID block 0 attempt 0
000946.236: HDMI:EDID error reading EDID block 0 attempt 1
000947.494: HDMI:EDID error reading EDID block 0 attempt 2
000948.752: HDMI:EDID error reading EDID block 0 attempt 3
000950.011: HDMI:EDID error reading EDID block 0 attempt 4
000951.269: HDMI:EDID error reading EDID block 0 attempt 5
000952.526: HDMI:EDID error reading EDID block 0 attempt 6
000953.785: HDMI:EDID error reading EDID block 0 attempt 7
000955.043: HDMI:EDID error reading EDID block 0 attempt 8
000956.302: HDMI:EDID error reading EDID block 0 attempt 9
000957.323: HDMI:EDID giving up on reading EDID block 0
000957.382: clock: clock_set_clock:  dst: CLK_VEC, source: XOSC, div: 1.000000
000957.415: clock: clock_set_clock:  dst: CLK_VEC, source: XOSC, div: 0.000000
000959.985: HDMI:Setting property pixel encoding to Default
000960.005: HDMI:Setting property pixel clock type to PAL
000960.023: HDMI:Setting property content type flag to No data
000960.043: HDMI:Setting property fuzzy format match to enabled
000975.432: gpioman: gpioman_get_pin_num: pin LEDS_RUNNING not defined
000975.456: gpioman: gpioman_get_pin_num: pin LEDS_NAND_ACTIVITY not defined
000975.477: gpioman: gpioman_get_pin_num: pin LEDS_USB_ACTIVITY not defined
000975.497: gpioman: gpioman_get_pin_num: pin LEDS_FATAL_ERROR not defined
000975.519: gpioman: gpioman_get_pin_num: pin LEDS_APP_OK not defined
000975.541: gpioman: gpioman_get_pin_num: pin LEDS_APP_FAILED not defined
000975.562: gpioman: gpioman_get_pin_num: pin LEDS_HDCP_AUTH not defined
000975.584: gpioman: gpioman_get_pin_num: pin LEDS_HDCP_UNAUTH not defined
000975.606: gpioman: gpioman_get_pin_num: pin LEDS_HDMI_ON not defined
000975.628: gpioman: gpioman_get_pin_num: pin LEDS_DVI_ON not defined
000975.650: gpioman: gpioman_get_pin_num: pin LEDS_HDMI_HPD_UP not defined
000975.670: gpioman: gpioman_get_pin_num: pin LEDS_REMOTE_CONTROL not defined
000975.691: gpioman: gpioman_get_pin_num: pin LEDS_ARM_CONTROLLED not defined
000975.797: clock: Set PLLB_VCO to 640000000
000975.910: clock: clock_set_clock:  dst: CLK_ARM, source: PLLB_ARM, div: 1.000000
000975.945: clock: clock_set_clock:  dst: CLK_ARM, source: XOSC, div: 0.000000
000975.982: clock: clock_set_clock:  dst: CLK_ARM, source: XOSC, div: 1.000000
000976.014: clock: clock_set_clock:  dst: CLK_ARM, source: XOSC, div: 0.000000
000976.039: clock: Set PLLB_VCO to 640000000
000976.149: clock: clock_set_clock:  dst: CLK_ARM, source: PLLB_ARM, div: 1.000000
000976.177: clock: Set PLLB_VCO to 1200000000
000976.249: clock: clock_set_clock:  dst: CLK_ARM, source: PLLB_ARM, div: 1.000000
000993.396: clock: clock_set_clock:  dst: CLK_ARM, source: XOSC, div: 0.000000
000998.023: hdmi: HDMI:>>>>>>>>>>>>>Rx sensed, reading EDID<<<<<<<<<<<<<
000998.103: clock: clock_set_clock:  dst: CLK_H264, source: XOSC, div: 0.000000
000998.142: clock: clock_set_clock:  dst: CLK_ISP, source: XOSC, div: 0.000000
000998.178: clock: clock_set_clock:  dst: CLK_H264, source: XOSC, div: 0.000000
000998.211: clock: clock_set_clock:  dst: CLK_ISP, source: XOSC, div: 0.000000
000998.254: clock: clock_set_clock:  dst: CLK_VEC, source: XOSC, div: 1.000000
000998.287: clock: clock_set_clock:  dst: CLK_VEC, source: XOSC, div: 0.000000
000998.597: hdmi: HDMI:EDID error reading EDID block 0 attempt 0
000999.866: hdmi: HDMI:EDID error reading EDID block 0 attempt 1
001001.130: hdmi: HDMI:EDID error reading EDID block 0 attempt 2
001002.394: hdmi: HDMI:EDID error reading EDID block 0 attempt 3
001003.657: hdmi: HDMI:EDID error reading EDID block 0 attempt 4
001004.921: hdmi: HDMI:EDID error reading EDID block 0 attempt 5
001006.184: hdmi: HDMI:EDID error reading EDID block 0 attempt 6
001007.447: hdmi: HDMI:EDID error reading EDID block 0 attempt 7
001008.710: hdmi: HDMI:EDID error reading EDID block 0 attempt 8
001009.973: hdmi: HDMI:EDID error reading EDID block 0 attempt 9
001010.999: hdmi: HDMI:EDID giving up on reading EDID block 0
001011.029: hdmi: HDMI: No lookup table for resolution group 0
001011.046: hdmi: HDMI: hotplug attached with DVI support
001011.097: clock: clock_set_clock:  dst: CLK_VEC, source: XOSC, div: 1.000000
001011.130: clock: clock_set_clock:  dst: CLK_VEC, source: XOSC, div: 0.000000
001011.168: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
001011.242: clock: clock_set_clock:  dst: CLK_H264, source: XOSC, div: 0.000000
001011.276: clock: clock_set_clock:  dst: CLK_ISP, source: XOSC, div: 0.000000
001011.313: clock: clock_set_clock:  dst: CLK_H264, source: XOSC, div: 0.000000
001011.349: clock: clock_set_clock:  dst: CLK_ISP, source: XOSC, div: 0.000000
001011.388: clock: clock_set_clock:  dst: CLK_VEC, source: XOSC, div: 1.000000
001011.419: clock: clock_set_clock:  dst: CLK_VEC, source: XOSC, div: 0.000000
001011.706: hdmi: HDMI:EDID error reading EDID block 0 attempt 0
001012.968: hdmi: HDMI:EDID error reading EDID block 0 attempt 1
001014.230: hdmi: HDMI:EDID error reading EDID block 0 attempt 2
001015.492: hdmi: HDMI:EDID error reading EDID block 0 attempt 3
001016.754: hdmi: HDMI:EDID error reading EDID block 0 attempt 4
001018.016: hdmi: HDMI:EDID error reading EDID block 0 attempt 5
001019.278: hdmi: HDMI:EDID error reading EDID block 0 attempt 6
001020.540: hdmi: HDMI:EDID error reading EDID block 0 attempt 7
001021.802: hdmi: HDMI:EDID error reading EDID block 0 attempt 8
001023.064: hdmi: HDMI:EDID error reading EDID block 0 attempt 9
001024.090: hdmi: HDMI:EDID giving up on reading EDID block 0
001024.147: clock: clock_set_clock:  dst: CLK_VEC, source: XOSC, div: 1.000000
001024.180: clock: clock_set_clock:  dst: CLK_VEC, source: XOSC, div: 0.000000
001024.249: clock: clock_set_clock:  dst: CLK_H264, source: XOSC, div: 0.000000
001024.286: clock: clock_set_clock:  dst: CLK_ISP, source: XOSC, div: 0.000000
001024.322: clock: clock_set_clock:  dst: CLK_H264, source: XOSC, div: 0.000000
001024.355: clock: clock_set_clock:  dst: CLK_ISP, source: XOSC, div: 0.000000
001024.396: clock: clock_set_clock:  dst: CLK_VEC, source: XOSC, div: 1.000000
001024.429: clock: clock_set_clock:  dst: CLK_VEC, source: XOSC, div: 0.000000
001024.642: clock: clock_set_clock:  dst: CLK_HSM, source: PLLD_PER, div: 5.000000
001025.683: clock: Set PLLH_VCO to 1008000000
001026.876: hdmi: HDMI: power_on to DMT mode VGA@60
001027.941: clock: clock_set_clock:  dst: CLK_HSM, source: PLLD_PER, div: 3.054687
001030.032: hdmi: HDMI: Action callback added to queue to happen at frame 0
001046.185: clock: clock_set_clock:  dst: CLK_TSENS, source: XOSC, div: 9.600000
001046.251: *** Restart logging
001047.372: Read command line from file 'cmdline.txt'
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
001047.570: clock: clock_set_clock:  dst: CLK_UART, source: PLLD_PER, div: 166.666700
001051.854: Loading 'kernel.img' from SD card
001284.974: Kernel trailer DTOK property says yes
001285.057: Loading 'bcm2708-rpi-b-plus.dtb' from SD card
001316.995: dtparam: uart0_clkrate=3000000
001323.408: dtparam: audio=on
001325.892: dtparam: i2c_arm=on
001336.702: Loaded overlay 'rpi-sense'
001372.978: dtparam: arm_freq=1000000000
001374.419: Unknown dtparam 'arm_freq' - ignored
001374.441: dtparam: core_freq=400000000
001379.675: dtparam: cache_line_size=32
001389.375: clock: Set PLLB_VCO to 1400000000
001389.495: clock: clock_set_clock:  dst: CLK_ARM, source: PLLB_ARM, div: 1.000000
001389.575: clock: clock_set_clock:  dst: CLK_VPU, source: PLLC_CORE0, div: 4.000000
001389.635: clock: clock_set_clock:  dst: CLK_EMMC, source: PLLC_PER, div: 4.000000
001389.706: clock: Set PLLA_VCO to 2000000000
001389.813: clock: clock_set_clock:  dst: CLK_V3D, source: PLLA_CORE, div: 4.000000
001389.876: clock: clock_set_clock:  dst: CLK_H264, source: PLLA_CORE, div: 4.000000
001389.939: clock: clock_set_clock:  dst: CLK_ISP, source: PLLA_CORE, div: 4.000000
001390.788: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined
001390.881: clock: Set PLLB_VCO to 640000000
001390.956: clock: clock_set_clock:  dst: CLK_ARM, source: PLLB_ARM, div: 1.000000
001390.985: clock: Set PLLB_VCO to 1400000000
001391.057: clock: clock_set_clock:  dst: CLK_ARM, source: PLLB_ARM, div: 1.000000
001391.096: clock: clock_set_clock:  dst: CLK_ARM, source: XOSC, div: 1.000000
001391.132: clock: clock_set_clock:  dst: CLK_ARM, source: XOSC, div: 0.000000
001391.159: clock: Set PLLB_VCO to 1400000000
001391.276: clock: clock_set_clock:  dst: CLK_ARM, source: PLLB_ARM, div: 1.000000
002970.282: vchiq_core: vchiq_init_state: slot_zero = 0x5b880000, is_master = 1
002974.273: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
002978.156: gpioman: gpioman_get_pin_num: pin LEDS_RUNNING not defined
002978.181: gpioman: gpioman_get_pin_num: pin LEDS_NAND_ACTIVITY not defined
002978.205: gpioman: gpioman_get_pin_num: pin LEDS_USB_ACTIVITY not defined
002978.230: gpioman: gpioman_get_pin_num: pin LEDS_FATAL_ERROR not defined
002978.253: gpioman: gpioman_get_pin_num: pin LEDS_APP_OK not defined
002978.277: gpioman: gpioman_get_pin_num: pin LEDS_APP_FAILED not defined
002978.298: gpioman: gpioman_get_pin_num: pin LEDS_HDCP_AUTH not defined
002978.322: gpioman: gpioman_get_pin_num: pin LEDS_HDCP_UNAUTH not defined
002978.344: gpioman: gpioman_get_pin_num: pin LEDS_HDMI_ON not defined
002978.375: gpioman: gpioman_get_pin_num: pin LEDS_DVI_ON not defined
002978.399: gpioman: gpioman_get_pin_num: pin LEDS_HDMI_HPD_UP not defined
002978.420: gpioman: gpioman_get_pin_num: pin LEDS_REMOTE_CONTROL not defined
002978.441: gpioman: gpioman_get_pin_num: pin LEDS_ARM_CONTROLLED not defined
002978.843: TV service:host side not connected, dropping notification 0x00000002, 0x00000002, 0x00000004
013644.484: clock: Set PLLB_VCO to 2000000000
013644.565: clock: clock_set_clock:  dst: CLK_ARM, source: PLLB_ARM, div: 1.000000
013644.656: clock: clock_set_clock:  dst: CLK_EMMC, source: PLLC_PER, div: 4.800000
013644.699: clock: Set PLLC_VCO to 2400000000
013644.771: clock: clock_set_clock:  dst: CLK_VPU, source: PLLC_CORE0, div: 3.000000
013644.816: clock: clock_set_clock:  dst: CLK_EMMC, source: PLLC_PER, div: 4.800000
013644.907: clock: clock_set_clock:  dst: CLK_H264, source: PLLA_CORE, div: 3.333333
013644.977: clock: clock_set_clock:  dst: CLK_ISP, source: PLLA_CORE, div: 3.333333
013645.005: clock: Set PLLA_VCO to 2400000000
016023.240: clock: Set PLLB_VCO to 1400000000
016023.304: clock: clock_set_clock:  dst: CLK_ARM, source: PLLB_ARM, div: 1.000000
016023.351: clock: Set PLLC_VCO to 2000000000
016023.430: clock: clock_set_clock:  dst: CLK_VPU, source: PLLC_CORE0, div: 4.000000
016023.487: clock: clock_set_clock:  dst: CLK_EMMC, source: PLLC_PER, div: 4.000000
016023.557: clock: Set PLLA_VCO to 2000000000
016023.666: clock: clock_set_clock:  dst: CLK_H264, source: PLLA_CORE, div: 4.000000
016023.726: clock: clock_set_clock:  dst: CLK_ISP, source: PLLA_CORE, div: 4.000000
016993.744: clock: Set PLLB_VCO to 2000000000
016993.824: clock: clock_set_clock:  dst: CLK_ARM, source: PLLB_ARM, div: 1.000000
016993.910: clock: clock_set_clock:  dst: CLK_EMMC, source: PLLC_PER, div: 4.800000
016993.952: clock: Set PLLC_VCO to 2400000000
016994.023: clock: clock_set_clock:  dst: CLK_VPU, source: PLLC_CORE0, div: 3.000000
016994.066: clock: clock_set_clock:  dst: CLK_EMMC, source: PLLC_PER, div: 4.800000
016994.155: clock: clock_set_clock:  dst: CLK_H264, source: PLLA_CORE, div: 3.333333
016994.227: clock: clock_set_clock:  dst: CLK_ISP, source: PLLA_CORE, div: 3.333333
016994.257: clock: Set PLLA_VCO to 2400000000
042023.370: clock: Set PLLB_VCO to 1400000000
042023.450: clock: clock_set_clock:  dst: CLK_ARM, source: PLLB_ARM, div: 1.000000
042023.495: clock: Set PLLC_VCO to 2000000000
042023.561: clock: clock_set_clock:  dst: CLK_VPU, source: PLLC_CORE0, div: 4.000000
042023.620: clock: clock_set_clock:  dst: CLK_EMMC, source: PLLC_PER, div: 4.000000
042023.692: clock: Set PLLA_VCO to 2000000000
042023.801: clock: clock_set_clock:  dst: CLK_H264, source: PLLA_CORE, div: 4.000000
042023.863: clock: clock_set_clock:  dst: CLK_ISP, source: PLLA_CORE, div: 4.000000
163814.718: clock: Set PLLB_VCO to 2000000000
163814.798: clock: clock_set_clock:  dst: CLK_ARM, source: PLLB_ARM, div: 1.000000
163814.888: clock: clock_set_clock:  dst: CLK_EMMC, source: PLLC_PER, div: 4.800000
163814.931: clock: Set PLLC_VCO to 2400000000
163815.003: clock: clock_set_clock:  dst: CLK_VPU, source: PLLC_CORE0, div: 3.000000
163815.048: clock: clock_set_clock:  dst: CLK_EMMC, source: PLLC_PER, div: 4.800000
163815.141: clock: clock_set_clock:  dst: CLK_H264, source: PLLA_CORE, div: 3.333333
163815.209: clock: clock_set_clock:  dst: CLK_ISP, source: PLLA_CORE, div: 3.333333
163815.238: clock: Set PLLA_VCO to 2400000000
168914.241: clock: Set PLLB_VCO to 1400000000
168914.307: clock: clock_set_clock:  dst: CLK_ARM, source: PLLB_ARM, div: 1.000000
168914.356: clock: Set PLLC_VCO to 2000000000
168914.423: clock: clock_set_clock:  dst: CLK_VPU, source: PLLC_CORE0, div: 4.000000
168914.481: clock: clock_set_clock:  dst: CLK_EMMC, source: PLLC_PER, div: 4.000000
168914.552: clock: Set PLLA_VCO to 2000000000
168914.661: clock: clock_set_clock:  dst: CLK_H264, source: PLLA_CORE, div: 4.000000
168914.722: clock: clock_set_clock:  dst: CLK_ISP, source: PLLA_CORE, div: 4.000000
173644.728: clock: Set PLLB_VCO to 2000000000
173644.808: clock: clock_set_clock:  dst: CLK_ARM, source: PLLB_ARM, div: 1.000000
173644.895: clock: clock_set_clock:  dst: CLK_EMMC, source: PLLC_PER, div: 4.800000
173644.936: clock: Set PLLC_VCO to 2400000000
173645.008: clock: clock_set_clock:  dst: CLK_VPU, source: PLLC_CORE0, div: 3.000000
173645.049: clock: clock_set_clock:  dst: CLK_EMMC, source: PLLC_PER, div: 4.800000
173645.137: clock: clock_set_clock:  dst: CLK_H264, source: PLLA_CORE, div: 3.333333
173645.207: clock: clock_set_clock:  dst: CLK_ISP, source: PLLA_CORE, div: 3.333333
173645.236: clock: Set PLLA_VCO to 2400000000
178724.262: clock: Set PLLB_VCO to 1400000000
178724.328: clock: clock_set_clock:  dst: CLK_ARM, source: PLLB_ARM, div: 1.000000
178724.374: clock: Set PLLC_VCO to 2000000000
178724.441: clock: clock_set_clock:  dst: CLK_VPU, source: PLLC_CORE0, div: 4.000000
178724.499: clock: clock_set_clock:  dst: CLK_EMMC, source: PLLC_PER, div: 4.000000
178724.571: clock: Set PLLA_VCO to 2000000000
178724.679: clock: clock_set_clock:  dst: CLK_H264, source: PLLA_CORE, div: 4.000000
178724.741: clock: clock_set_clock:  dst: CLK_ISP, source: PLLA_CORE, div: 4.000000
252275.282: clock: Set PLLB_VCO to 2000000000
252275.364: clock: clock_set_clock:  dst: CLK_ARM, source: PLLB_ARM, div: 1.000000
252275.452: clock: clock_set_clock:  dst: CLK_EMMC, source: PLLC_PER, div: 4.800000
252275.496: clock: Set PLLC_VCO to 2400000000
252275.566: clock: clock_set_clock:  dst: CLK_VPU, source: PLLC_CORE0, div: 3.000000
252275.611: clock: clock_set_clock:  dst: CLK_EMMC, source: PLLC_PER, div: 4.800000
252275.702: clock: clock_set_clock:  dst: CLK_H264, source: PLLA_CORE, div: 3.333333
252275.773: clock: clock_set_clock:  dst: CLK_ISP, source: PLLA_CORE, div: 3.333333
252275.801: clock: Set PLLA_VCO to 2400000000
257274.767: clock: Set PLLB_VCO to 1400000000
257274.831: clock: clock_set_clock:  dst: CLK_ARM, source: PLLB_ARM, div: 1.000000
257274.877: clock: Set PLLC_VCO to 2000000000
257274.944: clock: clock_set_clock:  dst: CLK_VPU, source: PLLC_CORE0, div: 4.000000
257275.000: clock: clock_set_clock:  dst: CLK_EMMC, source: PLLC_PER, div: 4.000000
257275.070: clock: Set PLLA_VCO to 2000000000
257275.179: clock: clock_set_clock:  dst: CLK_H264, source: PLLA_CORE, div: 4.000000
257275.239: clock: clock_set_clock:  dst: CLK_ISP, source: PLLA_CORE, div: 4.000000
906239.432: clock: Set PLLB_VCO to 2000000000
906239.512: clock: clock_set_clock:  dst: CLK_ARM, source: PLLB_ARM, div: 1.000000
906239.596: clock: clock_set_clock:  dst: CLK_EMMC, source: PLLC_PER, div: 4.800000
906239.636: clock: Set PLLC_VCO to 2400000000
906239.707: clock: clock_set_clock:  dst: CLK_VPU, source: PLLC_CORE0, div: 3.000000
906239.749: clock: clock_set_clock:  dst: CLK_EMMC, source: PLLC_PER, div: 4.800000
906239.836: clock: clock_set_clock:  dst: CLK_H264, source: PLLA_CORE, div: 3.333333
906239.908: clock: clock_set_clock:  dst: CLK_ISP, source: PLLA_CORE, div: 3.333333
906239.939: clock: Set PLLA_VCO to 2400000000
911238.972: clock: Set PLLB_VCO to 1400000000
911239.036: clock: clock_set_clock:  dst: CLK_ARM, source: PLLB_ARM, div: 1.000000
911239.082: clock: Set PLLC_VCO to 2000000000
911239.147: clock: clock_set_clock:  dst: CLK_VPU, source: PLLC_CORE0, div: 4.000000
911239.206: clock: clock_set_clock:  dst: CLK_EMMC, source: PLLC_PER, div: 4.000000
911239.278: clock: Set PLLA_VCO to 2000000000
911239.385: clock: clock_set_clock:  dst: CLK_H264, source: PLLA_CORE, div: 4.000000
911239.447: clock: clock_set_clock:  dst: CLK_ISP, source: PLLA_CORE, div: 4.000000
1050450.773: clock: Set PLLB_VCO to 2000000000
1050450.851: clock: clock_set_clock:  dst: CLK_ARM, source: PLLB_ARM, div: 1.000000
1050450.940: clock: clock_set_clock:  dst: CLK_EMMC, source: PLLC_PER, div: 4.800000
1050450.983: clock: Set PLLC_VCO to 2400000000
1050451.055: clock: clock_set_clock:  dst: CLK_VPU, source: PLLC_CORE0, div: 3.000000
1050451.098: clock: clock_set_clock:  dst: CLK_EMMC, source: PLLC_PER, div: 4.800000
1050451.186: clock: clock_set_clock:  dst: CLK_H264, source: PLLA_CORE, div: 3.333333
1050451.255: clock: clock_set_clock:  dst: CLK_ISP, source: PLLA_CORE, div: 3.333333
1050451.282: clock: Set PLLA_VCO to 2400000000
1055490.302: clock: Set PLLB_VCO to 1400000000
1055490.367: clock: clock_set_clock:  dst: CLK_ARM, source: PLLB_ARM, div: 1.000000
1055490.413: clock: Set PLLC_VCO to 2000000000
1055490.480: clock: clock_set_clock:  dst: CLK_VPU, source: PLLC_CORE0, div: 4.000000
1055490.538: clock: clock_set_clock:  dst: CLK_EMMC, source: PLLC_PER, div: 4.000000
1055490.608: clock: Set PLLA_VCO to 2000000000
1055490.717: clock: clock_set_clock:  dst: CLK_H264, source: PLLA_CORE, div: 4.000000
1055490.778: clock: clock_set_clock:  dst: CLK_ISP, source: PLLA_CORE, div: 4.000000
355661.357: clock: Set PLLB_VCO to 2000000000
355661.438: clock: clock_set_clock:  dst: CLK_ARM, source: PLLB_ARM, div: 1.000000
355661.525: clock: clock_set_clock:  dst: CLK_EMMC, source: PLLC_PER, div: 4.800000
355661.566: clock: Set PLLC_VCO to 2400000000
355661.639: clock: clock_set_clock:  dst: CLK_VPU, source: PLLC_CORE0, div: 3.000000
355661.685: clock: clock_set_clock:  dst: CLK_EMMC, source: PLLC_PER, div: 4.800000
355661.776: clock: clock_set_clock:  dst: CLK_H264, source: PLLA_CORE, div: 3.333333
355661.848: clock: clock_set_clock:  dst: CLK_ISP, source: PLLA_CORE, div: 3.333333
355661.877: clock: Set PLLA_VCO to 2400000000
360657.726: clock: Set PLLB_VCO to 1400000000
360657.791: clock: clock_set_clock:  dst: CLK_ARM, source: PLLB_ARM, div: 1.000000
360657.835: clock: Set PLLC_VCO to 2000000000
360657.902: clock: clock_set_clock:  dst: CLK_VPU, source: PLLC_CORE0, div: 4.000000
360657.960: clock: clock_set_clock:  dst: CLK_EMMC, source: PLLC_PER, div: 4.000000
360658.032: clock: Set PLLA_VCO to 2000000000
360658.140: clock: clock_set_clock:  dst: CLK_H264, source: PLLA_CORE, div: 4.000000
360658.202: clock: clock_set_clock:  dst: CLK_ISP, source: PLLA_CORE, div: 4.000000
1298676.346: clock: Set PLLB_VCO to 2000000000
1298676.426: clock: clock_set_clock:  dst: CLK_ARM, source: PLLB_ARM, div: 1.000000
1298676.513: clock: clock_set_clock:  dst: CLK_EMMC, source: PLLC_PER, div: 4.800000
1298676.555: clock: Set PLLC_VCO to 2400000000
1298676.624: clock: clock_set_clock:  dst: CLK_VPU, source: PLLC_CORE0, div: 3.000000
1298676.666: clock: clock_set_clock:  dst: CLK_EMMC, source: PLLC_PER, div: 4.800000
1298676.767: clock: clock_set_clock:  dst: CLK_H264, source: PLLA_CORE, div: 3.333333
1298676.834: clock: clock_set_clock:  dst: CLK_ISP, source: PLLA_CORE, div: 3.333333
1298676.860: clock: Set PLLA_VCO to 2400000000
pi@raspberrypi:~ $ sudo dtc -I fs /proc/device-tree
Warning (avoid_default_addr_size): Relying on default #address-cells value for /axi/vc_mem
Warning (avoid_default_addr_size): Relying on default #size-cells value for /axi/vc_mem
/dts-v1/;

/ {
  model = "Raspberry Pi Zero Rev 1.2";
  compatible = "brcm,bcm2708";
  memreserve = <0x1c000000 0x4000000>;
  #address-cells = <0x1>;
  #size-cells = <0x1>;
  interrupt-parent = <0x1>;

  axi {

      dma {
          broadcom,channels = <0x7f35>;
      };

      usb {

          hub {

              ethernet {
                  mac-address = [b8 27 eb 91 64 27];
              };
          };
      };

      vc_mem {
          reg = <0x1ec00000 0x20000000 0x40000000>;
      };
  };

  soc {
      compatible = "simple-bus";
      ranges = <0x7e000000 0x20000000 0x1000000>;
      #address-cells = <0x1>;
      phandle = <0x1e>;
      #size-cells = <0x1>;
      linux,phandle = <0x1e>;

      fb {
          compatible = "brcm,bcm2708-fb";
          firmware = <0x10>;
          status = "okay";
          phandle = <0x26>;
          linux,phandle = <0x26>;
      };

      mailbox@7e00b800 {
          reg = <0x7e00b880 0x40>;
          interrupts = <0x0 0x1>;
          compatible = "brcm,bcm2835-mbox";
          #mbox-cells = <0x0>;
          phandle = <0xe>;
          linux,phandle = <0xe>;
      };

      leds {
          compatible = "gpio-leds";
          phandle = <0x25>;
          linux,phandle = <0x25>;

          act {
              gpios = <0xf 0x2f 0x0>;
              label = "led0";
              linux,default-trigger = "mmc0";
              phandle = <0x18>;
              linux,phandle = <0x18>;
          };

          pwr {
              gpios = <0xf 0x23 0x0>;
              label = "led1";
              linux,default-trigger = "input";
              phandle = <0x19>;
              linux,phandle = <0x19>;
          };
      };

      mmc@7e300000 {
          reg = <0x7e300000 0x100>;
          dmas = <0x7 0xb 0x7 0xb>;
          interrupts = <0x2 0x1e>;
          compatible = "brcm,bcm2835-mmc";
          bus-width = <0x4>;
          clocks = <0xc>;
          status = "okay";
          phandle = <0x22>;
          dma-names = "tx", "rx";
          linux,phandle = <0x22>;
      };

      vchiq {
          reg = <0x7e00b840 0xf>;
          interrupts = <0x0 0x2>;
          compatible = "brcm,bcm2835-vchiq";
          cache-line-size = <0x20>;
          firmware = <0x10>;
          phandle = <0x11>;
          linux,phandle = <0x11>;
      };

      thermal {
          compatible = "brcm,bcm2835-thermal";
          firmware = <0x10>;
          phandle = <0x27>;
          linux,phandle = <0x27>;
      };

      firmware {
          compatible = "raspberrypi,bcm2835-firmware";
          mboxes = <0xe>;
          phandle = <0x10>;
          linux,phandle = <0x10>;
      };

      i2c@7e205000 {
          reg = <0x7e205000 0x1000>;
          interrupts = <0x2 0x15>;
          pinctrl-0 = <0x9>;
          compatible = "brcm,bcm2708-i2c";
          clock-frequency = <0x186a0>;
          clocks = <0x6>;
          status = "disabled";
          #address-cells = <0x1>;
          phandle = <0x15>;
          #size-cells = <0x0>;
          pinctrl-names = "default";
          linux,phandle = <0x15>;
      };

      dma@7e007000 {
          reg = <0x7e007000 0xf00>;
          interrupts = <0x1 0x10 0x1 0x11 0x1 0x12 0x1 0x13 0x1 0x14 0x1 0x15 0x1 0x16 0x1 0x17 0x1 0x18 0x1 0x19 0x1 0x1a 0x1 0x1b>;
          brcm,dma-channel-mask = <0xf35>;
          compatible = "brcm,bcm2835-dma";
          #dma-cells = <0x1>;
          phandle = <0x7>;
          linux,phandle = <0x7>;
      };

      usb@7e980000 {
          reg = <0x7e980000 0x10000 0x7e006000 0x1000>;
          interrupts = <0x2 0x0 0x1 0x9>;
          compatible = "brcm,bcm2708-usb";
          phandle = <0x24>;
          linux,phandle = <0x24>;
      };

      i2s@7e203000 {
          reg = <0x7e203000 0x24 0x7e101098 0x8>;
          pinctrl-0 = <0x5>;
          compatible = "brcm,bcm2708-i2s";
          status = "disabled";
          #sound-dai-cells = <0x0>;
          phandle = <0x13>;
          dma-names = "tx", "rx";
          pinctrl-names = "default";
          linux,phandle = <0x13>;
      };

      pwm@7e20c000 {
          reg = <0x7e20c000 0x28>;
          compatible = "brcm,bcm2835-pwm";
          clocks = <0xa>;
          #pwm-cells = <0x2>;
          status = "disabled";
          phandle = <0x20>;
          linux,phandle = <0x20>;
      };

      i2c@7e804000 {
          reg = <0x7e804000 0x1000>;
          interrupts = <0x2 0x15>;
          pinctrl-0 = <0xd>;
          compatible = "brcm,bcm2708-i2c";
          clock-frequency = <0x186a0>;
          clocks = <0x6>;
          status = "okay";
          #address-cells = <0x1>;
          phandle = <0x16>;
          #size-cells = <0x0>;
          pinctrl-names = "default";
          linux,phandle = <0x16>;

          lsm9ds1-magn@1c {
              reg = <0x1c>;
              compatible = "st,lsm9ds1-magn";
              status = "okay";
          };

          hts221-humid@5f {
              reg = <0x5f>;
              compatible = "st,hts221-humid";
              status = "okay";
          };

          rpi-sense@46 {
              reg = <0x46>;
              compatible = "rpi,rpi-sense";
              status = "okay";
              keys-int-gpios = <0xf 0x17 0x1>;
          };

          lps25h-press@5c {
              reg = <0x5c>;
              compatible = "st,lps25h-press";
              status = "okay";
          };

          lsm9ds1-accel6a {
              reg = <0x6a>;
              compatible = "st,lsm9ds1-accel";
              status = "okay";
          };
      };

      i2c@7e805000 {
          reg = <0x7e805000 0x1000>;
          interrupts = <0x2 0x15>;
          compatible = "brcm,bcm2708-i2c";
          clock-frequency = <0x186a0>;
          clocks = <0x6>;
          status = "disabled";
          #address-cells = <0x1>;
          phandle = <0x17>;
          #size-cells = <0x0>;
          linux,phandle = <0x17>;
      };

      cprman@7e101000 {
          reg = <0x7e101000 0x2000>;
          #clock-cells = <0x1>;
          compatible = "brcm,bcm2835-cprman";
          clocks = <0x2>;
          status = "disabled";
          phandle = <0x1f>;
          linux,phandle = <0x1f>;
      };

      gpiomem {
          reg = <0x7e200000 0x1000>;
          compatible = "brcm,bcm2835-gpiomem";
          status = "okay";
      };

      smi@7e600000 {
          reg = <0x7e600000 0x44 0x7e1010b0 0x8>;
          dmas = <0x7 0x4>;
          interrupts = <0x2 0x10>;
          brcm,smi-clock-source = <0x6>;
          compatible = "brcm,bcm2835-smi";
          brcm,smi-clock-divisor = <0x4>;
          status = "disabled";
          phandle = <0x23>;
          dma-names = "rx-tx";
          linux,phandle = <0x23>;
      };

      spi@7e204000 {
          reg = <0x7e204000 0x1000>;
          dmas = <0x7 0x6 0x7 0x7>;
          interrupts = <0x2 0x16>;
          pinctrl-0 = <0x8>;
          compatible = "brcm,bcm2835-spi";
          cs-gpios = <0x0 0x0>;
          clocks = <0x6>;
          status = "disabled";
          #address-cells = <0x1>;
          phandle = <0x14>;
          #size-cells = <0x0>;
          dma-names = "tx", "rx";
          pinctrl-names = "default";
          linux,phandle = <0x14>;

          spidev@0 {
              reg = <0x0>;
              compatible = "spidev";
              spi-max-frequency = <0x7a120>;
              #address-cells = <0x1>;
              #size-cells = <0x0>;
          };

          spidev@1 {
              reg = <0x1>;
              compatible = "spidev";
              spi-max-frequency = <0x7a120>;
              #address-cells = <0x1>;
              #size-cells = <0x0>;
          };
      };

      watchdog@7e100000 {
          reg = <0x7e100000 0x28>;
          compatible = "brcm,bcm2835-pm-wdt";
          status = "disabled";
          phandle = <0x1b>;
          linux,phandle = <0x1b>;
      };

      rng@7e104000 {
          reg = <0x7e104000 0x10>;
          compatible = "brcm,bcm2835-rng";
          status = "okay";
          phandle = <0x1c>;
          linux,phandle = <0x1c>;
      };

      arm-pmu {
          compatible = "arm,arm1176-pmu";
      };

      gpio@7e200000 {
          reg = <0x7e200000 0xb4>;
          interrupts = <0x2 0x11 0x2 0x12>;
          #gpio-cells = <0x2>;
          compatible = "brcm,bcm2835-gpio";
          #interrupt-cells = <0x2>;
          phandle = <0xf>;
          interrupt-controller;
          gpio-controller;
          linux,phandle = <0xf>;

          i2s {
              phandle = <0x5>;
              brcm,function = <0x4>;
              brcm,pins = <0x12 0x13 0x14 0x15>;
              linux,phandle = <0x5>;
          };

          i2c0 {
              phandle = <0x9>;
              brcm,function = <0x4>;
              brcm,pins = <0x0 0x1>;
              linux,phandle = <0x9>;
          };

          i2c1 {
              phandle = <0xd>;
              brcm,function = <0x4>;
              brcm,pins = <0x2 0x3>;
              linux,phandle = <0xd>;
          };

          spi0_pins {
              phandle = <0x8>;
              brcm,function = <0x4>;
              brcm,pins = <0x7 0x8 0x9 0xa 0xb>;
              linux,phandle = <0x8>;
          };
      };

      interrupt-controller {
          reg = <0x7e00b200 0x200>;
          compatible = "brcm,bcm2708-armctrl-ic";
          #interrupt-cells = <0x2>;
          phandle = <0x1>;
          interrupt-controller;
          linux,phandle = <0x1>;
      };

      uart@7e201000 {
          reg = <0x7e201000 0x1000>;
          interrupts = <0x2 0x19>;
          compatible = "arm,pl011", "arm,primecell";
          clock-names = "uartclk", "apb_pclk";
          clocks = <0x3 0x4>;
          status = "okay";
          arm,primecell-periphid = <0x241011>;
          phandle = <0x12>;
          linux,phandle = <0x12>;
      };

      uart@7e215040 {
          reg = <0x7e215040 0x40>;
          interrupts = <0x1 0x1d>;
          reg-shift = <0x2>;
          no-loopback-test;
          compatible = "brcm,bcm2835-aux-uart", "ns16550";
          clocks = <0xb>;
          status = "disabled";
          phandle = <0x21>;
          linux,phandle = <0x21>;
      };
  };

  display {
      broadcom,height = <0x0>;
      broadcom,depth = <0x10>;
      broadcom,width = <0x0>;
  };

  audio {
      compatible = "brcm,bcm2835-audio";
      status = "okay";
      brcm,pwm-channels = <0x8>;
      phandle = <0x1a>;
      linux,phandle = <0x1a>;
  };

  sound {
      phandle = <0x1d>;
      linux,phandle = <0x1d>;
  };

  chosen {
      bootargs = "dma.dmachans=0x7f35 bcm2708_fb.fbwidth=592 bcm2708_fb.fbheight=448 bcm2708.boardrev=0x900092 bcm2708.serial=0xde916427 smsc95xx.macaddr=B8:27:EB:91:64:27 bcm2708_fb.fbswap=1 bcm2708.uart_clock=3000000 bcm2708.disk_led_gpio=47 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait";
  };

  clocks {
      compatible = "simple-bus";
      #address-cells = <0x1>;
      phandle = <0x28>;
      #size-cells = <0x0>;
      linux,phandle = <0x28>;

      clock@0 {
          reg = <0x0>;
          #clock-cells = <0x0>;
          compatible = "fixed-clock";
          clock-frequency = <0x17d78400>;
          clock-output-names = "core";
          phandle = <0x6>;
          linux,phandle = <0x6>;
      };

      clock@1 {
          reg = <0x1>;
          #clock-cells = <0x0>;
          compatible = "fixed-clock";
          clock-frequency = <0xee6b280>;
          clock-output-names = "mmc";
          phandle = <0xc>;
          linux,phandle = <0xc>;
      };

      clock@2 {
          reg = <0x2>;
          #clock-cells = <0x0>;
          compatible = "fixed-clock";
          clock-frequency = <0x2dc6c0>;
          clock-output-names = "uart0_pclk";
          phandle = <0x3>;
          linux,phandle = <0x3>;
      };

      clock@3 {
          reg = <0x3>;
          #clock-cells = <0x0>;
          compatible = "fixed-clock";
          clock-frequency = <0x7829b80>;
          clock-output-names = "apb_pclk";
          phandle = <0x4>;
          linux,phandle = <0x4>;
      };

      clock@4 {
          reg = <0x4>;
          #clock-cells = <0x0>;
          compatible = "fixed-clock";
          clock-frequency = <0x5f5e100>;
          clock-output-names = "pwm";
          phandle = <0xa>;
          linux,phandle = <0xa>;
      };

      clock@5 {
          reg = <0x5>;
          #clock-cells = <0x0>;
          compatible = "fixed-factor-clock";
          clocks = <0x6>;
          clock-div = <0x1>;
          phandle = <0xb>;
          clock-mult = <0x2>;
          linux,phandle = <0xb>;
      };

      clock@6 {
          reg = <0x6>;
          #clock-cells = <0x0>;
          compatible = "fixed-clock";
          clock-frequency = <0x124f800>;
          clock-output-names = "osc";
          phandle = <0x2>;
          linux,phandle = <0x2>;
      };
  };

  memory {
      reg = <0x0 0x1c000000>;
      device_type = "memory";
  };

  system {
      linux,revision = <0x900092>;
      linux,serial = <0x0 0xde916427>;
  };

  __symbols__ {
      fb = "/soc/fb";
      i2c = "/soc/i2c@7e804000";
      i2s = "/soc/i2s@7e203000";
      dma = "/soc/dma@7e007000";
      mmc = "/soc/mmc@7e300000";
      pwm = "/soc/pwm@7e20c000";
      smi = "/soc/smi@7e600000";
      soc = "/soc";
      usb = "/soc/usb@7e980000";
      i2c0 = "/soc/i2c@7e205000";
      i2c1 = "/soc/i2c@7e804000";
      i2c2 = "/soc/i2c@7e805000";
      gpio = "/soc/gpio@7e200000";
      intc = "/soc/interrupt-controller";
      leds = "/soc/leds";
      spi0 = "/soc/spi@7e204000";
      pwr_led = "/soc/leds/pwr";
      i2c_arm = "/soc/i2c@7e804000";
      audio = "/audio";
      sound = "/sound";
      uart0 = "/soc/uart@7e201000";
      uart1 = "/soc/uart@7e215040";
      vchiq = "/soc/vchiq";
      i2s_pins = "/soc/gpio@7e200000/i2s";
      mailbox = "/soc/mailbox@7e00b800";
      thermal = "/soc/thermal";
      clocks = "/clocks";
      firmware = "/soc/firmware";
      cprman = "/soc/cprman@7e101000";
      i2c_vc = "/soc/i2c@7e205000";
      watchdog = "/soc/watchdog@7e100000";
      i2c0_pins = "/soc/gpio@7e200000/i2c0";
      i2c1_pins = "/soc/gpio@7e200000/i2c1";
      act_led = "/soc/leds/act";
      random = "/soc/rng@7e104000";
      spi0_pins = "/soc/gpio@7e200000/spi0_pins";
      clk_apb_p = "/clocks/clock@3";
      clk_uart0 = "/clocks/clock@2";
      clk_uart1 = "/clocks/clock@5";
      clk_core = "/clocks/clock@0";
      clk_mmc = "/clocks/clock@1";
      clk_osc = "/clocks/clock@6";
      clk_pwm = "/clocks/clock@4";
  };

  aliases {
      fb = "/soc/fb";
      i2c = "/soc/i2c@7e804000";
      i2s = "/soc/i2s@7e203000";
      dma = "/soc/dma@7e007000";
      mmc = "/soc/mmc@7e300000";
      soc = "/soc";
      usb = "/soc/usb@7e980000";
      i2c0 = "/soc/i2c@7e205000";
      i2c1 = "/soc/i2c@7e804000";
      i2c2 = "/soc/i2c@7e805000";
      gpio = "/soc/gpio@7e200000";
      intc = "/soc/interrupt-controller";
      leds = "/soc/leds";
      spi0 = "/soc/spi@7e204000";
      i2c_arm = "/soc/i2c@7e804000";
      audio = "/audio";
      sound = "/sound";
      uart0 = "/soc/uart@7e201000";
      uart1 = "/soc/uart@7e215040";
      vchiq = "/soc/vchiq";
      mailbox = "/soc/mailbox@7e00b800";
      thermal = "/soc/thermal";
      clocks = "/clocks";
      i2c_vc = "/soc/i2c@7e205000";
      watchdog = "/soc/watchdog@7e100000";
      random = "/soc/rng@7e104000";
  };

  __overrides__ {
      i2c = [00 00 00 16 73 74 61 74 75 73 00];
      i2s = [00 00 00 13 73 74 61 74 75 73 00];
      spi = [00 00 00 14 73 74 61 74 75 73 00];
      act_led_trigger = [00 00 00 18 6c 69 6e 75 78 2c 64 65 66 61 75 6c 74 2d 74 72 69 67 67 65 72 00];
      i2c0 = [00 00 00 15 73 74 61 74 75 73 00];
      i2c1 = [00 00 00 16 73 74 61 74 75 73 00];
      i2c_arm = [00 00 00 16 73 74 61 74 75 73 00];
      audio = [00 00 00 1a 73 74 61 74 75 73 00];
      uart0 = [00 00 00 12 73 74 61 74 75 73 00];
      i2c2_iknowwhatimdoing = [00 00 00 17 73 74 61 74 75 73 00];
      act_led_activelow = <0x18 0x6770696f 0x733a3800>;
      pwr_led_gpio = <0x19 0x6770696f 0x733a3400>;
      i2c0_baudrate = [00 00 00 15 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
      pwr_led_trigger = [00 00 00 19 6c 69 6e 75 78 2c 64 65 66 61 75 6c 74 2d 74 72 69 67 67 65 72 00];
      i2c_vc_baudrate = [00 00 00 15 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
      uart0_clkrate = [00 00 00 03 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
      i2c_vc = [00 00 00 15 73 74 61 74 75 73 00];
      i2c1_baudrate = [00 00 00 16 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
      i2c_baudrate = [00 00 00 16 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
      watchdog = [00 00 00 1b 73 74 61 74 75 73 00];
      random = [00 00 00 1c 73 74 61 74 75 73 00];
      i2c2_baudrate = [00 00 00 17 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
      core_freq = [00 00 00 06 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
      i2c_arm_baudrate = [00 00 00 16 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
      pwr_led_activelow = <0x19 0x6770696f 0x733a3800>;
      act_led_gpio = <0x18 0x6770696f 0x733a3400>;
      cache_line_size = [00 00 00 11 63 61 63 68 65 2d 6c 69 6e 65 2d 73 69 7a 65 3a 30 00];
  };
};
XECDesign commented 8 years ago

Looks like the overlay is loaded (001336.702: Loaded overlay 'rpi-sense') and the device tree data is good too.

What's the output of dmesg?

AlainGeenrits commented 8 years ago

Silly question, but where would I find the correct image to flash ? Is it on github ?

On 10 Feb 2016, at 22:49, XECDesign notifications@github.com wrote:

@denizozger https://github.com/denizozger , I would recommend recantha's solution (adding dtoverlay=rpi-sense to the bottom of /boot/config.txt). If that fixes it, you can consider flashing the eeprom yourself to make sure it just work without needing to adjust config.txt in the future.

— Reply to this email directly or view it on GitHub https://github.com/RPi-Distro/python-sense-hat/issues/28#issuecomment-182596389.

XECDesign commented 8 years ago

@AlainGeenrits, the data is created when do the first step in the 'writing' section here.

denizozger commented 8 years ago

Output of dmesg:

pi@raspberrypi:~ $ dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.1.17+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #838 Tue Feb 9 12:57:10 GMT 2016
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine model: Raspberry Pi Zero Rev 1.2
[ 0.000000] cma: Reserved 8 MiB at 0x1b400000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 114688
[ 0.000000] free_area_init_node: node 0, pgdat c0833994, node_mem_map db010000
[ 0.000000] Normal zone: 1008 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 114688 pages, LIFO batch:31
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=132768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 113680
[ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=592 bcm2708_fb.fbheight=448 bcm2708.boardrev=0x900092 bcm2708.serial=0xde916427 smsc95xx.macaddr=B8:27:EB:91:64:27 bcm2708_fb.fbswap=1 bcm2708.uart_clock=3000000 bcm2708.disk_led_gpio=47 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 436860K/458752K available (5771K kernel code, 488K rwdata, 1788K rodata, 348K init, 720K bss, 13700K reserved, 8192K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xdc800000 - 0xff000000 ( 552 MB)
lowmem : 0xc0000000 - 0xdc000000 ( 448 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc076a0cc (7561 kB)
.init : 0xc076b000 - 0xc07c2000 ( 348 kB)
.data : 0xc07c2000 - 0xc083c278 ( 489 kB)
.bss : 0xc083c278 - 0xc08f03e0 ( 721 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:522
[ 0.000000] clocksource stc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[ 0.000013] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[ 0.000053] Switching to timer-based delay loop, resolution 1000ns
[ 0.000334] Console: colour dummy device 80x30
[ 0.001268] console [tty1] enabled
[ 0.001324] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[ 0.001403] pid_max: default: 32768 minimum: 301
[ 0.001767] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001833] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.002882] Initializing cgroup subsys blkio
[ 0.002969] Initializing cgroup subsys memory
[ 0.003032] Initializing cgroup subsys devices
[ 0.003091] Initializing cgroup subsys freezer
[ 0.003146] Initializing cgroup subsys net_cls
[ 0.003254] CPU: Testing write buffer coherency: ok
[ 0.003368] ftrace: allocating 19733 entries in 58 pages
[ 0.105896] Setting up static identity map for 0x81c0 - 0x81f8
[ 0.108018] devtmpfs: initialized
[ 0.118752] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[ 0.119214] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.121144] pinctrl core: initialized pinctrl subsystem
[ 0.122054] NET: Registered protocol family 16
[ 0.127646] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[ 0.129197] bcm2708.uart_clock = 3000000
[ 0.134250] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[ 0.134325] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.134532] Serial: AMBA PL011 UART driver
[ 0.134837] 20201000.uart: ttyAMA0 at MMIO 0x20201000 (irq = 83, base_baud = 0) is a PL011 rev2
[ 0.511591] console [ttyAMA0] enabled
[ 0.515978] bcm2835-mbox 2000b880.mailbox: mailbox enabled
[ 0.561559] bcm2708-dmaengine 20007000.dma: DMA legacy API manager at f2007000, dmachans=0xf35
[ 0.570406] bcm2708-dmaengine 20007000.dma: Initialized 7 DMA channels (+ 1 legacy)
[ 0.578900] bcm2708-dmaengine 20007000.dma: Load BCM2835 DMA engine driver
[ 0.585872] bcm2708-dmaengine 20007000.dma: dma_debug:0
[ 0.591957] SCSI subsystem initialized
[ 0.596147] usbcore: registered new interface driver usbfs
[ 0.601834] usbcore: registered new interface driver hub
[ 0.607402] usbcore: registered new device driver usb
[ 0.613376] raspberrypi-firmware soc:firmware: Attached to firmware from 2016-02-09 19:35
[ 0.649177] Switched to clocksource stc
[ 0.698469] FS-Cache: Loaded
[ 0.701880] CacheFiles: Loaded
[ 0.720101] NET: Registered protocol family 2
[ 0.725945] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.733217] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.739799] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.746394] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.752350] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.759017] NET: Registered protocol family 1
[ 0.764056] RPC: Registered named UNIX socket transport module.
[ 0.770104] RPC: Registered udp transport module.
[ 0.774838] RPC: Registered tcp transport module.
[ 0.779603] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.787381] hw perfevents: enabled with armv6_1176 PMU driver, 3 counters available
[ 0.796515] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.818675] VFS: Disk quotas dquot_6.6.0
[ 0.823209] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.832799] FS-Cache: Netfs 'nfs' registered for caching
[ 0.839553] NFS: Registering the id_resolver key type
[ 0.844729] Key type id_resolver registered
[ 0.848941] Key type id_legacy registered
[ 0.856718] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.864721] io scheduler noop registered
[ 0.868714] io scheduler deadline registered (default)
[ 0.874396] io scheduler cfq registered
[ 0.880762] BCM2708FB: allocated DMA memory 5b800000
[ 0.885843] BCM2708FB: allocated DMA channel 0 @ f2007000
[ 0.896313] Console: switching to colour frame buffer device 74x28
[ 0.907692] Serial: 8250/16550 driver, 0 ports, IRQ sharing disabled
[ 0.917565] vc-cma: Videocore CMA driver
[ 0.923369] vc-cma: vc_cma_base = 0x00000000
[ 0.929839] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
[ 0.936979] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
[ 0.944454] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[ 0.975206] brd: module loaded
[ 0.989014] loop: module loaded
[ 0.995044] vchiq: vchiq_init_state: slot_zero = 0xdb880000, is_master = 0
[ 1.007190] Loading iSCSI transport class v2.0-870.
[ 1.015394] usbcore: registered new interface driver smsc95xx
[ 1.023111] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.230908] Core Release: 2.80a
[ 1.235754] Setting default values for core params
[ 1.242241] Finished setting default values for core params
[ 1.449779] Using Buffer DMA mode
[ 1.454782] Periodic Transfer Interrupt Enhancement - disabled
[ 1.462339] Multiprocessor Interrupt Enhancement - disabled
[ 1.469653] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 1.475778] Dedicated Tx FIFOs mode
[ 1.481499] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xdb814000 dma = 0x5b814000 len=9024
[ 1.494868] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
[ 1.518477] dwc_otg: Microframe scheduler enabled
[ 1.518604] WARN::hcd_init_fiq:412: FIQ on core 0 at 0xc03d7f70
[ 1.526293] WARN::hcd_init_fiq:413: FIQ ASM at 0xc03d8248 length 36
[ 1.534303] WARN::hcd_init_fiq:438: MPHI regs_base at 0xdc896000
[ 1.542173] dwc_otg 20980000.usb: DWC OTG Controller
[ 1.548957] dwc_otg 20980000.usb: new USB bus registered, assigned bus number 1
[ 1.559725] dwc_otg 20980000.usb: irq 32, io mem 0x00000000
[ 1.567086] Init: Port Power? op_state=1
[ 1.572757] Init: Power Port (0)
[ 1.577998] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.588239] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.598972] usb usb1: Product: DWC OTG Controller
[ 1.605515] usb usb1: Manufacturer: Linux 4.1.17+ dwc_otg_hcd
[ 1.613094] usb usb1: SerialNumber: 20980000.usb
[ 1.620598] hub 1-0:1.0: USB hub found
[ 1.626248] hub 1-0:1.0: 1 port detected
[ 1.632574] dwc_otg: FIQ enabled
[ 1.632596] dwc_otg: NAK holdoff enabled
[ 1.632607] dwc_otg: FIQ split-transaction FSM enabled
[ 1.632663] Module dwc_common_port init
[ 1.633196] usbcore: registered new interface driver usb-storage
[ 1.641522] mousedev: PS/2 mouse device common for all mice
[ 1.650052] bcm2835-cpufreq: min=700000 max=1000000
[ 1.657175] sdhci: Secure Digital Host Controller Interface driver
[ 1.665270] sdhci: Copyright(c) Pierre Ossman
[ 1.672066] mmc-bcm2835 20300000.mmc: mmc_debug:0 mmc_debug2:0
[ 1.679880] mmc-bcm2835 20300000.mmc: DMA channels allocated
[ 1.719611] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.727894] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.738609] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.751715] usbcore: registered new interface driver usbhid
[ 1.759120] usbhid: USB HID core driver
[ 1.768605] Initializing XFRM netlink socket
[ 1.776943] NET: Registered protocol family 17
[ 1.785542] Key type dns_resolver registered
[ 1.796989] registered taskstats version 1
[ 1.803455] vc-sm: Videocore shared memory driver
[ 1.809899] [vc_sm_connected_init]: start
[ 1.816425] [vc_sm_connected_init]: end - returning 0
[ 1.825342] Waiting for root device /dev/mmcblk0p7...
[ 1.832596] Indeed it is in host mode hprt0 = 00021501
[ 1.907649] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.922708] mmc0: new high speed SDHC card at address aaaa
[ 1.930830] mmcblk0: mmc0:aaaa SL08G 7.40 GiB
[ 1.941264] mmcblk0: p1 p2 < p5 p6 p7 >
[ 2.019266] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.028076] Indeed it is in host mode hprt0 = 00001101
[ 2.111324] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
[ 2.123189] VFS: Mounted root (ext4 filesystem) readonly on device 179:7.
[ 2.144293] devtmpfs: mounted
[ 2.150585] Freeing unused kernel memory: 348K (c076b000 - c07c2000)
[ 2.232982] usb 1-1: New USB device found, idVendor=0a5c, idProduct=bd1e
[ 2.243639] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.254703] usb 1-1: Product: BCMUSB 802.11 Wireless Adapter
[ 2.262444] usb 1-1: Manufacturer: Broadcom
[ 2.268654] usb 1-1: SerialNumber: 43143
[ 2.615026] random: systemd urandom read with 82 bits of entropy available
[ 2.633759] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[ 2.654100] systemd[1]: Detected architecture 'arm'.
[ 2.860686] NET: Registered protocol family 10
[ 2.869606] systemd[1]: Inserted module 'ipv6'
[ 2.880891] systemd[1]: Set hostname to .
[ 2.995955] random: nonblocking pool is initialized
[ 3.063354] uart-pl011 20201000.uart: no DMA platform data
[ 3.613852] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 3.626412] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 3.638225] systemd[1]: Expecting device dev-ttyAMA0.device...
[ 3.649281] systemd[1]: Starting Remote File Systems (Pre).
[ 3.659838] systemd[1]: Reached target Remote File Systems (Pre).
[ 3.668268] systemd[1]: Starting Encrypted Volumes.
[ 3.678025] systemd[1]: Reached target Encrypted Volumes.
[ 3.685867] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[ 3.702373] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 3.716110] systemd[1]: Starting Swap.
[ 3.724826] systemd[1]: Reached target Swap.
[ 3.731478] systemd[1]: Expecting device dev-mmcblk0p6.device...
[ 3.742469] systemd[1]: Starting Root Slice.
[ 3.751856] systemd[1]: Created slice Root Slice.
[ 3.758763] systemd[1]: Starting User and Session Slice.
[ 3.769340] systemd[1]: Created slice User and Session Slice.
[ 3.777261] systemd[1]: Starting Delayed Shutdown Socket.
[ 3.787628] systemd[1]: Listening on Delayed Shutdown Socket.
[ 3.795586] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[ 3.807315] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 3.818393] systemd[1]: Starting Journal Socket (/dev/log).
[ 3.829277] systemd[1]: Listening on Journal Socket (/dev/log).
[ 3.837458] systemd[1]: Starting udev Control Socket.
[ 3.847542] systemd[1]: Listening on udev Control Socket.
[ 3.855266] systemd[1]: Starting udev Kernel Socket.
[ 3.865194] systemd[1]: Listening on udev Kernel Socket.
[ 3.872798] systemd[1]: Starting Journal Socket.
[ 3.882550] systemd[1]: Listening on Journal Socket.
[ 3.890023] systemd[1]: Starting System Slice.
[ 3.899668] systemd[1]: Created slice System Slice.
[ 3.906852] systemd[1]: Starting File System Check on Root Device...
[ 3.922933] systemd[1]: Starting system-systemd\x2dfsck.slice.
[ 3.944621] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 3.956930] systemd[1]: Starting system-autologin.slice.
[ 3.980575] systemd[1]: Created slice system-autologin.slice.
[ 3.988447] systemd[1]: Starting system-serial\x2dgetty.slice.
[ 4.000847] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 4.010429] systemd[1]: Starting Increase datagram queue length...
[ 4.032686] systemd[1]: Starting Restore / save the current clock...
[ 4.090372] systemd[1]: Mounting Debug File System...
[ 4.142139] systemd[1]: Mounted Huge Pages File System.
[ 4.175280] systemd[1]: Mounting POSIX Message Queue File System...
[ 4.301204] systemd[1]: Started Set Up Additional Binary Formats.
[ 4.372979] systemd[1]: Starting Load Kernel Modules...
[ 4.413128] systemd[1]: Starting udev Coldplug all Devices...
[ 4.464323] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[ 4.511920] fuse init (API version 7.23)
[ 4.524630] systemd[1]: Starting Slices.
[ 4.562524] systemd[1]: Reached target Slices.
[ 4.590897] i2c /dev entries driver
[ 4.632747] systemd[1]: Mounted POSIX Message Queue File System.
[ 4.663208] systemd[1]: Mounted Debug File System.
[ 4.687320] systemd[1]: Started File System Check on Root Device.
[ 4.729132] systemd[1]: Started Increase datagram queue length.
[ 4.743474] systemd[1]: Started Restore / save the current clock.
[ 4.760517] systemd[1]: Started Load Kernel Modules.
[ 4.789662] systemd[1]: Started Create list of required static device nodes for the current kernel.
[ 4.840393] systemd[1]: Time has been changed
[ 5.010455] systemd[1]: Started udev Coldplug all Devices.
[ 5.235636] systemd[1]: Starting Create Static Device Nodes in /dev...
[ 5.253207] systemd[1]: Mounting FUSE Control File System...
[ 5.290847] systemd[1]: Starting Apply Kernel Variables...
[ 5.358814] systemd[1]: Mounting Configuration File System...
[ 5.421958] systemd[1]: Starting Syslog Socket.
[ 5.451338] systemd[1]: Listening on Syslog Socket.
[ 5.477761] systemd[1]: Starting Journal Service...
[ 5.512222] systemd[1]: Started Journal Service.
[ 5.863240] systemd-udevd[91]: starting version 215
[ 8.688290] bcm2835-rng 20104000.rng: hwrng registered
[ 8.800990] EXT4-fs (mmcblk0p7): re-mounted. Opts: (null)
[ 9.824975] cfg80211: Calling CRDA to update world regulatory domain
[ 9.894874] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr 3 2014 04:43:32 version 6.10.198.66 (r467479) FWID 01-32bd010e
[ 9.927229] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[ 9.934598] usbcore: registered new interface driver brcmfmac
[ 11.681883] systemd-journald[90]: Received request to flush runtime journal from PID 1
[ 12.380880] gpiomem-bcm2835 20200000.gpiomem: Initialised: Registers at 0x20200000
[ 12.387673] bcm2708_i2c 20804000.i2c: BSC1 Controller at 0x20804000 (irq 79) (baudrate 100000)
[ 12.853490] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[ 12.853527] cfg80211: World regulatory domain updated:
[ 12.853538] cfg80211: DFS Master region: unset
[ 12.853547] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 12.853563] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 12.853576] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 12.853603] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 12.853616] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 12.853629] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 12.853640] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 12.853651] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 12.853661] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 13.863789] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[ 13.863818] brcmfmac: brcmf_add_if: ignore IF event
[ 14.979484] cfg80211: Calling CRDA for country: GB
[ 15.067511] cfg80211: Regulatory domain changed to country: GB
[ 15.067560] cfg80211: DFS Master region: ETSI
[ 15.067570] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 15.067585] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 15.067599] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 15.067611] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 15.067623] cfg80211: (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s)
[ 15.067648] cfg80211: (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[ 18.165362] Adding 102396k swap on /var/swap. Priority:-1 extents:2 across:839676k SSFS
[ 34.701889] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
XECDesign commented 8 years ago

Strange... doesn't look like it's trying to load the module. Could you install i2c-tools and provide the output of i2cdetect -y 1 and lsmod?

denizozger commented 8 years ago

Output is below, hope this helps:

pi@raspberrypi:~ $ i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
pi@raspberrypi:~ $ lsmod
Module                  Size  Used by
rpisense_core           3307  0
brcmfmac              192661  0
brcmutil                8845  1 brcmfmac
cfg80211              477515  1 brcmfmac
rfkill                 21439  2 cfg80211
i2c_bcm2708             6068  0
bcm2835_rng             2215  0
bcm2835_gpiomem         3703  0
snd_bcm2835            22317  3
snd_pcm                92397  1 snd_bcm2835
snd_timer              21932  1 snd_pcm
snd                    66988  9 snd_bcm2835,snd_timer,snd_pcm
uio_pdrv_genirq         3550  0
uio                    10002  1 uio_pdrv_genirq
i2c_dev                 6406  0
fuse                   85816  3
ipv6                  354610  28
XECDesign commented 8 years ago

That looks like it's not attached correctly or something is fried. If you can confirm other i2c devices work, you should get a replacement.

denizozger commented 8 years ago

Thanks a lot @XECDesign, I'll ask for a replacement. It should be attached correctly as during Pi startup, I see all LEDs lit momentarily.

denizozger commented 8 years ago

I'm not sure what fixed it but: I attached the SenseHAT in a different way (didn't/don't know it can be wrong) and updated the firmware as described here: https://www.reddit.com/r/raspberry_pi/comments/3yg0rz/sense_hat_and_jessie/cyvvm8g, and now it works :)

AlainGeenrits commented 8 years ago

I got the eeprom data, but when I try to flash, I get following error. Any idea ? I thought rpe-update was not used anymore.

sudo ./eepflash.sh -f=sense.eep -t=24c32 -w This will disable the camera so you will need to REBOOT after this process completes. This will attempt to write to i2c address 0x50. Make sure there is an eeprom at this address. This script comes with ABSOLUTELY no warranty. Continue only if you know what you are doing. Do you wish to continue? (yes/no): yes modprobe: ERROR: ../libkmod/libkmod.c:557 kmod_search_moddep() could not open moddep file '/lib/modules/4.1.13-v7+/modules.dep.bin' Modprobe of i2c-bcm2708 failed. Do an rpi-update.

On Thu, Feb 11, 2016 at 11:18 AM, XECDesign notifications@github.com wrote:

@AlainGeenrits https://github.com/AlainGeenrits, the data is created when do the first step in the 'writing' section here https://github.com/raspberrypi/documentation/blob/master/hardware/sense-hat/README.md#eeprom-data .

— Reply to this email directly or view it on GitHub https://github.com/RPi-Distro/python-sense-hat/issues/28#issuecomment-182792391 .

See you on the bitstream, Alain

Alain Geenrits - alain@geenrits.net twitter: alaingeenrits blog: http://bitstream.geenrits.net

XECDesign commented 8 years ago

@AlainGeenrits Apologies for the very late reply. Haven't seen this happen, but perhaps running sudo depmod will work? Seems like there's a problem with your /lib/modules/4.1.13-v7+/modules.dep.bin

AlainGeenrits commented 8 years ago

Hi Serge,

No problem, I am glad with your help. I am a bit in the dark here... Let me know if I have too much questions and you cannot support me here.

I want to make sure there is nothing wrong with the hat. In two weeks I will take it with me to the polar circle in Lapland on an aurora hunt. I want to test if I can detect changes in the magnetic field indicating aurora activity...

I now get a timeout on the write every time... Ran all recent upgrades...

sudo ./eepflash.sh -f=sense.eep -t=24c32 -w This will disable the camera so you will need to REBOOT after this process completes. This will attempt to write to i2c address 0x50. Make sure there is an eeprom at this address. This script comes with ABSOLUTELY no warranty. Continue only if you know what you are doing. Do you wish to continue? (yes/no): yes Writing... dd: writing to ‘/sys/class/i2c-adapter/i2c-0/0-0050/eeprom’: Connection timed out 1+0 records in 0+0 records out 0 bytes (0 B) copied, 0.0609188 s, 0.0 kB/s Error doing I/O operation.

Alain

On 1 Mar 2016 14:08 +0100, XECDesignnotifications@github.com, wrote:

@AlainGeenrits(https://github.com/AlainGeenrits)Apologies for the very late reply. Haven't seen this happen, but perhaps runningsudo depmodwill work? Seems like there's a problem with your/lib/modules/4.1.13-v7+/modules.dep.bin

— Reply to this email directly orview it on GitHub(https://github.com/RPi-Distro/python-sense-hat/issues/28#issuecomment-190716802).

XECDesign commented 8 years ago

@AlainGeenrits Hmm, I haven't seen that one before. Might be possible that it wasn't programmed properly at the factory because there's a hardware fault and that slipped QC. Hard to tell from here. If I had the board here, I'd start looking at the I2C signals and seeing what's going on, then trying to talk to the chip myself.

The depmod issue earlier was most likely cause by upgrading the kernel and not rebooting. That would result in that exact error.

The aurora hunt trip sounds great, best of luck!

asamite commented 8 years ago

I was having the same issue with it not finding the hat. When I booted all the LEDs lit up and stayed lit. I finally unplugged and reseated the hat straighter on the GPIOs (this is there using standoffs would have been best) and then I booted back up. Once that was done the LEDs came on for a moment and then went back off. This time my code worked fine. I don't know about your particular situation, but it might be as easy as that. Mine was on fully but just angled a slight bit and that was Enough.

denizozger commented 8 years ago

My experience is similar to @asamite too, I'm pretty much certain that the lack of connectivity was the cause of this issue. It's quite sensitive and hard to make sure contact is maintained.

soulfly commented 8 years ago

Had the same issue

update raspi-config and enable i2c did the trick

bennuttall commented 8 years ago

Closed with #6

faridskyman commented 7 years ago

@asamite comment really helps, thanks that was my issue, seems hat rather sensitive, got to press it in and ensure all point are correctly attached. after a few re-tries, it started to work, i could finally run python program... thx

jd-shah commented 5 years ago

Try adding dtoverlay=rpi-sense to the bottom of /boot/config.txt That worked for me.

Yes this worked for me too. Just for newbies like me, reboot after this to see the results.

waheedi commented 4 years ago

I'm not sure what fixed it but: I attached the SenseHAT in a different way (didn't/don't know it can be wrong) and updated the firmware as described here: https://www.reddit.com/r/raspberry_pi/comments/3yg0rz/sense_hat_and_jessie/cyvvm8g, and now it works :)

I had the same problem i guess, just flipped the way i connected it :D