Page 1 of 1

Raspberry pi zero

Posted: Thu Nov 26, 2015 2:22 pm
by Mrgonuts

Re: Raspberry pi zero

Posted: Thu Nov 26, 2015 2:32 pm
by Matlo
Hi,
This is basically a RPi 1 with a smaller form factor. You'll have to add a HUB, and a DIY USB adapter.

Re: Raspberry pi zero

Posted: Thu Nov 26, 2015 4:29 pm
by Mrgonuts
Cheers that's what I thought

Re: Raspberry pi zero

Posted: Thu Nov 26, 2015 4:41 pm
by Matlo
I have much more expectations from CHIP:
https://www.kickstarter.com/projects/15 ... escription
It has both device (OTG) and host capabilities.

Re: Raspberry pi zero

Posted: Fri Nov 27, 2015 5:38 pm
by Mrgonuts
Thanks hadn't heard of that alsoe thanks for you great work on the sub adaptor
Cheers

Re: Raspberry pi zero

Posted: Tue Jan 26, 2016 6:10 pm
by cercata
Matlo wrote:Hi,
This is basically a RPi 1 with a smaller form factor. You'll have to add a HUB, and a DIY USB adapter.
Thats not True, the Zero can be an USB device, the normal RPI can only be an USB Host:

https://learn.adafruit.com/turning-your ... t/overview

So the DIY USB Adapter wouldn't be necesary if some software is ported ...

Re: Raspberry pi zero

Posted: Tue Jan 26, 2016 6:22 pm
by Matlo
I never said it cannot be a device :)
It can either be a device or a host, not both at the same time.
So if you use it as a device, how do you connect your input devices?

Re: Raspberry pi zero

Posted: Tue Jan 26, 2016 6:46 pm
by cercata
I see. Actually, it's a hardware or software limitation ?

Re: Raspberry pi zero

Posted: Tue Jan 26, 2016 7:05 pm
by Matlo
It has only one USB OTG port (the other USB port is only for power), so it's a hardware limitation.

Re: Raspberry pi zero

Posted: Sun Apr 23, 2017 4:12 pm
by nekko
In my understanding the limitation to either act as USB device or as host is not critical.

Currently I am quite optimistic that a slick adapter is feasible:

I recently acquired a Pi Zero W and have successfully been messing with libcomposite (i.e. USB device mode). I have been using HID, mass_storage, ecm, acm successfully, also hotswapping to USB host mode seems to work (remove/replace OTG and normal cable).

Apparently Pi Zero W's built-in bluetooth chip allows to temporarily fake the bdaddr.

So, an adaptation of the GIMX-firmwares to Linux/raspbian libcomposite (+removing some serial interfacing between gimx and "usb adapter") should suffice - or does the connection process require to be man-in-the-middle?

EDIT: still new to the matter. Caught up on http://eleccelerator.com/keyboard-and-m ... prototype/ => nevermind, solid dongleware :(