arjepsen

Members
  • Content Count

    18
  • Joined

  • Last visited

About arjepsen

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. 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
  2. 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 o
  3. 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?
  4. 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?
  5. 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 u
  6. Ok. Could you give some details on how to get this done?
  7. 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.
  8. 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?
  9. 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?
  10. 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] u
  11. 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 c
  12. Hey. I'm trying to install octoprint on my Opi Zero +2, using the latest armbian image I found here on the site. Installation works fine, and I get the web interface up and running no problem. But I have connected power to the board on the gpio pins, and want to use the mini-usb to connect to the 3d printer. I have enabled usbhost0-3 in the hardware in armbian-config, but still it seems the printer cannot be reached. I read some older posts regarding other boards, where the solution seemed to be recompiling. Is this a necessity, and if so, could someone please point me
  13. ok, I received my usb-ttl cable. I can boot and login - everything seems fine. Updated, and installed openhab - fine so far. Only problem now is that I can't seem to get the addon-board with usb ports etc to work.
  14. Ok, for my part, it now boots, and I end up with a login prompt. Unfortunately I don't think the image includes drivers for the addon usb card, and my usb-ttl serial cable is still incoming in the mail. I'll report back when I get it.