Este es miprimer intento enun Live CDdeUbuntupara la arquitecturaG4. Sepuede funcionar enuniBook o Powerbook, perono tengo otros equipos para probar.
Es una versiónalpha(noinstalador,flwm como window manager,Links2 para la navegación webywicd-cursespara configurar la red). En efecto, este CD es paralos guerrerosde la línea de comandos.200 MBiso.
I made a Live-CD of ubuntu for the G4 Architecture. It works on an iBook & Powerbook, but no idea on other platforms, should work on G3 though.
It’s kind of a raw alpha version (no Installer, flwm for the window manager, Links2 for web browsing and wicd-curses to set the network). In other words, this one is for the command-line warriors. No fluff, no fancy, 200 MB iso, but can probably help some other than myself. Click on the title if you want to test it.
The Chumby is a little web widget displayer with Wifi connectivity, USB High Speed, a 2W speaker and a 3,5” touchscreen out of the shelf
But it can be a lot, lot more. Here are the interesting specs:
• ARM9 processor
• 64 MB of RAM
• MicroSD card
• “Linux”
• Relatively Small footprint in your wallet
This (linux in particular) means that this little toy can be a nice and easy do-it-all hub, giving it what it needs.
And what would be needed to turn this:
(Photo courtesy of iFixit.com)
$129
To that
(photo courtesy of Nikonusa.com)
Around $749
Not just that, one compatibe with not only with Nikon cameras, but with Canon’s, Olympus’, Pentax’…
?
The guys at Chumby (chumbians :) are kind enough to give us all the tool required with detailed tutorials in their wiki and help in their forum.
First thing first: TEARDOWN!
It’s quite a bad habit, but almost everything I own, the first thing I do with them, once out of their box, is to dismantle, often without even checking if they even work correctly. Therefor I didn’t take any pictures of the chumby in its original case :p.
The folks at iFixit give a simple step-by-step guide with pictures pretty self-explanatory. But make sure that everything works as it should.
Prologue
If “vi, tar, mkdir, wget, cp, mv” don’t mean a thing to you, you’ll most definitely need lots of help/time to build everything on your own.
Hardware side
First I bought a digital camera battery and soldered it to the battery cable
The Wifi Adapter that comes with the Chumby draws so much power that the battery was not powerful enough (3,7V/900mAh) to switch on the chumby. There are some reports on Chumby’s forum about the poor reliability of its built-in antena, so I search for one less power hungry/linux compatible and order a mini Wifi b/g/n adapter.
While waiting for my shipment, I made a 3D draft of what I wanted with SketchUp (after some measurement)
And started sawing
(PCB tray)
As soon as the new adapter was here, I made a quick test on my computer to see if it worked. Then, after building a linux driver for it, I plugged it in the chumby and did some length/connectivity tests
(Boring state)
Then ripped it appart
(So that’s what it looks like…)
Then I prepared the case for it and the battery
And then cut Chumby’s fm radio antenna in 4 pieces and soldered the adapter to the unpopulated USB (which in fact had a header, but I played too much with them, and they were less sturdy than I thought)
And finally, “On”
Everything worked as it should, so I put everything in my handmade chumbox.
I’ll be building a couple of them for friends. Their case laser cut (sawing by hand REALLY takes times).
Software side
First of all, you’ll need a Linux environment (on Win/Mac, you can use VirtualBox and/or [kju:] [just for mac], both Opensource, or one of VMWare’s product).
Chumby’s wiki is very helpful for tools and tutorials in order to customize it. For more details, and to be sure to have the latest files/doc, I highly recommend to check out the wiki links.
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig #If wou want to build a custom kernel or just skip to the next line
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
Wifi driver
If you want to put another wifi adapter, it might be available in the menuconfig under [Device_drivers]/[Network_Device_Support]/[Wireless_Lan]. If not, get your adapter’s driver source code. At this point you’ll be more or less on your own, depending on the chipset of your adapter. There’ll probably be most of the info you need in some kind of ReadMe text file that comes with the source code, but googling your chipset with “linux” can be ease some pain aswell. Once your driver is built, you’ll need to put it into the Chumby:
Open the Control Panel, select [Settings], then [Chumby Info]
In the upper right, you’ll see a “pi” symbol. Touching it will reveal the hidden screen.
If you have an adapter with the RT2800 chipset, you should take a look in ladyada’s wiki
“Untethering”
You’ll need Incentives pro’s softwares. The Linux ones are freewares while the Windows ones have licensing schemes. I’m only using the Linux versions, in CLI. The Windows ones seem to have a simple GUI. As of now there is no OSX version.
Using their instructions won’t work with the Chumby. The following describe how to build Incentives pro’s driver and where to put it (and the binaries) on the chumby.
The following script can be useful to launch the daemon on startup
#!/bin/sh
#
# Start the USB Server daemon.
#
insmod /usr/local/usb-server/bin/tusbd.ko
/usr/local/usb-server/bin/usbsrvd
As explained here, it must be stored in /psp/rfs1/ with the name userhook2. You can either write directly on the chumby using the vi command, or on your desktop with vi, nano, emacs or whatever suits you. Don’t forget to make it executable
chmod 755 /psp/rfs1/userhook2
You’ll need ssh access each time you want to use the Chumby as a Wireless File Transmitter. The followin command can be used to start ssh at each boot
touch /psp/start_ssd
Using this command without password protection isn’t really secure, so in order to set one up enter
passwd root
Then you can safely plug your camera (Nikon, or Canon, or Sony, or Fuji, or …) or hard drive, or scanner/printer or… well there are USB devices for every kind of purpose these days.
And voila!
That’s it for the server side, for the client, get the files you need from the download page and follow the instructions.
Instructions on how to use usbsrv/usbclnt can be found here/here, or just type one of them in Terminal to get a list of options.
I’m still trying to find a work around to use the USB/IP project. But cross-compiling is anything but troubles with it. If only the chumby had the 2.6.31 kernel (@_@~)*
The one big caveat is that it only works with Linux and Windows, but there might be a way to make the ChumbyWFT work with Mac, so …
Le Chumby est une sorte de radio-réveil boosté avec Wifi, USB 2.0 (480 Mb/s théorique), un haut-parleur 2W et un écran tactile de 3,5 pouces.
Mais il peut être beaucoup, beaucoup plus. Voici les spécifications “intéressantes”:
processeur ARM9
64 Mo de RAM
carte MicroSD
“Linux”
Un prix relativement faible
Cela signifie que ce petit jouet peut être a peu près ce que vous voulez qu’il soit, s’il a ce dont il a besoin.
Et qu’est ce qui serait nécessaire pour faire de ça:
(gracieuseté de iFixit.com)
~99 €
ça
(gracieuseté de Nikonusa.com)
Autour de 649 €
?
Les gars de chez Chumby nous facilitent grandement la tache avec tous les outils nécessaires ainsi que des tutoriels détaillés dans leur wiki et de l’aide dans leur forum.
Mais premièrement: DÉMONTAGE!
J’ai pour mauvaise habitude de démanteler, presque aussitot sorti de sa boîte, tout ce que j’ai pu avoir de démontable, souvent sans même vérifier si tout fonctionne correctement, pour éventuellement le retourner au revendeur. Je n’ai meme pas eu le “temps” de prendre des photos du Chumby dans son boîtier d’origine: p.
Un guide assez simple á suivre, étape par étape, se trouve chez iFixit. Mais assurez-vous tout de même que tout fonctionne comme il se doit.
Prologue
Si “vi, tar, mkdir, wget, cp, mv” ne veulent rien dire pour vous, vous aurez certainement besoin de beaucoup d’aide et de temps pour suivre ce qui suit par vos propres moyens.
Côté Hardware
J’ai d’abord acheté une batterie d’appareil photo numérique et l’ai soudé au câble pour batterie du Chumby
L’adaptateur Wifi qui vient avec le Chumby necessite tellement d’énergie que la batterie n’était pas assez puissante (3,7 V/900mAh) pour démarrer le systeme. J’ai pu également lire sur le forum de chumby.com que des utilisateurs ont eu des problemes de connectivité (en raison de l’antenne intégré peu fiable). J’ai donc commandé un adaptateur avec le protocole N, moins gourmands en énergie / compatible avec linux.
En attendant ma commande, j’ai fait un brouillon rapide en 3D de ce que je voulais avec SketchUp (après quelques mesures)
Puis scié
Dès l’arrivée de l’adaptateur, je l’ai rapidement testé sur mon ordinateur pour voir si elle fonctionnait. Puis, après lui avoir compilé un driver pour linux, je l’ai branché dans le chumby et fait quelques tests de connectivité/durée
Ensuite, démontage
(Voilà donc à quoi ça ressemble á l’intérieur …)
Ensuite, j’ai préparé le boîtier avec des cales pour l’adaptateur et la batterie
Et j’ai coupé l’antenne de la radio FM intégré en 4 morceaux et soudé l’adaptateur au second port USB sans prise femelle
Et enfin, “Allumage”
Puisque tout fonctionnait comme il se devait, empaquetage:
Je vais en fabriquer pour quelques amis. Le leur sera certainement réalisé autrement car scier à la main prend VRAIMENT du temps, et avec une batterie plus puissante.
Côté logiciel
Tout d’abord, vous aurez besoin d’un environnement Linux (sous Win / Mac, vous pouvez utiliser VirtualBox et/ou [kju:] [juste pour mac], tous deux Opensource, ou l’un des produits de VMWare).
Pour plus de détails, et pour être sûr d’avoir les fichiers/documents les plus récents, je recommande fortement de vérifier les liens wiki dans ce qui suit.
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig #Entrer cette ligne pour customiser le kernel
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
Driver Wifi
Si vous voulez également mettre un autre adaptateur wifi, il se peut que son driver soit disponible dans le menuconfig sous [Device_drivers] / [Network_Device_Support] / [Wireless_Lan]. Si non, vous devrez obtenir le code source de votre adapateur. À ce stade, vous serez plus ou moins seul pour continuer, selon le chipset de votre carte. Il y aura probablement une bonne partie de l’info dont vous aurez besoin dans une sorte de fichier texte ReadMe fourni avec le code source, mais googler votre chipset avec “linux” peut certainement vous facilité la tache. Une fois votre driver compilé, vous aurez besoin, pour le mettre dans le Chumby:
Ouvrir le Panneau de configuration, sélectionnez [Settings], puis [Chumby Info]
En haut à droite, vous verrez un symbole “pi”. Le toucher révélera l’écran caché.
Appuyez sur [SSHD] pour activer le Secure Shell Deamon
Si vous avez une carte avec le chipset RT2800, vous devriez jeter un oeil dans le wiki de Ladyada
“Sans-fil”
Vous aurez besoin de programmes conçus par Incentives pro. Ceux pour Linux sont freewares tandis que ceux pour Windows nécessitent l’obtention d’une license. Je n’utilise que les versions Linux, en CLI. Sur Windows il semble y avoir une interface graphique simple d’emploi. Pour l’instant il n’y a pas de version OSX.
Leurs instructions d’installation ne fonctionnent pas sur le Chumby. Les éléments suivants décrivent comment poursuivre l’installation, où mettre leur driver ainsi que les fichiers binaires sur le Chumby.
Le script suivant peut être utile pour lancer le daemon (usbsrvd) au démarrage
#!/bin/sh
#
# Démarrer le daemon du serveur USB.
#
insmod /usr/local/usb-server/bin/tusbd.ko
/usr/local/usb-server/bin/usbsrvd
Comme il est expliqué ici, il doit être placé dans /psp/rfs1/ avec le nom userhook2. Vous pouvez soit écrire le script directement sur le chumby avec la commande vi, ou sur votre PC avec vi, nano, emacs ou ce que vous voulez. Ne pas oublier de le rendre exécutable
chmod 755 /psp/rfs1/userhook2
Vous aurez besoin d’un accès ssh à chaque fois que vous voudrez utiliser le Chumby comme un transmetteur de fichiers sans-fil. La commande suivante peut être utilisé pour démarrer ssh automatiquement à chaque démarrage
touch / psp / start_sshd
Cependant, cette commande sans mot de passe n’est pas vraiment sûr, pour en mettre un en place, tapez:
passwd root
¿Ya llegamos?
Voilà pour le côté serveur, pour le client, obtenez les fichiers dont vous avez besoin sur la page de téléchargement d’Incentives pro et suivez les instructions.
Des infos sur la façon d’utiliser usbsrv/usbclnt peuvent être trouvés ici/là, ou tapez tout simplement l’un d’entre eux dans Terminal pour obtenir une liste des options. Vous pourrez ainsi connecter ET contrôler appareils photos (avec Live View sur votre ordi), disques durs, imprimantes/scanner, GPS… ce que vous souhaitez suivant votre imagination, et ce, quasiment entièrement en OSHW/FOSS (matériels et logiciel libre)
Epilogue
J’essaie également de trouver un moyen d’utiliser le projet USB/IP. Mais sa compilation croisée n’est que problématique jusqu’à présent.
Un inconvénient de taille néanmoins, c’est que tout cela ne fonctionne que sous Linux et Windows pour l’instant, mais il pourrait y avoir un moyen d’utiliser ce “radio-réveil” avec Mac, alors …
El Chumby es un tipo de radio despertador con WiFi, USB, un altavoz de 2W y una pantalla táctil de 3,5 pulgadas.
Pero puede ser más, con estas especificaciones:
ARM9
64 MB de RAM
tarjeta MicroSD
“Linux”
Un precio relativamente bajo
Eso significa que con este juguete, se puede ser casi todo lo que quiere, si tiene lo que necesita.
¿Y que necesita para transformar eso:
(Cortesía de iFixit.com)
~ 99 €
en este transmisor de archivos inalámbrico
(Cortesía de Nikonusa.com)
Aproximadamente 649 €
?
Los creadores de Chumby.com nos facilitan enormemente la tarea con todas las herramientas necesarias y con tutoriales detallados en su wiki y ayuda en su foro.
Pero, en primer lugar: DESMONTAJE!
Tengo una mala costumbre de desmontar casi todo lo que tengo, sin comprobar si todo funciona correctamente. “Luego” no tenido el tiempo para tomar una foto del Chumby en su caja original :P.
Una guía, etapa a etapa, se encuntra en iFixit. Pero hay que comprobar que todo funciona como debería antes lo que sigue.
Prólogo
Si “vi, tar, mkdir, wget, cp, mv” no significan nada para usted, es probable que necesitará mucha ayuda y tiempo para comprender y hacer el resto del post.
Lado Hardware
En primer lugar, compré una batería de cámara digital y le soldé al cable de la batería del Chumby
La batería no es suficientemente potente (3,7 V/900mAh) para iniciar el sistema, a causa del adaptador inalámbrico (golosa en energía) que viene con el Chumby. Y leí en el foro forum.chumby.com que algunos usuarios tuvieron problemas con la conectividad (la antena integrada es ineficiente). Pedí un adaptador con el protocolo N, necesitando menos energía y compatible con Linux.
En la espera de mi pedido, hice un borrador 3D con Google SketchUp de lo que quisiera (después de algunas medidas)
Y empecé a serrar
Cuando mi adaptador llegó, le probé en mi ordenador para ver si funcionaba. Entonces, después la compilación de un controlador para arm-linux (little-endian), le conecté al Chumby y hice algunas pruebas de conectividad y duración
Entonces, el desmontaje
(Es lo que se ve al interior, y hay tan poco, sorprendente…)
Preparé la caja para el adaptador y la batería
Corté 4 partes de la antena de la radio integrada y soldé el adaptador al segundo puerto USB sin puerto hembra
Y, al final, “Ignition”
Como todo funcionó como debería, le “enlaté”:
Voy a hacer algunos ChumbyWFT para amigos. Seguramente con la caja cortada por laser, y una otra batería.
Al lado del software
En primer lugar, necesitará un entorno Linux (Win / Mac, se puede utilizar VirtualBox y/o [kju:] [sólo para Mac] Opensource, o uno de los productos de VMware).
Para tener más detalles, y asegurarse de tener los últimos archivos/documentos, recomiendo verificar los enlaces wiki en lo que sigue.
Tiene que establecer una cadena de herramientas Arm
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig #esta linea es necesario sólo para compilar un kernel personalizado
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
En este momento, se puede prender un café, leer algunos pajes de un libro, tirar la basura…
WiFi controlador
Para poner un otro adaptador wifi, mirar en el menuconfig bajo [Device_drivers]/[Network_Device_Support]/[Wireless_Lan]. Si no esta aquí, hay que obtener su código fuente. Habrá informaciónes para compilar en un archivo texto incluido en los archivos del código fuente, pero buscar el chipset en google con la palabra “linux” (antes de pedirle) puede facilitar la tarea. Una vez que el controlador es compilado hay que ponerlo en el Chumby:
Abrir el Panel de control, seleccionar [Configuración] y luego [Chumby Info]
Con una tarjeta que tiene el chipset RT2800, se debería ir a leer el wiki de Ladyada
Transmisor de Archivos Inalámbrico
Se necesita los programas de Incentives pro. Los para Linux son freewares, mientras que los para Windows requieren la obtención de una licencia. Utilizo sólo las versiones para Linux en la CLI. Por ahora no hay versión para OSX.
Los instrucciones de Incentives pro no funcionan con el Chumby. Los elementos siguientes describen cómo continuar la instalación y a dónde colocar sus controlador y binarios en el Chumby.
En un ordenador Linux:
Eso crearáelcontroladortusbd.ko.Haceuna Secure Copy y entra en elChumby,como le expliqué anteriormentepara el controladorwifi, entonces:
El siguiente texto puede ser útil para iniciar el daemon en el arranque
#! /bin/sh
#
# Iniciar el deamon del server USB.
#
insmod /usr/local/usb-server/bin/tusbd.ko
/usr/local/usb-server/bin/usbsrvd
Como se explica aquí, debe ser ponedo en /psp/rfs1/ con el nombre userhook2. Se puede escribir directamente en el Chumby con el comando vi, o en su PC con vi, nano, emacs… No se olvide de hacerlo ejecutable
chmod 755 /psp/rfs1/userhook2
Se necesita tener un acceso SSH para utilizar el Chumby como un transmisor de archivos inalámbrico. El comando siguiente es para iniciar SSH cada vez que el Chumby inicia.
touch /psp/start_sshd
Sin embargo, este comando sin una contraseña no es muy seguro, para poner un password:
passwd root
¡And that’s all folks!
Con el programa cliente, obtenga los archivos que necesita en la página de descarga de Incentives pro, y siga las instrucciones.
Las instrucciones para utilizar usbsrv/usbclnt se pueden encontrar aquí/allí (con linux).
Estoy intentando de encontrar una manera de utilizar el USB/IP Proyecto. Pero la compilación cruzada me da problemas.
Un gran inconveniente es que funciona sólo en Linux y Windows, por el momento…
Este es miprimer intento enun Live CDdeUbuntupara la arquitecturaG4. Sepuede funcionar enuniBook o Powerbook, perono tengo otros equipos para probar.
Es una versiónalpha(noinstalador,flwm como window manager,Links2 para la navegación webywicd-cursespara configurar la red). En efecto, este CD es paralos guerrerosde la línea de comandos.200 MBiso.
I made a Live-CD of ubuntu for the G4 Architecture. It works on an iBook & Powerbook, but no idea on other platforms, should work on G3 though.
It’s kind of a raw alpha version (no Installer, flwm for the window manager, Links2 for web browsing and wicd-curses to set the network). In other words, this one is for the command-line warriors. No fluff, no fancy, 200 MB iso, but can probably help some other than myself. Click on the title if you want to test it.
The Chumby is a little web widget displayer with Wifi connectivity, USB High Speed, a 2W speaker and a 3,5” touchscreen out of the shelf
But it can be a lot, lot more. Here are the interesting specs:
• ARM9 processor
• 64 MB of RAM
• MicroSD card
• “Linux”
• Relatively Small footprint in your wallet
This (linux in particular) means that this little toy can be a nice and easy do-it-all hub, giving it what it needs.
And what would be needed to turn this:
(Photo courtesy of iFixit.com)
$129
To that
(photo courtesy of Nikonusa.com)
Around $749
Not just that, one compatibe with not only with Nikon cameras, but with Canon’s, Olympus’, Pentax’…
?
The guys at Chumby (chumbians :) are kind enough to give us all the tool required with detailed tutorials in their wiki and help in their forum.
First thing first: TEARDOWN!
It’s quite a bad habit, but almost everything I own, the first thing I do with them, once out of their box, is to dismantle, often without even checking if they even work correctly. Therefor I didn’t take any pictures of the chumby in its original case :p.
The folks at iFixit give a simple step-by-step guide with pictures pretty self-explanatory. But make sure that everything works as it should.
Prologue
If “vi, tar, mkdir, wget, cp, mv” don’t mean a thing to you, you’ll most definitely need lots of help/time to build everything on your own.
Hardware side
First I bought a digital camera battery and soldered it to the battery cable
The Wifi Adapter that comes with the Chumby draws so much power that the battery was not powerful enough (3,7V/900mAh) to switch on the chumby. There are some reports on Chumby’s forum about the poor reliability of its built-in antena, so I search for one less power hungry/linux compatible and order a mini Wifi b/g/n adapter.
While waiting for my shipment, I made a 3D draft of what I wanted with SketchUp (after some measurement)
And started sawing
(PCB tray)
As soon as the new adapter was here, I made a quick test on my computer to see if it worked. Then, after building a linux driver for it, I plugged it in the chumby and did some length/connectivity tests
(Boring state)
Then ripped it appart
(So that’s what it looks like…)
Then I prepared the case for it and the battery
And then cut Chumby’s fm radio antenna in 4 pieces and soldered the adapter to the unpopulated USB (which in fact had a header, but I played too much with them, and they were less sturdy than I thought)
And finally, “On”
Everything worked as it should, so I put everything in my handmade chumbox.
I’ll be building a couple of them for friends. Their case laser cut (sawing by hand REALLY takes times).
Software side
First of all, you’ll need a Linux environment (on Win/Mac, you can use VirtualBox and/or [kju:] [just for mac], both Opensource, or one of VMWare’s product).
Chumby’s wiki is very helpful for tools and tutorials in order to customize it. For more details, and to be sure to have the latest files/doc, I highly recommend to check out the wiki links.
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig #If wou want to build a custom kernel or just skip to the next line
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
Wifi driver
If you want to put another wifi adapter, it might be available in the menuconfig under [Device_drivers]/[Network_Device_Support]/[Wireless_Lan]. If not, get your adapter’s driver source code. At this point you’ll be more or less on your own, depending on the chipset of your adapter. There’ll probably be most of the info you need in some kind of ReadMe text file that comes with the source code, but googling your chipset with “linux” can be ease some pain aswell. Once your driver is built, you’ll need to put it into the Chumby:
Open the Control Panel, select [Settings], then [Chumby Info]
In the upper right, you’ll see a “pi” symbol. Touching it will reveal the hidden screen.
If you have an adapter with the RT2800 chipset, you should take a look in ladyada’s wiki
“Untethering”
You’ll need Incentives pro’s softwares. The Linux ones are freewares while the Windows ones have licensing schemes. I’m only using the Linux versions, in CLI. The Windows ones seem to have a simple GUI. As of now there is no OSX version.
Using their instructions won’t work with the Chumby. The following describe how to build Incentives pro’s driver and where to put it (and the binaries) on the chumby.
The following script can be useful to launch the daemon on startup
#!/bin/sh
#
# Start the USB Server daemon.
#
insmod /usr/local/usb-server/bin/tusbd.ko
/usr/local/usb-server/bin/usbsrvd
As explained here, it must be stored in /psp/rfs1/ with the name userhook2. You can either write directly on the chumby using the vi command, or on your desktop with vi, nano, emacs or whatever suits you. Don’t forget to make it executable
chmod 755 /psp/rfs1/userhook2
You’ll need ssh access each time you want to use the Chumby as a Wireless File Transmitter. The followin command can be used to start ssh at each boot
touch /psp/start_ssd
Using this command without password protection isn’t really secure, so in order to set one up enter
passwd root
Then you can safely plug your camera (Nikon, or Canon, or Sony, or Fuji, or …) or hard drive, or scanner/printer or… well there are USB devices for every kind of purpose these days.
And voila!
That’s it for the server side, for the client, get the files you need from the download page and follow the instructions.
Instructions on how to use usbsrv/usbclnt can be found here/here, or just type one of them in Terminal to get a list of options.
I’m still trying to find a work around to use the USB/IP project. But cross-compiling is anything but troubles with it. If only the chumby had the 2.6.31 kernel (@_@~)*
The one big caveat is that it only works with Linux and Windows, but there might be a way to make the ChumbyWFT work with Mac, so …
Le Chumby est une sorte de radio-réveil boosté avec Wifi, USB 2.0 (480 Mb/s théorique), un haut-parleur 2W et un écran tactile de 3,5 pouces.
Mais il peut être beaucoup, beaucoup plus. Voici les spécifications “intéressantes”:
processeur ARM9
64 Mo de RAM
carte MicroSD
“Linux”
Un prix relativement faible
Cela signifie que ce petit jouet peut être a peu près ce que vous voulez qu’il soit, s’il a ce dont il a besoin.
Et qu’est ce qui serait nécessaire pour faire de ça:
(gracieuseté de iFixit.com)
~99 €
ça
(gracieuseté de Nikonusa.com)
Autour de 649 €
?
Les gars de chez Chumby nous facilitent grandement la tache avec tous les outils nécessaires ainsi que des tutoriels détaillés dans leur wiki et de l’aide dans leur forum.
Mais premièrement: DÉMONTAGE!
J’ai pour mauvaise habitude de démanteler, presque aussitot sorti de sa boîte, tout ce que j’ai pu avoir de démontable, souvent sans même vérifier si tout fonctionne correctement, pour éventuellement le retourner au revendeur. Je n’ai meme pas eu le “temps” de prendre des photos du Chumby dans son boîtier d’origine: p.
Un guide assez simple á suivre, étape par étape, se trouve chez iFixit. Mais assurez-vous tout de même que tout fonctionne comme il se doit.
Prologue
Si “vi, tar, mkdir, wget, cp, mv” ne veulent rien dire pour vous, vous aurez certainement besoin de beaucoup d’aide et de temps pour suivre ce qui suit par vos propres moyens.
Côté Hardware
J’ai d’abord acheté une batterie d’appareil photo numérique et l’ai soudé au câble pour batterie du Chumby
L’adaptateur Wifi qui vient avec le Chumby necessite tellement d’énergie que la batterie n’était pas assez puissante (3,7 V/900mAh) pour démarrer le systeme. J’ai pu également lire sur le forum de chumby.com que des utilisateurs ont eu des problemes de connectivité (en raison de l’antenne intégré peu fiable). J’ai donc commandé un adaptateur avec le protocole N, moins gourmands en énergie / compatible avec linux.
En attendant ma commande, j’ai fait un brouillon rapide en 3D de ce que je voulais avec SketchUp (après quelques mesures)
Puis scié
Dès l’arrivée de l’adaptateur, je l’ai rapidement testé sur mon ordinateur pour voir si elle fonctionnait. Puis, après lui avoir compilé un driver pour linux, je l’ai branché dans le chumby et fait quelques tests de connectivité/durée
Ensuite, démontage
(Voilà donc à quoi ça ressemble á l’intérieur …)
Ensuite, j’ai préparé le boîtier avec des cales pour l’adaptateur et la batterie
Et j’ai coupé l’antenne de la radio FM intégré en 4 morceaux et soudé l’adaptateur au second port USB sans prise femelle
Et enfin, “Allumage”
Puisque tout fonctionnait comme il se devait, empaquetage:
Je vais en fabriquer pour quelques amis. Le leur sera certainement réalisé autrement car scier à la main prend VRAIMENT du temps, et avec une batterie plus puissante.
Côté logiciel
Tout d’abord, vous aurez besoin d’un environnement Linux (sous Win / Mac, vous pouvez utiliser VirtualBox et/ou [kju:] [juste pour mac], tous deux Opensource, ou l’un des produits de VMWare).
Pour plus de détails, et pour être sûr d’avoir les fichiers/documents les plus récents, je recommande fortement de vérifier les liens wiki dans ce qui suit.
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig #Entrer cette ligne pour customiser le kernel
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
Driver Wifi
Si vous voulez également mettre un autre adaptateur wifi, il se peut que son driver soit disponible dans le menuconfig sous [Device_drivers] / [Network_Device_Support] / [Wireless_Lan]. Si non, vous devrez obtenir le code source de votre adapateur. À ce stade, vous serez plus ou moins seul pour continuer, selon le chipset de votre carte. Il y aura probablement une bonne partie de l’info dont vous aurez besoin dans une sorte de fichier texte ReadMe fourni avec le code source, mais googler votre chipset avec “linux” peut certainement vous facilité la tache. Une fois votre driver compilé, vous aurez besoin, pour le mettre dans le Chumby:
Ouvrir le Panneau de configuration, sélectionnez [Settings], puis [Chumby Info]
En haut à droite, vous verrez un symbole “pi”. Le toucher révélera l’écran caché.
Appuyez sur [SSHD] pour activer le Secure Shell Deamon
Si vous avez une carte avec le chipset RT2800, vous devriez jeter un oeil dans le wiki de Ladyada
“Sans-fil”
Vous aurez besoin de programmes conçus par Incentives pro. Ceux pour Linux sont freewares tandis que ceux pour Windows nécessitent l’obtention d’une license. Je n’utilise que les versions Linux, en CLI. Sur Windows il semble y avoir une interface graphique simple d’emploi. Pour l’instant il n’y a pas de version OSX.
Leurs instructions d’installation ne fonctionnent pas sur le Chumby. Les éléments suivants décrivent comment poursuivre l’installation, où mettre leur driver ainsi que les fichiers binaires sur le Chumby.
Le script suivant peut être utile pour lancer le daemon (usbsrvd) au démarrage
#!/bin/sh
#
# Démarrer le daemon du serveur USB.
#
insmod /usr/local/usb-server/bin/tusbd.ko
/usr/local/usb-server/bin/usbsrvd
Comme il est expliqué ici, il doit être placé dans /psp/rfs1/ avec le nom userhook2. Vous pouvez soit écrire le script directement sur le chumby avec la commande vi, ou sur votre PC avec vi, nano, emacs ou ce que vous voulez. Ne pas oublier de le rendre exécutable
chmod 755 /psp/rfs1/userhook2
Vous aurez besoin d’un accès ssh à chaque fois que vous voudrez utiliser le Chumby comme un transmetteur de fichiers sans-fil. La commande suivante peut être utilisé pour démarrer ssh automatiquement à chaque démarrage
touch / psp / start_sshd
Cependant, cette commande sans mot de passe n’est pas vraiment sûr, pour en mettre un en place, tapez:
passwd root
¿Ya llegamos?
Voilà pour le côté serveur, pour le client, obtenez les fichiers dont vous avez besoin sur la page de téléchargement d’Incentives pro et suivez les instructions.
Des infos sur la façon d’utiliser usbsrv/usbclnt peuvent être trouvés ici/là, ou tapez tout simplement l’un d’entre eux dans Terminal pour obtenir une liste des options. Vous pourrez ainsi connecter ET contrôler appareils photos (avec Live View sur votre ordi), disques durs, imprimantes/scanner, GPS… ce que vous souhaitez suivant votre imagination, et ce, quasiment entièrement en OSHW/FOSS (matériels et logiciel libre)
Epilogue
J’essaie également de trouver un moyen d’utiliser le projet USB/IP. Mais sa compilation croisée n’est que problématique jusqu’à présent.
Un inconvénient de taille néanmoins, c’est que tout cela ne fonctionne que sous Linux et Windows pour l’instant, mais il pourrait y avoir un moyen d’utiliser ce “radio-réveil” avec Mac, alors …
El Chumby es un tipo de radio despertador con WiFi, USB, un altavoz de 2W y una pantalla táctil de 3,5 pulgadas.
Pero puede ser más, con estas especificaciones:
ARM9
64 MB de RAM
tarjeta MicroSD
“Linux”
Un precio relativamente bajo
Eso significa que con este juguete, se puede ser casi todo lo que quiere, si tiene lo que necesita.
¿Y que necesita para transformar eso:
(Cortesía de iFixit.com)
~ 99 €
en este transmisor de archivos inalámbrico
(Cortesía de Nikonusa.com)
Aproximadamente 649 €
?
Los creadores de Chumby.com nos facilitan enormemente la tarea con todas las herramientas necesarias y con tutoriales detallados en su wiki y ayuda en su foro.
Pero, en primer lugar: DESMONTAJE!
Tengo una mala costumbre de desmontar casi todo lo que tengo, sin comprobar si todo funciona correctamente. “Luego” no tenido el tiempo para tomar una foto del Chumby en su caja original :P.
Una guía, etapa a etapa, se encuntra en iFixit. Pero hay que comprobar que todo funciona como debería antes lo que sigue.
Prólogo
Si “vi, tar, mkdir, wget, cp, mv” no significan nada para usted, es probable que necesitará mucha ayuda y tiempo para comprender y hacer el resto del post.
Lado Hardware
En primer lugar, compré una batería de cámara digital y le soldé al cable de la batería del Chumby
La batería no es suficientemente potente (3,7 V/900mAh) para iniciar el sistema, a causa del adaptador inalámbrico (golosa en energía) que viene con el Chumby. Y leí en el foro forum.chumby.com que algunos usuarios tuvieron problemas con la conectividad (la antena integrada es ineficiente). Pedí un adaptador con el protocolo N, necesitando menos energía y compatible con Linux.
En la espera de mi pedido, hice un borrador 3D con Google SketchUp de lo que quisiera (después de algunas medidas)
Y empecé a serrar
Cuando mi adaptador llegó, le probé en mi ordenador para ver si funcionaba. Entonces, después la compilación de un controlador para arm-linux (little-endian), le conecté al Chumby y hice algunas pruebas de conectividad y duración
Entonces, el desmontaje
(Es lo que se ve al interior, y hay tan poco, sorprendente…)
Preparé la caja para el adaptador y la batería
Corté 4 partes de la antena de la radio integrada y soldé el adaptador al segundo puerto USB sin puerto hembra
Y, al final, “Ignition”
Como todo funcionó como debería, le “enlaté”:
Voy a hacer algunos ChumbyWFT para amigos. Seguramente con la caja cortada por laser, y una otra batería.
Al lado del software
En primer lugar, necesitará un entorno Linux (Win / Mac, se puede utilizar VirtualBox y/o [kju:] [sólo para Mac] Opensource, o uno de los productos de VMware).
Para tener más detalles, y asegurarse de tener los últimos archivos/documentos, recomiendo verificar los enlaces wiki en lo que sigue.
Tiene que establecer una cadena de herramientas Arm
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig #esta linea es necesario sólo para compilar un kernel personalizado
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
En este momento, se puede prender un café, leer algunos pajes de un libro, tirar la basura…
WiFi controlador
Para poner un otro adaptador wifi, mirar en el menuconfig bajo [Device_drivers]/[Network_Device_Support]/[Wireless_Lan]. Si no esta aquí, hay que obtener su código fuente. Habrá informaciónes para compilar en un archivo texto incluido en los archivos del código fuente, pero buscar el chipset en google con la palabra “linux” (antes de pedirle) puede facilitar la tarea. Una vez que el controlador es compilado hay que ponerlo en el Chumby:
Abrir el Panel de control, seleccionar [Configuración] y luego [Chumby Info]
Con una tarjeta que tiene el chipset RT2800, se debería ir a leer el wiki de Ladyada
Transmisor de Archivos Inalámbrico
Se necesita los programas de Incentives pro. Los para Linux son freewares, mientras que los para Windows requieren la obtención de una licencia. Utilizo sólo las versiones para Linux en la CLI. Por ahora no hay versión para OSX.
Los instrucciones de Incentives pro no funcionan con el Chumby. Los elementos siguientes describen cómo continuar la instalación y a dónde colocar sus controlador y binarios en el Chumby.
En un ordenador Linux:
Eso crearáelcontroladortusbd.ko.Haceuna Secure Copy y entra en elChumby,como le expliqué anteriormentepara el controladorwifi, entonces:
El siguiente texto puede ser útil para iniciar el daemon en el arranque
#! /bin/sh
#
# Iniciar el deamon del server USB.
#
insmod /usr/local/usb-server/bin/tusbd.ko
/usr/local/usb-server/bin/usbsrvd
Como se explica aquí, debe ser ponedo en /psp/rfs1/ con el nombre userhook2. Se puede escribir directamente en el Chumby con el comando vi, o en su PC con vi, nano, emacs… No se olvide de hacerlo ejecutable
chmod 755 /psp/rfs1/userhook2
Se necesita tener un acceso SSH para utilizar el Chumby como un transmisor de archivos inalámbrico. El comando siguiente es para iniciar SSH cada vez que el Chumby inicia.
touch /psp/start_sshd
Sin embargo, este comando sin una contraseña no es muy seguro, para poner un password:
passwd root
¡And that’s all folks!
Con el programa cliente, obtenga los archivos que necesita en la página de descarga de Incentives pro, y siga las instrucciones.
Las instrucciones para utilizar usbsrv/usbclnt se pueden encontrar aquí/allí (con linux).
Estoy intentando de encontrar una manera de utilizar el USB/IP Proyecto. Pero la compilación cruzada me da problemas.
Un gran inconveniente es que funciona sólo en Linux y Windows, por el momento…
Mac usarios, continuará…
tumblrbot asked: WHAT IS YOUR EARLIEST HUMAN MEMORY?
"2.012 - En logique, rien n'est accidentel: quand la chose se présente dans un état de choses, c'est que la possibilité de l'état de choses doit déjà être préjugée dans la chose."
L.Wittgenstein
Why all the languages?
Because I can, and want to be better at each one of them.