Skip to content
This repository has been archived by the owner. It is now read-only.

[New Device] Google Glass #957

Merged
merged 1 commit into from Dec 1, 2017
Merged

Conversation

@kendfinger
Copy link
Contributor

@kendfinger kendfinger commented Nov 30, 2017

This implements support for Google Glass.

@ollieparanoid has also asked me to take photos of this, and I will get these to the project ASAP.

@PureTryOut
Copy link
Contributor

@PureTryOut PureTryOut commented Nov 30, 2017

Thank you very much! Very cool to see Google Glass supported!

Please add the device to the list of supported devices.

@kendfinger
Copy link
Contributor Author

@kendfinger kendfinger commented Nov 30, 2017

@PureTryOut I have updated the device list. I will be working on a detailed wiki page soon.

@@ -0,0 +1,79 @@
# Kernel config based on: arch/arm/configs/(CHANGEME!)

This comment has been minimized.

@ata2001

ata2001 Nov 30, 2017
Member

Please adjust this line.

Copy link
Member

@ollieparanoid ollieparanoid left a comment

Looks good, except for the minor things that have been commented. Can't wait for a photo 😄 Thank you very much for your work on the port!

pkgname="linux-google-glass"
pkgver=3.4.83
pkgrel=0
pkgdesc="Google Google Glass kernel fork"

This comment has been minimized.

@ollieparanoid

ollieparanoid Nov 30, 2017
Member

How about replacing that with pkgdesc="Google Glass kernel fork"? (I know that this was auto generated)

@kendfinger kendfinger force-pushed the SpinlockLabs:google-glass branch from bf6fb33 to d482aa9 Dec 1, 2017
@@ -0,0 +1,33 @@
source:

This comment has been minimized.

@zhuowei

zhuowei Dec 1, 2017
Collaborator

This file isn't used: you might want to remove it.

@kendfinger kendfinger force-pushed the SpinlockLabs:google-glass branch from d482aa9 to 57a300d Dec 1, 2017
@kendfinger
Copy link
Contributor Author

@kendfinger kendfinger commented Dec 1, 2017

Checked over everything again, let me know if there are any more things to fix 👍

@ollieparanoid It's extremely tricky to get a good photo where you can see the screen, so my solution is to take the following photos / screenshots:

  1. Screenshot of Weston with the terminal open, identifying the device as Google Glass (hardware ID if one exists, or a hostname of google-glass)
  2. A photo of the device itself with a backdrop of the postmarketOS site
  3. Once I make it, a screenshot of a Web Interface for viewing Glass sensor data

Also, it would probably be cool to mention that coinciding with getting pmOS running on Glass is making open source libraries for interacting with the Glass sensors, and in the future, maybe input methods consisting of a head-movement and blinking for Weston and other environments via libinput.

@ata2001
ata2001 approved these changes Dec 1, 2017
@ollieparanoid ollieparanoid merged commit 159f0d2 into postmarketOS:master Dec 1, 2017
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage remained the same at 63.8%
Details
@kendfinger
Copy link
Contributor Author

@kendfinger kendfinger commented Dec 3, 2017

glass-pmos-1

@ollieparanoid
Copy link
Member

@ollieparanoid ollieparanoid commented Dec 3, 2017

Nice!

Sorry for the stupid question, but why is it difficult to make a photo with that running on the google glass device? Since it runs already, I thought you would put down the glass on the table, then take out any (phone or not) camera, and make a photo of the whole thing. Even if you can barely see the display, together with the screnshot it would be good enough to present in my opinion.

@kendfinger
Copy link
Contributor Author

@kendfinger kendfinger commented Dec 3, 2017

@ollieparanoid Nah it's a great question :)
I can get a non-display image pretty easily, however the way the screen works on the Glass (beaming from the side onto film inside a prism), it is very dependent on your eye (in this case, the camera) having a very particular field of view, focus, and position

I've taken some more 😄 I hope I can get a video done soon showing some feedback from the sensors.

img_7755
img_7752
img_7757

@ollieparanoid
Copy link
Member

@ollieparanoid ollieparanoid commented Dec 23, 2017

If you don't mind me asking, how about a photo where you wear the Glass for the blog post? As I understand it should successfully display something then.

@kendfinger
Copy link
Contributor Author

@kendfinger kendfinger commented Dec 24, 2017

postmarketOS-Wiki pushed a commit to postmarketOS/wiki that referenced this pull request Dec 31, 2017
@ocdtrekkie
Copy link

@ocdtrekkie ocdtrekkie commented Jan 22, 2018

@ollieparanoid In the case of default Google Glass software (which mind you, I presume doesn't apply here), Glass actually shuts off the screen when you set it on a table! But yeah, I can definitely confirm, near impossible to take a picture of the screen, it looks like a small square of light when on.

What Google does for "screenshots" is they take a screen capture and then put it as a layer with some opacity in the top right corner of a normal picture of whatever the person is looking at.

Like this: "screenshot"

PureTryOut added a commit that referenced this pull request Feb 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

6 participants
You can’t perform that action at this time.