Jump to content

arjepsen

Members
  • Posts

    31
  • Joined

  • Last visited

Everything posted by arjepsen

  1. Im having a similar issue: getting this error - I used the most recent image (Armbian_22.11.1_Nanopineoplus2_bullseye_current_5.15.80), flashed it using balena etcher, and gets the following on booting: [ OK ] Finished OpenVPN service. [ OK ] Started /etc/rc.local Compatibility. Starting Hostname Service... [ OK ] Finished Permit User Sessions. Starting Hold until boot process finishes up... Starting Terminate Plymouth Boot Screen... [ 15.679114] Internal error: Oops: 96000004 [#1] SMP [ 15.684010] Modules linked in: lz4hc lz4 brcmfmac brcmutil cfg80211 zram sunxi_cedrus(C) rfkill sun8i_mbus videobuf2_dma_contig v4l2_mem2mem videobuf2_memops videobuf2_v4l2 videobuf2_common videodev mc cpufreq_dt g_serial libcomposite fuse sunrpc realtek dwmac_sun8i mdio_mux [ 15.708370] CPU: 2 PID: 575 Comm: systemd-journal Tainted: G C 5.15.80-sunxi64 #22.11.1 [ 15.717664] Hardware name: FriendlyARM NanoPi NEO Plus2 (DT) [ 15.723314] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 15.730266] pc : update_min_vruntime+0x20/0x60 [ 15.734716] lr : update_curr+0x68/0x158 [ 15.738547] sp : ffff80000a40b870 [ 15.741855] x29: ffff80000a40b870 x28: 0000000000000008 x27: 0000000000000000 [ 15.748983] x26: 0000000000000000 x25: 0000000000000002 x24: 0000000000000000 [ 15.756111] x23: 0000000000000001 x22: ffff00003fd8ce80 x21: 00000000000881bc [ 15.763239] x20: ffff00003fd8cf00 x19: ffff000004e3c540 x18: 0000000000000000 [ 15.770367] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 [ 15.777495] x14: 0000000000000003 x13: 0000000000000000 x12: 0000000000000002 [ 15.784623] x11: 0000000000000003 x10: 0000000000000002 x9 : 000000000001d400 [ 15.791750] x8 : 000000000001d400 x7 : 0000000000000917 x6 : 000000000fe98ef1 [ 15.798878] x5 : 00ffffffffffffff x4 : 0000000000000001 x3 : f7ff000001890090 [ 15.806006] x2 : 000000086be3ec16 x1 : 000000086c5738d9 x0 : ffff00003fd8cf00 [ 15.813135] Call trace: [ 15.815577] update_min_vruntime+0x20/0x60 [ 15.819669] dequeue_entity+0x24/0x268 [ 15.823414] dequeue_task_fair+0x8c/0x290 [ 15.827419] deactivate_task+0x64/0x90 [ 15.831162] load_balance+0x3bc/0x9d0 [ 15.834821] newidle_balance.isra.149+0x2a0/0x410 [ 15.839519] pick_next_task_fair+0x4c/0x300 [ 15.843697] __schedule+0xf4/0x640 [ 15.847097] schedule+0x58/0xc8 [ 15.850234] schedule_hrtimeout_range_clock+0x104/0x118 [ 15.855454] schedule_hrtimeout_range+0x14/0x20 [ 15.859979] do_epoll_wait+0x604/0x770 [ 15.863725] do_compat_epoll_pwait.part.38+0x14/0x98 [ 15.868683] __arm64_sys_epoll_pwait+0x78/0xc8 [ 15.873121] invoke_syscall+0x44/0x108 [ 15.876867] el0_svc_common.constprop.3+0x84/0xf8 [ 15.881565] do_el0_svc+0x24/0x88 [ 15.884875] el0_svc+0x20/0x50 [ 15.887926] el0t_64_sync_handler+0x90/0xb8 [ 15.892103] el0t_64_sync+0x180/0x184 [ 15.895766] Code: b9403844 34000184 f9402842 b4000083 (f9402063) [ 15.901851] ---[ end trace 5adba06e7db4ed24 ]--- I'm using a powered usb hub to power the board (voltage reads stably 5.2V), so I don't think the issue is lack of electrical power. I have a second neo plus two, and it's the same problem.
  2. Hey. I'm trying to install Home Assistant through "softy" in the armbian-config tool on my nanopi neo plus 2. The process seems like it goes through, but I can't connect to the interface (ip-address:8123). Would someone be able to point me to the script that softy uses for this installation, so I can try to do the steps manually? (I wish to install with Home Assistant with "supervision", and haven't been able to do it with their guides, so now I'm trying throuhg armbian-config). Regards Anders
  3. Hey. I'm working on an olimex A13-SOM board that is connected to some pcb board, that has a 4.3" lcd with capacitive touch panel connected to it. After a looong while, I've finaly managed to get the touch panel to work. Hooray. The display itself actually worked right away without me having to do anything...... well... almost. The display is initially off, so I have to run the 3 following commands, to turn it on: echo 35 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio35/direction echo 5 > /sys/class/gpio/gpio35/value After that the display works just fine. (so basicly I enable the PB3 pin, change it's direction to out, and set it's value to 5 - this is the backlight level - it takes values from 0 to 10). I can of course have those commands run through scripts during boot, but I would very much like to have it done through a dts overlay. Can anyone help point me in the right direction of how to do that? So far I've managed to turn it on during boot by adding a fragment targeted at <&panel> with the following line: enable-gpios = <&pio 1 3 0>; and this does seem to turn the display on - however, it just stays completely white/blank. Here's the dts that I've gotten to work so far (mainly the touch panel): // Device tree overlay for I2C connected Goodix gt911 - (Brewie beer brewing machine) /dts-v1/; /plugin/; /{ compatible = "allwinner,sun5i-a13"; // disable rtp - resistive touch. fragment@0 { target = <&rtp>; __overlay__ { status = "disabled"; }; }; fragment@1 { target = <&pio>; __overlay__ { goodix_irq: goodix_irq { allwinner,pins = "PG11"; allwinner,function = "gpio_in"; }; goodix_reset: goodix_reset { allwinner,pins = "PC3"; allwinner,function = "gpio_out"; }; }; }; fragment@2 { target = <&i2c2>; __overlay__ { #address-cells = <0x1>; #size-cells = <0x0>; gt911: gt911@14 { compatible = "goodix,gt911"; reg = <0x14>; pinctrl-names = "default"; pinctrl-0 = <&goodix_irq &goodix_reset>; interrupt-parent = <&pio>; interrupts = <6 11 0>; irq-gpios = <&pio 6 11 0>; reset-gpios = <&pio 2 3 0>; }; }; }; };
  4. Hey. I'm trying to set up a 3.5" spi touch display with my orange pi zero +2 (H5). I've gotten the display to work - console is displaying fine, and the same with Xorg. However, getting the touch panel to work, seems quite difficult. (I tested it on a pi, so I know the hardware works). I've been running through all the threads I could find in here, regarding these setups, but I haven't been able to crack it. I have tried a lot of different variations of using spi-spidev, spi-add-cs1, customized spi-double-spidev, setting the param_spidev_spi_bus etc. I have a suspicion that something is off with the second cs channel, as this seems to be where I get my error regarding the touch panel: anders@orangepizeroplus2-h5:~$ dmesg | grep spi [ 5.412056] ads7846: probe of spi1.1 failed with error -22 [ 5.425241] [drm] Initialized ili9486 1.0.0 20200118 for spi1.0 on minor 2 [ 7.345854] ili9486 spi1.0: [drm] fb0: ili9486drmfb frame buffer device anders@orangepizeroplus2-h5:~$ For now I'm trying to collect it all into one dts, since I pretty much had to edit all the others, to account for the pin naming on this board (https://linux-sunxi.org/Xunlong_Orange_Pi_Zero_Plus_2). Here's my armbianEnv.txt: verbosity=1 bootlogo=false console=both disp_mode=1920x1080p60 overlay_prefix=sun50i-h5 overlays=gpio-regulator-1.3v usbhost2 usbhost3 rootdev=UUID=9f2bef22-f83b-49fd-a7a8-02b905c6d123 rootfstype=ext4 user_overlays= tft35-4 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u and the tft35-4.dts I've put together so far: /dts-v1/; /plugin/; / { compatible = "allwinner,sun4i-a10", "allwinner,sun7i-a20", "allwinner,sun8i-h3", "allwinner,sun50i-a64", "allwinner,sun50i-h5"; fragment@0 { target-path = "/aliases"; __overlay__ { spi0 = "/soc/spi@01c68000"; spi1 = "/soc/spi@01c69000"; }; }; fragment@1 { target = <&pio>; __overlay__ { tft35a_pins: tft35a_pins { allwinner,pins = "PA18", "PA2"; allwinner,function = "gpio_out"; }; ads7846_pins: ads7846_pins { pins = "PD11"; function = "irq"; pull = <0>; }; spi1_cs1: spi1_cs1 { pins = "PD14"; function = "gpio_out"; output-high; }; }; }; fragment@2 { target = <&spi1>; __overlay__ { #address-cells = <1>; #size-cells = <0>; status = "okay"; pinctrl-names = "default", "default"; pinctrl-1 = <&spi1_cs1>; cs-gpios = <1>, <&pio 3 14 0>; // PD14 tft35a: tft35a@0 { reg = <0>; /* Chip Select 0 */ compatible = "ilitek,ili9486"; spi-max-frequency = <16000000>; status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&tft35a_pins>; txbuflen = <32768>; rotation = <180>; bgr = <0>; fps = <25>; buswidth = <8>; regwidth = <16>; reset-gpios = <&pio 0 2 0>; //PA2 dc-gpios = <&pio 0 18 0>; //PA18 debug = <1>; }; ads7846@1 { reg = <1>; /* Chip Select 1 */ compatible = "ti,ads7846"; spi-max-frequency = <2000000>; status = "okay"; pinctrl-names = "default"; interrupt-parent = <&pio>; interrupts = <3 11 2>; //PD11 pendown-gpio = <&pio 3 11 0>; /* driver defaults, optional */ ti,x-min = /bits/ 16 <0>; ti,y-min = /bits/ 16 <0>; ti,x-max = /bits/ 16 <0x0FFF>; ti,y-max = /bits/ 16 <0x0FFF>; ti,pressure-min = /bits/ 16 <0>; ti,pressure-max = /bits/ 16 <0xFFFF>; ti,x-plate-ohms = /bits/ 16 <400>; }; }; }; }; Any help? Regards Anders
  5. Hey. I'm working on setting up octoprint on my opi zero +2(H5), aiming at running octodash on a small 3.5" spi waveshare clone display. So far I've got the display working fine, as in showing the console text, and also working in xorg. However, I have a bit of trouble with the touch part. I've combed through the forum and followed the guides I could find, and have a fairly good working DTS file, however, I can't seem to get pin number 11 to work. In the overlay files, it seems to be named PA1, but I couldn't get that to work, and there were a bit of oddities with what pins seemed to be enabled, in relation to the various overlays. However, I found different info here: https://linux-sunxi.org/Xunlong_Orange_Pi_Zero_Plus_2#Variants suggesting that it's named PL0. Here, also pin 26 seems to be named PD14, which actually seems to be correct. But dmesg reports an error: sun50i-h5-pinctrl 1c20800.pinctrl: unknown pin PL0 when I use that pin-name in the dts file. Here's the DTS file I'm using: /dts-v1/; /plugin/; / { compatible = "allwinner,sun50i-h5"; fragment@0 { target = <&spi1>; __overlay__ { status = "okay"; spidev@0{ status = "disabled"; }; spidev@1{ status = "disabled"; }; }; }; fragment@1 { target = <&pio>; __overlay__ { tft35a_pins: tft35a_pins { allwinner,pins = "PA18", "PA2"; allwinner,function = "gpio_out"; }; ads7846_pins: ads7846_pins { pins = "PL0"; function = "irq"; }; }; }; fragment@2 { target = <&spi1>; __overlay__ { #address-cells = <1>; #size-cells = <0>; // extra m.m.. // status = "okay"; tft35a: tft35a@0 { compatible = "ilitek,ili9486"; reg = <0>; status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&tft35a_pins>; spi-max-frequency = <16000000>; txbuflen = <32768>; rotation = <180>; // rotate eller rotation? bgr = <0>; fps = <25>; buswidth = <8>; regwidth = <16>; reset-gpios = <&pio 0 2 0>; /* PA2 */ dc-gpios = <&pio 0 18 0>; /* PA18 */ debug = <1>; init = <0x10000b0 0x00 0x1000011 0x20000ff 0x100003a 0x55 0x1000036 0x28 0x10000c2 0x44 0x10000c5 0x00 0x00 0x00 0x00 0x10000e0 0x0f 0x1f 0x1c 0x0c 0x0f 0x08 0x48 0x98 0x37 0x0a 0x13 0x04 0x11 0x0d 0x00 0x10000e1 0x0f 0x32 0x2e 0x0b 0x0d 0x05 0x47 0x75 0x37 0x06 0x10 0x03 0x24 0x20 0x00 0x10000e2 0x0f 0x32 0x2e 0x0b 0x0d 0x05 0x47 0x75 0x37 0x06 0x10 0x03 0x24 0x20 0x00 /* piscreen -> waveshare35a */ 0x1000036 0x28 0x1000011 0x1000029>; }; tft35a_ts: tft35a-ts@1 { compatible = "ti,ads7846"; reg = <1>; status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&ads7846_pins>; spi-max-frequency = <2000000>; interrupts = <11 0 2>; /* PA1 IRQ_TYPE_EDGE_FALLING */ // PL0 interrupt-parent = <&pio>; pendown-gpio = <&pio 11 0 0>; // PL0 ti,x-min = /bits/ 16 <0>; ti,y-min = /bits/ 16 <0>; ti,x-max = /bits/ 16 <0x0FFF>; ti,y-max = /bits/ 16 <0x0FFF>; ti,pressure-min = /bits/ 16 <0>; ti,pressure-max = /bits/ 16 <0xFFFF>; ti,x-plate-ohms = /bits/ 16 <400>; }; }; }; __overrides__ { speed = <&tft35a>,"spi-max-frquency:0"; txbuflen = <&tft35a>,"txbuflen:0"; rotate = <&tft35a>,"rotate:0"; fps = <&tft35a>,"fps:0"; bgr = <&tft35a>,"bgr:0"; debug = <&tft35a>,"debug:0"; swapxy = <&tft35a_ts>,"ti,swap-xy?"; }; }; Does anyone know the specific name to be used there? Regards Anders
  6. That's the point - the edid is not correct. On the raspberry pi it is overriden to 480x272@60 by these lines in config.txt: hdmi_group=2 hdmi_mode=87 hdmi_cvt 480 272 60 6 0 0 0 But this does not work in armbianEnv.txt I have been trying to override the edid , but have so far not been successful in making one that doesn't throw errors on boot, and it is stuck at 800x480.
  7. Here's the summary. I'm a bit uncertain about whether "cat /sys/class/drm/card0-HDMI-A-1/edid" is what you want - I've been messing with it quite a bit in various edid editors, so I also attach a bin file I got from one of them here. edidblob clk_summary edid.bin
  8. this one: https://www.waveshare.com/wiki/4.3inch_HDMI_LCD V2 in my case.
  9. Hey. I have a waveshare 4.3" 480x272 screen, that I'm trying to get to work with my orange pi zero +2, or nanopi M1 plus. However, I can't get the screen to show the right resolution - that only seems possible on my raspberry pi (which I don't want to use for this project). I've been running over all the (little) info I can find, and it seems to be a general problem to get hdmi working if the screen edid is a bit flaky - is this still the case, or is it possible to get this combination of opi/nanopi to work on this display? Regards. Anders
  10. Hey. I'm working on getting a small touch screen working on my OPiZ+2. It's a Waveshare 4.3 with a resistive touchpanel (using HDMI for displaying). I've had some issues getting the touch panel to work, and just wanted to share my findings, and ask whether I have misunderstood something. The waveshare wiki does provide a script for setting up the panel, but I think it's more aimed at a raspberry pi, and it didn't get the touch panel working. I manually added spi-spidev and spi-add-cs1 to to armbianEnv.txt. I also added the parameters: param_spidev_spi_bus=1 param_spidev_spi_cs=1 (took me a bit to figure out that I had to use spi1 instead of spi0, but so far so good). I also made a dts for the touchpanel chip - ads7846.dts: (using PA2 - never mind where it says PA7) /dts-v1/; /plugin/; / { compatible = "allwinner,sun4i-a10", "allwinner,sun7i-a20", "allwinner,sun8i-h3", "allwinner,sun50i-a64", "allwinner,sun50i-h5"; fragment@0 { target = <&pio>; __overlay__ { ads7846_pins: ads7846_pins { pins= "PA2"; function = "irq"; }; }; }; fragment@1 { target = <&spi1>; __overlay__ { #address-cells = <1>; #size-cells = <0>; status = "okay"; ads7846@0 { compatible = "ti,ads7846"; reg = <0>; /* Chip Select 0 */ // vi prøver med 1 status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&ads7846_pins>; spi-max-frequency = <2000000>; interrupt-parent = <&pio>; interrupts = <0 2 2>; /* PA7 IRQ_TYPE_EDGE_FALLING */ pendown-gpio = <&pio 0 2 0>; /* PA7 */ /* driver defaults, optional */ ti,x-min = /bits/ 16 <0>; ti,y-min = /bits/ 16 <0>; ti,x-max = /bits/ 16 <0x0FFF>; ti,y-max = /bits/ 16 <0x0FFF>; ti,pressure-min = /bits/ 16 <0>; ti,pressure-max = /bits/ 16 <0xFFFF>; ti,x-plate-ohms = /bits/ 16 <400>; }; }; }; }; Anyways, I still could not get the touch to work. After many hours of messing around, I found an image of the pins on the orange pi zero here: which seems to indicate that SPI_CS is on pin PA13 - not PA10....... The connector on the display has the CS connection on pin nr. 26..... So I tried using wires between the OPi and the display connector, using pin nr. 24 (PA13) instead, and touch came to life! So far so good - but does this mean I'm doing something wrong? Looking through the dts overlays, it seems that it SHOULD be PA10 for the SPI_CS....?? IS it possible to get the board to use PA10 instead of PA13, so I can connect the display directly on the board?? Regards Anders.
  11. Will check again, but I think I waited something like 10 minutes without any advance.... :-) Checked it again - still no advance after 10 mintes.
  12. I'm trying to build an image for an Olimex A13-Som board. So far it starts booting, but halts when it gets to: "Starting Raise network interface...". I've tried all the available distribution in the builder, (Bionic, Buster, Stretch, Focal etc.) and it's the same for all of them. I quite can't figure out how to get it to move past that point - anyone got a suggestion? Regards.
  13. Again a big thanks for you help. Unfortunately this one seems difficult to crack. I've been looking over the boards, and it seems that the irq pin is connected to a small chip, that again - among other things - connect to pin PG2. I also tried to trace pin PG12, and that actually didn't seem to go anywhere near the connector to the touchpanel.... So I tried using PG2 instead - but the only result was that now the usb wifi didn't work. So it seems on the schematic of the board, that both PG2 and PG12 are doing something with usb. I find it very confusing because the script.fex file I attached which is from the old installation that works, clearly shows PG12 as being assigned for the irq connection. I'm at a loss here. Particularly since loading the driver module doesn't give any errors (or confirmations for that matter). I've tried with both PG2 and PG12, but no difference.
  14. Ok, thanks, I'll try that. a few more questions: forgive my noobiness, I might be wrong here, but shouldn't I be looking at this file instead: https://github.com/torvalds/linux/blob/master/drivers/pinctrl/sunxi/pinctrl-sun5i.c ? Looking over the file you mention, I see the values listed like (0x1) etc. Looking over my dts file, I see a lot of values written like that too. Should I write the values like that instead, like: interrupts = <0x6 0x1b 0x0>; instead of interrupts = <6 12 0> ? Also, I'm trying to figure out what is what in that file. I think I located pin PG12, where it states: SUNXI_PIN(SUNXI_PINCTRL_PIN(G, 12), SUNXI_FUNCTION(0x0, "gpio_in"), SUNXI_FUNCTION(0x1, "gpio_out"), SUNXI_FUNCTION(0x2, "spi1"), /* MISO */ SUNXI_FUNCTION(0x3, "uart3"), /* RTS */ SUNXI_FUNCTION_IRQ(0x6, 12)), /* EINT12 */ when it lists: (G, 12), is this how I should write, instead of <6, 12>? Also, it mentions an irq function at the bottom - does that mean I can desribe the pin function as (0x6, 12) or am I completely off there...? (huge thanks for your help so far!)
  15. ok, thanks for the info so far! Another question: in the dts tree, under pinctrl@1c20800 the pin definitions include a property called "function". I haven't been able to decipher whether this needs to be something specific, or whether it's more of a general label thing. Particularly in my setup of PG12 and PC3, I've written "irq" and "reset" as their function respectivly. Does this matter, or?
  16. Thanks for a quick answer! Unfortunately, this is what I already tried in the dts file as you can see (f.ex. interrupts = <6 12 0>) I've seen other people mentioning "IRQ_TYPE_EDGE_RISING" as a flag - do you know which number would equal this? As for PG12 - I'm fairly certain. In the fex file I posted you can see this is what it's set up to use. This is from the old installation where the touch panel works. Any other idea what I've done wrong with my configuration?
  17. Hey. I have a beer-brewing machine which has software running on an olimex A13-SOM board, that has a capacitive touch panel attached to it. The company (Brewie) did'nt survive, but I really like the machine, and the potential it has. The board is running a very slimmed down linux system, so it's a bit difficult to sniff stuff out, and expand on it - so I want to install a more recent linux system on it, and try making new software for it as a shared project with other people using this machine. I managed to make a functional image using github.com/olimex/build I'm building it using: ./compile.sh BRANCH=next BOARD=olimex-som-a13 KERNEL_ONLY=no KERNEL_CONFIGURE=yes CLEAN_LEVEL="make,debs,alldebs,images" RELEASE=stretch BUILD_KSRC=no NO_APT_CACHER=yes BUILD_DESKTOP=no The image seems to work just fine, but first issue is getting the capacitive touch panel to work. Display works, but I can't get the communication going with the touch panel, and I think the problem might be in how the device tree is set up. The touch panel uses a Goodix gt911 chip, and I've enabled the driver as a module in the kernel. The panel is using the i2c-2 port (pin PB17 as scl, PB18 as sda), and also pin PG12 for interrupt and PC3 for reset. The old installation uses fex files, so I have to try to adapt the information to the dts tree. As far as I can tell, I ought to get a /dev/input/event0 when it works, and should be able to make some reading using: cat /dev/input/event0 when I touch the screen. But after a week of trying various stuff, I still can't get that event0 to show up. So: my first question is about the setup in the dts file. When reading about the pinctrl, it seems that it wants 3 cells for the gpio configuration - bank number, pin number in bank and gpio-flags. However, specific details on these are sparse... What number should I use for the bank? I assume 12 for pin number? And what about the gpio-flags? I can find no list of possibilities for those... I'm attaching the current dts file I've made (sun5i-a13-olinuxino-micro.dts). I've also attached the script.bin from the original installation converted to fex. And also a printout of dmesg | grep i2c and the config file showing the setup of the kernel. Sorry it's a bit long description. Hope someone can help. config-5.0.21-sunxi dmesg-i2c.txt my dts mods.txt script.fex sun5i-a13-olinuxino-micro.dts
  18. Ok. Could you give some details on how to get this done?
  19. I'm sorry - I've probably been too vague in describing what I'm aiming for. You're refering to the 1x13 header. I've connected power to the 2x13 header. But my problem is: I want to use the small micro-usb port that for the printer. The port that I would otherwise normally use for powering the board. That's the reason I've connected power to the pins of the 2x13 header. But I can't seem to get that port to work as a regular usb host.
  20. no - only pin 2 and 4. Should pin 3 also be connected? If so - why? As far as I can tell, it's function is listed as: TWI0_SDA / PA12 / GPIO12 Pin 2 is connected to 5v, and pin 4 to ground - both on the atx supply. According to the link I posted, pin 4 (among others) are ground on the Opi. Since I've been able to boot, and install armbian, having it powered like this, I assume the power is connected correctly?
  21. It's not an expansion board. Here's what I'm refering to: http://linux-sunxi.org/Xunlong_Orange_Pi_Zero_Plus_2#Expansion_Port Yes - there doesn't seem to be any activity, even though I physically unplugged and plugged back in. I assume that the usb-otg port is not in "host" mode, even though I activated the usbhost0 overlay?
  22. I've soldered two wires to pin-hole 2 and 4 on the expansion port. 5v is supplied from an ATX pc psu. Heres the dmesg command after unplugging/plugging: [ 0.000000] Kernel command line: root=UUID=289bd460-9951-431f-bf37-6007ea923b14 rootwait rootfstype=ext4 console=ttyS0,115200 console=tty1 panic=10 consoleblank=0 loglevel=1 ubootpart= usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u cgroup_enable=memory swapaccount=1 [ 1.283959] usbcore: registered new interface driver usbfs [ 1.283996] usbcore: registered new interface driver hub [ 1.284051] usbcore: registered new device driver usb [ 2.408156] ehci-platform 1c1a000.usb: EHCI Host Controller [ 2.408178] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1 [ 2.408713] ehci-platform 1c1a000.usb: irq 11, io mem 0x01c1a000 [ 2.421513] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00 [ 2.421741] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19 [ 2.421748] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.421754] usb usb1: Product: EHCI Host Controller [ 2.421760] usb usb1: Manufacturer: Linux 4.19.17-sunxi64 ehci_hcd [ 2.421765] usb usb1: SerialNumber: 1c1a000.usb [ 2.422793] ehci-platform 1c1b000.usb: EHCI Host Controller [ 2.422816] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 2 [ 2.423299] ehci-platform 1c1b000.usb: irq 13, io mem 0x01c1b000 [ 2.437518] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00 [ 2.437719] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19 [ 2.437726] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.437732] usb usb2: Product: EHCI Host Controller [ 2.437737] usb usb2: Manufacturer: Linux 4.19.17-sunxi64 ehci_hcd [ 2.437742] usb usb2: SerialNumber: 1c1b000.usb [ 2.438659] ehci-platform 1c1c000.usb: EHCI Host Controller [ 2.438677] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 3 [ 2.439143] ehci-platform 1c1c000.usb: irq 15, io mem 0x01c1c000 [ 2.453507] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00 [ 2.453690] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19 [ 2.453697] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.453703] usb usb3: Product: EHCI Host Controller [ 2.453708] usb usb3: Manufacturer: Linux 4.19.17-sunxi64 ehci_hcd [ 2.453713] usb usb3: SerialNumber: 1c1c000.usb [ 2.454591] ehci-platform 1c1d000.usb: EHCI Host Controller [ 2.454608] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 4 [ 2.455053] ehci-platform 1c1d000.usb: irq 17, io mem 0x01c1d000 [ 2.469518] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00 [ 2.469691] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19 [ 2.469698] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.469704] usb usb4: Product: EHCI Host Controller [ 2.469709] usb usb4: Manufacturer: Linux 4.19.17-sunxi64 ehci_hcd [ 2.469714] usb usb4: SerialNumber: 1c1d000.usb [ 2.470809] ohci-platform 1c1a400.usb: Generic Platform OHCI controller [ 2.470827] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 5 [ 2.471093] ohci-platform 1c1a400.usb: irq 12, io mem 0x01c1a400 [ 2.533695] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.19 [ 2.533702] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.533707] usb usb5: Product: Generic Platform OHCI controller [ 2.533713] usb usb5: Manufacturer: Linux 4.19.17-sunxi64 ohci_hcd [ 2.533718] usb usb5: SerialNumber: 1c1a400.usb [ 2.534651] ohci-platform 1c1b400.usb: Generic Platform OHCI controller [ 2.534668] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 6 [ 2.534966] ohci-platform 1c1b400.usb: irq 14, io mem 0x01c1b400 [ 2.597847] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.19 [ 2.597854] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.597859] usb usb6: Product: Generic Platform OHCI controller [ 2.597865] usb usb6: Manufacturer: Linux 4.19.17-sunxi64 ohci_hcd [ 2.597870] usb usb6: SerialNumber: 1c1b400.usb [ 2.598776] ohci-platform 1c1c400.usb: Generic Platform OHCI controller [ 2.598794] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 7 [ 2.599072] ohci-platform 1c1c400.usb: irq 16, io mem 0x01c1c400 [ 2.661858] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.19 [ 2.661865] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.661871] usb usb7: Product: Generic Platform OHCI controller [ 2.661876] usb usb7: Manufacturer: Linux 4.19.17-sunxi64 ohci_hcd [ 2.661882] usb usb7: SerialNumber: 1c1c400.usb [ 2.662776] ohci-platform 1c1d400.usb: Generic Platform OHCI controller [ 2.662793] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 8 [ 2.663069] ohci-platform 1c1d400.usb: irq 18, io mem 0x01c1d400 [ 2.725845] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.19 [ 2.725852] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.725858] usb usb8: Product: Generic Platform OHCI controller [ 2.725863] usb usb8: Manufacturer: Linux 4.19.17-sunxi64 ohci_hcd [ 2.725869] usb usb8: SerialNumber: 1c1d400.usb [ 2.727225] usbcore: registered new interface driver usb-storage [ 2.731090] usbcore: registered new interface driver usbhid [ 2.731092] usbhid: USB HID core driver
  23. lsusb gives: Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub and dmesg: [ 0.000000] Kernel command line: root=UUID=289bd460-9951-431f-bf37-6007ea923b14 rootwait rootfstype=ext4 console=ttyS0,115200 console=tty1 panic=10 consoleblank=0 loglevel=1 ubootpart= usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u cgroup_enable=memory swapaccount=1 [ 1.283924] usbcore: registered new interface driver usbfs [ 1.283961] usbcore: registered new interface driver hub [ 1.284015] usbcore: registered new device driver usb [ 2.408662] ehci-platform 1c1a000.usb: EHCI Host Controller [ 2.408685] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1 [ 2.409219] ehci-platform 1c1a000.usb: irq 11, io mem 0x01c1a000 [ 2.421479] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00 [ 2.421715] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19 [ 2.421722] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.421728] usb usb1: Product: EHCI Host Controller [ 2.421734] usb usb1: Manufacturer: Linux 4.19.17-sunxi64 ehci_hcd [ 2.421739] usb usb1: SerialNumber: 1c1a000.usb [ 2.422737] ehci-platform 1c1b000.usb: EHCI Host Controller [ 2.422755] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 2 [ 2.423243] ehci-platform 1c1b000.usb: irq 13, io mem 0x01c1b000 [ 2.437485] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00 [ 2.437675] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19 [ 2.437682] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.437688] usb usb2: Product: EHCI Host Controller [ 2.437693] usb usb2: Manufacturer: Linux 4.19.17-sunxi64 ehci_hcd [ 2.437698] usb usb2: SerialNumber: 1c1b000.usb [ 2.438615] ehci-platform 1c1c000.usb: EHCI Host Controller [ 2.438633] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 3 [ 2.439082] ehci-platform 1c1c000.usb: irq 15, io mem 0x01c1c000 [ 2.453484] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00 [ 2.453665] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19 [ 2.453672] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.453677] usb usb3: Product: EHCI Host Controller [ 2.453683] usb usb3: Manufacturer: Linux 4.19.17-sunxi64 ehci_hcd [ 2.453688] usb usb3: SerialNumber: 1c1c000.usb [ 2.454566] ehci-platform 1c1d000.usb: EHCI Host Controller [ 2.454583] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 4 [ 2.455038] ehci-platform 1c1d000.usb: irq 17, io mem 0x01c1d000 [ 2.469474] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00 [ 2.469655] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19 [ 2.469662] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.469667] usb usb4: Product: EHCI Host Controller [ 2.469672] usb usb4: Manufacturer: Linux 4.19.17-sunxi64 ehci_hcd [ 2.469677] usb usb4: SerialNumber: 1c1d000.usb [ 2.470775] ohci-platform 1c1a400.usb: Generic Platform OHCI controller [ 2.470798] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 5 [ 2.471052] ohci-platform 1c1a400.usb: irq 12, io mem 0x01c1a400 [ 2.533722] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.19 [ 2.533729] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.533735] usb usb5: Product: Generic Platform OHCI controller [ 2.533741] usb usb5: Manufacturer: Linux 4.19.17-sunxi64 ohci_hcd [ 2.533746] usb usb5: SerialNumber: 1c1a400.usb [ 2.534673] ohci-platform 1c1b400.usb: Generic Platform OHCI controller [ 2.534696] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 6 [ 2.534972] ohci-platform 1c1b400.usb: irq 14, io mem 0x01c1b400 [ 2.597725] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.19 [ 2.597732] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.597738] usb usb6: Product: Generic Platform OHCI controller [ 2.597743] usb usb6: Manufacturer: Linux 4.19.17-sunxi64 ohci_hcd [ 2.597748] usb usb6: SerialNumber: 1c1b400.usb [ 2.598651] ohci-platform 1c1c400.usb: Generic Platform OHCI controller [ 2.598669] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 7 [ 2.598948] ohci-platform 1c1c400.usb: irq 16, io mem 0x01c1c400 [ 2.661728] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.19 [ 2.661736] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.661741] usb usb7: Product: Generic Platform OHCI controller [ 2.661747] usb usb7: Manufacturer: Linux 4.19.17-sunxi64 ohci_hcd [ 2.661752] usb usb7: SerialNumber: 1c1c400.usb [ 2.662633] ohci-platform 1c1d400.usb: Generic Platform OHCI controller [ 2.662650] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 8 [ 2.662914] ohci-platform 1c1d400.usb: irq 18, io mem 0x01c1d400 [ 2.725722] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.19 [ 2.725729] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.725735] usb usb8: Product: Generic Platform OHCI controller [ 2.725740] usb usb8: Manufacturer: Linux 4.19.17-sunxi64 ohci_hcd [ 2.725745] usb usb8: SerialNumber: 1c1d400.usb [ 2.727096] usbcore: registered new interface driver usb-storage [ 2.731595] usbcore: registered new interface driver usbhid [ 2.731597] usbhid: USB HID core driver
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines