LattePanda wrote: ↑Wed Aug 01, 2018 6:36 amAbout the I2C sample support, what kind of common accessories will you interest in connecting with LattePanda via these pins!?Hi @Lattepanda
Code: Select all
lattepanda@lp1:~$ sudo su [sudo] password for lattepanda: root@lp1:/home/lattepanda# 2. Run ip link and write down the Ethernet adapter address in the format enx???????????? (in my case, it was enx00e04c364374)Code: Select all
root@lp1:/home/lattepanda# ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: enx00e04c364374: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether 00:e0:4c:36:43:74 brd ff:ff:ff:ff:ff:ff 3. Edit /etc/network/interfaces with your favourite text editor (hopefully vi) and add a new stanza (replacing your adapter name)Code: Select all
auto enx00e04c364374 iface enx00e04c364374 inet dhcp mtu 8192 (Edit: I removed allow-hotplug and added the mtu value as the interface was intermittently dropping connections)Code: Select all
... [ 3.035175] fb: switching to inteldrmfb from EFI VGA [ 3.037407] Console: switching to colour dummy device 80x25 [ 3.037607] [drm] Replacing VGA console driver [ 3.038117] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 3.038128] [drm] Driver supports precise vblank timestamp query. [ 3.038223] [drm:intel_parse_bios [i915]] *ERROR* Unable to parse MIPI Sequence Block v3+ ... [ 3.114638] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem [ 3.116018] [drm:pwm_setup_backlight [i915]] *ERROR* Failed to own the pwm chip And then whenever the console blanks or is woken up:Code: Select all
[ 3.126296] ------------[ cut here ]------------ [ 3.126396] WARNING: CPU: 3 PID: 144 at /build/linux-W6HB68/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:690 chv_calc_dpll_params+0x9c/0xc0 [i915]() [ 3.126412] WARN_ON(clock->n == 0 || clock->p == 0) [ 3.126417] Modules linked in: [ 3.126425] mmc_block crct10dif_pclmul crc32_pclmul ghash_clmulni_intel i915(+) aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm sdhci_pci fjes video i2c_hid hid sdhci_acpi sdhci pinctrl_cherryview [ 3.126502] CPU: 3 PID: 144 Comm: systemd-udevd Not tainted 4.4.0-62-generic #83-Ubuntu [ 3.126517] Hardware name: To be filled by O.E.M. To be filled by O.E.M./Cherry Trail CR, BIOS S70C_001 03/17/2016 [ 3.126532] 0000000000000286 00000000aa88cdab ffff88017649b650 ffffffff813f7c63 [ 3.126548] ffff88017649b698 ffffffffc02e1ab8 ffff88017649b688 ffffffff810812d2 [ 3.126564] ffff880176953c00 0000000000000000 ffff880035620000 0000000000000000 [ 3.126580] Call Trace: [ 3.126595] [<ffffffff813f7c63>] dump_stack+0x63/0x90 [ 3.126609] [<ffffffff810812d2>] warn_slowpath_common+0x82/0xc0 [ 3.126619] [<ffffffff8108136c>] warn_slowpath_fmt+0x5c/0x80 [ 3.126688] [<ffffffffc0275b5c>] chv_calc_dpll_params+0x9c/0xc0 [i915] [ 3.126756] [<ffffffffc02763c4>] i9xx_get_pipe_config+0x654/0x690 [i915] [ 3.126825] [<ffffffffc028386a>] intel_modeset_setup_hw_state+0xba/0xe80 [i915] [ 3.126897] [<ffffffffc0286085>] intel_modeset_init+0x935/0x1200 [i915] [ 3.126967] [<ffffffffc02bf060>] i915_driver_load+0xaf0/0xf30 [i915] [ 3.126980] [<ffffffff8175e227>] ? netlink_broadcast_filtered+0x137/0x3d0 [ 3.126992] [<ffffffff813fb120>] ? cleanup_uevent_env+0x10/0x10 [ 3.127003] [<ffffffff813fb4cb>] ? kobject_uevent_env+0x15b/0x640 [ 3.127014] [<ffffffff815561d7>] ? get_device+0x17/0x20 [ 3.127025] [<ffffffff8155c4e5>] ? klist_class_dev_get+0x15/0x20 [ 3.127037] [<ffffffff8182b5d7>] ? klist_node_init+0x37/0x50 [ 3.127048] [<ffffffff8182b660>] ? klist_add_tail+0x20/0x50 [ 3.127058] [<ffffffff81557e5b>] ? device_add+0x15b/0x650 [ 3.127098] [<ffffffffc00a83d7>] drm_dev_register+0xa7/0xb0 [drm] [ 3.127132] [<ffffffffc00aaa0d>] drm_get_pci_dev+0x8d/0x1e0 [drm] [ 3.127192] [<ffffffffc02031e4>] i915_pci_probe+0x34/0x50 [i915] [ 3.127204] [<ffffffff81448385>] local_pci_probe+0x45/0xa0 [ 3.127215] [<ffffffff814497c3>] pci_device_probe+0x103/0x150 [ 3.127227] [<ffffffff8155b5f2>] driver_probe_device+0x222/0x4a0 [ 3.127237] [<ffffffff8155b8f4>] __driver_attach+0x84/0x90 [ 3.127248] [<ffffffff8155b870>] ? driver_probe_device+0x4a0/0x4a0 [ 3.127259] [<ffffffff8155921c>] bus_for_each_dev+0x6c/0xc0 [ 3.127269] [<ffffffff8155adae>] driver_attach+0x1e/0x20 [ 3.127280] [<ffffffff8155a8eb>] bus_add_driver+0x1eb/0x280 [ 3.127291] [<ffffffff8155c200>] driver_register+0x60/0xe0 [ 3.127301] [<ffffffff81447cac>] __pci_register_driver+0x4c/0x50 [ 3.127335] [<ffffffffc00aac40>] drm_pci_init+0xe0/0x110 [drm] [ 3.127345] [<ffffffffc032b000>] ? 0xffffffffc032b000 [ 3.127403] [<ffffffffc032b092>] i915_init+0x92/0x99 [i915] [ 3.127415] [<ffffffff81002123>] do_one_initcall+0xb3/0x200 [ 3.127427] [<ffffffff811ecd9f>] ? kmem_cache_alloc_trace+0x19f/0x1f0 [ 3.127440] [<ffffffff8118d993>] do_init_module+0x5f/0x1cf [ 3.127452] [<ffffffff8110a93f>] load_module+0x166f/0x1c10 [ 3.127462] [<ffffffff81106ee0>] ? __symbol_put+0x60/0x60 [ 3.127474] [<ffffffff81214940>] ? kernel_read+0x50/0x80 [ 3.127486] [<ffffffff8110b124>] SYSC_finit_module+0xb4/0xe0 [ 3.127496] [<ffffffff8110b16e>] SyS_finit_module+0xe/0x10 [ 3.127508] [<ffffffff818385f2>] entry_SYSCALL_64_fastpath+0x16/0x71 [ 3.127518] ---[ end trace a515f105a3fe3415 ]--- This appears to not affect the unit, just that the LCD doesn't power off the backlight when the console blanks. I imagine disabling console blanking will make this error go away in the short term.attachments: