GHI on RasPi Win 10

Huh, would you look at that? I can play with the GHI site using RasPi and Windows 10 IoT. :open_mouth: 8)

4 Likes

I cant wait to combine windows 10 handwriting recognition and Cortana with GHI hardwareā€¦

2 Likes

@ mtylerjr - super hilarious picture! patience young padawan, patienceā€¦

@ Skewworks - Nice.

Iā€™ve not gotten any apps written yet, since my Pi only arrived today, but I did get the IoT Core build on our, which was pleasantly painless.

Canā€™t wait for the Gadgeteer HAT!

I am going to need to remember to power down my rpi2 gracefully instead of just unplugging it now that it has a real os. Iā€™ve already seen the ā€œyour drive needs to be scannedā€¦ press any key to skipā€ issuesā€¦ and the spinning wheel icon during boot has been corruptedā€¦ ugh. May need to reinstall.

But I am having a blast compiling and deploying the sample universal apps on it.

I assume you need the VS2015 RC in order to build the universal apps for IoT Core? And running on Windows 10 Tech Preview?

If thereā€™s a way to gracefully power down, I havenā€™t found it yet. I was able to remotely connect to my Pi using PowerShell, and could reboot it using shutdown.exe /r /t 0, but using shutdown.exe /s /t 0, which should shut down, rather than reboot, still resulted in a reboot for me.

Iā€™m wondering if itā€™s like my phoneā€¦if I plug my phone in while itā€™s powered off, it automatically powers on and boots up.

Yes to all of your questionsā€¦

There is a ā€œpower offā€ menu option in the default app. Maybe we are supposed to provide that functionality in all our apps?

It makes me feel better that someone with way more experience than I do is facing the same issue though lol.

Well, I wouldnā€™t say I have far more experience with this particular area. For example, Iā€™ve not been able to successfully interact with the default app. Tried plugging in a USB wireless mouse, which didnā€™t seem to do anything, as well as an XBOX 360 controller, which lit up the jewel on the controller, indicating that it was properly connected, but it didnā€™t appear that the default app has any way to respond to the controller input.

Have you had any luck with using USB peripherals? Perhaps I just need a different mouse, perhaps a wired mouse (I may actually have one of those laying around somewhere).

I did notice that the default app has a settings icon, but without a mouse or keyboard working properly, I wasnā€™t able to access it.

Answered my own question on peripherals. Found a wired USB mouse and it works fine with the default app.

Shutdown command in the default app still just reboots the board.

Will have to find time to get the dev tools installed. Gotta build some apps for this, even without the HAT for now.

I actually use an hdmi kvm switchā€¦I use the same wired usb keyboard and wireless logitech mouse for my desktop and laptop and now rpi2.

I have the kvm cable plugged into the rpi2 directly (hdmi, usb and audio) and both the kb and mouse dongle are plugged Into the kvm switch. After I deploy from vc 2015 on my desktop I switch over to the rpi2 and the kb and mouse work.

I have found that if I wait a long time before switching over, that when I do I find the RPi2 is no longer responsive and I have to wait a while (seems like over a minute) before the keyboard and mouse will work again.

Also it seems to help if the kvm is switched to the rpi2 while it bootsā€¦

I did draw the text in my pic with the mouseā€¦

The reset button, during earlier development, reset the device by, erm, bluescreening it :slight_smile:

Pete

Soā€¦ what is the proper method of shutting things down?

The command line from powershell and a carefully timed yank of the power cord just when it starts to reboot?

My memory card is showing signs of corruption after 9 or 10 power cycles.

The spinning wheel icon on start up is bizarre (looks like a rotating eggbeater) and the text when ā€œrepairingā€ the drive during boot up is all mangled too (but maybe that is a resolution thing?)

There doesnt seem to be a logical shutdown method other than the command lineā€¦

Iā€™ve only had a scan forced once so far. I did have lots of issues getting a mouse to work. Of the 5 or so I have only one plays nicely. And none of my keyboards work well.

Anyone know how Win10 would work with one of the RasPi screens? Iā€™d really love to throw a 4-7in touch LCD on this.

Of course if someone were to provide a Gadgeteer hat that let me plug in one of my many, many, Gadgeteer LCDsā€¦:wink:

@ Skewworks - Plugging it in will be the easy part. Creating compatible video drivers will be the challenge. I have RPi-compatible SPI-based touchscreens, none of which work because there are no windows drivers for them yet. Same issue with all the BLE and Wifi USB dongles - they just havenā€™t included the drivers in the IoT Core image yet (even though drivers do exist in Windows). I am sure it will come - thereā€™s just a lot of RPi hardware out there that no one needed Windows drivers for until now. Windows does have support for user-mode drivers, so there may be a lot of cases where we can spin up our own drivers without having to invest in DDK kernel-mode development.

@ mcalsyn - Thanks for the quick answer. I was worried that might be the case. With all the travel I have to do at the moment thatā€™s really going to slow me down. Bad enough having 2 laptops at security, Iā€™m not dragging a monitor w me too.

Oh well, Iā€™m sure I wont have to wait too long. :slight_smile:

I find traveling with lots of home-brew electronics interesting under any circumstances. Try getting through security with your latest wearables project. Those security folks have no sense of art OR humor.

As for the monitor there are options. With the Universal App model, you can run your apps locally and remote the GPIO part if absolutely needed. A lot of what I am doing now are headless apps anyway (automation hubs), but for headed apps, either mock the GPIO part or remote it to a real but headless RPi.

1 Like

The only displays supported, at least for now, are HDMI. Anything else would require DirectX compatible drivers if you want to use Xaml etc.

Shutdown: First, be sure to use a good SD card. Cheap cards areā€¦ Cheap. Seriously, you want to use SanDisk ultra or Samsung evo here, 16 to 32gb.

You can remote shutdown over powershell. I seem to recall the web page also had a shutdown command. Just browse to the device to get to the management pages.

Egg beater: Video drivers arenā€™t yet done, so thereā€™s some oddness in places like that.

Pete

So far, remote shutdown over PowerShell doesnā€™t shut down for me. Or it does, but then the board powers on again immediately.

Let me quote Jonathan Tanner from Microsoft:

4 Likes

@ MrAlex92 - Thanks for the info. Very helpful to know.