Greg-JWhy does the raspberry pi 3 feature 15 pin ZIF connectors with a 1mm pitch, but the Compute Module IO board features 22 pin connectors at .5mm pitch?
Greg-JWhat do the actual display and camera connectors use?
shaunothey use the one on the pi3. the cmio board needs adaptors
Greg-JAny leeds on a 15pin 1mm > 22pin .5mm ribbon cable?
shaunonone than I know of, just http://uk.farnell.com/raspberry-pi/rpi-cmdk-adapter/adapter-compute-module-camera-display/dp/2433318?MER=en-me-pd-r2-acce-sto (the same board that comes with the cmio, I believe)
shauno(when I say 'none that I know of', I literally mean I don't know any, not that I'm asserting the cables don't exist)
Greg-JCheers shauno
Greg-JDoes an original Raspberry Pi B+ have enough juice to run raspbian + chrome and play Netflix, Plex, Hulu, etc. in-browser?
HrdwrBoBno
Greg-JTis what I thought.
Greg-JI have a B+ running rasplex right now and I'd love to expand it's functionality to do web browsing, but I don't think that's going to happen...
Rukusmy pi 3 will play 720p netflix but not 1080p
Rukusalso not in browser
Greg-JUgh. I have a 3 sitting on my desk that was my back-up plan. I'm thinking it's time to check out Odroid. Maybe an XU4.
CodsworthRukus sure it will
[Saint]Probably has his gpu_mem set too low.
JinxRukus: just curious: how then if not in the browser?
[Saint]Jinx: LibreELEC/Kodi exists.
Jinxand that works to access streaming services like Netflix/Hulu ?
Jinxi was not aware. i thought all those systems wanted "trusted computing" models
[Saint]LibreELEC can do RTMP/InputStream, yes.
[Saint]With Netflix/Amazon/ToyTube/SimpleIPTV - as long as you don't care about 4K playback, the Raspberry Pi 3 makes a great little media player under LibreELEC.
[Saint]If you /do/ care about 4K playback, ODROID C2 is probably the go.
[Saint]Slap a PS controller on it, and, mab...you've got yourself an emulator for most classic ROMs as well.
[Saint]If you install LE8 Remix you get an acellerated Chromium browser as well.
[Saint]making it a one-stop-shop media center.
antionkodi on odroid c2 is great, but get an eMMC card with it with at least 16gb and go the linux and not android path.
[Saint]antion: the eMMC is a good edition, but it's not essential by any means and largely unnoticable with some use cases.
[Saint]If you're not playing back from local media for instance, you're pretty much never going to see a difference.
[Saint]Everything gets cached to RAM very quickly.
[Saint]Only visible improvement is a boot time that's a couple of seconds faster.
TrelWhen using retropie with raspberry pi, how does it handle PS1 games?
TrelGenerally speaking
[Saint]It doesn't.
[Saint]Generally speaking.
TrelIt being retropie or raspberry pi's hardware specs?
[Saint]The latter.
[Saint]It needs to transcode the instruction sets to arm in realtime, and requires a LOT of horsepower.
[Saint]an rpi3 overclocked to almighty hell can do some very, very simple PS1 homebrews.
TrelAh ok, I've been looking at options for retro system, so I guess if I want to go above the SNES/Genesis era, I'm going to need to build something
[Saint]XU4 has plenty of excess horsepower.
[Saint]Great little boards really.
TrelThe Odroid board?
Foxfir3[Saint]: do you have one?
[Saint]Yes.
[Saint]I have several dozen.
[Saint]I...I may have a problem.
Foxfir3[Saint]: nice. Running what?
Foxfir3[Saint]: Several dozen?
[Saint]Yes. I do a kind of community ISP thing and they serve the basis of the base station hardware.
Foxfir3[Saint]: wow!
TrelCool, does that support PS1/N64/Dreamcast gen, or still a bit too much for a board?
Foxfir3[Saint]: any website?
[Saint]Foxfir3: No.
[Saint]Trel: I can play most of the PS1/N64 titles I've tried, some of them just abruptly give up at some point or don't load at all though. I haven't looked into it too much.
[Saint]I mainly play sega genesis and zx spectrum titles myself.
TrelI primarily do genesis and snes personally, but there's a few I'd like to have the option for
TrelMainly Glover on N64 and Castlevania on PSx
[Saint]I've had some success with n64 titles on the rpi3 but it's really hit and miss.
[Saint]sometimes you'll get to play for 15 minutes, sometimes it'll fall over immediately, sometimes it'll just magically be fine.
TrelI'll likely look into that board through. What I'm hoping however, is that the install instructions could be adapted to debian vs just ubuntu
[Saint]There really shouldn;t be any meaninful distinction.
[Saint]WHat is the problem you're up against with the two?
[Saint]It's likely quite trivially sorted.
TrelProblem?
[Saint]Well your statement about adapting for devian vs. ubuntu lead me to believe there's some wall you're hitting.
[Saint]*debian
Foxfir3Fedora on Pi3 model B. sucks :( will try the minimal package next. Still in doubt though. The scool gives one to all the students. I understand now that the Pi hardware is outdated. But maybe thats part of the charm. I would prefer RHEL or Arch though. But there is the issue with the pins. Apparently that is the selling point of Pi/Raspian. Raspian pretty much sucks as well :( So.. the question.. In
Foxfir3order to be able to do the "Rapseri Pi thing", which distro is the best for the task? Fedora, Arch or FreeBSD? Im guessing we have to do stuff like working with a breadboard and such.
TrelOh, no, just preference given the option
[Saint]Foxfir3: It doesn't matter at all. Use what you're comfortable with.
TrelJust like when Yahoo used to be powered by Google back in the 90's I saw that and just used Google
[Saint]Trel: There's really no meaningful distinction between installing X on Ubuntu and installing X on Debian outside a couple of edge cases.
[Saint]Ubuntu is bsaically just Debian++
Foxfir3[Saint]: thanks. So which distro runs with less pains? Have you tested some of them before upgrading to Odroid?
[Saint]I use Raspbian Lite on the Rpis personally.
Foxfir3[Saint]: Rasbian lite? So TTY, and then you take It from there?
Foxfir3[Saint]: what about the repo then? you hook up to debian or ubuntu?
[Saint]...raspbian. it's raspbian, so it uses the raspbian repository.
MaaiQ: any word on 8-bit microprocessors that can connect to low powered screens? raspberry pi 3 is too fast
Foxfir3[Saint]: okay. sorry for all the questions. So.. Ubuntu provide an arm7 repo? Can we hook up to that?
[Saint]To get a system that vaguely resembles the Raspbian default system from Raspbian Lite, do "apt-get update; apt-get dist-upgrade ; apt-get install raspberrypi-ui-mods raspberrypi-sys-mods rpi-chromium-mods alacarte galculator leafpad lxterminal"
[Saint]Foxfir3: you /can/, but, you wouldn't - as there's no reason to do so and it's an absolute nightmare to cross-link repositories.
[Saint]One shouldn't use Ubunto repositories on a debian or any other system, even if you techically can.
[Saint]There's nothing to be gained from it but woe.
Foxfir3[Saint]: Thanks!!! okay. "woe" :D
Foxfir3saving your setup. will try that after the Fedora minimal install. Phew.. gdm/Gnome was a terrible idea :D
[Saint]In the extremely rare circumstance that you absolutely require a package or package version that raspbian doesn't ship you'd just checkout the package and compile it yourself.
[Saint]Foxfir3: that will install the very basic husk of the raspbian graphical desktop and utilities on top of Raspbian Lite.
[Saint]next reboot would take it to a graphical desktop/login.
[Saint]The default Raspbian image ships about another 1.5GB of shit no one's ever going to use.
[Saint]minecraft, mathematica, wolphram, the intire libre office suite, gimp...etc.
[Saint]I tend to start with a base image and install the things I know I'm going to use.
[Saint]the above gives you the guts of the acellerated chromium browser and the acellerated lx based graphical desktop.
[Saint](and a couple of utilities that the raspberrypi-ui-mods metapackage should rightfully pull in, but doesn't)
[Saint]text editor, calculator, menu editor, etc.
Foxfir3[Saint]: okay. and then some WM of choice. sounds good.
[Saint]the raspberrypi-ui-mods package takes care of that. it installs openbox and an lx based graphical desktop.
[Saint]The entire thing uses ~80MB of RAM. It's as light as you're going to get ina full graphical system.
Trel@ [Saint], thanks, I'll look around at that. That'll probably let me free up my RPi for what I actually want to use it for :D
Trel(in regards to the retropi thing)
Foxfir3I know openbox. Awesome. just the kind of setup I was looking for.
[Saint]Trel: FWIW, for my emulation I use LibreELEC - I've always found retropie to be better for dedicated emulation, but dedicated emulation is what I want to be doing with my systems less than 10% of the time.
[Saint]They're usually dedicated media players.
Trelin my case it would be dedicated emulation
[Saint]LibreELEC has had the libretro cores embedded in it for some time now.
[Saint]So you can navigate to a ROM in the system and just "play" it normally in LibreELEC, or use the Internet Archive ROM Launcher Kodi add-on.
[Saint]Then have _allllll the ROMs_ on tap.
TrelI want to use my current Pi for a Unifi controller and SSH box (for tunneling from external) and then I'd use the Odroid as a dedicated emulation box, so I'd stick with Emulation Station for that though. I like that kind of setup
TrelSince it's in a gaming room
[Saint]You should probably add Gravity or Pi-Hole to that tunnelbox setup.
[Saint]Nuke advertising at the DNS resolution layer while you're at it.
[Saint]My gravity setup discards about 15% of my network usage as advertising/tracking requests at the DNS level. It's great.
TrelI know pi-hole, but I'm not familiar with gravity
[Saint]pi-hole is basically just a fancy graphical wrapper for gravity.
TrelAh, in that case, isn't that for acting as a proxy?
[Saint]gravity is doing the heavy lifting.
[Saint]No.
[Saint]It only does DNS resolution by default, and can optionally handle DHCP.
[Saint]but you only really want to use it for DHCP if your router is retarded for some reason.
TrelOh, that's not overly useful in my case then
[Saint]Are you already doing DNS based black/whitelisting?
[Saint]network level adblock is useful in the majority of people's cases I imagine.
TrelNo, that wouldn't really fly as I share the connection
Trelpayment and use
[Saint]No one likes ads. :)
[Saint]They'll probably thank you.
Foxfir3ACTION is sending Saint a virtual beer
TrelI concur, but I ain't getting any of them to change their DNS settings, and if I hijack DNS, I'll probably wake up with my hand in warm water.
Trel(At which point, it's only me, and I got that covered on my machine at least)
[Saint]No individual clients should have to alter their existing DNS records. You adjust the DNS address at the router level, and the router uses it as a DNS relay/resolver.
[Saint]everything behind it magically benefits.
TrelThat's assuming they use the router as their DNS server (they don't)
xvnvxquote
[Saint]Gah. Why?
TrelThat may be my fault...
[Saint]LArge networks benefit _so_ much from cache DNS relay.
TrelThe hand in warm water bit may NOT have been a hypothetical revenge scenario.
[Saint]Why's everyone using their own private DNS settings out of interest? There's got to be a story there.
TrelOne April Fools Day, before https was common, a lot of sites, magically seemed to swap to other sites.
TrelI mean I COULD still do it anyway, and just NAT port 53 outgoing to the RPi for anything other than the Pi itself....but...they...yeah
[Saint]I was so much better off not knowing this information. It makes me irrationally axious knowing a network is that inefficiently configured.
TrelOn a home network?
[Saint]I mean, it's "only" another ~10% additional overhead per machine instance, but...still.
TrelAnd they're not running their own resolvers, they're just pointed directly to something like 8.8.8.8 or 4.2.2.1
[Saint]Yeah, I mean, it's still N+* machines doing the job of N machines though.
[Saint]That's the kind of thing I'd lose sleep over in my own enviroment.
TrelAll of MY machines point to my PFSense box which handles DNS.
Trelso it's just them
TrelHopefully that has a mildly sedative effect
[Saint]Heh.
[Saint]Hmmmph. Well. That sucks. My ISP officially finally screwed me out of my bug bounty payments today.
TrelO.o
[Saint]Just got an email saying that the time period for honoring bug bounty payments has expired, so they were closing the support ticket.
[Saint]They basically didn't pay me for two years, and then just contacted me saying "Well, it's been two years, so we're not paying you".
Foxfir3[Saint]: wow.. neat trick. It expired! :D
[Saint]Yeah, they're saying that the bug bounty program was only open from X date until Y date, and now it's outside of that window they have stopped caring that they never paid me for the accepted tickets.
[Saint]That's a neat trick indeed. I wonder if I can try it with my bill.
[Saint]"The time period for honoring my bill has expired, so I have decided not to pay it this month"
Foxfir3[Saint]: would be a great first of April joke. I will contact my bank :D
Foxfir37" screen for Pi is upside down, because of mistake when producing the casing for It. wow! good thing they are not producing formel 1 cars.
Trelǝɯ oʇ ǝuᴉɟ pǝʞool ʇᴉ
Foxfir3Trel: :D good one
[Saint]pretty sure you can just do:
[Saint]--rot 180, or
[Saint]--flip vertical
[Saint]something like this.
TrelIf it's anything like the issue with the Oneplus 5, there will be visible refresh issues
[Saint]A mild annoyance at best.
Trelif you do that
Foxfir3[Saint]: I will try that. More concerned bout the touch function.
[Saint]touch buffer should rotate with the display orientation
Foxfir3[Saint]: touch buffer?
[Saint]the touchpoint offsets. this should all Just Work(tm) regardless of screen orientation.
Foxfir3[Saint]: aha. I see what you mean. like in the old days when finetuning tablets.
Foxfir3[Saint]: would like to know more about your ISP project. It sounds cool.
[Saint]It's essentially a medium scale mesh network.
[Saint]Each base station is an ODROID XU4 board which I use due to the gigabit networking and USB3, satellite repeaters are all Rpi3 boards. I do it that way so that there's no local bottlenecking.
[Saint]Each base station has two 5GHz radios, each satellite has one. The base stations have 2TB of NAS accessible.
[Saint]Clients have the option of sharing their media on the NAs to the wider network, which encourages a kind of community library type deal.
[Saint]There's also a big bucket of stoage on my server that clients can use to host whatever they want on, as long as it's legal (but I can't say I police this).
[Saint]They pay $15/mo for whatever they can suck through the pipes and to lease the hardware, but I have a couple of people paying whatever they can afford, and a couple who don't pay anything.
[Saint]After 24 months they can keep whatever hardware of mine they have and stop paying if they want to.
[Saint](surprisingly, most people keep on paying)
Foxfir3[Saint]: That sound awesome! But... you run this at home????
[Saint]I do.
Foxfir3[Saint]: Damn :D
Foxfir3[Saint]: radio. how cool. One laptop per child, taken to the next level.
[Saint]It's a project that has been slowly growing for about six years or so. It doesn't make me any money, but it also doesn't really cost me anything either.
[Saint]If everyone pays every month it makes slightly more than my internet connections cost me.
Foxfir3[Saint]: I really cool use of micro computers. hmm.. the Odroids are not that cheap though.
Foxfir3[Saint]: just trying to imagine what your living room must look like :D
[Saint]They really are quite cheap, it's just the the Raspberry Pi boards set an absurd baseline for pricing because they're fellating Broadcomm.
Foxfir3[Saint]: so you had to add external cards?
[Saint]Yes. Each base station has two 5GHz wireless dongles with positionable antennas. The satellite stations have one, but they can be comfigured to use their onboard wireless as an access point if desired as well.
Greg-JSaint, you around?
[Saint]My place really doesn't look that bad. Everything is mostly hidden up in the roof cavity apart from my server rack and switches out in the back room.
[Saint]Ms. [Saint] wouldn't let me have arbitrary hardware scattered around the place. Hahaha. She would skin me alive.
Foxfir3[Saint]: you must keep that project alive!
[Saint]I have no plans of taking it down any time soon. It's already survived a couple of rebuilds and moving from one suburb to another.
Foxfir3[Saint]: I can imagine :D the constant humming, and "Dear.. please dont turn on the heat"
[Saint]The whole thing started with me getting a couple of very large 5GHz parabolic directional antennas.
[Saint]Then I got a couple of 5GHz whip antennas and some 2.4GHz whip antennas to patch a couple of gaps.
[Saint]For my own personal wireless I use Ubiqiti Unifi APs and switches.
Greg-J+1 for Unifi APs. I use them in my house as well.
Foxfir3[Saint]: you have gone off the reservation
[Saint]Greg-J: so I'm told. what's up?
Greg-JI run a couple extra monitors and some desktop speakers at my/my son's workbench and right now it's being run by a B+ and I'm using rasplex, which is fine because we mostly just have a movie playing in the background while we work.
Greg-JBut I'd really like to be able to browse the web, look things up, etc. without getting up or using my phone.
Greg-JSo I'm looking for an SoC to accomplish that.
[Saint]It comes in handy having so much broadcast ability at your disposal. I can forcibly punt most APs in the nearby vacinity off my channel if I want to just by screaming at them really, really loud.
[Saint]It only works if they have channel autoselection configured though.
Greg-JI was going to use this Note5 I have laying around with a screen that doesn't work, but I can't find my OTG-HDMI adapter...
[Saint]Greg-J: install LE8 Remix.
[Saint]It's basically LibreELEC with Chromium added.
Foxfir3[Saint]: Some government agents will most likely come knocking on your door some day :D If you begin to expand It will be quite a story.
Greg-JWill it run on a B+ or do I have to sacrifice a 3?
[Saint]It'll run on a B+, for varying definitions of run.
[Saint]It won't be quick. But it'll work.
Greg-JFair enough
[Saint]An Rpi3 would be better suited for it, but a B+ will do the trick.
[Saint]It'll just do it slightly slower.
Greg-JI'm running out of ideas for this B+. It gets passed around doing the work nothing else wants to do and it doesn't do any of it very well
[Saint]Greg-J: https://forum.libreelec.tv/thread/302-le8-remix-generic-rpi-emulationstation-chrome-spotify-provide-logs-if-problems/
[Saint](if you were wondering)
Greg-JI'm there now
[Saint]You also get emulationstation as a bonus.
[Saint]Here's a fun little project for an abandoned pi:
[Saint]https://github.com/rm-hull/pifm
[Saint]Turn it into a (really dirty) FM broadcast station.
[Saint]Just add 40cm of wire, and boom, you've got yourself an absurdly powerful FM broadcaster.
[Saint]And they really are absurdly powerful. You can do ~200m LOS pretty easily.
[Saint]I used to have some amusing FM spectrum warfare with an old neighbor.
[Saint]Well...I thought it was amusing. Pretty sure they didn't.
Greg-JThat's funny...
Foxfir3[Saint]: thanks for that tip. Would be fun for my school project.
Greg-JThe neighbor right behind me has a basketball court and their kids listen to the local top40 station too loud and too late.
[Saint]Greg-J: ...not anymore they don't.
[Saint]wink wink.
Greg-JThis is going to be funny
Greg-JCheers!
[Saint]I had the same problem with a neighbor and very loud FM stereo. I configured it to play a nasty 8bit version of Yakkety Sax on a loop while sweeping over the available FM spectrum.
Greg-JWhat are the chances there is a burnable boot image of LE8 Remix floating around somewhere?
Greg-Jbahahahaha
Foxfir3:D crazy thing to do
[Saint]Greg-J: linked in the LE8 Remix thread - https://drive.google.com/drive/folders/0BwN5wYLU-0BeS0s2am9OaE5GM3c
[Saint]Ooooooh, right, yours is B+...argh. I see.
Greg-JIt's all good, I'm going to use a 3 for this.
Foxfir3How fast and small is dwm compared to i3wm? Is it worth the pain?
[Saint]Yeah, there's only Rpi2(3) releases.
Greg-JLibreELEC-RPi2.arm-8.2-devel-20180204.img.gz is the one, yeah?
[Saint]Yes.
Greg-Jroger roger
[Saint]This will also allow you to stream _all the things_ if you're morally devoid.
[Saint]if your television services provider does an iptv stream you can also configure iptvsimpleclient so that it provides your iptv television as well.
Greg-JI pretty much just stick with Netflix Hulu and Amazon for video, but I have an absurdly large video collection (hence the plex requirement)
[Saint]I have my libreleec boxes configured to do Amazon, Netflix, YouTube, Google Music, and IPTV.
[Saint]As well as a biblically named blatant piracy add-on that allows me to stream pretty much everything that there exists a stream for, but my locale is a bit of a special case and that's a legal grey area entirely devoid of prosecution for me.
[Saint]long story short, one tiny box, _all the media_.
Greg-JThese are the "jailbroken fire tv stick get all the channels" that are _EVERYWHERE_ on CL and FB, yes?
[Saint]watch history is synced against a local database as well as a remote service (Trakt.tv)
[Saint]Eh, presumably? I have no idea what solution those are using.
[Saint]For my everything apart from the add-on I won't name in public is perfectly above board.
[Saint]*for me
Rukus[Saint], with inputstream.adaptive
Rukusoh i see you mentioned
RukusGreg-J, Codsworth, 720p with osmc, the netflix plugin and inputstream adaptive. Plus a minor bit of other workings if your log screams for the dependencies
Rukuspcryptodome
Greg-JGentlemen (and ladies), I think I've done it. I have finished my first custom PCB.
Rukussweet!
Greg-JBased on the CM3L. Measuring in at 56mm x 84mm and a measely 8.125mm thick she sports USB OTG, USB x 4, the original 40 pin header plus the additional 18 pins that the pi3 excludes.
Greg-JFM is exposed on the Ampak AP6212 (BCM43438) and I'm using a switched 3.5mm jack to make portable solutions more headphone/speaker friendly.
Greg-JSadly I could only make room for DSI0, but I did make room for both CAM0 and CAM1 for some dual camera / 3d camera projects.
Greg-J[Saint], so far this LE8 is no dice for me.
[Saint]Yeah, just saw your PM. That's unfortunate.
razzywhat do you think about non-free graphics chip :]
ewongpardon my ignorance.. but can any of the the RPi3 GPIO pins handle 12v?
ewongI'm guessing no.
ewongnvm.. it's no.
SkybotACTION wonders too
thomas_25i wonder if there is a statistical magical way to compare large files... like reading 1/4 of the files in random locations that would tell you that the files are identical probably 99.9%
razzythomas_25: have you heard about hash functions? md5?
thomas_25it reads all
thomas_25it can be utulized for random checks (like torrents does) but i'm curious about the academical aspects of it
thomas_25i.e. torrents also splits the content in segments and hash each one of them for "atomic" checksum comparisions
razzythomas_25: it could be utilised for whole-file check
Skybotwhat kind of statistics?
thomas_25Skybot, like, imagine you have two 1tb file and you split these files into 1MB pieces each with an index number. and then to compare these 1tb files imagine you only compare only odd numbered pieces.
thomas_25halving the comparision time
thomas_25this should give you a statistical signal about the integrity of the data
thomas_25if there is no context -- it might: your data is 50% safe
thomas_25if there is context like, the nature of your scenario, only 10mb continuous corruptions can occur... then your integrity is 100% safe
zleapewong: the max is 5v given that the power suppy is rated at 5v
zleapso you have 3v (or i think its 3.3) and 5v pins
Skybothow many locations?
thomas_25(btw when i used a usb hub with power supply -- usb2 magnetic hdd's stop resetting, thus improving throughput)
thomas_25but a hub is connected to one USB bus thus halving the throughput per hdd
zleapexternal power helps
thomas_25a single hdd file transfer is about 37mb/sec
gordonDrogonewong, definately no!
Skybotseems like current and wattage play a role there
thomas_25if i transfer data from both... each hdd transfers like at 17mb/sec
zleapor you are taking power from the rest of the system
zleapgordonDrogon: hi
thomas_25that is not a problem with pi probably, because it has one USB bus on board anyway, right
gordonDrogonmorning.
gordonDrogonthe Pi's usb can source 1.2 amps max. but you need a good PSU to be able to supply that and power the Pi.
thomas_25i power pi with a 2A adapter
thomas_25it couldn't even power one usb hdd
thomas_25which is rated for 500ma according to lsusb but i doubt that data's reliablity
Skybotit's a power/current/wattage match problem
gordonDrogonPSUs are notoriously bad as doing what they claim )-:
Skybotvoltage I mean
Skybotnot all of them
Skybotquality is important
thomas_25maybe the hdd tried to draw more than 1.2A but that would be a non standard hdd i suppose? i dont think toshiba would do that
Skybotratings etc
gordonDrogonsomething we learned in the early Pi days and it's not gone away ...
thomas_25gordonDrogon this is official rasppi adapter iirc
gordonDrogonSkybot, yes, there are reputable ones, but few and far between
Skybotsometimes it's easier to solve the problem by describing what you're wanting to do
gordonDrogonthomas_25, ok - the initial one was a 2A one.
gordonDrogonthe current ones are 2.5A.
Skybotgoal first.. then list the gear.
zleapi think someone said we are up to 2.5A+ now
Skybotjust offering
zleapbut yes a good quality power supply wil help, it is worth paying the extra,
thomas_25i can get an adapter like that, no problem -- but i'm not sure if i can trust pi's usb powering any more!
gordonDrogonthere are so many factors too - quality of wire & length, etc.
gordonDrogonthomas_25, just get a powered hub.
thomas_25i did
thomas_25it fixed the problem
thomas_25i mean i already had one but didn't want to clutter the space
gordonDrogongood - the down side as I'm sure you see it needing ... yea, clutter ..
thomas_25i installed it now and both hdds can work at full speed
thomas_25then again, pi is not engineered to have data throughput apparently
thomas_25usb2 and 100mbit eth
thomas_25and a single bus for the 4 usb ports
gordonDrogonone option may be to get one big PSU and power the Pi and hub off that one PSU - but you're then looking at something bigger, but it may help reduce the clutter a little.
thomas_25and also eth is included in that bus i think
Skybothttps://www.google.com/search?q=rasp+pi+3+specs+power&oq=rasp+pi+3+specs+power&aqs=chrome..69i57.8166j0j4&sourceid=chrome&ie=UTF-8
Skybotabc
gordonDrogonthomas_25, no - it's somewhat sub-optimal - basically we're pushing the SoC way beyond what it was ever originally intended for.
thomas_25that kind of (two output) adapters is big as far as i know, yes
thomas_25how is ethernet connected to the soc?
thomas_25does it have a phy?
Skybotyou can't put more than 1.2 amps into it.
gordonDrogonand the SoC was already a few years old before the Pi used it.
gordonDrogonEthernet is part of the on-board USB hub.
Skybotuse case would help.
gordonDrogonThe Wi-Fi on a Piv3 is on a eparate bus, but limited to ~40Mb/sec.
Skybotalot.
thomas_25i'm using wired network
thomas_25wifi is connected via usb wiring?
gordonDrogonno - it's a high speed serial bus separate from usb (forgotten it's name, sorry)
thomas_25Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
gordonDrogonthat's the on-board ethernet.
zleapif you're using a desk, it is sometimes worth taking everything off the desk, disconnect computers, monitors etc and then re-arrange everything better
thomas_25it is connected to usb hub then
thomas_25this is listed via lsusb
gordonDrogonit's built into the hub.
zleapthe clutter is still there just better managed
thomas_25yeah but it's using the 400mbit/sec usb2 bandwidth
gordonDrogonthe hub chip has 4 outputs plus ethernet.
thomas_25right?
gordonDrogonit's sharing that one usb interface into the SoC.
thomas_25yeah
thomas_25so you can't get 100mbit/ethernet and one full speed usb drive
thomas_25working at the same time
gordonDrogonstill - for a $35 computer designed to help teaching general computing, etc. I don't think it does too bad.
thomas_25of course not
thomas_25just understanding the nature of the pi
zleapgordonDrogon: i keep trying to emphase that when people ask about if the pi can do X or when is a more powerful pi coming out
thomas_25i'm planning to develop a project on this later on... right now, just using it as an end user and understanding its limitations
gordonDrogonto use it as a server, make sure you maximise RAM for caching, so no GUI, minimal gpu_mem, etc.
gordonDrogonzleap, can't stop people tinkering :)
zleapi know
thomas_25the limitations i've run into looks like i'm running into a IO bottleneck
zleapsomeone asked yesterday if there would be a pi0 with the same core as the pi3,
thomas_25either in the etnernet or the full usb hub
thomas_25right now i'm md5sum'ing two 250gb file on two hdds
gordonDrogonzleap, it's called the CM3 ... but I don't know if there will be a Zero3 ..
thomas_25one md5sum'ing can reach 37mb/sec
thomas_25but md5summing two hdd reduced each summing to 17mb/sec
gordonDrogon37mbytes/sec or mega bits?
zleapnot at the same price, i know the orange pi0 is quad core,
thomas_25megabyes
thomas_25cpu is not the bottleneck
gordonDrogonok, that's not that bad, really - 37Mbytes/sec.
gordonDrogonthat's like 3/4 of the USB bandwidth.
thomas_25yes that's pretty much topping the usb2 bandwidth
thomas_25but when that bandwidth is split between two hdds
thomas_25it is about 17mb/sec per hdd
thomas_25and it is not that good
gordonDrogonwhich is about right though.
thomas_25especially if you are comparing giant files
thomas_25yes, it is expected
thomas_25working as expected
gordonDrogonI believe the phrase is: nominal ;-)
dreamon__hello. wanted to use pi mpv player with hardware support. → https://nwgat.ninja/quick-easy-compiling-mpv-for-raspberry-pi/
dreamon__But since strech I cannot use this tut anymore. It dont installs like it did in jessy. :(
zleaphmm
zleapis ther anything pre-built
zleapapt search mpv
gordonDrogoninstall jessie?
thomas_25mpv was the only player beside quicktime on mac that could utilize hardware dec
zleapok
thomas_25btw chromium video playback is not smooth on pi, or is that just me?
Skybotsoftware
Lartzathomas_25, Chromium has no HW accelerated video playback on linux
Skybotdrivers (software)
thomas_25nor in mac afaik
Skybotfailure
LartzaNo idea about mac
thomas_25safari is very light on CPU where as chrome is not
LartzaThere are vaapi patches for chromium but those aren't yet integrated
thomas_25say, during a 1080p youtube playback
LartzaThose wouldn't matter for the pi but still
dreamon__mpv and omxplayer works fine on my old jessy.. both used hardware dec. didnt found a solution for strech..
Lartzaomxplayer works just fine on stretch
thomas_25what is strech and jessy? :)
Lartzadebian versions
Lartzaand toy story characters
thomas_25oh ok
zleapyep
zleapstretch is the octopus thing,iirc
zleapjessie is the cowgirl
Lartzayes
lastaidi encountered a bug in raspbian i think. i have a program that reads serial data, which is corrupted for large packets on raspbian. i ran the same code on a beaglebone black and it works. so its either a linux bug which the older version does not exhibit OR
lastaidits a raspbian bug. is there anything specific for raspbian which does somethimg with usb serial converters
lastaidalso, which vanilla flavor of linux could i flash which has no raspberry pi specific code?
zleapwhat does rasbian lite have
dreamon__maybe the reason it dont work I use it in console mode no gui. think its the wrong -vo option
zleapdreamon__: best thing to do is to try different things, make notes - directo output to file and collate as much info as you can, that may help developers reproduce and fix the issue
gordonDrogonlastaid, all the serial stuff is kernel related, so I'd suggest it's kernel not raspbian.
thomas_25lastaid maybe you should study how the data is corrupted in more detail -- that might give you more idea
thomas_25in my experience usb serial converters is a huge hit and miss
zleapcan you adjust the baud rate or is that fixed if it is in the kernel?
thomas_25maybe there's a timing issue and you have a buffer underrun or something
lastaidwell, i tried two different ones, and silicon labs one and a ftdi. both exhibit the same bug
thomas_25have you tried at different speeds?
lastaidif it is kernel related, then i can test by getting an old raspbian image
zleapgordonDrogon: is there an archive of images anywhere
thomas_25i'd assume it is module related, the module for yoru usb serial converter
gordonDrogonzleap, yes, on raspberrypi.org
thomas_25you can maybe get an older/newer one compiled against your kernel version that you can try
gordonDrogonspecifically, everything is under: http://downloads.raspberrypi.org/
lastaiddoes anyone recall when raspbian started supporting the rpi3?
gordonDrogonthe day before the Pi v3 was launched ...
zleapgordonDrogon: thanks
zleapa little OT what are ubuntu core snaps
zleapthey seem like small programs that run on ubuntu core
gordonDrogonno idea - I've no interest in ubuntu right now..
zleapok
Skybotmaybe too many updates by too many people and systems and companies? Constant alpha software to the public is very irritating.
SkybotAm I alone in this?
gordonDrogonSkybot, no - I still have Wheezy on a Pi or 2 ...
Lartzazleap, snaps are snaps :P packaged containerized software
zleapah ok
Skybotto me rasp pi is good for basic shit
gordonDrogonand until last year still had Debian woody on a live server ...
gordonDrogonSkybot, basic family-friendly stuff, yes.
Skybotweb browsing, maybe some small footprint software loads
Lartzaweb isn't small footprint :P
zleapmy old laptop had debian 4, i lost the PSU and just found it recently fired upthe laptop
gordonDrogonit's a small computer with 0.5 to 1GB of RAM... for $35 ...
Skybotweb should be a tiny tiny footprint if it isn't
Lartzait isn't, and never again will be
Skybotand if rp3 can't do that then it's application to web is useless really
gordonDrogonweb should be, alas the advertisers don't think so ...
zleapi have since updated it
Greg-JSkybot, W3C member chiming in here. The web is no longer a tiny footprint, and it'll only get bigger.
Lartzathe advertisers don't make js heavy platforms :S
Lartzaetc
gordonDrogonSkybot, Pi was and still is aimed at teaching computing.
Skybotpi doesn't teach computing if it doesn't work and is too complicated (especially if drivers are constantly being updated)
Greg-JThe Pi is not a desktop PC, and it isn't meant to be. There are SoCs that claim to be, but Pi isn't one of them.
gordonDrogonprogramming. teaching programming.
Skybotw3c members have lost credibility in recent times, to be direct about it.
Greg-JSkybot, I don't think you're the target market for the Pi, mate.
gobostonemy pi does great as a desktop
Greg-JSkybot, outside looking in, friend.
gordonDrogonI was using a Pi zeroW as desktop recently 0.5GB RAM. It was usable - slow, but usable.
Skybotthat 'cost' is in the discussion for computing is annoying to a 10yr old learning to program what on a pi3?
Greg-JYou and I have different definitions of usable gordonDrogon ;)
zleapi had no problem yesterday, i am doing a project at the job centre, plug in pi, connect pi stop, fire up scratch and work out how to get a traffic light sequence working
gobostoneok. that's crazy. the pi3 really is good though. if it had 2gb ram it would be great
gordonDrogonsure - great and $55 rather than $35.
zleapgordonDrogon: indeed
Skybotspecs aside; 12 yr olds don't care, they want it work or it's a hocky puck
gordonDrogonscratch and python work very lwell on a Pi 0.
zleapwellthe idea of computing is that uou make things work
Skybotpi3 is good for young adults - 30+yr/olds
Greg-JMy son has been doing pi projects since he was 11 (14 now) and he's loved it.
Skybotmate.
Skybotit's not saying it's not available to youngers
Skybotit's not commercially available and accessable to youngers
Skybotis more accurate
Greg-JIt is commercially available, and it is very accessible. What are you on about?
zleapthere was a time when a computer was a box+keyboard to make it do anything you wrote programs inbasic
Lartza^
Greg-JIt's not a desktop computer. It's not marketed as one.
zleaporother language
Greg-JQBASIC in the house!
Lartza:D
gordonDrogonsudo apt-get install rtb
gordonDrogonon the Pi - a great little basic ;-)
Skybotmaybe without all the constant updating some normalcy can organically 'happen'?
zleapwith the pi, the idea is to go back to learning how to do stuff and how programs work
Skybotit's a suggestion
LartzaSkybot, What constant updating?
zleapconstant updating, are you using windows
Greg-JSkybot, go to https://www.raspberrypi.org and tell me what you see.
LartzaDebian as a base is almost the LEAST updating OS of all time almost
SkybotACTION rolls it's eclisped third eye
Greg-JRASPBERRY PI:
Greg-JA small and affordable computer that you can use to learn programming
LartzaAnd new pi's are backwards compatible
Greg-JTEACH, LEARN AND MAKE WITH RASPBERRY PI
LartzaPi's aren't being pushed out once a year
Greg-JRASPBERRY PI IN EDUCATION
Greg-Jetc. etc.
SkybotI own a rp3
zleaplike I said, it worked great yesterday, main challenge was getting the dvi plug in to the monitor at an awkward angle
SkybotI wouldn't type if I didn't have an opinion.
Greg-JThat doesn't mean you understand it's place in the market
Skybotit doesn't mean you do either.
Greg-JAwesome logic.
Skybot10 yr old remember
LartzaIt seems to me Greg-J understands it just fine
LartzaWhat about 10 year olds?
Skybotlogic
Greg-JYou're 10?
Skybotlet's see here; if the product was good enough for a 10 year old; why is "HELP" needed? Why isn't it built into the product from the beginning? - https://www.raspberrypi.org/help/
Lartzawhut
Skybotwhy are guides needed?
Greg-JHoly hell mate.
LartzaSkybot, That's like saying why does your TV remote need labels on buttons
Skybotwhy aren't the intuitive aspects of programming built into it's interface and experience?
Skybotnot if you ask a 10 yer old
Skybotbe a 10 yr old
zleapwell if you are learning to program you usually use a guide of some sort, unless we are in the matrix and can upload python
Greg-JI forgot how wonderful /ignore can be.
Skybotyou don't get your demographic
LartzaI don't have to, I can read the thousands of experiences schools have with the Pi's with children of all ages
Greg-JIn any event, if there is anyone on right now that is interested in a lower profile Pi with more GPIO than a pi3, hit me up. I'm having dev boards printed and i'm looking for a dozen or so vets to help debug.
gordonDrogonGreg-J, based on the CM3?
Skybotyou seem defensive, I didn't mean to
Greg-J56mm x 84mm, but the magic number is that it's 8.125mm thick.
Greg-JYeah.
zleapthere are over 100 different single board computers out there, you normally research find find the one that fits your needs
gordonDrogonGreg-J, might be interested, but we're an atlantic apart ..
Greg-JPretty sure the post delivers to Germany
Greg-J;)
gordonDrogonI'm in the UK.
zleapme too
Greg-JThe /whois is a lie
LartzaNo it's not?
zleaplol
Skybotso https://www.raspberrypi.org/downloads/noobs/ << tells 10/yr olds that SHA-256 is available from the site that they'll understand what's needed? I don't think so.
zleapit could be the freenode node that gordonDrogon is connctedvia is in germany
LartzaGreg-J, One can see just fine you are using a Charter connection somewhere in Oregon :P
Greg-JAye, I was referring to gordonDrogon
zleap10 year olds are capable of finding out or asking
LartzaGreg-J, You are looking at the part where it tells where the freenode server kornbluth is located?
Skybotthey're busy trying to figure out how to use a pi, not determine what encryption means
Greg-JYeah, I'm an idiot.
zleapwell at the jam and exeter jam 10 year olds can just pick up a pi and use it for coding
Skybotno labview programmers?
LartzaAnd at schools
zleapgranted they dont need sh5sums for python,l scratch etc
LartzaAnd pretty much at homes
LartzaAnd pi's that come with preinstalled sd cards
LartzaBut no no, you NEED to know about sha256 to get a Pi working
SkybotI love pi's
zleapno you don't
LartzaNo matter the fact you can just ignore sha256 too
SkybotI love pi's like I like OhPie
Greg-JI think that was /sarcasm Lartza ;)
zleaplast time i used sh5sum, was to check a mint iso
OhPiesheez
OhPieSo mean you people
zleapi started with a zx spectrum when 10/11
Greg-JWhy does /ignore not follow the user after nick changes?
OhPieWhere's my SpaceX application
LartzaNobody is being mean, you are just being a borderline troll... okay an actual troll
OhPiegreg-j; client limitations
zleapas did quite a few people we learnt basic , no web just magazines and pages of listings
red9re SpaceX can the Raspberry Pi handle any radiation at like in space?
zleapthere is a pi on the iSS
gordonDrogonred9, Pi is consumer grade, however there are 2 on the ISS right now.
zleapok 2 then
zleapyeah tim peake too one up iirc
gordonDrogonand I think there is a cubesat launched that had a zero on-board.
gordonDrogonzleap, technically they were sent ahead of him, however ...
zleapyeah, in the supply module
LornzzHey, I’m looking to create a video player docker container (mpv/vlc/whatever, output to HDMI) to use on a raspberry pi 3 running raspbian lite. Can I just add all necessary GUI libraries / packages which raspbian lite is missing to the container or are there some essential libraries or drivers which need to be available on the docker host as well for that to work?
gordonDrogonLornzz, do you need to use docker at all? Just install raspbian and off you go ..
Lornzzfor learning purposes, yeah :D
gordonDrogonok - but yes, you can simple apt-get install whatever you need from full raspbian.
Lornzz+ this would be the only (rare) use for the pi to provide visual output aside from CLI
Lornzzok, makes sense. thanks
lastaidodd. i have 2 raspberry pi b+ 1.2. both won't boot from an 2013 image
javascript881guys. my raspberry pi rebooted 45mins ago when I was connected to it on SSH and now I get an access denied when logging in
javascript881wtf
javascript881the rpi is not internet facing so I can't possibly be hacked?
javascript881what do I do O.o
saxajavascript881: connect the keyboard and monitor and check
javascript881saxa: just did, it's getting a fatal error when booting
javascript881`ioctl failure no such device`
javascript881and it just keeps on printing that
javascript881over and over
Ben64rip
javascript881what do i do lol
javascript881is there any way to salvage the files on it ?
Ben64maybe
Ben64put it into another computer and see
javascript881i tried 2 rpis
Ben64computer
javascript881oh the sdcard ?
Ben64yep
javascript881what am I looking for
Ben64well you asked if you could salvage files, so ... files
javascript881yeah the files like rc.local etc
javascript881I open the sdcard all I get are binaries for the most part
javascript881and some text files
javascript881hm it shows up as 2 parts
javascript881boot and USB drive
javascript881however USB drive is a not recognized format
javascript881*not recognized file system
javascript881I have raspbian installed on my rpi, and when booting it encounters a [FATAL] error, it won't start up and just keeps looping `get-iface-ip ioctl failure no such device`
javascript881is there any way to get past this? all I want is to get a few scripts on it and I can just throw away the sd card if it's fried
ShorTieACTION Thinkz, backups are your friend
[Saint]if you just want a couple of scripts off it you can mount it on anything that can mount ext4 and just pull them off.
[Saint]also, yes, throw that stuff in github.
javascript881like a laptop running ubuntu ?
[Saint]Yes.
javascript881ok let me get one and try :)
[Saint]I put all my user .dotfiles and environment configuaration files, .gitconfig, ssh/screenrc, etc. in a github repository.
[Saint]just flash an iname, create a new user, and install git and checkout my repo to ~/
[Saint]s/iname/image/
[Saint]takes all of a couple of minutes.
ShorTietakes less just to copy to another pc
[Saint]I would argue that's largely untrue. mount, copy, paste, unmount, mount, copy, paste vs 'git clone git.foo/bar/baz ~/'
javascript881mounted it, found rc.local
javascript881but is has something different in it ?
[Saint]well, it sounds very much like your filesystem got trashed, so, maybe?
ShorTieWinSCP is a sweet apt
javascript881#!/bin/sh/ -e; /opt/7mkZT4X6; exit 0
[Saint]huh.
[Saint]hmmm.
javascript881I think I've been hacked lol
javascript881legit
javascript881https://www.erawanarifnugroho.com/2017/08/25/raspberry-pi-exploited-cryptocurrency-mining.html
javascript881exact same thing happened to me
javascript881same host etc
Ben64whatever happened to "the rpi is not internet facing so I can't possibly be hacked?"
shiftplusoneACTION would be interested to know how it happened.
javascript881it wasn't at the time
javascript881maybe it was when it got infected
javascript881but still even if it was
javascript881how
javascript881there were no ports forwarded
javascript881or anything
javascript881the only way to get into it was from an internal pc over ssh
shiftplusoneWhat distro was it running and was it up to date?
javascript881raspbian
javascript881it was the first time I booted it up in a few months so the version is at most a few months old
shiftplusonestretch?
javascript881stretch ?
[Saint]shiftplusone: hey man!
shiftplusone[Saint]: o/
[Saint]hey, you might know, is there any way to disable/enable power to the csi?
shiftplusonenot off the top of my head. What's this for?
[Saint]I'd like to be able to depower a picam when not in use because it's got a couple of massive IR LED modules hanging off it and it's a hungry-hungry-hippo.
[Saint]I'll just build a breakout for it I guess.
shiftplusoneWhat is the IR LED connected out?
shiftplusoneoften they hook it up to the voltage line and that can't be switched off.
[Saint]et viola: https://images-na.ssl-images-amazon.com/images/I/61Ht8nIZgFL._SY355_.jpg
[Saint]so, yeah, probably. I don't mind depowering the entire thing.
shiftplusoneI mean the same line that powers the pi itself
shiftplusone3v3
[Saint]when I'm not using the LEDs I won't need the camera either. I was just wondering if there was some gate somewhere to depower the csi port.
[Saint]I'll just put a breakout in the cable then and do it that way.
[Saint]flip that with an arbitrary gpio pin.
shiftplusoneNope, because there's no switch that will cut that 3v3 line at all. It comes straight from the regulator that also powers everything else that's 3v3.
shiftplusoneSo yeah... a breakout will do it.
[Saint]do you know offhand how/if the system will cope with a mmal camera suddenly disappearing/appearing?
[Saint]or do I just have to wing it?
shiftplusoneIt should cope
shiftplusoneas long as it's connected when you first try to use it, since it scans for cameras and stores that result.
[Saint]I mean, obviously I'll guard againt taking it down during write/capture, I'd just like to know I can bring it back up.
[Saint]ah, OK. excellent.
shiftplusoneYes, I used to physically remove the camera from the port and connect it while the pi was running and that was fine (as long as you don't short anything). Wouldn't recommend it, but it works.
[Saint]I need to make a more substantial and shorter flex cable anyway.
[Saint]I really don't like the voltage the flimsy little flatcable I have is having to deal with.
[Saint]those LEDs don't mess around.
[Saint]shiftplusone: I tried to figure this out, but I haven't been able to pice it together. in the current use case for those LED modules as pictured, there's no way to actually use the ambient light sensors ... is there?
[Saint]I can't seem to find anyone actually doing it. presumably the camera supports some form of onewire logic?
shiftplusoneNot sure I follow. What ambient light sensors?
shiftplusoneno onewire that I am aware of. There's just a few gpios which are used for power enable (not useful for you) and such, i2c to communicate with the sensor and CSI for the actual image data.
[Saint]sorry, poor/wrong wording. there's a light sensor on each module next to the IR LED.
[Saint]And I can't for the life of me fathom what it's for.
shiftplusoneDo you have a schematic for the thing?
[Saint]Hah!
[Saint]Alas, I do not. There's about a bajillion slightly different unlabled variations of them.
shiftplusoneTypically those sorts of boards are Chinese clones of somebody who did it properly and released a schematic.
shiftplusoneFigured it would be adafruit, but I don't see anything similar
[Saint]yeah, I haven't had any luck with this at all. :-S
[Saint]and I'd really really like to, because my /guess/ is that they can be used to depower the IR LED based on light source, but it doesn't appear to operate in that fashion out-of-the-box.
shiftplusoneIf those sensors do anything, it would be done on the board itself and is probably not controllable from the pi.
[Saint]So I was hoping there would be some way to read from them, but I can't find that information either.
shiftplusoneunless they've connected it to the gpio pins in some usable way
shiftplusonedo you have the part numbers?
[Saint]there's absolutely no information printed on the boards I have at all.
[Saint]Deliberately, one presumes, as there's /plenty/ of room.
[Saint]I suppose it's supposed to govern the IR LEDs automatically and just....doesn't.
[Saint]wondering if there was some way it could communicate logic over the csi was just a shot in the dark because nothing else works. hah.
aliasunknownHello
aliasunknownDoes anybody have information on the most efficient type of DC-DC convert for 12V to 5V?
aliasunknownIve been looking at CPT converters, linear regulators
aliasunknownswitching regulators
aliasunknownany ideas
mfa298aliasunknown: linear regulators convert the excess voltage into heat so are often less efficient.
stiv4.7 diodes in series
mfa298certainly for 12v to 5v, in a linear regulator Iin will be the same as Iout, so you'll get a fair bit of heat out depending on how much current the Pi draws.
gordonDrogonaliasunknown, there are a few 7805 regulators which have the same footprint as the old linear 7805 and are veryeasy to use - just 1A though.
gordonDrogonok for a Pi v0 maybe not so ok for a v3.
mfa298switching regulators are generally going to be more efficeint (80-90% is common)
aliasunknownim searching then for switching regulators then as they are more efficeint?
gordonDrogonyes.
aliasunknownwe might be powering a few more sensors and things but 2A should be more than enough
gordonDrogonand a Pi as well?
aliasunknownyes
aliasunknowndoing testing but most likly pi A+
aliasunknownthe idea is to power the system via solar and batteries
gordonDrogonodd choice, but maybe you have them - I'd use a zero over an a+, but hey ...
aliasunknownso we are trying to get the most efficient way
aliasunknownyea i order some to test
aliasunknownI read that efficieny is affected by the difference in voltage, so 15V to 5V is worst than 12V to 5V
lastaidi have a problem with serial->usb converts that seems to be exclusive to the raspberry pi. i checked with win/amd64, linux/amd64 linux/arm (beaglebone black) and raspbian/arm
uriahheepgordonDrogon: a+ is neat too if you’re looking to involve audio playback in a project :>
lastaidonly on the pi i have issues with serial communication being corrupted. could it be the kernel or the "firmware"?
BurtyBaliasunknown, if you're using linear - for switching check the data
uriahheeplastaid: what baud are you running the serial connection at?
lastaid921600
gordonDrogonthat's a weird baudrate.
uriahheepthat would be why
aliasunknownthanks
stivindeed
mfa298aliasunknown: the datasheet for the regulato shoudl tell you (probably with a graph) what the efficiency is like, but switching regulators will generally be in the range 80-90% efficient.
stivalso might be too fast for the pi with whatever else is going on
lastaid110, 150, 300, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600 those are all common baud rates
lastaidand why would it wokr on all the other platforms.
gordonDrogonaliasunknown, there are many "UBEC" devices on ebay - these may help you find something.
uriahheeplastaid: there’s a setting in config.txt allowing one to use such high baud rates
lastaidhangon ...
lastaiduriahheep: does it affect ftdi usb->serail converters?
aliasunknownintresting
aliasunknownright now I am using some cheap "CPT" converter and its not the best
aliasunknownplus its for 5A and by using less than 1 its less efficent
lastaidi even tested a current version of raspbian and a 2015 one. even the rpi3 and rpi1b+ and they both fail consistently
uriahheeplastaid: put init_uart_clock=16000000 I config.txt and set baud to 1000000
gordonDrogonlastaid, it might simply not be possible on the Pi.
gordonDrogonuriahheep, he's using a USB adapter, not the on-board one ...
uriahheeplastaid: dunno
uriahheepo
uriahheepoops
uriahheepsorry
gordonDrogonso you're basically looking at 100,000 characters a second over the USB interface - which is more than fast enough, but if they are being sent one at a time, then that might potentially be 100,000 interrupts/sec or the Pi having to poll the USB interface 100,000 times a second - that might be the limitation. I'm not sure the USB interface can handle that many tiny bursts, but who knows.
lastaidwait guys ... i am using the serial->uart to connect a serial device TO the pi
lastaidso the usb end in in the pi
gordonDrogonuh - are you plugging into the Pi's USB or the Pi's GPIO pins?
lastaidPi's usb
gordonDrogonright, so what I said applies.
lastaidit has no problems receiving 4000k bytes
lastaidsry 4k
lastaidwill never have a corrupt byte. but once i hit 8000 - 11000 bytes, it brakes
gordonDrogonfastest I regularly use is 115200 to program & exchang data from ATmegas - never had any issues with that over USB.
gordonDrogon4096 might be the size of the serial input buffer, so if your program can't drain it fast enough you might lose something unless there is some form of handshaking.
pksatottl level serial? or RS232 voltage level? Short or long cable?
lastaidttl level serial, but the serial converter is on the device PI->USB-------->FTDI->Device
lastaidi can try a shorter cable to be sure
lastaidhafve a 15cm one here
lastaidi am trying to get debian arm64 working right now, maybe there will be a difference there
lastaidgordonDrogon: i don't think that 921600 is to fast for the pi. also it works on another, slower arm architecture.
lastaidmost usb->serial controllers use bulk frames internally, iirc, the ftdi uses 16 + 2 bytes for serial communication when its not using fast bulk frames
lastaidits a raspbian problem. just confirmed with debian-testing. works like a charm on a rpi3 ... now i have to figure out what the difference is
gordonDrogonlastaid, I'd be thinking more along the lines of the kernel than userland.
gordonDrogonthere's really nothing in userland to get in-between the hardware controlled by the kernel and your program.
gordonDrogonother than maybe some weird compiler optimisation...
doubI'm trying to have a Pi Zero W take pictures every second for a very long timelapse. It works at my desk with power from a USB hub and a monitor on HDMI. But if I unplug the HDMI, the Pi crashes after a few minutes. Any idea what could cause that? Also what can I do to pinpoint the cause?
doub(fwiw it's a special charging port on the hub)
red9What happens if you boot without the HDMI connected ever?
doubIt boots fine, my script runs for a few minutes, and then it crashes.
doubWhen I say crash, I mean it stops responding on the network. As the monitor is unplugged I'm not sure.
doubAnd it reboots.
doubMy script turns off the LED so there's no parasitic light on the timelapse. So I can see when it reboots.
vahkGreetings. I am using a Raspberry Pi 3, with an external soundcard (an audio interface). I am writing an application for the Pi in C++ that captures from the audio interface. However I have just noticed that even when my application is not running I'm getting sound capturing from the interface (a guitar is hooked up to it). It seems to automatically capture any audio from the interface as soon as the Pi
vahkboots. Anybody know how to diable this?
vahkI've also got the interface as my default sound device.
vahkalsamixer shows no capture options for the device, BTW.
vahkI have the same audio interface on desktop (Ubuntu) and this behavior isn't present.
mk-fgDo you use pulseaudio there? Maybe check that as well
vahkmk-fg: On the Pi or on desktop?
vahkI've got pulseaudio on desktop, but not on the Pi, I think.
mk-fgPi, assumed everything above was about Pi
vahkI'm not 100% sure if pulseaudio is running, but I think it's not.
mk-fg"ps aux | grep pulse" to be sure, might be installed with distro that has desktop out of the box
vahkmk-fg: When I said desktop above, I was referring to my main x86 desktop.
mk-fgThough dunno why'd pulse do that thing either
vahkYeah I just checked. It seems that Raspbian does not install pulseaudio by default.
vahkAnd in fact my software framework which supports pulse throws an error on running. Which leads me to believe that there is no pulseaudio.
vahkIt just defaults to the next thing, which is ALSA.
vahkThe grep has returned that there are no processes called pulse*
mk-fgMaybe paste output of "amixer -c0 contents ; amixer -c1 contents" somewhere? I'm curious about "no controls in alsamixer"
mk-fgThough I haven't used many usb cards, maybe not that uncommon
vahkmk-fg: Here it is: https://pastebin.com/tVxPTFBK
mk-fgHm, weird
vahkmk-fg: It says the same thing on my x86 desktop (same audio interface).
vahkThrough alsamixer.
mk-fgAfaik all these cards use same snd-usb driver and protocol (usb audio spec or something), so it's the card not providing any knobs
vahkAh, I see.
mk-fgAnd doing its thing in some way that you apparently can't control and don't want
vahkIt is a cheap card.
mk-fgI have some $5-10 one here, but iirc it has plenty of knobs, maybe you got unlucky with that one :)
vahkmk-fg: Do you mean physical knobs? I thought you were talking about the virtual sliders in alsamixer. :)
vahkmk-fg: This audio interface has 3 physical knobs.
mk-fgNo no, virtual sliders, ofc :)
vahkmk-fg: Ah ok!
mk-fgOh, guess maybe they swapped virtual ones for physical that way
vahkmk-fg: I've figured something out, and thanks for helping me. I swapped out the interface from my x86 desktop to the Pi.
vahkIt doesn't seem to have the issue now, so I'm guessing the problem is in that specific interface.
vahk(audio inteface/soundcard)
vahkIt's by Behringer, and I don't know if you're a musician, but the company is known for it's relatively low quality control.
vahkI should have tried this out before I asked for help, heh.
mk-fgNo worries
vahkI guess maybe the audio is bleeding through it, some how?
mk-fgHmm, that sounds really low quality :)
mk-fgI mean, if it fails like that on electrical level
vahkHaha
vahkYeah, I've plugged it into my x86 desktop and it's doing it again on here.
vahkI'm relieved to know it's not the Pi, at least. :)
mk-fgCan't you disable line-in via physical knob on it though?
vahkOh damn.
vahkmk-fg...
mk-fgTurn it down to 0 or such
vahkmk-fg: I'm so sorry for wasting your time. I feel so bad now.
vahkmk-fg: I accidentily had the "monitor" button pressed. :x
mk-fgAha :)
vahkI'm getting old/a far cry away from my younger trouble shooting days.
vahkI gotta get my projects done before I get too old!
vahk:D
vahkmk-fg: So sorry, but thank you so much.
mk-fgNo problem, good luck!
vahkmk-fg: Thanks!
Greg-JVoice recognition question: Anyone have any hands-on experience with a rpi library that will recognize a word without an internet connection?
Greg-JI want a pi to perform an action if it hears a single word, but I don't want it to have to have internet connection.
ebarchGreg-J: I actually just saw an article in The MagPi about that
ebarchit was https://snips.ai/
Greg-JSuhweeeeat!
Greg-Jebarch, you rock.
ebarchno prob :) I haven't tried it, so hopefully it will do what you're after
Greg-JLooks like it.
Foxfir3[Saint]: Thanks for the tips last night. A healthy Rasbian up and running :)
Foxfir3I cant find any article on the hardware issues for Arch, Fedora and FreeBSD. Can someone here clarify It for me? The GPIO, Wire?, I2C, SPI. I really want to get awawy from the Raspian distro, but I dont understand the price of switching.
Foxfir3Im assuming some libraries were written for Raspian to handle the Pi gadgets?
TheG0ldenG0ddoes anyone here do development on their pi
Foxfir3TheG0ldenG0d: What would be limiting dev on the Pi?
TheG0ldenG0dwhat do you mean
TheG0ldenG0dI dont understand your question
Foxfir3TheG0ldenG0d: I mean, apart from the limited ram.
andiHello, I'd like to setup an openswan servivce on a raspberry pi. Can somebody tell me how much ressources openswan needs to have a nice latency and throughput for the vpn connection?
gordonDrogonTheG0ldenG0d, I develop all my Pi stuff on the Pi.
TheG0ldenG0dthats what Im doing with reactjs but it takes almost a minute when I run npm run build to build the production version of my web app
gordonDrogonI write C and BASIC programs on my Pi's.
red9Why BASIC ?
TheG0ldenG0dyea Im wondering that too
TheG0ldenG0dthats a really old language
gordonDrogonwhy not basic?
HabbieTheG0ldenG0d, C is only slightly newer and 90% of your system is written in it
gordonDrogonmy basic is written in C.
Habbie:)
TheG0ldenG0dwhat are you talking about ?
gordonDrogonanyway, GOTO bed time here :)
Foxfir3anyone had luck installing qutebrowser in raspian?
Foxfir3Beginning to understand. 2 cards. Raspbian minimal for playing with hardware. Arch, FreeBSD, Fedoras for playing with everything else. Obviously they dont care to mention that :D so.. 2 SD cards to get the full package. I wonder If I can dual boot form the Raspian SD card, and then have distro on a USB stick?
Habbiemany things are possible
Habbienot everything has been made easy by others already
Habbiebut i recall 'berryboot' as a useful search term
Foxfir3Habbie: thanks :) Berryboot it is then.
Habbiethere's also uboot
Foxfir3Habbie: Can the R Pi even rebbot? It has no battery?
Habbiei don't understand the question
Foxfir3Habbie: uboot noted :)
Foxfir3Habbie: im a Pi noob, so I dont understand the boot process. If I want to reboot the systeme over ssh. Would that be possible?
Habbiesure
Habbiejust type sudo reboot
Foxfir3Habbie: oh.. okay. reboot works now. It didnt work before i updated the system.
Foxfir3Habbie: I was just curious as to how It is able to reboot without a battery.
doubMy Pi Zero runs a timelapse script, and it automatically hard-reboots a few minutes after I unplug the HDMI cable. I imagine it crashes and some watchdog resets it. Is there a way to disable the watchdog so I can see what happens before the crash?
Maaii found aliens are controling
Maaisend them the opposite of your love. otherwise humans remain watched
Maaiwhen they speak. they are panacking. like a bully.
Maaipanick :)