News for hackers. Stuff that matters.
Re:Crankshaft – A GNU/Linux for the Raspberry Pi as an Andro... by royjacobs on Sunday February 25, 2018 @11:29AM (#16459654)
I'd pay good money* for a system that would package a PiZero, touchscreen, suction cup etc. into a single convenient package that I could plug into the 12v charging point of my car. Especially if it runs Android Auto!

*A medium amount of money

Re:Crankshaft – A GNU/Linux for the Raspberry Pi as an Andro... by ohazi on Sunday February 25, 2018 @01:33PM (#16460363)
"Official" rpi Touchscreen: https://www.amazon.com/gp/aw/d/B0153R2A9I/

Case for pi and touchscreen: https://www.amazon.com/gp/aw/d/B01HV97F64/

Suction cup: https://www.amazon.com/gp/aw/d/B076XZ9JN7/

Car charger: https://www.amazon.com/gp/aw/d/B00ISGCAJM/

Might require a little finagling...

Re:Crankshaft – A GNU/Linux for the Raspberry Pi as an Andro... by lowtolerance on Sunday February 25, 2018 @02:40PM (#16460733)
Most cars don’t supply 12v thorough the accessory outlet when the ignition is off, so you’d need some of backup power source. Pis do not cope well with having the power cut off abruptly, so unless you want to carry a spare microSD card around at all times, you’d need some kind of solution for handling shutdowns.
Re:Crankshaft – A GNU/Linux for the Raspberry Pi as an Andro... by TickleSteve on Sunday February 25, 2018 @06:32PM (#16461865)
That problem is simply because you're writing to the card continuously. Make your distro run from RAM and you're fine... that is what most embedded devices do, stick it all in an initramfs.
Re:Crankshaft – A GNU/Linux for the Raspberry Pi as an Andro... by woolvalley on Sunday February 25, 2018 @02:50PM (#16460794)
A battery and something that detects the power has been cut off and does a shut down/standby.

Rpi startup takes a little while, so I don't know how nice it would be to wait 1 minute for your android auto system to startup.

Re:Crankshaft – A GNU/Linux for the Raspberry Pi as an Andro... by thr0awaz on Sunday February 25, 2018 @07:32PM (#16462139)
It's not a big job to wire the detector you're talking about in your first sentence - it's more or less a relay and a capacitor (albeit a big capacitor, or maybe a battery if you put some more wiring and a charger in the circuit)

For the second one... you'd need to maybe consider tapping into the CAN bus and listening for a door unlock event, then powering up off that, and/or stripping everything out of the kernel and services that isn't needed... you could probably get that boot down to 10-15 seconds

Re:Crankshaft – A GNU/Linux for the Raspberry Pi as an Andro... by bigiain on Sunday February 25, 2018 @09:08PM (#16462507)
Pretty sure he's already done that second part.

The linked "features demo" video on youtube shows it booting into the Crankshaft app from power on (through Rasbian Lite) in ~11 seconds.

https://www.youtube.com/watch?v=tFEpfuDBDjM&feature=youtu.be

Re:Crankshaft – A GNU/Linux for the Raspberry Pi as an Andro... by rkangel on Monday February 26, 2018 @04:49AM (#16464220)
If you watch the video, the bootup time of the distro involved is significantly less than one minute - more like 10 seconds in fact.
Re:Crankshaft – A GNU/Linux for the Raspberry Pi as an Andro... by askvictor on Sunday February 25, 2018 @08:19PM (#16462321)
I was quite surprised that my 2010 car does provide power through that outlet when it's off. What's your basis for saying _most_? I only have two datapoints myself, so can't generalise.
Re:Crankshaft – A GNU/Linux for the Raspberry Pi as an Andro... by jackfraser on Tuesday February 27, 2018 @12:16PM (#16475531)
That's surprising. Seems like it would be easy to inadvertently drain your battery.
Re:Crankshaft – A GNU/Linux for the Raspberry Pi as an Andro... by IshKebab on Monday February 26, 2018 @03:21AM (#16463925)
Mine too, from 2003. Stupid design, even then.
Re:Crankshaft – A GNU/Linux for the Raspberry Pi as an Andro... by the-dude on Sunday February 25, 2018 @04:31PM (#16461273)
> Pis do not cope well with having the power cut off abruptly

Even with noatime?

Re:Crankshaft – A GNU/Linux for the Raspberry Pi as an Andro... by Piskvorrr on Sunday February 25, 2018 @06:33PM (#16461868)
Even with the card mounted readonly. (Source: recent experience)
Re:Crankshaft – A GNU/Linux for the Raspberry Pi as an Andro... by lern_too_spel on Sunday February 25, 2018 @03:39PM (#16461049)
Android Auto does not need a separate head unit, so I think any 7" tablet with the Play Store would work. Just configure it to tether to your phone when the car turns on.
Re:Crankshaft – A GNU/Linux for the Raspberry Pi as an Andro... by jimmies on Sunday February 25, 2018 @12:46PM (#16460113)
That's indeed the first thing I thought of. The problem with the Pi0 was that it doesn't have a Display header, so it turned out to be very messy. The 7-inch touchscreen is very big anyway, so the Pi3 actually isn't that big and bulky. I'm sure if ideas like Crankshaft take off, there will be people who make the suction cup structure for you. For now you can buy the touch screen cover for the back, but it doesn't have the suction cup.

PS: If you really hate the bulkiness of the Pi3B, you can try the Pi A+. I haven't tried it because I don't have it, but it should also work.

Re:Crankshaft – A GNU/Linux for the Raspberry Pi as an Andro... by robocat on Sunday February 25, 2018 @01:50PM (#16460446)
I saw that one of the Orange Pi boards comes with a cheap touch screen. Google alibaba or banggood.
Re:Crankshaft – A GNU/Linux for the Raspberry Pi as an Andro... by voltagex_ on Sunday February 25, 2018 @07:19PM (#16462073)
Heh, if it's the touchscreen I'm thinking of, it's a knockoff of a knockoff - also only has a binary kernel driver.
Re:Crankshaft – A GNU/Linux for the Raspberry Pi as an Andro... by mhd on Sunday February 25, 2018 @02:19PM (#16460615)
Give me a decent HUD setup and something that plugs into OBD, and I'm sold, too. I want to have some kind of conky/rainmeter/ubersicht for my dashboard window.
Re:Crankshaft – A GNU/Linux for the Raspberry Pi as an Andro... by jacquesm on Sunday February 25, 2018 @05:34PM (#16461596)
Good HUD is hard. The problem is the length of the lightpath. I've done some experiments with this, your best bet is to place the screen somewhere on the right hand side and project via a mirror onto the windshield. You'll still have to deal with sunlight reflecting off the mirror into the car and you will need a super bright lightsource to be able to use it in daylight. The best solutions end up in front of the firewall to minimize picture distortion.
Re:Crankshaft – A GNU/Linux for the Raspberry Pi as an Andro... by setpatchaddress on Sunday February 25, 2018 @06:41PM (#16461909)
Available systems in the marketplace seem to suggest that you either need a windshield with special light-filtering properties (as in new Volvos), or you get a separate piece of glass/plastic material to project the HUD onto (every other OEM system I've personally seen). But maybe the light sources simply aren't bright enough.
Re:Crankshaft – A GNU/Linux for the Raspberry Pi as an Andro... by jacquesm on Sunday February 25, 2018 @06:55PM (#16461976)
That separate piece of stuff to project on to is to avoid the ghosting effect you get from a projection reflecting from both the front and the back of the glass/air interface.