Jump to content

ccapublic

Members
  • Posts

    15
  • Joined

  • Last visited

  1. Ended up installing i2c-tools and dumping axp209 registers. PMU setup/status as reported by driver match i2c registers... There must be something wrong with the HW as my LiPo IS 4.5-4.8V in spite of correct config... Confused me...
  2. Thanks chrisf. I Will disconnect the battery ASAP. Do you know where this problem can come from ? Configuration ? (Sorry I'm a beginner with armbian & linux in general)
  3. Hi. That's what I did and battery has really a too high voltage. So it's either a pmu hw issue (I doubt it) or os/sw issue, but I don't know where to start to try to fix it Do you really think the risk is real here ? Thanks
  4. Some more info : - Running kernel 4.14.70-sunxi - LiPo battery voltage measured with a multimeter is 4.5V-4.8V depending on load. There is *really* a problem here
  5. Hi All, I did my best to sort the following issues out by searching the web / forum with no success. Please forgive me in advance if topic was already covered. I have a cubietruck running mainline kernel and have installed a LiPo battery. I can get info about the battery by catting /sys/class/power_supply/axp20x-battery contents. However, some things are weird ; - capacity reports 0 (but bat is charged) - voltage_now reports 4.5V (abnormal for a LiPo) while voltage_max says 4.2V (which is normal) - status says discharging even when on mains - ssh motd does not show battery status (btw 30-armbian-sysinfo seems to point non existing folders both for mainline_dir and legacy_dir). Any comment whether this is normal or not and if not how to fix it ? Thanks a lot for your support Cyril
  6. Hi. Everything is fine and (so far) stable both with my realtek and ralink dongles. Reg fw, and because I was lazy, I did install the armbian-firmware-full package. I am now wondering if armbian-firmware would have been enough for all ralink and realtek dongles. Not that I don't have 100MB left on the SD but it is quite piggy. I tried to find the exact list of fw included in both packages (or at least the minimal one) with no success. Maybe I'll try to purge the full version and install the minimal one and see if it still works. Hopefully I won't break something on the way. That being said I now have a working wireless octoprint OPIPC image : I'm HAPPY !
  7. Ok. Rebuilding the driver + insmod brings rtl chipset back to life. I can see ssids in nm applet. The problem now is thay when I attempt to connect to a secured wireless network I get the "authication required to connect to wifi" banner but no window pops up to ask me for the passphrase and nm-connection-editor does not enable me to create a connection (new wifi connections brings an all-greyed window". I'll keep on trying to understand my new mistake
  8. Thanks I will be trying it tomorriw. Is the same scenario (kernel change = rtl8192cu dead) true for other chipsets ? Because my ralink dongle fails too. Last i see 2 methods for building and installing the driver. One uses dkms, the other make then insmod. Which one shall I use ? If insmod is it to be done just once or upon every boot (ok this is not really related to wireless issue but my incompetency in linux ). Thanks again Cyril
  9. Hi all, During a first installation, wireless worked with both ralink or rtl8192cu usb dongle. Though connection was unstable (ralink) or sometimes even freezing the system (rtl812cu), I could at least see the surrounding ssids and most of the times connect. Following a problem which bricked the opipc (my kid unplugged the board while I was playing with kernel), I reinstalled from scratch. And pouf ! None of my dongles work. Leds won't turn on, no wlanx in ifconfig, no ssids in network manager tray icon... however (tested only with rtl8192cu dongle), lsusb and lsmod seem fine (i can see rtl892cu in lsmod). The only difference I can think off between first and second install is that for second install I did run apt-get upgrade. Again I'm really a newbie so maybe I missed something obvious but I'd like to know a few things (if you may help) : - is there any chance to get reliable wireless with orange pi pc (I think I read a post from Igor basically saying NO) - if yes is there a prefered dongle (ralink, rtl8192cu - I prefer the later because the dongle I have is small while the ralink is huge) - is there a reliable step by step guide somewhere working out of the box with the latest armbian supporting opipc. Many many thanks if simeone can enlighten me Thanks a lot Cyril.
  10. Thanks guys. That's what I noticed later on... my problem was actually due to unstable wireless connection that of course did not affect http://localhost:5000. I tried a first dongle based on rtl8192cu => system freeze upon connection to my wpa2 access point, then a ralink which seemed to work fine but as mentionned seemed to lose connection from time to time (and attemptin to disconnect / reconnect always timed out). I was then in the process of trying to install rtl8192cu-fixes (maybe useless btw if armbian for opipc already implements them), when my kid unplugged the opipc while I was playing with dkms => board does not boot any more. So I'm good to restart from scratch. I hope I will get to point where wireless connection is stable as this is a must-have to replace my current wintel solution. Hey, btw, Happy new year to you and your families guys ! Cyril
  11. Hi. Just a quick note to thank you again. Octoprint is up and running flawlessly so far. I just need to open the adequate tcp port in firewall to have it reachable from outside of the opi itself... I still don't know if there is any gui to ease firewall config or if i'll have to vi some iptables files but I'll for sure find out. Cheers Cyril.
  12. Thamk you very much for your detailed and prompt feedback ! Shall I keep python-virtualenv installed or shall I remove it prior to apt-get install virtualenv ? Have a good new year's eve ! Cyril
  13. Thanks Igor but I did not even reach the stage of actually installing Octoprint as for some reason I can not even start virtualenv (and forum search on virtualenv did not help). I'll seek for octoprint dedicated posts when this is solved Thanks zador too. How does your command line differ from apt-get install python-virtualenv ? What is weird in my case is that virtualenv seems to be actually here (pip as well as apt-get tell me it's here if I attempt an install ago, and I have virtualenv.py/.pyc in python27 directory) but there is no "virtual shortcut" anywhere. Will try something like python path/to/virtualenv.py venv from the directory where I want the virtual environment to be installed. Lets cross fingers ! I currently run octoprint from a windows based atom micro pc and I must say I can'twait to move to OPIPC + Armbian. Don't ask me why, I'm not even sure myself Thanks again to both of you !
  14. Hi everybody, I'm new to this forum so first let me say a big THANK YOU to the armbian team for the excellent work. I've been playing around with my orange pi pc for a while now, not really wanting to spend much time on it (family, children, work, you know the story) or dig into details, and did not find any PnP distro that was 100% satisfactory (always something missing, unstable,...), until I gave a try to armbian. Apart from a weird kernel panic at the end of every shutdown, everytying is running smoothly so far. I'm now in the process of installing OctoPrint to drive my 3D printer and I am facing a problem with python virtualenv. Basically trying to execute virtualenv on the command line gives a "command not found" error (while it worked fine with the ubuntu-vivid image on official opi site). Steps to "reproduce" After creating a new user and adding it to the sudoers I execute the procedure documented in octoprint below : cd ~ sudo apt-get install python-pip python-dev python-setuptools python-virtualenv git libyaml-dev build-essential git clone https://github.com/foosel/OctoPrint.git cd OctoPrint virtualenv venv It's this last command that fails with "command not found"... Just in case it would not already be obvious, I'm an absolute newbie with Linux Thanks a lot to whoever may help ! Cyril
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines