You have access to the hardware but crucial low level stuff requires certified/signed app status.
Check out: https://wiki.mozilla.org/WebAPI
For more information. The cool thing was that my little hosted toy app was installable on the test device, on android with aurora and on my desktop mac also with aurora.
Would it allow me to connect a USB keyboard (for example) or a USB mouse to my phone? How about a USB webcam that requires an additional linux driver to be installed? How could that be installed easily by the user? How about connecting a printer via USB? Will I be able to print from my HTML5 app? If not, what will it support? I'd also like to be able to find devices and printers via wifi and print, scan, etc. Will I be able to do that?
The ultimate goal is if somebody wants to do something, then it should be possible.
I think if the goal were to make mobile devices as capable as we should all expect but have been conditioned NOT to expect, then that would be an OS that could compete. Otherwise, it is just a slower UI with fewer applications.
Like what, exactly?
* Add support for various types of USB devices. Anything that is supported in Linux via a driver you could install via FF OS would be available to HTML5 apps. Printers, displays, thumbprint scanners, etc.
* Similar support for bluetooth devices, etc. as long as the driver could be coded to work on the device hardware, obviously.
* Gonk should be more dynamic, letting you declare drivers, etc. that you want to use via a path. It's primary purpose would become managing permissions between HTML5 apps and devices. As new devices come out, those could be added easily either by discovery or manual install. When the OS-level drivers are available, it would only be a matter of the HTML5 app declaring what it is able or needs to use and then it asks you (or you configure it) to allow access to the drivers/etc. and then your HTML5 app could use your new bluetooth retina scanner, for example, or control some new helicopter+videocam toy.
The way Firefox OS is now is just a Javascript replacement of Android's interface and it provides a similar level of access to the hardware. That is not enough. I don't want or need a Javascript phone and Javascript gaming device. I want to be able to use the same OS on my desktop as my phone, and if my phone has a USB plug, I should be able to plug one side into my Firefox OS phone and the other side into a label printer and print a label from my HTML5 app if I want. Is that level of integration ever going to be possible?
Think about all of the things that Android and iOS don't do that Linux is capable of doing. Firefox OS could be exposing all of that to Javascript, but instead they are focusing completely on the UI and it will always lose to Android and iOS. The power of FF OS/B2G should be the flexibility of allowing HTML5 apps/Javascript to have access to the hardware.