Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1646 connectés 

 

 

 Mot :   Pseudo :  
  Aller à la page :
 
 Page :   1  2  3  4  5  ..  82  83  84  ..  98  99  100  101  102  103
Auteur Sujet :

[Topic Unique] Seagate Dockstar, le plug computer pas cher !

n°1305926
l0g4n
Expert en tout :o
Posté le 01-03-2012 à 17:55:03  profilanswer
 

Reprise du message précédent :
Non mais si, la route pour t'y connecter, tu peut l'avoir... La route pour qu'il se connecte à toi :o
La solution serais d'ajouter une seconde IP à ton interface réseau, sur le sous réseau du Ds, mais j'ai jamais fait ça. (pourtant, c'est faisable ).


---------------
Fort et motivé. Sauf parfois.
mood
Publicité
Posté le 01-03-2012 à 17:55:03  profilanswer
 

n°1306042
croustibat​31
Posté le 02-03-2012 à 19:15:50  profilanswer
 

J'ai fini par opté pour la facilité : enlever la prise, enlever la clé usb, rebrancher la prise, attendre, remettre la clé, se logger, monter la clé, RAZ de interfaces et hop c'est bon :o

 

edit sinon oui, pour la route du retour, une interface virtuelle en 192.168.0.x sur une machine ou j'ai acces et ca aurait été bon je pense.


Message édité par croustibat31 le 02-03-2012 à 19:16:46
n°1306092
bmd_online
Posté le 03-03-2012 à 12:37:21  profilanswer
 

Suite de mes aventures :
- tvheadend : ça semble fonctionner plus ou moins bien. Je vais continuer à tester, je pense que je vais le garder.
- mpd : ça marche nickel, avec accès aux musiques via cifs.
- nginx / php-fpm : je n'ai rien réussi à faire.
- lighttpd / php-fpm : c'est bon. Ça roule.
- serveur mysql : les performances sont plutôt médiocres, mais ça tourne.
- téléinfo EDF : j'ai testé vite fait hier soir. C'est extra.

n°1306094
blanbec
Posté le 03-03-2012 à 14:01:54  profilanswer
 

bmd_online a écrit :

Suite de mes aventures :
- tvheadend : ça semble fonctionner plus ou moins bien. Je vais continuer à tester, je pense que je vais le garder.
- mpd : ça marche nickel, avec accès aux musiques via cifs.
- nginx / php-fpm : je n'ai rien réussi à faire.
- lighttpd / php-fpm : c'est bon. Ça roule.
- serveur mysql : les performances sont plutôt médiocres, mais ça tourne.
- téléinfo EDF : j'ai testé vite fait hier soir. C'est extra.


 
Histoire de donner des indications si quelqu'un voulait installer tout ça, tu pourrais détailler stp ?


---------------
Mon feed-back | Topic unique: Seagate Dockstar
n°1306104
velo_love
Posté le 03-03-2012 à 21:55:34  profilanswer
 

Bonsoir,

bmd_online a écrit :

- téléinfo EDF : j'ai testé vite fait hier soir. C'est extra.


 
J'ai aussi la même chose  :jap:  
Tu récupères tes trames de téléinfo avec quel logiciel de ton côté ? Je suppose aussi que tu les stockes dans ta base de données MySQL.

n°1306143
bmd_online
Posté le 04-03-2012 à 23:15:14  profilanswer
 

velo_love a écrit :


J'ai aussi la même chose  :jap:  
Tu récupères tes trames de téléinfo avec quel logiciel de ton côté ? Je suppose aussi que tu les stockes dans ta base de données MySQL.


 
Pour l'instant j'ai testé avec teleinfoserial.c, une lecture directe.
Je vais adapter le code car avoir autant de version que de type d'abonnement EDF (mono/triphasé, heures creuses ou pas), je trouve ça moyen.
L'idée sera que le programme gère automatiquement ce qu'EDF renvoie. En effet, dans une base de données.
 
Ensuite, je regarderai ce qui se fait coté graphiques, statistiques...

n°1306144
bmd_online
Posté le 04-03-2012 à 23:16:16  profilanswer
 

blanbec a écrit :


 
Histoire de donner des indications si quelqu'un voulait installer tout ça, tu pourrais détailler stp ?


 
Yep, à l'occasion je développerai chaque section.

n°1306188
ma2xfr
Posté le 05-03-2012 à 16:32:30  profilanswer
 

bmd_online a écrit :

Suite de mes aventures :
- tvheadend : ça semble fonctionner plus ou moins bien. Je vais continuer à tester, je pense que je vais le garder.
- mpd : ça marche nickel, avec accès aux musiques via cifs.
- nginx / php-fpm : je n'ai rien réussi à faire.
- lighttpd / php-fpm : c'est bon. Ça roule.
- serveur mysql : les performances sont plutôt médiocres, mais ça tourne.
- téléinfo EDF : j'ai testé vite fait hier soir. C'est extra.


 
Hello bmd_online,
 
Tu peux me dire qu'elle OS, tu utilises ? Débian Testing (Wheezy) ?  
 
Sur Débian Car si je regarde bien, le package php-fpm, n'est pas dispo pour la version stable (squeeze). Sinon, pour ma part, j'ai réussi à faire fonctionner le couple nginx / php sans trop de problème.

 
Réponse : ArchLinux (p82)
 
D'autre part, c Concernant MySQL, il y a le fichier de configuration my.cfg à adapater à tes besoins pour éviter des performances trop médiocres. Au cas ou, tu peux toujours te rabattre sur SQLite, mais il est limité qu'a un seul thread.
 
Edit: Le problème avec le Dockstar c'est pas son processeur, mais sa mémoire qui limite pas mal. Dommage.


Message édité par ma2xfr le 05-03-2012 à 16:37:50
n°1306193
bmd_online
Posté le 05-03-2012 à 17:55:16  profilanswer
 

Pour sqlite, ça serait nickel, mais j'ai des bases déjà existantes qui sont en mysql :
un wiki
ma station météo.

n°1306194
bmd_online
Posté le 05-03-2012 à 18:00:49  profilanswer
 

Pour nginx / php-fpm :
j'ai testé le listener via un fichier ou via le port 9000, le résultat est le même :
Un simple phpinfo semble marcher, et encore j'ai parfois des connexion interrompues.
Une page plus complexe, avec du code "riche", plante systématiquement avec une connexion perdue.

 

En log, j'ai :
coté php-fpm :
un plantage du process fils créé, avec une erreur (que je n'ai plus en log) du type segmentation fault.

 

coté nginx :
worker process 24886 exited on signal 11

Message cité 1 fois
Message édité par bmd_online le 05-03-2012 à 18:01:31
mood
Publicité
Posté le 05-03-2012 à 18:00:49  profilanswer
 

n°1306207
velo_love
Posté le 05-03-2012 à 20:27:38  profilanswer
 

Bonsoir,

bmd_online a écrit :


 
Pour l'instant j'ai testé avec teleinfoserial.c, une lecture directe.
Je vais adapter le code car avoir autant de version que de type d'abonnement EDF (mono/triphasé, heures creuses ou pas), je trouve ça moyen.
L'idée sera que le programme gère automatiquement ce qu'EDF renvoie. En effet, dans une base de données.
 
Ensuite, je regarderai ce qui se fait coté graphiques, statistiques...


 
Les trames de téléinfo d'EDF sont décrites dans ce document :
http://norm.edf.fr/pdf/HN44S812emeeditionMars2007.pdf

n°1306247
ma2xfr
Posté le 06-03-2012 à 10:25:20  profilanswer
 

bmd_online a écrit :

Pour nginx / php-fpm :
j'ai testé le listener via un fichier ou via le port 9000, le résultat est le même :
Un simple phpinfo semble marcher, et encore j'ai parfois des connexion interrompues.
Une page plus complexe, avec du code "riche", plante systématiquement avec une connexion perdue.
 
En log, j'ai :
coté php-fpm :
un plantage du process fils créé, avec une erreur (que je n'ai plus en log) du type segmentation fault.
 
coté nginx :
worker process 24886 exited on signal 11


 
Hello,
 
Merci pour ton retour.
 
Je te "rassure", j'ai aussi des plantages sur des timeout. Je pense qu'ils sont principalement du à des mauvais réglages sur connecteur php-fpm dans la configuration nginx. Sinon concernant SQLite, si vraiment tu souhaites migrer, il existe des scripts de conversion SQL. Mais j'avoue que ce n'est pas toujours automatique.
 
Niveau des performances avec Lighttpd et php-fpm, tu as pu comparer avec Apache ?
Perso, j'ai testé avec un Wordpress installé par défaut sans plug-in de "cache" et c'est vraiment pas satisfaisant avec Apache. Ça swap et c'est très lent. Encore une fois, le problème n'est pas le processeur mais la mémoire à la génération des pages.
 
 

n°1306263
art_dupond
je suis neuneu... oui oui !!
Posté le 06-03-2012 à 12:02:28  profilanswer
 

peut-etre des trucs intéressants ici (nginx fastcgi optimisation) ?
 
Il fait aussi joujou avec node.js sur son dockstar
 
 
 


---------------
oui oui
n°1306327
kray
Bad show?
Posté le 06-03-2012 à 21:49:02  profilanswer
 

Pour tenter de sauver ma clé USB, j'ai fait un truc moche : j'ai renommé /var/log en /var/log_old et j'ai créé un lien symbolique /var/log vers un dossier du disque dur attaché au dock.
Ce que je me demande, c'est est-ce que le noyau est intelligent et va directement sur le DD, ou il lit à chaque fois le lien symbolique et accède donc à la clé?
 
Autre question : pour savoir qui se connecte sur mon DS, je fais tourner toutes les heures un script qui m'envoie un mail si quelqu'un se connecte. Pour cela le script fait un diff entre le /var/log/kern.log et le kern.log de l'heure d'avant. Du coup ça fait des accès DD toutes les heures, sachant que rien d'autre n'écrit sur le disque. Je suppose que ça lance puis arrête le DD toutes les heures.  
C'est mauvais pour lui?
 
Car si c'est pour péter un dd à 80€ au lieu d'une clé à 15 euro, le choix est fait  :D  


---------------
I guess my real ennemy is me
n°1306374
Sagittariu​s
Posté le 07-03-2012 à 14:05:45  profilanswer
 

Pas sûr que ce soit déjà posté. Une personne propose de nouveaux boîtiers en kit pour le Dockstar:
 
http://thingiverse-production.s3.amazonaws.com/renders/90/32/c9/5c/cc/assembly-3_preview_large.jpg
 
Cf Montage.
 
mais surtout, il propose aussi les DXF des découpes pour ceux que cela tente. Bon esprit.

n°1306376
cokecorp
Posté le 07-03-2012 à 14:34:58  profilanswer
 

bonjour, pour réparer mon dockstar est ce que ce câble fonctionnerai  
 
http://cgi.ebay.fr/NEW-USB-BLASTER [...] 122wt_1396
 
merci d'avance pour votre aide,
 
ou quelqu'un pourrait me réparer mon dockstar??

n°1306398
TMadMac
Posté le 07-03-2012 à 18:52:21  profilanswer
 

Merci de la news Sagittarius ! Ca me tente bien ce qu'il fait notre ami.

n°1306399
tom23
Posté le 07-03-2012 à 19:24:58  profilanswer
 

Ca me parait moins bien ventilé quand même. J'imagine qu'il a fait des tests dans ce sens, mais quand même.  
Et puis c'est dommage de pas avoir prévu un truc pour fixer un hdd de 2.5"  dessus. Voir de pouvoir assembler plusieurs de ces boitiers ensemble.
 
Mais ça reste sympa, je me laisserai bien tenter aussi. Faudrait qu'un membre pouvant faire ce genre de découpes se dévoue :p.
 


---------------
Le server@home pour les débutants >>  http://homeserver-diy.net
n°1306406
ma2xfr
Posté le 07-03-2012 à 23:10:44  profilanswer
 

cokecorp a écrit :

bonjour, pour réparer mon dockstar est ce que ce câble fonctionnerai  
 
http://cgi.ebay.fr/NEW-USB-BLASTER [...] 122wt_1396
 
merci d'avance pour votre aide,
 
ou quelqu'un pourrait me réparer mon dockstar??


 
Oriente toi plutot vers un Bus Pirate TOL-09544
Tu pourras le réutiliser aussi pour d'autres projets car il est programmable. Je te conseil aussi d'investir dans un cable série USB (UART).  
 
C'est sur que tout ceci est un investissement, voir même parfois plus cher que le Dockstar, mais c'est aussi la passion de bidouiller. Bon courrage à toi et si tu as besoin de plus de détails, tu peux m'envoyer un message en privé.


Message édité par ma2xfr le 07-03-2012 à 23:20:17
n°1306407
ma2xfr
Posté le 07-03-2012 à 23:14:17  profilanswer
 

Sagittarius a écrit :

Pas sûr que ce soit déjà posté. Une personne propose de nouveaux boîtiers en kit pour le Dockstar:
 
http://thingiverse-production.s3.a [...] _large.jpg
 
Cf Montage.
 
mais surtout, il propose aussi les DXF des découpes pour ceux que cela tente. Bon esprit.


 
Ce n'est pas pour jouer les rabat-joies (enfin si un peu) mais j'ai du mal à voir l'intèrêt. Perso, j'ai acheté le disque USB Seagate conçu pour le Dockstar et l'ensemble donne un look fort sympatique et modèrne (tout à fait WAF comme ils disent).

Message cité 1 fois
Message édité par ma2xfr le 07-03-2012 à 23:21:15
n°1306408
l0g4n
Expert en tout :o
Posté le 07-03-2012 à 23:20:53  profilanswer
 

ma2xfr a écrit :


 
Ce n'est pas pour jouer les rabats joie (enfin si un peu) mais j'ai du mal à voir l'intèrêt. Perso, j'ai acheté le disque USB Seagate conçu pour le Dockstar et l'ensemble donne un look fort sympatique et modèrne (tout à fait WAF comme ils disent).


Bah, pouvoir accéder directement à un port série, proprement, c'est déjà pas mal.
Sans compter que bon, cette saloperie de Ds est tout sauf stable, quand t'a du câble réseau d'homme (aka du cat7 SSFTP, ou SFTP), bah le câble est plus lourd que le dockstar.


---------------
Fort et motivé. Sauf parfois.
n°1306409
ma2xfr
Posté le 07-03-2012 à 23:22:47  profilanswer
 

l0g4n a écrit :


Bah, pouvoir accéder directement à un port série, proprement, c'est déjà pas mal.
Sans compter que bon, cette saloperie de Ds est tout sauf stable, quand t'a du câble réseau d'homme (aka du cat7 SSFTP, ou SFTP), bah le câble est plus lourd que le dockstar.


 
Tu en fais un peu trop là. ;)

Message cité 1 fois
Message édité par ma2xfr le 07-03-2012 à 23:22:55
n°1306410
TMadMac
Posté le 07-03-2012 à 23:23:10  profilanswer
 

J'ai 2 DS et 1 disque 2.5".

 

Je vais passer l'un des 2 DS avec ce style de boitier (boiter et alu ou cuivre en dissipateur sur le dessus). Le 2eme, je ferais le meme style de boitier, en gardant l'emplacement pour le disque. C'est carrement plus esthetique que le boitier du DS. Et les miens "tronent" plutot chez moi. Ca sera toujours mieux que le boitier actuel, dont le disque 2.5" n'est pas tout le temps en place (c'est fait pour voyager dans cette taille).

 

Special pour l0g4n : boitier avec encrage au tirefort dans le buffet du salon :D


Message édité par TMadMac le 07-03-2012 à 23:24:00
n°1306411
l0g4n
Expert en tout :o
Posté le 07-03-2012 à 23:29:18  profilanswer
 

ma2xfr a écrit :


 
Tu en fais un peu trop là. ;)


Bah non, je suis désolé, il est hyper léger le Ds, et c'est très bien, parfois.
Pourtant, quand tu ne peut pas te payer un HDD usb seagate compatible (non, ils ne le sont pas tous !), bah ya pas de "poids" dessus. Perso, dès que le chat passe pas loin, le Dock, il se ballade.
Après, l'idéal, pour l'utilisation du dockstar qui est faite sur ce topic, ce serais un boitier avec quelques USB déportés à l'arrière, de quoi stocker hdd+ clé usb en interne, tout en gardant cette idée géniale du bouton reset !
Le miens vas bientôt finir dans un boitier PC, avec box et boital fibre, hdd externe, seconde config (Raspberry, Dockstar, miniITX...).


---------------
Fort et motivé. Sauf parfois.
n°1306446
crakkdown
Posté le 08-03-2012 à 11:37:33  profilanswer
 

Bonjour à tous,
 
J'ai fait l'acquisition dernièrement d'un DockStar qui malheureusement ne boot plus. Je viens de recevoir le cable Nokia CA-42 et je cherche à faire quelque chose d'assez propre.
 
Il me manque juste le fameux connecteur un câble audio lecteur cdrom/carte mère que je n'ai pas pu retrouver dans mes nombreux cartons de cables/fils (et c'est pas ma moitié qui va me contredire lorsque je parle de nombreux cartons).  
Voici le connecteur en question (c'est le connecteur blanc). Enfin je pense que bcp de monde le connait.
 
Apparemment, je peux me procurer le connecteur dans un magasin qui vends de l'électronique mais le vendeur m'a demander de lui donné le "pas" du connecteur que je recherchais et je ne l'ai pas. Si une bonne âme passe ici et peut me donner l'information (je n'ai pas mon dockstar sous la main avant la fin de semaine), se serait génial.
 
Merci d'avance  :)


Message édité par crakkdown le 08-03-2012 à 11:48:13
n°1306467
l0g4n
Expert en tout :o
Posté le 08-03-2012 à 14:45:08  profilanswer
 

Au pif, le pas standard, 2.54.


---------------
Fort et motivé. Sauf parfois.
n°1306468
crakkdown
Posté le 08-03-2012 à 16:02:30  profilanswer
 

Ok merci l0g4n. Je vais juste attendre une autre réponse, à peine moins "au pif" avant de courir au magasin  :D


Message édité par crakkdown le 08-03-2012 à 16:03:12
n°1306469
Aneldo
Posté le 08-03-2012 à 16:13:42  profilanswer
 

et si t'amenais ton dockstar au magasin pour tester le cable ?

n°1306470
djdavid33
Posté le 08-03-2012 à 16:35:32  profilanswer
 

Bonjour j'ai besoin d'aide !!!
Mon Dockstar ne fonctionne plus meme avec le port de serie j'ai plus rien donc j'ai acheté le Jtag TIAO  j'ai suivi le tuto http://www.yourwarrantyisvoid.com/ [...] with-jtag/
a la commande :
openocd -f board/dockstar.cfg
j'ai se message  
C:\Documents and Settings\DJ>openocd -f board/dockstar.cfg
Open On-Chip Debugger 0.4.0 (2010-02-22-19:05)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.berlios.de/doc/doxygen/bugs.html
parport port = 0x378
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
jtag_nsrst_delay: 200
jtag_ntrst_delay: 200
Warn : use 'feroceon.cpu' as target identifier, not '0'
Error: missing privileges for direct i/o
Command handler execution failed
 
mon branchement est OK je suis bien en administarteur je comprend pas !
mais j'ai fait un test sans branché le Dockstar j'ai le meme message.
donc j'ai l'impression que Windows n'a pas reconnu le TIAO.  
car quand je le branche meme avec l 'alimentation usb j'ai aucun materiel qui se rajoute dans windows
c'est normale?
ou on dois voir le TIAO reconnu par windows?
ya t il des config a faire pour le TIAO
merci pour l aide[/b][/b]

Message cité 1 fois
Message édité par djdavid33 le 08-03-2012 à 18:49:05
n°1306473
TMadMac
Posté le 08-03-2012 à 18:18:08  profilanswer
 

[:nightbringer57:1] oh oui encore le vert j'aime ne pas pouvoir lire le message.

 

(on utilise plus la syntaxe/balise fixe pour mettre du code ou une copie de text d'ecran)


Message édité par TMadMac le 08-03-2012 à 18:18:48
n°1306478
djdavid33
Posté le 08-03-2012 à 18:49:40  profilanswer
 

voila plus de couleur dsl

n°1306479
bmd_online
Posté le 08-03-2012 à 19:01:21  profilanswer
 

blanbec a écrit :


 
Histoire de donner des indications si quelqu'un voulait installer tout ça, tu pourrais détailler stp ?


 
Si je poste une copie de pages Wiki que je me suis fait (en local), ça vous branche ?
J'ai fait 3 pages :
- installation et paramétrages système.
- installations multimédia
- installation web
 
La partie système, pour commencer, fait env. 1000 lignes. Ca va faire des posts énormes !

n°1306499
ma2xfr
Posté le 09-03-2012 à 00:36:54  profilanswer
 

djdavid33 a écrit :

Bonjour j'ai besoin d'aide !!!
Mon Dockstar ne fonctionne plus meme avec le port de serie j'ai plus rien donc j'ai acheté le Jtag TIAO  j'ai suivi le tuto http://www.yourwarrantyisvoid.com/ [...] with-jtag/
a la commande :
openocd -f board/dockstar.cfg
j'ai se message  
C:\Documents and Settings\DJ>openocd -f board/dockstar.cfg
Open On-Chip Debugger 0.4.0 (2010-02-22-19:05)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.berlios.de/doc/doxygen/bugs.html
parport port = 0x378
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
jtag_nsrst_delay: 200
jtag_ntrst_delay: 200
Warn : use 'feroceon.cpu' as target identifier, not '0'
Error: missing privileges for direct i/o
Command handler execution failed
 
mon branchement est OK je suis bien en administarteur je comprend pas !
mais j'ai fait un test sans branché le Dockstar j'ai le meme message.
donc j'ai l'impression que Windows n'a pas reconnu le TIAO.  
car quand je le branche meme avec l 'alimentation usb j'ai aucun materiel qui se rajoute dans windows
c'est normale?
ou on dois voir le TIAO reconnu par windows?
ya t il des config a faire pour le TIAO
merci pour l aide[/b][/b]


 
C'est ça d'utiliser des connecteurs de "papi"  sur port parallèle !  :ange:  
 
For this program to work on Windows NT, 2000, or XP, you need to install a driver called GiveIO which allows the program to access the parallel port. If you do not install the driver, the program will give an illegal memory access error when it is run.
 
Donc il faut "installer" giveio.zip qui doit se trouver livré avec OpenOCD un fois installer quelque part ici:
C:\Program Files\OpenOCD\0.4.0\drivers\giveio.zip
 
Il faut copier GiveIO.sys dans Windows\System32\drivers il me semble.
 
Bon courage, et en tout cas c'est un bon début pour résoudre ton souci.


Message édité par ma2xfr le 09-03-2012 à 00:37:32
n°1306535
djdavid33
Posté le 09-03-2012 à 14:25:18  profilanswer
 

slt ma2xfr et merci
ok je vais essayé mais bon comme c'est pas précisé ds le tuto !!!  
je vous dit ça une fois testé cela

n°1306546
crakkdown
Posté le 09-03-2012 à 15:08:59  profilanswer
 

l0g4n a écrit :

Au pif, le pas standard, 2.54.


Pas de bol, ce n'est pas du 2.54 mais plutôt du 2.
La ou c'est moche c'est que le magasin dans lequel je vais n'a rien qui puisse faire l'affaire. C'est une misère de ne plus avoir de câble lecteur CDROM/carte mère sous la main... sniff
 

bmd_online a écrit :


 
Si je poste une copie de pages Wiki que je me suis fait (en local), ça vous branche ?
J'ai fait 3 pages :
- installation et paramétrages système.
- installations multimédia
- installation web
 
La partie système, pour commencer, fait env. 1000 lignes. Ca va faire des posts énormes !


 
Oui, perso ça m'intéresse (et certainement d'autres personnes ici)  :bounce:  
 

n°1306547
djdavid33
Posté le 09-03-2012 à 15:10:25  profilanswer
 

re voila c'ete bien ca !!!
mais maintenant j'ai un autre message d'erreure !!!
meme avec la traduction je comprend pas se qu'il faut faire :-(
voila le message:
 
C:\Documents and Settings\DJ>openocd -f board/dockstar.cfg
Open On-Chip Debugger 0.4.0 (2010-02-22-19:05)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.berlios.de/doc/doxygen/bugs.html
parport port = 0x378
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
jtag_nsrst_delay: 200
jtag_ntrst_delay: 200
Warn : use 'feroceon.cpu' as target identifier, not '0'
Info : clock speed 500 kHz
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Command handler execution failed
Warn : jtag initialization failed; try 'jtag init' again.
 
j'ai l'impression qu'il interroge pas le port LPT ou est branché mon TIAO le mien est sur LPT2
ya rien a modifier ds le fichier dockstar.cfg pour dirigé vers le bon port LPT ?
 
merci encore


Message édité par djdavid33 le 09-03-2012 à 15:42:16
n°1306552
bmd_online
Posté le 09-03-2012 à 16:19:14  profilanswer
 

Allez, dans le message suivant je vais poster la première partie de mes notes.
J'ai transformé une page wiki avec des rechercher/remplacer... ça vaut ce que ça vaut.
 
Une grande partie du post va reprendre et paraphraser ce que vous avez déjà probablement lu un peu partout.
J'ai laissé une grande partie des mes sources, certains vont se reconnaitre.
J'ai peut-être oublié certaines références, soyez indulgents.

n°1306553
bmd_online
Posté le 09-03-2012 à 16:21:09  profilanswer
 

1 DockStar - Installation Système
        1.1 Premier démarrage
            1.1.1 Tutoriel
            1.1.2 Commandes
                1.1.2.1 Recherche du DockStar
                1.1.2.2 Blocage des mises à jour
        1.2 Informations système
            1.2.1 Recherche du DockStar
            1.2.2 Informations système
        1.3 Backup Pogoplug
            1.3.1 dd
            1.3.2 nandump
        1.4 Paramètres Pogoplug
        1.5 Désactivation du service PogoPlug
        1.6 Mise à jour uBoot
        1.7 Installation ArchLinux
        1.8 Paramétrages système
            1.8.1 Utilitaires uBoot
            1.8.2 Dernières mises à jour
            1.8.3 Ordre de démarrage
            1.8.4 Activation de la swap
                1.8.4.1 UUID
            1.8.5 Hostname
            1.8.6 Désactivation ipv6
            1.8.7 Fuseau Horaire
            1.8.8 Installation de ntp
            1.8.9 Utlisateur & sudo
            1.8.10 Automount / USB Mount
                1.8.10.1 udev
                1.8.10.2 usbmount
            1.8.11 Veille des disques
                1.8.11.1 sdparm
                1.8.11.2 hdparm
                1.8.11.3 script udev
        1.9 Erreurs NAND
        1.10 Compilation
            1.10.1 Cross Compilation
            1.10.2 Environnement de Compilation
            1.10.3 AUR
 
 
DockStar - Installation Système
 
Premier démarrage
Tutoriel
* Connect the DockStar with a network cable directly to a computer running Linux which doesn't route or offers DHCP. Plug in the power cable of the DockStar and wait until the LED is steadily orange. Because the device won't get an IP from an DHCP server, it will use an automatic generated IP between 169.254.1.0 and 169.254.254.255 (see RFC 3927).
 
* To find out the IP the device uses we are scanning this range. You might have luck and this quick scan may find the IP:
 

Code :
  1. root@host ~ # ifconfig eth0 169.254.1.0
  2. root@host ~ # nmap -e eth0 -sP 169.254.185.0/24


 
* If this won't find the device, you have to take the long route:

Code :
  1. root@host ~ # ifconfig eth0 169.254.1.0
  2. root@host ~ # nmap -e eth0 -sP 169.254.0.0/16


 
* Someone sent me the hint, that the last two numbers in the IP are the last two bytes of the MAC. So this should be the fastest way (assuming BE and EF are the last two bytes of the MAC of your device):

Code :
  1. root@host ~ # ifconfig eth0 169.254.1.0
  2. root@host ~ # nmap -e eth0 -sP $(printf "169.254.%d.%d" 0xbe 0xef)


 
* On se connecte en ssh sur l'IP du dockstar (login: root, mot de passe: stxadmin).
* On monte le filesystem en écriture :

Code :
  1. mount / -rw -o remount


 
* On remplit le fichier hosts afin que les mises à jour automatique soient désactivés car apparemment, elle bloquerait l'accès ssh.
 

Code :
  1. vi /etc/hosts


 
* On remplit avec :
 

Code :
  1. 127.0.0.1 service.pogoplug.com
  2. 127.0.0.1 pm1.pogoplug.com
  3. 127.0.0.1 pm2.pogoplug.com
  4. 127.0.0.1 service.cloudengines.com
  5. 127.0.0.1 upgrade.pogoplug.com


 
* On enregistre ( shift + z +z ou :w! ou ...)
 
* On remonte le filesystem en lecture seule

Code :
  1. mount / -r -o remount


 
* C'est bon, on peut remettre l'accès Internet et redémarrer le plug.
 
* Sources :
** Using Linux on a DockStar.
** forum.hardware.fr#1230267.
 
Commandes
Recherche du DockStar
* Connecté directement à l'ordinateur avec un cable (premier démarrage)
** Dans ce cas, l'adresse attribuée dépend de l'adresse MAC du DockStar  

Code :
  1. # ifconfig eth0 169.254.1.0
  2. # nmap -e eth0 -sP $(printf "169.254.%d.%d" 0xd8 0x28)
  3. Starting Nmap 5.21 ( http://nmap.org ) at 2012-02-17 19:12 CET
  4. Nmap scan report for 169.254.216.40
  5. Host is up (0.00013s latency).
  6. MAC Address: 00:10:75:1A:D8:28 (Maxtor)
  7. Nmap done: 1 IP address (1 host up) scanned in 0.31 seconds


 
Blocage des mises à jour

Code :
  1. -bash-3.2# ssh root@169.254.216.40
  2. -bash-3.2# mount / -rw -o remount
  3. -bash-3.2# vi /etc/hosts
  4. 127.0.0.1 service.pogoplug.com
  5. 127.0.0.1 pm1.pogoplug.com
  6. 127.0.0.1 pm2.pogoplug.com
  7. 127.0.0.1 service.cloudengines.com
  8. 127.0.0.1 upgrade.pogoplug.com
  9. -bash-3.2# mount / -r -o remount


 
Informations système
Recherche du DockStar
* Une fois connecté au réseau local, le DockStar a une adresse attribuée par le DHCP  

Code :
  1. # nmap -e eth0 -sP 192.168.0.0/24
  2. (...)
  3. Nmap scan report for 192.168.0.101
  4. Host is up (0.0059s latency).
  5. MAC Address: 00:10:75:1A:D7:DF (Maxtor)
  6. (...)


 
Informations système

Code :
  1. -bash-3.2# uname -a
  2. Linux Pogoplug 2.6.22.18 #57 Mon Aug 31 16:31:01 PDT 2009 armv5tejl unknown


 

Code :
  1. -bash-3.2# cat /proc/cpuinfo
  2. Processor : ARM926EJ-S rev 1 (v5l)
  3. BogoMIPS : 1192.75
  4. Features : swp half thumb fastmult edsp
  5. CPU implementer : 0x56
  6. CPU architecture: 5TE
  7. CPU variant : 0x2
  8. CPU part : 0x131
  9. CPU revision : 1
  10. Cache type : write-back
  11. Cache clean : cp15 c7 ops
  12. Cache lockdown : format C
  13. Cache format : Harvard
  14. I size  : 16384
  15. I assoc  : 4
  16. I line length : 32
  17. I sets  : 128
  18. D size  : 16384
  19. D assoc  : 4
  20. D line length : 32
  21. D sets  : 128
  22. Hardware : Feroceon-KW
  23. Revision : 0000
  24. Serial  : 0000000000000000


 

Code :
  1. -bash-3.2# free
  2.               total         used         free       shared      buffers
  3.   Mem:       126064        22464       103600            0            0
  4. Swap:            0            0            0
  5. Total:       126064        22464       103600


 

Code :
  1. -bash-3.2# dmesg | grep "NAND"
  2. [    0.870000] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
  3. [    1.040000] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,3V 8-bit)


 

Code :
  1. -bash-3.2# cat /proc/mtd
  2. dev:    size   erasesize  name
  3. mtd0: 00100000 00020000 "u-boot"
  4. mtd1: 00400000 00020000 "uImage"
  5. mtd2: 02000000 00020000 "root"
  6. mtd3: 0db00000 00020000 "data"


 

Code :
  1. -bash-3.2# mount
  2. rootfs on / type rootfs (rw)
  3. /dev/root on / type jffs2 (ro)
  4. none on /proc type proc (rw)
  5. none on /sys type sysfs (rw)
  6. none on /dev/pts type devpts (rw)
  7. none on /tmp type tmpfs (rw)


 
Backup Pogoplug

Code :
  1. -bash-3.2# mount
  2. rootfs on / type rootfs (rw)
  3. /dev/root on / type jffs2 (ro)
  4. none on /proc type proc (rw)
  5. none on /sys type sysfs (rw)
  6. none on /dev/pts type devpts (rw)
  7. none on /tmp type tmpfs (rw)
  8. /tmp/.cemnt/sda1 on /tmp/.cemnt/mnt_sda1 type ufsd (rw,nosuid,nodev,noexec,noatime)
  9. -bash-3.2# cat /proc/mtd
  10. dev:    size   erasesize  name
  11. mtd0: 00100000 00020000 "u-boot"
  12. mtd1: 00400000 00020000 "uImage"
  13. mtd2: 02000000 00020000 "root"
  14. mtd3: 0db00000 00020000 "data"


 
dd

Code :
  1. -bash-3.2# cd /tmp/.cemnt/mnt_sda1
  2. -bash-3.2# mkdir -p Pogoplug/Backup
  3. -bash-3.2# cd Pogoplug/Backup
  4. -bash-3.2# dd if=/dev/mtd0 of=mtd0.img
  5. 2048+0 records in
  6. 2048+0 records out
  7. -bash-3.2# sha1sum mtd0.img >mtd0.img.sha1
  8. -bash-3.2# dd if=/dev/mtd1 of=mtd1.img
  9. 8192+0 records in
  10. 8192+0 records out
  11. -bash-3.2# sha1sum mtd1.img >mtd1.img.sha1
  12. -bash-3.2# dd if=/dev/mtd2 of=mtd2.img
  13. 65536+0 records in
  14. 65536+0 records out
  15. -bash-3.2# sha1sum mtd2.img >mtd2.img.sha1
  16. -bash-3.2# dd if=/dev/mtd3 of=mtd3.img
  17. 448512+0 records in
  18. 448512+0 records out
  19. -bash-3.2# sha1sum mtd3.img >mtd3.img.sha1
  20. -bash-3.2# /sbin/halt


 
(Warning: At least the backup for mtd0 is useless because the kernel uses a different ECC algorithm than that old and modified version of U-Boot. Anyway, this guide here doesn't change the installed U-Boot, so that should be no problem.)
 
Wait a minute until the system has shut down (the LED will still be orange after shutdown), turn of the power of the DockStar, take the USB-storage device and make a backup of the directory Backup onto another device.
 
* Source :
** Using Linux on a DockStar.
 
nandump

Code :
  1. -bash-3.2# cd /tmp/.cemnt/mnt_sda1
  2. -bash-3.2# mkdir -p Pogoplug/uBoot
  3. -bash-3.2# cd Pogoplug/uBoot
  4. -bash-3.2# wget http://jeff.doozan.com/debian/uboot/nanddump
  5. -bash-3.2# wget http://jeff.doozan.com/debian/uboot/blparam


 

Code :
  1. -bash-3.2# cd /tmp/.cemnt/mnt_sda1
  2. -bash-3.2# cd Pogoplug/Backup
  3. -bash-3.2# cp ../uBoot/nanddump /tmp
  4. -bash-3.2# chmod u+x /tmp/nanddump
  5. -bash-3.2# /tmp/nanddump -no -l 0x80000 -f uboot-mtd0-dump /dev/mtd0
  6. -bash-3.2# sha1sum uboot-mtd0-dump > uboot-mtd0-dump.sha1


 

Code :
  1. -bash-3.2# cd /tmp/.cemnt/mnt_sda1
  2. -bash-3.2# cd Pogoplug/Backup
  3. -bash-3.2# cp ../uBoot/blparam /tmp
  4. -bash-3.2# chmod u+x /tmp/blparam
  5. -bash-3.2# /tmp/blparam > blparam.orig


 
Paramètres Pogoplug
* Depuis Pogoplug, via blparam.

Code :
  1. -bash-3.2# /tmp/blparam
  2. baudrate=115200
  3. loads_echo=0
  4. ipaddr=169.254.254.253
  5. serverip=169.254.254.254
  6. rootpath=/mnt/ARM_FS/
  7. netmask=255.255.0.0
  8. run_diag=yes
  9. console=console=ttyS0,115200
  10. CASset=min
  11. MALLOC_len=1
  12. ethprime=egiga0
  13. bootargs_root=root=/dev/mtdblock2 ro
  14. ethmtu=1500
  15. usb0Mode=host
  16. nandEcc=1bit
  17. ethact=egiga0
  18. stdin=serial
  19. stdout=serial
  20. stderr=serial
  21. mainlineLinux=no
  22. enaMonExt=no
  23. enaCpuStream=no
  24. enaWrAllo=no
  25. pexMode=RC
  26. disL2Cache=no
  27. setL2CacheWT=yes
  28. disL2Prefetch=yes
  29. enaICPref=yes
  30. enaDCPref=yes
  31. sata_dma_mode=yes
  32. netbsd_en=no
  33. vxworks_en=no
  34. bootdelay=3
  35. disaMvPnp=no
  36. ethaddr=00:10:75:1A:D8:28
  37. cesvcid=KBM64VERFQNKAJHL3A5V5G78KN
  38. ceserialno=2GEP1JSV
  39. ceboardver=REDSTONE:1.0
  40. bootcmd=nand read.e 0x800000 0x100000 0x300000; setenv bootargs $(console) $(bootargs_root); bootm 0x800000


 
* Depuis Linux, via fw_printenv.
** Commande exécutée après installation de uBoot et Arch.

Code :
  1. [root@DockStar ~]# fw_printenv
  2. ethact=egiga0
  3. bootdelay=3
  4. baudrate=115200
  5. mainlineLinux=yes
  6. console=ttyS0,115200
  7. led_init=green blinking
  8. led_exit=green off
  9. led_error=orange blinking
  10. mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
  11. mtdids=nand0=orion_nand
  12. partition=nand0,2
  13. stdin=serial
  14. stdout=serial
  15. stderr=serial
  16. rescue_installed=0
  17. rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params
  18. rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi
  19. pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
  20. force_rescue=0
  21. force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi
  22. ubifs_mtd=3
  23. ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params
  24. ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi
  25. usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done
  26. usb_scan_list=1 2 3 4
  27. usb_scan_1=usb=0:1 dev=sda1
  28. usb_scan_2=usb=1:1 dev=sdb1
  29. usb_scan_3=usb=2:1 dev=sdc1
  30. usb_scan_4=usb=3:1 dev=sdd1
  31. usb_init=run usb_scan
  32. usb_device=0:1
  33. usb_root=/dev/sda1
  34. usb_rootdelay=10
  35. usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params
  36. usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot
  37. usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
  38. bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset
  39. ethaddr=00:10:75:1A:D8:28
  40. usb_rootfstype=ext3
  41. arcNumber=2998


 
 
* Source :
** install_uboot_mtd0.sh.
 
Désactivation du service PogoPlug

Code :
  1. -bash-3.2# mount / -rw -o remount
  2. -bash-3.2# vi /etc/init.d/rcS
  3. #Uncomment the line below to enable the pogoplug service
  4. #/etc/init.d/hbmgr.sh start
  5. -bash-3.2# mount / -r -o remount


 
Mise à jour uBoot
* Arrêt du processus PogoPlug (si non désactivé).

Code :
  1. -bash-3.2# killall hbwd


 
* Mise à jour uBoot

Code :
  1. -bash-3.2# cd /tmp
  2. -bash-3.2# wget http://jeff.doozan.com/debian/uboo [...] ot_mtd0.sh
  3. -bash-3.2# chmod +x install_uboot_mtd0.sh
  4. -bash-3.2# ./install_uboot_mtd0.sh
  5. !!!!!!  DANGER DANGER DANGER DANGER DANGER DANGER  !!!!!!
  6. If you lose power to your device while running this script,
  7. it could be left in an unusable state.
  8. This script will replace the bootloader on /dev/mtd0.
  9. This installer will only work on the following devices:
  10. Seagate GoFlex Net
  11. Seagate Dockstar
  12. Pogoplug v1
  13. Pogoplug Pink
  14. Do not run this installer on any other device.
  15. By typing ok, you agree to assume all liabilities and risks
  16. associated with running this installer.
  17. If you agree, type 'ok' and press ENTER to continue: ok
  18. # checking for /usr/sbin/nandwrite...
  19. # Installing /usr/sbin/nandwrite...
  20. Connecting to jeff.doozan.com (69.163.187.226:80)
  21. nandwrite.md5        100% |***************************************************|    44  --:--:-- ETA
  22. Connecting to jeff.doozan.com (69.163.187.226:80)
  23. nandwrite            100% |***************************************************| 11500  --:--:-- ETA
  24. # Successfully installed /usr/sbin/nandwrite.
  25. # checking for /usr/sbin/nanddump...
  26. # Installing /usr/sbin/nanddump...
  27. Connecting to jeff.doozan.com (69.163.187.226:80)
  28. nanddump.md5         100% |***************************************************|    43  --:--:-- ETA
  29. Connecting to jeff.doozan.com (69.163.187.226:80)
  30. nanddump             100% |***************************************************| 21286  00:00:00 ETA
  31. # Successfully installed /usr/sbin/nanddump.
  32. # checking for /usr/sbin/flash_erase...
  33. # Installing /usr/sbin/flash_erase...
  34. Connecting to jeff.doozan.com (69.163.187.226:80)
  35. flash_erase.md5      100% |***************************************************|    46  --:--:-- ETA
  36. Connecting to jeff.doozan.com (69.163.187.226:80)
  37. flash_erase          100% |***************************************************| 12819  --:--:-- ETA
  38. # Successfully installed /usr/sbin/flash_erase.
  39. # checking for /usr/sbin/fw_printenv...
  40. # Installing /usr/sbin/fw_printenv...
  41. Connecting to jeff.doozan.com (69.163.187.226:80)
  42. fw_printenv.md5      100% |***************************************************|    46  --:--:-- ETA
  43. Connecting to jeff.doozan.com (69.163.187.226:80)
  44. fw_printenv          100% |***************************************************|   652k 00:00:00 ETA
  45. # Successfully installed /usr/sbin/fw_printenv.
  46. # checking for /etc/fw_env.config...
  47. # Installing /etc/fw_env.config...
  48. Connecting to jeff.doozan.com (69.163.187.226:80)
  49. fw_env.config.md5    100% |***************************************************|    48  --:--:-- ETA
  50. Connecting to jeff.doozan.com (69.163.187.226:80)
  51. fw_env.config        100% |***************************************************|   329  --:--:-- ETA
  52. # Successfully installed /etc/fw_env.config.
  53. # Validating existing uBoot...
  54. Block size 131072, page size 2048, OOB size 64
  55. Dumping data starting at 0x00000000 and ending at 0x00080000...
  56. Connecting to jeff.doozan.com (69.163.187.226:80)
  57. valid-uboot.md5      100% |***************************************************|   756  --:--:-- ETA
  58. ## Valid uBoot detected: [dockstar original]
  59. killall: hbwd: no process killed
  60. DISABLE POGOPLUG SERVICES
  61. The pogoplug service includes an auto-update feature which could
  62. be used to cripple or disable your device.  It is recommended
  63. that you disable this service.
  64. NOTE: The pogoplug service is proprietary software
  65. created by Cloud Engines.  It is not available for use
  66. in other distributions and will not be available in
  67. your new linux installation even if you choose not to disable it.
  68. Would you like to disable the pogoplug services? [Y/n] n
  69. # checking for /uboot-original-mtd0.kwb...
  70. # Installing /uboot-original-mtd0.kwb...
  71. Connecting to jeff.doozan.com (69.163.187.226:80)
  72. uboot-original-mtd0. 100% |***************************************************|    67  --:--:-- ETA
  73. Connecting to jeff.doozan.com (69.163.187.226:80)
  74. uboot-original-mtd0. 100% |***************************************************|   512k 00:00:00 ETA
  75. # Successfully installed /uboot-original-mtd0.kwb.
  76. # checking for /usr/sbin/blparam...
  77. # Installing /usr/sbin/blparam...
  78. Connecting to jeff.doozan.com (69.163.187.226:80)
  79. blparam.md5          100% |***************************************************|    42  --:--:-- ETA
  80. Connecting to jeff.doozan.com (69.163.187.226:80)
  81. blparam              100% |***************************************************| 14168  --:--:-- ETA
  82. # Successfully installed /usr/sbin/blparam.
  83. # Installing uBoot
  84. ## Installing dockstar jeff-2010-10-23
  85. Connecting to jeff.doozan.com (69.163.187.226:80)
  86. uboot.mtd0.kwb.md5   100% |***************************************************|    74  --:--:-- ETA
  87. Connecting to jeff.doozan.com (69.163.187.226:80)
  88. uboot.mtd0.kwb       100% |***************************************************|   512k 00:00:00 ETA
  89. Erase Total 4 Units
  90. Performing Flash Erase of length 131072 at offset 0x60000 done
  91. Writing data to block 0 at offset 0x0
  92. Writing data to block 1 at offset 0x20000
  93. Writing data to block 2 at offset 0x40000
  94. Writing data to block 3 at offset 0x60000
  95. Block size 131072, page size 2048, OOB size 64
  96. Dumping data starting at 0x00000000 and ending at 0x00080000...
  97. ## Verifying new uBoot...
  98. Connecting to jeff.doozan.com (69.163.187.226:80)
  99. uboot.mtd0.kwb.md5   100% |***************************************************|    74  --:--:-- ETA
  100. # Verified successfully!
  101. # Installing uBoot environment
  102. Connecting to jeff.doozan.com (69.163.187.226:80)
  103. uboot.environment.md 100% |***************************************************|    52  --:--:-- ETA
  104. Connecting to jeff.doozan.com (69.163.187.226:80)
  105. uboot.environment    100% |***************************************************|   128k 00:00:00 ETA
  106. Erase Total 1 Units
  107. Performing Flash Erase of length 131072 at offset 0xc0000 done
  108. Writing data to block 6 at offset 0xc0000
  109. # Verifying uBoot environment
  110. Block size 131072, page size 2048, OOB size 64
  111. Dumping data starting at 0x000c0000 and ending at 0x000e0000...
  112. Connecting to jeff.doozan.com (69.163.187.226:80)
  113. uboot.environment.md 100% |***************************************************|    52  --:--:-- ETA
  114. # Setting arcNumber to 2097 (SheevaPlug)
  115. # Note: if you have a kernel that supports your platform, you should use the proper arcNumber.
  116. # You can set the correct arcNumber by running the following command:
  117. /usr/sbin/fw_setenv arcNumber 2998
  118. # uBoot installation has completed successfully.


 
* Source :
** Update uBoot on your Dockstar.
 
The new uBoot install script thought I'd already installed a new uBoot. It gave me an option to override which worked just fine (but is a risky move):

Code :
  1. ./install_uboot_mtd0.sh --no-uboot-check


 
* Source :
** Turn a Pogoplug into a Full-Featured Linux Web Server.
 
Installation ArchLinux
* Création de la partition USB (sans swap).

Code :
  1. -bash-3.2# /sbin/fdisk /dev/sda
  2. Command (m for help): o
  3. Building a new DOS disklabel. Changes will remain in memory only,
  4. until you decide to write them. After that the previous content
  5. won't be recoverable.
  6. Command (m for help): p
  7. Disk /dev/sda: 4102 MB, 4102029312 bytes
  8. 1 heads, 32 sectors/track, 250368 cylinders
  9. Units = cylinders of 32 * 512 = 16384 bytes
  10.    Device Boot      Start         End      Blocks  Id System
  11. Command (m for help): n
  12. Command action
  13.    e   extended
  14.    p   primary partition (1-4)
  15. p
  16. Partition number (1-4): 1
  17. First cylinder (2-250368, default 2): Using default value 2
  18. Last cylinder or +size or +sizeM or +sizeK (2-250368, default 250368): Using default value 250368
  19. Command (m for help): p
  20. Disk /dev/sda: 4102 MB, 4102029312 bytes
  21. 1 heads, 32 sectors/track, 250368 cylinders
  22. Units = cylinders of 32 * 512 = 16384 bytes
  23.    Device Boot      Start         End      Blocks  Id System
  24. /dev/sda1               2      250368     4005872  83 Linux
  25. Command (m for help): w
  26. The partition table has been altered!


 
* Création de la partition USB (avec swap).

Code :
  1. -bash-3.2# /sbin/fdisk /dev/sda
  2. Command (m for help): o
  3. Building a new DOS disklabel. Changes will remain in memory only,
  4. until you decide to write them. After that the previous content
  5. won't be recoverable.
  6. Command (m for help): n
  7. Command action
  8.    e   extended
  9.    p   primary partition (1-4)
  10. p
  11. Partition number (1-4): 1
  12. First cylinder (2-250368, default 2): Using default value 2
  13. Last cylinder or +size or +sizeM or +sizeK (2-250368, default 250368): 234742
  14. Command (m for help): p
  15. Disk /dev/sda: 4102 MB, 4102029312 bytes
  16. 1 heads, 32 sectors/track, 250368 cylinders
  17. Units = cylinders of 32 * 512 = 16384 bytes
  18.    Device Boot      Start         End      Blocks  Id System
  19. /dev/sda1               2      234742     3755856  83 Linux
  20. Command (m for help): n
  21. Command action
  22.    e   extended
  23.    p   primary partition (1-4)
  24. p
  25. Partition number (1-4): 2
  26. First cylinder (234743-250368, default 234743): Using default value 234743
  27. Last cylinder or +size or +sizeM or +sizeK (234743-250368, default 250368): Using default value 250368
  28. Command (m for help): p
  29. Disk /dev/sda: 4102 MB, 4102029312 bytes
  30. 1 heads, 32 sectors/track, 250368 cylinders
  31. Units = cylinders of 32 * 512 = 16384 bytes
  32.    Device Boot      Start         End      Blocks  Id System
  33. /dev/sda1               2      234742     3755856  83 Linux
  34. /dev/sda2          234743      250368      250016  83 Linux
  35. Command (m for help): t
  36. Partition number (1-4): 2
  37. Hex code (type L to list codes): 82
  38. Changed system type of partition 2 to 82 (Linux swap)
  39. Command (m for help): p
  40. Disk /dev/sda: 4102 MB, 4102029312 bytes
  41. 1 heads, 32 sectors/track, 250368 cylinders
  42. Units = cylinders of 32 * 512 = 16384 bytes
  43.    Device Boot      Start         End      Blocks  Id System
  44. /dev/sda1               2      234742     3755856  83 Linux
  45. /dev/sda2          234743      250368      250016  82 Linux swap
  46. Command (m for help): w
  47. The partition table has been altered!


 
* Formatage de la partition USB en ext2.

Code :
  1. -bash-3.2# cd /tmp
  2. -bash-3.2# wget http://archlinuxarm.org/os/pogoplug/mke2fs
  3. -bash-3.2# chmod 755 mke2fs
  4. -bash-3.2# ./mke2fs /dev/sda1


 
* Formatage de la partition USB en ext3.

Code :
  1. -bash-3.2# cd /tmp
  2. -bash-3.2# wget http://archlinuxarm.org/os/pogoplug/mke2fs
  3. -bash-3.2# chmod 755 mke2fs
  4. -bash-3.2# ./mke2fs -j /dev/sda1


 
* En cas d'installation en ext3, il faut indiquer à uBoot.
** fw_setenv est installé avec uBoot.

Code :
  1. -bash-3.2# /usr/sbin/fw_setenv usb_rootfstype ext3


 
* Téléchargement et installation de ArchLinux

Code :
  1. -bash-3.2# mkdir usb
  2. -bash-3.2# mount /dev/sda1 usb
  3. -bash-3.2# cd usb
  4. -bash-3.2# wget http://archlinuxarm.org/os/ArchLin [...] est.tar.gz
  5. -bash-3.2# tar -xzvf ArchLinuxARM-armv5te-*.tar.gz
  6. -bash-3.2# rm ArchLinuxARM-armv5te-*.tar.gz
  7. -bash-3.2# sync


 
* Redémarrage

Code :
  1. -bash-3.2# cd ..
  2. -bash-3.2# umount usb
  3. -bash-3.2# /sbin/reboot


 
* Suppression de l'ancienne clé SSH du fichier ~/.ssh/known_hosts

Code :
  1. $ ssh-keygen -R 192.168.yyy.xxx #(using your device's IP)


 
* Sources :
** Arch Linux ARM - Seagate DockStar
** Installer Debian sur le Seagate Dockstar
** Présentation FreeAgent DockStar
 
Paramétrages système
Utilitaires uBoot
* Permet d'avoir les commande nanddump, nandwrite, fw_printenv, fw_setenv...

Code :
  1. [root@alarm ~]# cd /tmp
  2. [root@alarm tmp]# wget http://jeff.doozan.com/debian/uboo [...] ot_mtd0.sh
  3. [root@alarm tmp]# chmod +x install_uboot_mtd0.sh
  4. [root@alarm tmp]# ./install_uboot_mtd0.sh
  5. !!!!!!  DANGER DANGER DANGER DANGER DANGER DANGER  !!!!!!
  6. If you lose power to your device while running this script,
  7. it could be left in an unusable state.
  8. This script will replace the bootloader on /dev/mtd0.
  9. This installer will only work on the following devices:
  10. Seagate GoFlex Net
  11. Seagate Dockstar
  12. Pogoplug v1
  13. Pogoplug Pink
  14. Do not run this installer on any other device.
  15. By typing ok, you agree to assume all liabilities and risks
  16. associated with running this installer.
  17. If you agree, type 'ok' and press ENTER to continue: ok
  18. (...)
  19. ## Valid uBoot detected: [dockstar jeff-2010-10-23-current ebd566de30c6521e65fb1255415c037f pogov1 jeff-2010-10-23-current]
  20. ## The newest uBoot is already installed on mtd0.
  21. You are already running the latest uBoot.
  22. Would you like to reset the uBoot environment? [N/y] n
  23. # uBoot installation has completed successfully.


 

Code :
  1. [root@alarm ~]# fw_setenv arcNumber 2998
  2. [root@alarm ~]# reboot


 
Dernières mises à jour

Code :
  1. [root@alarm ~]# uname -a
  2. Linux alarm 3.1.7-2-ARCH #1 PREEMPT Sat Jan 14 15:45:38 UTC 2012 armv5tel Feroceon 88FR131 rev 1 (v5l) Marvell SheevaPlug Reference Board GNU/Linux


 

Code :
  1. [root@alarm ~]# pacman -Syu
  2.          Synchronizing package databases...
  3. core                               37.8K  139.0K/s 00:00:00 [######################] 100%
  4. extra                             421.0K  203.0K/s 00:00:02 [######################] 100%
  5. community                         370.3K  202.1K/s 00:00:02 [######################] 100%
  6. aur                                 9.8K  100.1K/s 00:00:00 [######################] 100%
  7.          The following packages should be upgraded first :
  8.     pacman
  9.          Do you want to cancel the current operation
  10.          and upgrade these packages now? [Y/n]
  11. (...)
  12. >>> Run `pacman-key --init` to set up your pacman keyring.


 

Code :
  1. [root@alarm ~]# pacman -Syu
  2.          Synchronizing package databases...
  3. core is up to date
  4. extra is up to date
  5. community is up to date
  6. aur is up to date
  7.          Starting full system upgrade...
  8.          Replace module-init-tools with core/kmod? [Y/n]
  9. resolving dependencies...
  10. looking for inter-conflicts...
  11. (...)
  12. error: failed to commit transaction (conflicting files)
  13. initscripts: /etc/profile.d/locale.sh exists in filesystem
  14. Errors occurred, no packages were upgraded.
  15. [root@alarm ~]# pacman -Qo /etc/profile.d/locale.sh
  16. error: No package owns /etc/profile.d/locale.sh
  17. [root@alarm ~]# mv /etc/profile.d/locale.sh /etc/profile.d/locale.sh.orig
  18. [root@alarm ~]# pacman -Syu
  19.          Synchronizing package databases...
  20. core is up to date
  21. extra is up to date
  22. community is up to date
  23. aur is up to date
  24.          Starting full system upgrade...
  25.          Replace module-init-tools with core/kmod? [Y/n]
  26. resolving dependencies...
  27. looking for inter-conflicts...
  28. (...)
  29. ATTENTION UDEV:
  30. ----------
  31. udev-compat has been removed, and should be uninstalled.
  32. --
  33. Framebuffers are no longer blacklisted by default.
  34. --
  35. binaries moved from /sbin to /usr/bin
  36. ---------------
  37. (...)
  38. If using non-bash-compatible shell, please set LANG in /etc/locale.conf,
  39. as LOCALE in /etc/rc.conf no longer works.
  40. (...)
  41. [root@alarm ~]# reboot


 

Code :
  1. [root@alarm ~]# uname -a
  2. Linux alarm 3.1.10-3-ARCH #1 PREEMPT Sat Feb 11 03:57:49 UTC 2012 armv5tel Feroceon 88FR131 rev 1 (v5l) Marvell SheevaPlug Reference Board GNU/Linux


 
Ordre de démarrage
* Il est possible de modifier l'ordre de test des périphériques USB au démarrage.
** http://forum.doozan.com/read.php?3,12
* En se basant sur les uuid pour accéder aux partitions, ce n'est pas nécessaire.
* Cependant, si plusieurs disques sont amorçables, ça pourrait devenir indispensable.
 
Activation de la swap

Code :
  1. [root@DockStar ~]# mkswap -L Swap /dev/sda2
  2. Setting up swapspace version 1, size = 250012 KiB
  3. LABEL=Swap, UUID=1bbda5b0-31ee-4c54-9a8d-74f950e17460
  4. [root@alarm ~]# swapon /dev/sda2
  5. [root@alarm ~]# vi /etc/fstab
  6. /dev/sda2 none swap defaults 0 0


 
* Source :
** ArchLinux - Swap.
 
UUID
* L'odre sd[a-z] peut changer selon les disques branché.
     En se basant sur l'identification uuid, on est sûr d'accéder toujours au même emplacement.
 
* Création de la swap

Code :
  1. [root@DockStar ~]# mkswap -L Swap /dev/sda2
  2. Setting up swapspace version 1, size = 250012 KiB
  3. LABEL=Swap, UUID=1bbda5b0-31ee-4c54-9a8d-74f950e17460
  4. [root@alarm ~]# swapon -U 1bbda5b0-31ee-4c54-9a8d-74f950e17460
  5. [root@alarm ~]# vi /etc/fstab
  6. UUID=1bbda5b0-31ee-4c54-9a8d-74f950e17460 none swap defaults 0 0


 
* Listage des partitions

Code :
  1. [root@DockStar ~]# blkid -o list -c /dev/null
  2. device                     fs_type     label        mount point                    UUID
  3. ------------------------------------------------------------------------------------------------------------------------
  4. /dev/sda1                  ext3                     /                              6ef685a3-8e7a-4285-8f4b-9859cf240a29
  5. /dev/sda2                  swap        Swap         (not mounted)                  1bbda5b0-31ee-4c54-9a8d-74f950e17460


 
* Sources :
** ArchLinux - Persistent block device naming.
** ArchLinux - fstab.
 
Hostname

Code :
  1. [root@alarm ~]# vi /etc/rc.conf
  2. HOSTNAME="DockStar"
  3. [root@alarm ~]# reboot


 
Désactivation ipv6

Code :
  1. [root@DockStar ~]# free
  2.              total       used       free     shared    buffers     cached
  3. Mem:        123532      29388      94144          0       1832      15028
  4. -/+ buffers/cache:      12528     111004
  5. Swap:       250012          0     250012
  6. [root@DockStar ~]# vi /etc/sysctl.conf
  7. # Disable ipv6
  8. net.ipv6.conf.all.disable_ipv6 = 1
  9. [root@DockStar ~]# reboot
  10. [root@DockStar ~]# free
  11.              total       used       free     shared    buffers     cached
  12. Mem:        123532      27992      95540          0       1812      14832
  13. -/+ buffers/cache:      11348     112184
  14. Swap:       250012          0     250012


 
Fuseau Horaire

Code :
  1. [root@DockStar ~]# grep ^TIMEZONE /etc/rc.conf
  2. [root@DockStar ~]# ls /usr/share/zoneinfo/
  3. [root@DockStar ~]# vi /etc/rc.conf
  4. TIMEZONE="Europe/Paris"


 
* Source :
** ArchLinux - TimeZone.
 
Installation de ntp
* Installation

Code :
  1. [root@DockStar ~]# pacman -S ntp
  2. resolving dependencies...
  3. looking for inter-conflicts...
  4. Targets (1): ntp-4.2.6.p5-2
  5. Total Download Size:    0.38 MB
  6. Total Installed Size:   1.50 MB
  7. Proceed with installation? [Y/n]
  8.          Retrieving packages from extra...
  9. ntp-4.2.6.p5-2-arm                392.9K  202.2K/s 00:00:02 [######################] 100%
  10. (1/1) checking package integrity                             [######################] 100%
  11. (1/1) checking for file conflicts                            [######################] 100%
  12. (1/1) installing ntp                                         [######################] 100%


 
* Synchronisation

Code :
  1. [root@DockStar ~]# ntpd -qg


 
* Activation au démarrage

Code :
  1. [root@DockStar ~]# rc.d start ntpd
  2.          Starting NTP Daemon                                                                       [DONE]
  3. [root@DockStar ~]# vi /etc/rc.conf
  4. DAEMONS=(... !hwclock ntpd ...)


 
* Source :
** ArchLinux - Network Time Protocol daemon.
 
Utlisateur & sudo

Code :
  1. [root@DockStar ~]# pacman -S sudo
  2. resolving dependencies...
  3. looking for inter-conflicts...
  4. Targets (1): sudo-1.8.3.p2-2
  5. Total Download Size:    0.44 MiB
  6. Total Installed Size:   1.90 MiB
  7. Proceed with installation? [Y/n]
  8.          Retrieving packages from core...
  9. sudo-1.8.3.p2-2-arm                447.1 KiB   203K/s 00:02 [######################] 100%
  10. (1/1) checking package integrity                             [######################] 100%
  11. (1/1) loading package files                                  [######################] 100%
  12. (1/1) checking for file conflicts                            [######################] 100%
  13. (1/1) checking available disk space                          [######################] 100%
  14. (1/1) installing sudo                                        [######################] 100%
  15. [root@DockStar ~]# visudo
  16. ##
  17. ## User privilege specification
  18. ##
  19. root ALL=(ALL) ALL
  20. xxx ALL=(ALL) ALL
  21. [root@DockStar ~]# useradd -m -g users xxx
  22. [root@DockStar ~]# passwd xxx
  23. Enter new UNIX password:
  24. Retype new UNIX password:
  25. passwd: password updated successfully


 
Automount / USB Mount
udev
 
* Sources :
** ArchLinux - Mount under /media; use partition label if present; ntfs-3g.
** forum.hardware.fr#1231779 et forum.hardware.fr#1247732
 
* Règle à mettre en place
** Attention au sd[a-z]* à la place du sd[b-z]* par défaut.

Code :
  1. #
  2. # /etc/udev/rules.d/10-my-media-automount.rules
  3. # start at sdb to ignore the system hard drive
  4. KERNEL!="sd[a-z]*", GOTO="my_media_automount_end"
  5. ACTION=="add", PROGRAM!="/sbin/blkid %N", GOTO="my_media_automount_end"
  6. # import some useful filesystem info as variables
  7. IMPORT{program}="/sbin/blkid -o udev -p %N"
  8. # get the label if present, otherwise assign one based on device/partition
  9. ENV{ID_FS_LABEL}!="", ENV{dir_name}="%E{ID_FS_LABEL}"
  10. ENV{ID_FS_LABEL}=="", ENV{dir_name}="usbhd-%k"
  11. # create the dir in /media and symlink it to /mnt
  12. ACTION=="add", RUN+="/bin/mkdir -p '/media/%E{dir_name}'"
  13. # global mount options
  14. ACTION=="add", ENV{mount_options}="relatime"
  15. # filesystem-specific mount options (777/666 dir/file perms for ntfs/vfat)
  16. ACTION=="add", ENV{ID_FS_TYPE}=="vfat|ntfs", ENV{mount_options}="$env{mount_options},gid=100,dmask=000,fmask=111,utf8"
  17. # automount ntfs filesystems using ntfs-3g driver
  18. ACTION=="add", ENV{ID_FS_TYPE}=="ntfs", RUN+="/bin/mount -t ntfs-3g -o %E{mount_options} /dev/%k '/media/%E{dir_name}'"
  19. # automount all other filesystems
  20. ACTION=="add", ENV{ID_FS_TYPE}!="ntfs", RUN+="/bin/mount -t auto -o %E{mount_options} /dev/%k '/media/%E{dir_name}'"
  21. # clean up after device removal
  22. ACTION=="remove", ENV{dir_name}!="", RUN+="/bin/umount -l '/media/%E{dir_name}'", RUN+="/bin/rmdir '/media/%E{dir_name}'"
  23. # exit
  24. LABEL="my_media_automount_end"


 
* Débuggage
Tu as quoi dans les log (messages, daemon.log) après un

Code :
  1. sudo udevadm control --log-priority=info


Un redémarrage d'udev ([i]rc.d restart udev) et le branchement de ta clef/dd ?[/i]
* Source :
** forum.hardware.fr#1233051
 
usbmount
 
* Solution non utilisée.
 
Je ne sais pas si c'est déjà passé mais voici un truc pour monter automatiquement les clés USB et disque dur au démarrage si vous avez installé Debian sur une clé USB :

Code :
  1. apt-get install usbmount
  2. Modifier /etc/usbmount/usbmount.conf pour rajouter ntfs dans FILESYSTEMS
  3. Récupérer le fichier usbmount-start à cet endroit http://bugs.debian.org/cgi-bin/bug [...] bug=508699 et copier le dans /etc/init.d
  4. chmod 755 usbmount-start
  5. update-rc.d usbmount-start start 99 S


Le coup du usbmount-start c'est pour qu'il monte aussi les clés USB si vous démarrez la machine avec la clé USB déjà branchée
* Source :
** forum.hardware.fr#1266885
 
Encore un autre truc : utiliser ext2 sur une clé USB pour l'OS c'est pas terrible en cas de coupure de courant.
Malheureusement si on utilise ext3, cela va vite fatiguer la clé avec de nombreux cycles d'écriture (à ce qu'il paraît...).
Heureusement ext4 est là pour vous sauver.
Pour cela l'astuce est de suivre la procédure normale d'installation de Debian sur votre clé USB (http://jeff.doozan.com/debian/) et de :

Code :
  1. rebootez sans avoir la clé branchée
  2. une fois sous Pogoplug : fw_setenv usb_rootfstype ext4
  3. puis branchez votre clé USB qui va sans doute se retrouver sur /dev/sda
  4. tune2fs -O extents,uninit_bg,dir_index /dev/sda1
  5. rebootez (avec la clé branchée) et éditez ensuite /etc/fstab et à la ligne /dev/sda1, remplacez ext2 par ext4
  6. rebooter une dernière fois (vous pouvez éviter la dernière manip en éditant directement le fichier de la clé USB sous Pogoplug)


En gros on transforme l'ext2 en ext4 !
* Source :
** forum.hardware.fr#1266886
 
Je ne voulais pas ext2 car je voulais que cela remarche automatiquement en cas de coupure de courant (j'ai déjà eu le cas où j'ai du faire manuellement un e2fsck après un débranchement sauvage, sinon ça ne bootait plus).
 
Ext3 est apparemment trop exigeant pour une pauvre clé USB, donc je me suis tourné vers ext4 qui est un peu un compromis entre les deux (allocation retardée).
C'est un peu expliqué ici :
http://www.howtogeek.com/howto/33552/htg-explains-which-linux-file-system-should-you-choose/
 
Donc en gros, ext2 n'est pas acceptable pour moi, donc il fallait bien trouver quelque chose d'autre. Si vous avez une meilleure idée...
* Source :
** forum.hardware.fr#1266989
 
Veille des disques
sdparm
* Installation

Code :
  1. [root@DockStar ~]# pacman -S sdparm


 
* Liste des paramètres

Code :
  1. [root@DockStar ~]# sdparm -al -6 /dev/sda
  2.     /dev/sda1: Seagate   FreeAgent Go     102D
  3.     Direct access device specific parameters: WP=0  DPOFUA=0
  4. Power condition [po] mode page:
  5.   PM_BG       0  [cha: n, def:  0, sav:  0]  Power management, background functions, precedence
  6.   STANDBY_Y   0  [cha: n, def:  0, sav:  0]  Standby_y timer enable
  7.   IDLE_C      0  [cha: n, def:  0, sav:  0]  Idle_c timer enable
  8.   IDLE_B      0  [cha: n, def:  0, sav:  0]  Idle_b timer enable
  9.   IDLE        0  [cha: n, def:  0, sav:  0]  Idle_a timer enable
  10.   STANDBY     0  [cha: n, def:  1, sav:  0]  Standby_z timer enable
  11.   ICT         0  [cha: n, def:  0, sav:  0]  Idle_a condition timer (100 ms)
  12.   SCT         0  [cha: n, def:3000, sav:  0]  Standby_z condition timer (100 ms)
  13. Power consumption [ps] mode page:
  14.   ps_id       0  [cha: n, def:  0, sav:  0]  Power consumption identifier
  15. SAT ATA Power condition [apo] mode page:
  16.   APMP        0  [cha: n, def:  0, sav:  0]  Advanced Power Management (APM) enabled/change
  17.   APM         0  [cha: n, def:  0, sav:  0]  Advanced Power Management (APM) value


 
* Désactivation (-c, --clear).

Code :
  1. [root@DockStar ~]# sdparm -c STANDBY -6 /dev/sda
  2.     /dev/sda: Seagate   FreeAgent Go     102D


 
* Etat (-g, --get).

Code :
  1. /dev/sda: Seagate   FreeAgent Go     102D
  2. STANDBY     0  [cha: n, def:  1, sav:  0]


 
* Activation (-s, --set).
** Marche pas.

Code :
  1. [root@DockStar ~]# sdparm -s STANDBY=1 -6 /dev/sda
  2.     /dev/sda: Seagate   FreeAgent Go     102D


 
* Activation (-D, --defaults et -p, --page).

Code :
  1. [root@DockStar ~]# sdparm -D -p 0x1a -6 /dev/sda
  2.     /dev/sda: Seagate   FreeAgent Go     102D


 
* Délai de mise en veille

Code :
  1. [root@DockStar ~]# sdparm -s SCT=3000 --save /dev/sda


 
Me confirme que le mode standby est bien activé à 5 min, comme spécifié par l'utilitaire windows Seagate. (SCT = 3000 10ème de secondes=5min).
Par contre mon dd est jamais en standby j'ai l'impression (la led est toujours allumé) et je ne sais pas comment le savoir de façon sure(vu que hdparm foire).
Pour info en faisant un sdparm --command=stop, les led s'éteignent bien....
Il y a t-il un moyen "d'appliquer" la mise en veille programmée via le SCT?
 
hdparm
* Installation

Code :
  1. [root@DockStar ~]# pacman -S hdparm


 
    -y
        Force  an  IDE drive to immediately enter the low power consumption standby mode, usually causing it to spin down.  The current power mode status can be checked using the -C option.
    -Y
        Force an IDE drive to immediately enter the lowest power consumption sleep mode, causing it to shut down completely. A hard or soft reset is required before the drive can be accessed again (the Linux IDE driver will automatically handle issuing a reset if/when needed). The current power mode status can be checked using the -C flag.
    -C
        Check the current IDE power mode status, which will always be one of unknown (drive  does  not  support this command), active/idle (normal operation), standby (low power mode, drive has spun down), or sleeping (lowest power mode, drive is completely shut down).  The -S, -y, -Y, and -Z options can be used  to manipulate the IDE power modes.
 
* standby mode

Code :
  1. [root@DockStar ~]# hdparm -y /dev/sda
  2. /dev/sda:
  3. issuing standby command


 
* sleep mode

Code :
  1. [root@DockStar ~]# hdparm -Y /dev/sda
  2. /dev/sda:
  3. issuing sleep command


 
* check state

Code :
  1. [root@DockStar ~]# hdparm -C /dev/sda1
  2. /dev/sda1:
  3. drive state is:  standby


 
script udev
* Source :
** forum.hardware.fr#1232508.
 
Erreurs NAND
* La commande dmesg affiche beaucoup d'erreurs de ce type.

Code :
  1. [   42.881971] uncorrectable error :
  2. [   42.885223] end_request: I/O error, dev mtdblock1, sector 0
  3. [   42.891001] Buffer I/O error on device mtdblock1, logical block 0
  4. [   42.897346] uncorrectable error :
  5. [   42.900649] end_request: I/O error, dev mtdblock1, sector 0
  6. [   42.906434] Buffer I/O error on device mtdblock1, logical block 0
  7. [   42.913050] uncorrectable error :
  8. [   42.916300] end_request: I/O error, dev mtdblock1, sector 0
  9. [   42.922078] Buffer I/O error on device mtdblock1, logical block 0
  10. [   42.928505] uncorrectable error :
  11. [   42.931750] end_request: I/O error, dev mtdblock1, sector 8
  12. [   42.937530] Buffer I/O error on device mtdblock1, logical block 1
  13. [   42.943859] uncorrectable error :
  14. [   42.947106] end_request: I/O error, dev mtdblock1, sector 8
  15. [   42.952886] Buffer I/O error on device mtdblock1, logical block 1
  16. [   42.959677] uncorrectable error :
  17. [   42.962975] end_request: I/O error, dev mtdblock1, sector 8
  18. [   42.968758] Buffer I/O error on device mtdblock1, logical block 1


 
De ce que j'ai lu, la mémoire NAND a un taux habituellement élevé de secteurs défectueux, et les constructeurs en tiennent compte en faisant de la correction d'erreur, a priori le message est purement cosmétique, derrière tout fonctionne bien.
 
* Sources :
** forum.doozan.com
** forum.hardware.fr#1230761.
 
Compilation
Cross Compilation
* Pas utilisé pour l'instant.
* Sources :
** http://plugcomputer.org/plugwiki/i [...] g_Computer
** http://www.nas-central.org/wiki/Se [...] _compiling
** http://dev.shyd.de/2011/03/docksta [...] toolchain/
** http://forum.doozan.com/read.php?2,6010,6010
** http://forum.doozan.com/read.php?2,2694,2715
 
Environnement de Compilation

Code :
  1. [root@DockStar ~]# pacman -S base-devel
  2. [root@DockStar ~]# pacman -S git
  3. [root@DockStar ~]# pacman -S mercurial


 
AUR
* Sources :
** AUR sur wiki.archlinux.org.
** Creating_Packages sur wiki.archlinux.org.
** Arch Build System sur wiki.archlinux.org.


Message édité par bmd_online le 09-03-2012 à 21:45:29
n°1306555
snk4ever
Posté le 09-03-2012 à 16:27:40  profilanswer
 

Ca c'est du post de qualitay. Merci

n°1306556
bmd_online
Posté le 09-03-2012 à 16:35:05  profilanswer
 

1 DockStar Multimédia
        1.1 Configuration de la TNT
            1.1.1 Documentations
            1.1.2 Compilation de v4l-dvb-git (AUR)
                1.1.2.1 Dépendances
                1.1.2.2 Drivers WinTV-NOVA-T-Stick
                1.1.2.3 Drivers AverTV Red HD+
            1.1.3 Compilation de w_scan (AUR)
            1.1.4 Compilation de w_scan (Source)
            1.1.5 Compilation de dvbsnoop (AUR)
            1.1.6 Compilation de dvb-apps (AUR)
            1.1.7 Compilation de dvb-apps (Mercurial)
            1.1.8 Tvheadend
                1.1.8.1 Compilation de Tvheadend (AUR)
                1.1.8.2 Installation de Tvheadend
                1.1.8.3 MythTV
        1.2 Configuration du Jukebox
            1.2.1 Carte Son
                1.2.1.1 ALSA
                1.2.1.2 PulseAudio
                    1.2.1.2.1 Installation
                    1.2.1.2.2 Per-User Daemon
                    1.2.1.2.3 System-Wide Daemon
                    1.2.1.2.4 Serveur Réseau
                    1.2.1.2.5 Accès Client
            1.2.2 Accès à la médiathèque réseau
            1.2.3 Installation de MPD
            1.2.4 DLNA
        1.3 Installation de la webcam
 
DockStar Multimédia
Configuration de la TNT
Documentations
* v4l-dvb
** sur AUR - v4l-dvb-git 20111105-1.
** sur linuxtv.org.
* dvb-apps
** sur linuxtv.org.
* Hauppauge WinTV-NOVA-T-Stick
** sur linuxtv.org.
** sur wiki.archlinux.org.
* VDR sur wiki.archlinux.org.
* MythTV sur wiki.archlinux.org.
 
-----
https://bbs.archlinux.org/viewtopic.php?id=130457
http://xgazza.altervista.org/Linux/DVB/af9035.html
http://forums.gentoo.org/viewtopic [...] art-0.html
http://linux.bplaced.net/#ermittlung-des-treibers
http://archlinuxarm.org/forum/viewtopic.php?t=1773
 
Compilation de v4l-dvb-git (AUR)
Dépendances
* Récupération de perl-proc-processtable
** Adapter PKGBUILD pour inclure l'architecture arm

Code :
  1. [root@DockStar ~]# su - xxx
  2. [xxx@DockStar ~]$ mkdir AUR
  3. [xxx@DockStar ~]$ cd AUR
  4. [xxx@DockStar AUR]$ wget http://aur.archlinux.org/packages/ [...] ble.tar.gz
  5. [xxx@DockStar AUR]$ tar zxvf perl-proc-processtable.tar.gz
  6. [xxx@DockStar AUR]$ cd perl-proc-processtable
  7. [xxx@DockStar perl-proc-processtable]$ vi PKGBUILD
  8. arch=('i686' 'x86_64' 'arm')


 
* Compilation et installation de perl-proc-processtable

Code :
  1. [xxx@DockStar perl-proc-processtable]$ makepkg -s
  2. ==> Making package: perl-proc-processtable 0.45-2 (Sun Feb 19 18:30:46 CET 2012)
  3. ==> Checking runtime dependencies...
  4. ==> Checking buildtime dependencies...
  5. ==> Retrieving Sources...
  6.   -> Downloading Proc-ProcessTable-0.45.tar.gz...
  7. (...)
  8. ==> Validating source files with md5sums...
  9.     Proc-ProcessTable-0.45.tar.gz ... Passed
  10. ==> Extracting Sources...
  11.   -> Extracting Proc-ProcessTable-0.45.tar.gz with bsdtar
  12. ==> Starting build()...
  13. Checking if your kit is complete...
  14. Looks good
  15. (...)
  16. ==> Entering fakeroot environment...
  17. ==> Starting package()...
  18. (...)
  19. ==> Tidying install...
  20.   -> Purging unwanted files...
  21.   -> Compressing man and info pages...
  22.   -> Stripping unneeded symbols from binaries and libraries...
  23.   -> Removing empty directories...
  24. ==> Creating package...
  25.   -> Generating .PKGINFO file...
  26.   -> Compressing package...
  27. ==> Leaving fakeroot environment.
  28. ==> Finished making: perl-proc-processtable 0.45-2 (Sun Feb 19 18:31:15 CET 2012)
  29. [xxx@DockStar perl-proc-processtable]$ sudo pacman -U perl-proc-processtable-0.45-2-arm.pkg.tar.xz


 
Drivers WinTV-NOVA-T-Stick
 
* Récupération de v4l-dvb-git

Code :
  1. [root@DockStar ~]# su - xxx
  2. [xxx@DockStar ~]$ cd AUR
  3. [xxx@DockStar AUR]$ wget http://aur.archlinux.org/packages/ [...] git.tar.gz
  4. [xxx@DockStar AUR]$ tar zxvf v4l-dvb-git.tar.gz
  5. [xxx@DockStar AUR]$ cd v4l-dvb-git


 
* Remplacer le fichier config.
     Ce fichier est ensuite utilisé par PKGBUILD, copié en v4l/.config.
     Le but est de ne choisir que les modules nécessaires pour que la compilation soit plus rapide, et sans erreur.
     Pour identifier les modules à installer, j'ai connecté la clef TNT sur un PC, et comparé lsmod avant et après.

Code :
  1. rc_dib0700_rc5         12508  0
  2. mt2060                 13188  1
  3. ir_lirc_codec          12898  0
  4. lirc_dev               19204  1 ir_lirc_codec
  5. ir_sony_decoder        12549  0
  6. ir_jvc_decoder         12546  0
  7. ir_rc6_decoder         12546  0
  8. ir_rc5_decoder         12546  0
  9. dvb_usb_dib0700       114723  0
  10. dib7000p               39232  1 dvb_usb_dib0700
  11. dib0090                37608  1 dvb_usb_dib0700
  12. dib7000m               23501  2 dvb_usb_dib0700
  13. dib0070                18518  1 dvb_usb_dib0700
  14. dvb_usb                24444  1 dvb_usb_dib0700
  15. dib8000                43142  1 dvb_usb_dib0700
  16. dvb_core              110616  3 dib7000p,dvb_usb,dib8000
  17. ir_nec_decoder         12546  0
  18. dib3000mc              23392  1 dvb_usb_dib0700
  19. rc_core                26963  10 rc_dib0700_rc5,ir_lirc_codec,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_rc5_decoder,dvb_usb_dib0700,dvb_usb,ir_nec_decoder
  20. dibx000_common         18810  5 dvb_usb_dib0700,dib7000p,dib7000m,dib8000,dib3000mc


 

Code :
  1. [xxx@DockStar AUR]$ vi config
  2. CONFIG_DVB_CORE=m
  3. CONFIG_RC_CORE=m
  4. CONFIG_DVB_USB=m
  5. CONFIG_MEDIA_TUNER_MT2060=m
  6. CONFIG_DVB_DIB3000MB=m
  7. CONFIG_DVB_DIB3000MC=m
  8. CONFIG_DVB_DIB7000M=m
  9. CONFIG_DVB_DIB7000P=m
  10. CONFIG_DVB_DIB8000=m
  11. CONFIG_DVB_DIB9000=m
  12. CONFIG_DVB_TUNER_DIB0070=m
  13. CONFIG_DVB_TUNER_DIB0090=m
  14. CONFIG_DVB_USB_DIB0700=m
  15. CONFIG_DVB_USB_DIBUSB_MB_FAULTY=y
  16. CONFIG_DVB_USB_DIBUSB_MB=m
  17. CONFIG_DVB_USB_DIBUSB_MC=m
  18. CONFIG_IR_JVC_DECODER=m
  19. CONFIG_IR_MCE_KBD_DECODER=m
  20. CONFIG_IR_NEC_DECODER=m
  21. CONFIG_IR_RC5_DECODER=m
  22. CONFIG_IR_RC5_SZ_DECODER=m
  23. CONFIG_IR_RC6_DECODER=m
  24. CONFIG_IR_SONY_DECODER=m


 
* Adapter PKGBUILD pour inclure l'architecture arm et corriger le checksum du fichier config

Code :
  1. [xxx@DockStar AUR]$ sha1sum config
  2. 33114fe454a77fe0157f9f11702f1eee24f3b985  config
  3. [xxx@DockStar AUR]$ vi PKGBUILD
  4. arch=('i686' 'x86_64' 'arm')
  5. sha1sums=('33114fe454a77fe0157f9f11702f1eee24f3b985')


 
* Compilation de v4l-dvb-git

Code :
  1. [xxx@DockStar v4l-dvb-git]$ makepkg -s
  2. ==> Determining latest git revision...
  3.   -> Version found: 20120221
  4. ==> Making package: v4l-dvb-git 20120221-1 (Tue Feb 21 23:32:20 CET 2012)
  5. ==> Checking runtime dependencies...
  6. ==> Checking buildtime dependencies...
  7. ==> Retrieving Sources...
  8.   -> Found config
  9. ==> Validating source files with sha1sums...
  10.     config ... Passed
  11. ==> Extracting Sources...
  12. ==> Starting build()...
  13. ==> Connecting to GIT server....
  14. Cloning into 'media_build'...
  15. remote: Counting objects: 1265, done.
  16. remote: Compressing objects: 100% (420/420), done.
  17. remote: Total 1265 (delta 806), reused 1265 (delta 806)
  18. Receiving objects: 100% (1265/1265), 316.08 KiB | 159 KiB/s, done.
  19. Resolving deltas: 100% (806/806), done.
  20. ==> GIT checkout done or server timeout
  21. ==> Starting make...
  22. (...)
  23. ==> Entering fakeroot environment...
  24. ==> Starting package()...
  25. (...)
  26. Installing kernel modules under /home/xxx/AUR/v4l-dvb-git/pkg/lib/modules/3.1.10-3-ARCH/updates/lib/modules/3.1.10-3-ARCH/kernel/drivers/media/:
  27. dvb/dvb-core/: dvb-core.ko
  28. dvb/frontends/: dib7000m.ko dib0090.ko dib9000.ko
  29.  dib8000.ko dib3000mb.ko dib3000mc.ko
  30.  dibx000_common.ko dib7000p.ko dib0070.ko
  31. rc/: ir-sony-decoder.ko rc-core.ko ir-nec-decoder.ko
  32.  ir-rc5-decoder.ko ir-rc6-decoder.ko ir-jvc-decoder.ko
  33.  ir-rc5-sz-decoder.ko ir-mce_kbd-decoder.ko
  34. dvb/dvb-usb/: dvb-usb-dib0700.ko dvb-usb-dibusb-common.ko dvb-usb-dibusb-mc.ko
  35.  dvb-usb.ko dvb-usb-dibusb-mb.ko
  36. common/tuners/: mt2060.ko
  37. (...)
  38. ==> Tidying install...
  39.   -> Purging unwanted files...
  40.   -> Compressing man and info pages...
  41.   -> Stripping unneeded symbols from binaries and libraries...
  42. ==> Creating package...
  43.   -> Generating .PKGINFO file...
  44.   -> Adding install file...
  45.   -> Compressing package...
  46. ==> Leaving fakeroot environment.
  47. ==> Finished making: v4l-dvb-git 20120221-1 (Tue Feb 21 23:38:41 CET 2012)


 
* Installation

Code :
  1. [xxx@DockStar v4l-dvb-git]$ sudo pacman -U v4l-dvb-git-20120226-1-arm.pkg.tar.xz


 
Drivers AverTV Red HD+
* Même principe que pour la carte WinTV-NOVA-T-Stick, mais avec les options suivantes:

Code :
  1. mxl5005s               46356  1
  2. af9013                 27791  1
  3. ir_lirc_codec          12898  0
  4. lirc_dev               19204  1 ir_lirc_codec
  5. ir_sony_decoder        12549  0
  6. ir_jvc_decoder         12546  0
  7. ir_rc6_decoder         12546  0
  8. ir_rc5_decoder         12546  0
  9. dvb_usb_af9015         31068  0
  10. dvb_usb                24444  1 dvb_usb_af9015
  11. ir_nec_decoder         12546  0
  12. dvb_core              110616  1 dvb_usb
  13. rc_core                26963  9 ir_lirc_codec,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_rc5_decoder,dvb_usb_af9015,dvb_usb,ir_nec_decoder


 

Code :
  1. [xxx@DockStar AUR]$ vi config
  2. CONFIG_DVB_CORE=m
  3. CONFIG_RC_CORE=m
  4. CONFIG_DVB_USB=m
  5. CONFIG_MEDIA_TUNER_MXL5005S=m
  6. CONFIG_DVB_AF9013=m
  7. CONFIG_DVB_USB_AF9005=m
  8. CONFIG_DVB_USB_AF9015=m
  9. CONFIG_LIRC=m
  10. CONFIG_IR_LIRC_CODEC=m
  11. CONFIG_IR_JVC_DECODER=m
  12. CONFIG_IR_NEC_DECODER=m
  13. CONFIG_IR_RC5_DECODER=m
  14. CONFIG_IR_RC5_SZ_DECODER=m
  15. CONFIG_IR_RC6_DECODER=m
  16. CONFIG_IR_SONY_DECODER=m


 
* Firmware (4.95.0).
** tvheadhend affiche Status changed to [Graceperiod expired]

Code :
  1. [root@DockStar ~]# su - xxx
  2. [xxx@DockStar ~]$ cd AUR
  3. [xxx@DockStar AUR]$ wget http://www.otit.fi/~crope/v4l-dvb/ [...] -af9015.fw
  4. [xxx@DockStar AUR]$ sudo cp dvb-usb-af9015.fw /lib/firmware/


 
* Firmware (5.1.0.0).
** tvheadhend affiche toujour Status changed to [Graceperiod expired]

Code :
  1. [root@DockStar ~]# su - xxx
  2. [xxx@DockStar ~]$ cd AUR
  3. [xxx@DockStar AUR]$ wget http://palosaari.fi/linux/v4l-dvb/ [...] -af9015.fw
  4. [xxx@DockStar AUR]$ sudo cp dvb-usb-af9015.fw /lib/firmware/


 
Compilation de w_scan (AUR)
* La version AUR est à adapter.
** La compilation est correcte, mais la création du package ne marche pas.

Code :
  1. [root@DockStar ~]# su - xxx
  2. [xxx@DockStar ~]$ cd AUR
  3. [xxx@DockStar AUR]$ wget http://aur.archlinux.org/packages/ [...] can.tar.gz
  4. [xxx@DockStar AUR]$ tar zxvf w_scan.tar.gz
  5. [xxx@DockStar AUR]$ cd w_scan
  6. [xxx@DockStar w_scan]$ vi PKGBUILD
  7. pkgver=20120128
  8. arch=(i686 x86_64 arm)
  9. md5sums=('6092db5229faa4bde0e735f9a60ff082')
  10. [xxx@DockStar w_scan]$ makepkg -s


 
Compilation de w_scan (Source)
* Pas utilisé

Code :
  1. [root@DockStar ~]# su - xxx
  2. [xxx@DockStar ~]$ cd AUR
  3. [xxx@DockStar AUR]$ mkdir wscan
  4. [xxx@DockStar AUR]$ cd wscan/
  5. [xxx@DockStar wscan]$ wget http://wirbel.htpc-forum.de/w_scan [...] 28.tar.bz2
  6. [xxx@DockStar wscan]$ tar xjf w_scan-20120128.tar.bz2
  7. [xxx@DockStar wscan]$ cd w_scan-20120128
  8. [xxx@DockStar w_scan-20120128]$ ./configure
  9. [xxx@DockStar w_scan-20120128]$ ./make


 
Compilation de dvbsnoop (AUR)

Code :
  1. [root@DockStar ~]# su - xxx
  2. [xxx@DockStar ~]$ cd AUR
  3. [xxx@DockStar AUR]$ wget http://aur.archlinux.org/packages/ [...] oop.tar.gz
  4. [xxx@DockStar AUR]$ tar zxvf dvbsnoop.tar.gz
  5. [xxx@DockStar AUR]$ cd dvbsnoop
  6. [xxx@DockStar dvbsnoop]$ vi PKGBUILD
  7. arch=('i686' 'x86_64' 'arm')
  8. [xxx@DockStar w_scan]$ makepkg -s


 
Compilation de dvb-apps (AUR)
* Il ne s'agit pas d'une source AUR, mais de la recompilation du paquet linux-dvb-apps pour architecture ARM.
* On obtient ainsi un paquet installable, comme avec les sources AUR.

Code :
  1. [root@DockStar ~]# su - xxx
  2. [xxx@DockStar xxx]# cd AUR/
  3. [xxx@DockStar AUR]# mkdir linux-dvb-apps
  4. [xxx@DockStar AUR]# cd linux-dvb-apps/
  5. [xxx@DockStar AUR]# wget http://projects.archlinux.org/svnt [...] v-dvb-apps -O PKGBUILD
  6. [xxx@DockStar AUR]# vi PKGINFO
  7. arch=('i686' 'x86_64' 'arm')
  8. [xxx@DockStar AUR]# makepkg -s


 
Compilation de dvb-apps (Mercurial)
* Pas utilisé

Code :
  1. [root@DockStar ~]# su - xxx
  2. [xxx@DockStar ~]$ cd AUR
  3. [xxx@DockStar AUR]$ hg clone http://linuxtv.org/hg/dvb-apps
  4. destination directory: dvb-apps
  5. requesting all changes
  6. adding changesets
  7. adding manifests
  8. adding file changes
  9. added 1466 changesets with 5966 changes to 2064 files
  10. updating to branch default
  11. 1392 files updated, 0 files merged, 0 files removed, 0 files unresolved
  12. [xxx@DockStar AUR]$ cd dvb-apps
  13. [xxx@DockStar dvb-apps]$ make
  14. make -C lib all
  15. (...)
  16. make[2]: Leaving directory `/home/xxx/AUR/dvb-apps/util/lsdvb'
  17. make[1]: Leaving directory `/home/xxx/AUR/dvb-apps/util'
  18. [xxx@DockStar dvb-apps]$ sudo make install
  19. Password:
  20. make -C lib install
  21. make[1]: Entering directory `/home/xxx/AUR/dvb-apps/lib'
  22. make -C libdvbapi install
  23. make[2]: Entering directory `/home/xxx/AUR/dvb-apps/lib/libdvbapi'
  24. installing headers
  25. installing libraries
  26. (...)
  27. make[2]: Leaving directory `/home/xxx/AUR/dvb-apps/util/lsdvb'
  28. make[1]: Leaving directory `/home/xxx/AUR/dvb-apps/util'


 
* Sources :
** LinuxTV dvb-apps.
** Plug Wiki - DVB-T.
 
Tvheadend
* Sources :
** AUR - tvheadend-git 20111212-1.
** Tv Live avec XBMC et Tvheadend, hyper fastoche!
 
Compilation de Tvheadend (AUR)
* Récupération de tvheadend-git
** Adapter PKGBUILD pour inclure l'architecture arm

Code :
  1. [xxx@DockStar AUR]$ wget https://aur.archlinux.org/packages/ [...] git.tar.gz
  2. [xxx@DockStar AUR]$ tar zxvf tvheadend-git.tar.gz
  3. [xxx@DockStar AUR]$ cd tvheadend-git
  4. [xxx@DockStar tvheadend-git]$ vi PKGBUILD
  5. arch=('i686' 'x86_64' 'arm')


 
* Compilation de tvheadend-git

Code :
  1. [xxx@DockStar tvheadend-git]$ makepkg -s
  2. ==> Determining latest git revision...
  3.   -> Version found: 20120222
  4. ==> Making package: tvheadend-git 20120222-1 (Wed Feb 22 18:49:56 CET 2012)
  5. ==> Checking runtime dependencies...
  6. ==> Installing missing dependencies...
  7. Password:
  8. resolving dependencies...
  9. looking for inter-conflicts...
  10. Targets (3): dbus-1.4.16-1  libdaemon-0.14-2  avahi-0.6.30-7
  11. Total Download Size:    0.39 MiB
  12. Total Installed Size:   2.82 MiB
  13. Proceed with installation? [Y/n]
  14.          Retrieving packages from extra...
  15. libdaemon-0.14-2-arm                14.0 KiB  88.9K/s 00:00 [######################] 100%
  16. dbus-1.4.16-1-arm                   20.8 KiB   176K/s 00:00 [######################] 100%
  17. avahi-0.6.30-7-arm                 361.1 KiB   152K/s 00:02 [######################] 100%
  18. (3/3) checking package integrity                             [######################] 100%
  19. (3/3) loading package files                                  [######################] 100%
  20. (3/3) checking for file conflicts                            [######################] 100%
  21. (3/3) checking available disk space                          [######################] 100%
  22. (1/3) installing libdaemon                                   [######################] 100%
  23. (2/3) installing dbus                                        [######################] 100%
  24. (3/3) installing avahi                                       [######################] 100%
  25. ==> The following daemons may be added to DAEMONS in /etc/rc.conf:
  26. ==> avahi-daemon: the mdns responder, you probably want this.
  27. ==>               dbus needs to be running when you start it.
  28. ==> avahi-dnsconfd: daemon used for peer-to-peer automatic dns
  29. ==>                 configuration on dhcp-less networks.
  30. ==> To use some of the client applications you will have to install python.
  31. ==> In addition, pygtk is required for the graphical ones and
  32. ==> twisted for avahi-bookmarks.
  33. Optional dependencies for avahi
  34.     gtk3: avahi-discover-standalone, bshell, bssh, bvnc
  35.     gtk2: gtk2 bindings
  36.     qt3: qt3 bindings
  37.     qt: qt bindings
  38.     pygtk: avahi-bookmarks, avahi-discover
  39.     twisted: avahi-bookmarks
  40.     mono: mono bindings
  41.     dbus-python: avahi-discover
  42.     nss-mdns: NSS support for mDNS
  43. ==> Checking buildtime dependencies...
  44. ==> Retrieving Sources...
  45.   -> Found tvheadend.conf.d
  46.   -> Found tvheadend.rc.d
  47. ==> Validating source files with md5sums...
  48.     tvheadend.conf.d ... Passed
  49.     tvheadend.rc.d ... Passed
  50. ==> Extracting Sources...
  51. ==> Starting build()...
  52. ==> Connecting to GIT server....
  53. Cloning into 'tvheadend'...
  54. remote: Counting objects: 10411, done.
  55. remote: Compressing objects: 100% (2621/2621), done.
  56. remote: Total 10411 (delta 7901), reused 10240 (delta 7750)
  57. Receiving objects: 100% (10411/10411), 4.33 MiB | 109 KiB/s, done.
  58. Resolving deltas: 100% (7901/7901), done.
  59. ==> GIT checkout done or server timeout
  60. ==> Starting make...
  61. (...)
  62. ==> Entering fakeroot environment...
  63. ==> Starting package()...
  64. mkdir -p /home/xxx/AUR/tvheadend-git/pkg//usr/bin
  65. install -T build.Linux/tvheadend /home/xxx/AUR/tvheadend-git/pkg//usr/bin/tvheadend
  66. mkdir -p /home/xxx/AUR/tvheadend-git/pkg//usr/share/man/man1
  67. install man/tvheadend.1 /home/xxx/AUR/tvheadend-git/pkg//usr/share/man/man1
  68. ==> Tidying install...
  69.   -> Purging unwanted files...
  70.   -> Compressing man and info pages...
  71.   -> Stripping unneeded symbols from binaries and libraries...
  72. ==> Creating package...
  73.   -> Generating .PKGINFO file...
  74.   -> Adding install file...
  75.   -> Compressing package...
  76. ==> Leaving fakeroot environment.
  77. ==> Finished making: tvheadend-git 20120222-1 (Wed Feb 22 18:56:53 CET 2012)


 
Installation de Tvheadend
 
* Installation de tvheadend-git

Code :
  1. [xxx@DockStar tvheadend-git]$ sudo pacman -U tvheadend-git-20120222-1-arm.pkg.tar.xz
  2.   ==> User 'hts' created
  3.   ==> All configuration is maintained through the web interface:
  4.   ==>
  5.   ==> http://localhost:9981/
  6.   ==>
  7.   ==> Default login without username/password.
  8. Optional dependencies for tvheadend-git
  9.     xmltv: For an alternative source of programme listings


 
* Démarrage

Code :
  1. [xxx@DockStar tvheadend-git]$ sudo rc.d stop tvheadend
  2. [xxx@DockStar tvheadend-git]$ sudo rc.d start tvheadend


 
* Démarrage au boot
** Ajouter tvheadend à la ligne DAEMONS.
** Le @ qui précède permet de ne pas attendre la fin de chargement pour lancer le service suivant.

Code :
  1. [root@DockStar ~]# vi /etc/rc.conf
  2. DAEMONS=(... @tvheadend ...)


 
MythTV
* Pas utilisé.
 
* Source :
** MythTV sur Seagate Dockstar.
 
Configuration du Jukebox
Carte Son
* La carte son est détectée et installée automatiquement.

Code :
  1. [root@DockStar ~]# lsusb
  2. (...)
  3. Bus 001 Device 006: ID 0d8c:000e C-Media Electronics, Inc. Audio Adapter (Planet UP-100, Genius G-Talk)


 

Code :
  1. [root@DockStar ~]# lsmod | grep snd
  2. snd_usb_audio          72370  3
  3. snd_usbmidi_lib        15351  1 snd_usb_audio
  4. snd_rawmidi            15414  1 snd_usbmidi_lib
  5. snd_seq_device          4671  1 snd_rawmidi
  6. snd_hwdep               4745  1 snd_usb_audio
  7. snd_pcm                58977  2 snd_usb_audio
  8. snd_page_alloc          4643  1 snd_pcm
  9. snd_timer              16451  2 snd_pcm
  10. snd                    34986  11 snd_timer,snd_pcm,snd_hwdep,snd_seq_device,snd_rawmidi,snd_usbmidi_lib,snd_usb_audio
  11. soundcore                690  1 snd


 
ALSA
* Source :
** ArchLinux - Advanced Linux Sound Architecture.
 
* Installation des utilitaires ALSA

Code :
  1. [root@DockStar ~]# pacman -S alsa-utils


 
* Informations

Code :
  1. [root@DockStar ~]# for x in /proc/asound/{version,cards,devices,timers,pcm}; do echo $x:; cat $x; done
  2. /proc/asound/version:
  3. Advanced Linux Sound Architecture Driver Version 1.0.24.
  4. /proc/asound/cards:
  5. 0 [Device         ]: USB-Audio - Generic USB Audio Device
  6.                       Generic USB Audio Device at usb-orion-ehci.0-1.4, full speed
  7. /proc/asound/devices:
  8.   0: [ 0]   : control
  9. 16: [ 0- 0]: digital audio playback
  10. 24: [ 0- 0]: digital audio capture
  11. 33:        : timer
  12. /proc/asound/timers:
  13. G0: system timer : 10000.000us (10000000 ticks)
  14. P0-0-0: PCM playback 0-0-0 : SLAVE
  15. P0-0-1: PCM capture 0-0-1 : SLAVE
  16. /proc/asound/pcm:
  17. 00-00: USB Audio : USB Audio : playback 1 : capture 1


 

Code :
  1. [root@DockStar ~]# aplay  -L
  2. null
  3.     Discard all samples (playback) or generate zero samples (capture)
  4. pulse
  5.     PulseAudio Sound Server
  6. default
  7.     Default ALSA Output (currently PulseAudio Sound Server)
  8. sysdefault:CARD=Device
  9.     Generic USB Audio Device, USB Audio
  10.     Default Audio Device
  11. front:CARD=Device,DEV=0
  12.     Generic USB Audio Device, USB Audio
  13.     Front speakers
  14. surround40:CARD=Device,DEV=0
  15.     Generic USB Audio Device, USB Audio
  16.     4.0 Surround output to Front and Rear speakers
  17. surround41:CARD=Device,DEV=0
  18.     Generic USB Audio Device, USB Audio
  19.     4.1 Surround output to Front, Rear and Subwoofer speakers
  20. surround50:CARD=Device,DEV=0
  21.     Generic USB Audio Device, USB Audio
  22.     5.0 Surround output to Front, Center and Rear speakers
  23. surround51:CARD=Device,DEV=0
  24.     Generic USB Audio Device, USB Audio
  25.     5.1 Surround output to Front, Center, Rear and Subwoofer speakers
  26. surround71:CARD=Device,DEV=0
  27.     Generic USB Audio Device, USB Audio
  28.     7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
  29. iec958:CARD=Device,DEV=0
  30.     Generic USB Audio Device, USB Audio
  31.     IEC958 (S/PDIF) Digital Audio Output


 

Code :
  1. [root@DockStar ~]# ls -l /sys/module/snd/holders
  2. lrwxrwxrwx 1 root root 0 Feb 23 23:40 snd_hwdep -> ../../snd_hwdep
  3. lrwxrwxrwx 1 root root 0 Feb 23 23:40 snd_pcm -> ../../snd_pcm
  4. lrwxrwxrwx 1 root root 0 Feb 23 23:40 snd_rawmidi -> ../../snd_rawmidi
  5. lrwxrwxrwx 1 root root 0 Feb 23 23:40 snd_seq_device -> ../../snd_seq_device
  6. lrwxrwxrwx 1 root root 0 Feb 23 23:40 snd_timer -> ../../snd_timer
  7. lrwxrwxrwx 1 root root 0 Feb 23 23:40 snd_usb_audio -> ../../snd_usb_audio
  8. lrwxrwxrwx 1 root root 0 Feb 23 23:40 snd_usbmidi_lib -> ../../snd_usbmidi_lib


 
* Module utilisé

Code :
  1. [root@DockStar ~]# cat /proc/asound/modules
  2. 0 snd_usb_audio


 
* Controleur / Mixeur utilisable

Code :
  1. [root@DockStar ~]# amixer | grep control
  2. Simple mixer control 'Speaker',0
  3. Simple mixer control 'Mic',0
  4. Simple mixer control 'Auto Gain Control',0


 
* Test des sorties audio

Code :
  1. # Next, test to see if sound works:
  2. [root@DockStar ~]# speaker-test -c 2
  3. # Change -c to fit your speaker setup. Use -c 8 for 7.1, for instance:
  4. [root@DockStar ~]# speaker-test -c 8


 
* Informations sur la sortie audio en cours

Code :
  1. [root@DockStar ~]# cat /proc/asound/card0/pcm0p/sub0/hw_params
  2. access: RW_INTERLEAVED
  3. format: S16_LE
  4. subformat: STD
  5. channels: 2
  6. rate: 44100 (44100/1)
  7. period_size: 5513
  8. buffer_size: 22050


 
PulseAudio
* Source :
** ArchLinux - PulseAudio.
 
Installation
* Installation de PulseAudio

Code :
  1. [root@DockStar ~]# pacman -S pulseaudio pulseaudio-alsa
  2. (...)
  3. >>> See the wiki at http://wiki.archlinux.org/index.php/PulseAudio for details
  4.     on configuring your system for PulseAudio.
  5. >>> Make sure to install pulseaudio-alsa to configure ALSA for PulseAudio.
  6. (...)


 
* Configuration ALSA / PulseAudio

Code :
  1. [root@DockStar ~]# vi /etc/asound.conf
  2. pcm.pulse {
  3.     type pulse
  4. }
  5. ctl.pulse {
  6.     type pulse
  7. }
  8. pcm.!default {
  9.   type pulse
  10. }
  11. ctl.!default {
  12.   type pulse
  13. }


 
* Activation de dbus au démarrage.

Code :
  1. [root@DockStar ~]# vi /etc/rc.conf
  2. DAEMONS=(... dbus ...)


 
* Réglages default.pa
    * Au démarrage, certaines erreurs apparaissent

Code :
  1. DockStar pulseaudio[11920]: [pulseaudio] module-jackdbus-detect.c: Unable to contact D-Bus session bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
  2. DockStar pulseaudio[11920]: [pulseaudio] module.c: Failed to load module "module-jackdbus-detect" (argument: "" ): initialization failed.
  3. DockStar pulseaudio[11920]: [pulseaudio] module-gconf.c: Unable to read or parse data from client.
  4. DockStar pulseaudio[11920]: [pulseaudio] module.c: Failed to load module "module-gconf" (argument: "" ): initialization failed.
  5. DockStar pulseaudio[11920]: [pulseaudio] module-console-kit.c: GetSessionsForUnixUser() call failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files
  6. DockStar pulseaudio[11920]: [pulseaudio] module.c: Failed to load module "module-console-kit" (argument: "" ): initialization failed.


 
    * Pour ne plus les avoir

Code :
  1. [root@DockStar ~]# diff -e /etc/pulse/default.pa.default /etc/pulse/default.pa
  2. 120,124c
  3. #.ifexists module-console-kit.so
  4. #.nofail
  5. #load-module module-console-kit
  6. #.fail
  7. #.endif
  8. .
  9. 93,97c
  10. #.ifexists module-gconf.so
  11. #.nofail
  12. #load-module module-gconf
  13. #.fail
  14. #.endif
  15. .
  16. 60,64c
  17. #.ifexists module-jackdbus-detect.so
  18. #.nofail
  19. #load-module module-jackdbus-detect
  20. #.fail
  21. #.endif
  22. .


 
* Sans activer dbus, j'ai pu utiliser PulseAudio en désactivant certaines sections du fichier default.pa.
** Je ne sais pas si ça peut avoir un impact pour le bon fonctionnement de PulseAudio, je n'ai donc pas conservé ces changements :

Code :
  1. [root@DockStar ~]# diff -e default.pa.default default.pa
  2. 140,142c
  3. #.ifexists module-dbus-protocol.so
  4. #load-module module-dbus-protocol
  5. #.endif
  6. .
  7. 120,124c
  8. #.ifexists module-console-kit.so
  9. #.nofail
  10. #load-module module-console-kit
  11. #.fail
  12. #.endif
  13. .
  14. 93,97c
  15. #.ifexists module-gconf.so
  16. #.nofail
  17. #load-module module-gconf
  18. #.fail
  19. #.endif
  20. .
  21. 67,69c
  22. #.ifexists module-bluetooth-discover.so
  23. #load-module module-bluetooth-discover
  24. #.endif
  25. .
  26. 60,64c
  27. #.ifexists module-jackdbus-detect.so
  28. #.nofail
  29. #load-module module-jackdbus-detect
  30. #.fail
  31. #.endif
  32. .


 
Per-User Daemon
* Le compte pulse, les groupes pulse et pulse-access ne sont pas nécessaires (voir configuration System-Wide Daemon).
* Chaque compte utilisateur devra appartenir au groupe audio.
 
* Sur le wiki de PulseAudio :
 
    Should users be in the "audio" group?
 
    There are three kind of distributions: 1) those who control access to the sound card by adding users to the "audio" group, 2) those who use udev (or HAL) and ConsoleKit to dynamically give access to the currently "active" user, but allow overriding that using the "audio" group and 3) those who don't use the "audio" group at all, but rely solely on HAL+ConsoleKit to grant access to the sound card.
 
    To find out which group your distribution belongs to, run ls -l /dev/snd. If the permission field of many of the listed files contains a plus character in the end, like this:
   

Code :
  1. crw-rw----+ 1 root audio 116,  7 Aug  2 08:57 pcmC0D0p


 
    then your distribution most likely belongs to group 2 or 3. If the group of the file is "audio", as above, then the distribution belongs to group 2, otherwise it belongs to group 3.
 
    If there was no plus character in the permission fields, like in this example:
   

Code :
  1. crw-rw---- 1 root audio 116,  7 Aug  2 08:57 pcmC0D0p


 
    then your distribution belongs to group 1.
 
    Now that you know how your distribution does access control to the sound card, it's easy to determine whether you should put users to the "audio" group or not:
 
    * If your distribution belongs to group 1, you must put all users to the "audio" group or otherwise they can't access the sound card.
    * If your distribution belongs to group 2 or 3, you should make sure that no one is in the "audio" group. (If you plan running pulseaudio in the system-wide mode, then the special user "pulse" should still be in the "audio" group in order to have access to the sound card.)
 
    If your distribution belongs to group 1 or 2, fast user switching doesn't work properly if users are in the "audio" group.
 
System-Wide Daemon
* PulseAudio peut être configuré de 2 manières.
** per-user : Chaque utilisateur / application lance son propre démon. C'est la configuration par défaut.
** system-wide : PulseAudio est démarré en démon et toutes les applications y accèdent.
*** Cette option est peut-être plus intéressante pour avoir un accès PulseAudio via le réseau.
*** Actuellement, je n'ai pas eu besoin de cette configuration.
 
* Configuration PulseAudio

Code :
  1. [root@DockStar ~]# groupadd --system pulse
  2. [root@DockStar ~]# useradd --system -g pulse -d /var/run/pulse pulse
  3. [root@DockStar ~]# groupadd --system pulse-access
  4. # Some distributions restrict access to the sound devices to a group audio
  5. [root@DockStar ~]# usermod -aG audio pulse
  6. # Add a user to the pulse-access group
  7. [root@DockStar ~]# usermod -aG pulse-access root


 
* Démarrage manuel

Code :
  1. [root@DockStar ~]# /usr/bin/pulseaudio --system --disallow-exit --disallow-module-loading --disable-shm --exit-idle-time=-1 -vvvvvv


 
Serveur Réseau
* Sources :
** ArchLinux - PulseAudio over network.
** Network Setup.
 
* Activer l'écoute réseau.

Code :
  1. [root@DockStar ~]# vi /etc/pulse/default.pa
  2. load-module module-native-protocol-tcp


 
* Avec ce réglage, il faut autoriser les clients, avec une copie de cookie.

Code :
  1. [root@DockStar ~]# scp ~/pulse-cookie ip-client


 
* Sinon, il est possible d'autoriser tous les postes du réseau anonymement.

Code :
  1. [root@DockStar ~]# vi /etc/pulse/default.pa
  2. load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;192.168.0.0/24 auth-anonymous=1


 
Accès Client
* Configuration X11

Code :
  1. client$ pax11publish -e -S ip-dockstar


 
* Réinitialisation X11

Code :
  1. client$ pax11publish -e -r


 
* Propriétés X11

Code :
  1. client$ xprop -root | grep PULSE


 
* Éventuellement, en ligne de commande, définir la variable d'environnement $PULSE_SERVER

Code :
  1. client$ export PULSE_SERVER=ip-dockstar


 
Accès à la médiathèque réseau
* Montage manuel

Code :
  1. [root@DockStar ~]# mount -t cifs -o username=xxxxx,password=yyyyy,workgroup=zzzzz,iocharset=utf8,ip=192.168.x.y //sharename /media/Musiques


 
* Montage automatique

Code :
  1. [root@DockStar ~]# vi /etc/fstab
  2. //sharename /media/Musiques cifs noatime,username=xxxxx,password=yyyyy,workgroup=zzzzz,iocharset=utf8,ip=192.168.x.y 0 0


 
Installation de MPD
* Installation

Code :
  1. [root@DockStar ~]$ pacman -S mpd
  2. (...)
  3. ==> Create a configuration file /etc/mpd.conf before using MPD (example: /usr/share/mpd/mpd.conf.example)


 
* Démarrage au boot
** Ajouter mpd à la ligne DAEMONS.
** Le @ qui précède permet de ne pas attendre la fin de chargement pour lancer le service suivant.

Code :
  1. [root@DockStar ~]# vi /etc/rc.conf
  2. DAEMONS=(... @mpd ...)


 
* Informations mixer_control

Code :
  1. [root@DockStar ~]# amixer | grep control
  2. Simple mixer control 'Speaker',0
  3. Simple mixer control 'Mic',0
  4. Simple mixer control 'Auto Gain Control',0


 
* Configuration

Code :
  1. [root@DockStar ~]# cp /usr/share/mpd/mpd.conf.example /etc/mpd.conf
  2. [root@DockStar ~]# diff -e /usr/share/mpd/mpd.conf.example /etc/mpd.conf
  3. 272,278c
  4. audio_output {
  5.         type            "pulse"
  6.         name            "My Pulse Output"
  7. #       server          "remote_server"         # optional
  8. #       sink            "remote_server_sink"    # optional
  9. }
  10. .
  11. 257,269c
  12. audio_output {
  13.         type            "httpd"
  14.         name            "My HTTP Stream"
  15.         encoder         "vorbis"                # optional, vorbis or lame
  16.         port            "8000"
  17.         bind_to_address "0.0.0.0"               # optional, IPv4 or IPv6
  18. #       quality         "5.0"                   # do not define if bitrate is defined
  19.         bitrate         "128"                   # do not define if quality is defined
  20.         format          "44100:16:1"
  21.         max_clients     "0"                     # optional 0=no limit
  22. }
  23. .
  24. 198,209c
  25. audio_output {
  26.         type            "alsa"
  27.         name            "My ALSA Device"
  28.         device          "hw:0,0"        # optional
  29.         format          "44100:16:2"    # optional
  30. #       use_mmap        "yes"
  31.         mixer_type      "hardware"      # optional
  32.         mixer_device    "default"       # optional
  33.         mixer_control   "Speaker"               # optional
  34.         mixer_index     "0"             # optional
  35. }
  36. .
  37. 36,38c
  38. log_file "/var/log/mpd/mpd.log"
  39. .
  40. 27,29c
  41. db_file "/var/lib/mpd/mpd.db"
  42. .
  43. 19,21c
  44. playlist_directory "/media/Musiques/Playlists"
  45. .
  46. 12,14c
  47. music_directory         "/media/Musiques/Musiques"
  48. .


 
* PulseAudio

Code :
  1. [root@DockStar ~]# usermod -aG audio mpd
  2. [root@DockStar ~]# id mpd
  3. uid=45(mpd) gid=45(mpd) groups=45(mpd),92(audio)


 
* Noté mais inutile

Code :
  1. [root@DockStar ~]# usermod -aG pulse-access mpd


 

Code :
  1. [root@DockStar ~]# vi /etc/mpd.conf
  2. # An example of a pulseaudio output (streaming to a remote pulseaudio server)
  3. #
  4. audio_output {
  5. type  "pulse"
  6. name  "My Pulse Output"
  7. # server  "remote_server"  # optional
  8. # sink  "remote_server_sink" # optional
  9. }


 
* Redémarrage

Code :
  1. [root@DockStar ~]# rc.d stop mpd
  2. [root@DockStar ~]# rc.d start mpd


 
* Création de la base de données
** A partir de gmpc, sur un poste de travail
*** Déclarer le serveur DockStar, puis s'y connecter.
*** Serveur - Mettre à jour la base de données.
** A partir de ario, sur un poste de travail
*** Déclarer le serveur DockStar, puis s'y connecter.
*** Fichier - Mettre à jour la base de données.
 
-----
* Optimisations CPU
** http://mpd.wikia.com/wiki/Tuning
** http://mpd.wikia.com/wiki/Configur [...] _streaming
** http://www.musicpd.org/forum/index [...] pic=2110.0
** https://wiki.archlinux.org/index.ph [...] _with_ALSA
 
* Optimisation CPU - fichier OGG
    MPD compilé avec libtremor, pour une lecture OGG à 5% d'utilisation CPU [:maliciam]
 
    mpd-tremor | md5sum : bf99a438eeb9ef6f685f166cf19ff3e0
    libtremor-svn | md5sum : 672807f971deb7524b5f1555ccdaca40
 
    Je n'ai rien changé d'autre niveau options de compilation.
    Comme annoncé, 5% de CPU en lecture OGG (de rares pointes vers 7-8% maxi)  et tout le reste fonctionne comme avant :)
 
    J'uploaderai le PKGBUILD, par soucis de transparence, mais ça se borne à l'ajout de --with-tremor à la compilation.
    Et le libtremor-svn, c'est celui de AUR.
 
-----
* https://help.ubuntu.com/community/MPD
* http://doc.ubuntu-fr.org/mpd
* http://doc.ubuntu-fr.org/tutoriel/ [...] ttp_de_mpd
* http://plugcomputer.org/plugwiki/i [...] _Dreamplug
 
* http://forum.hardware.fr/forum2.ph [...] se=1241038
    Concrètement, la lecture d'un fichier OGG avec un décodeur en flottants (celui par défaut de MPD par exemple) pompe 25% de CPU, contre à peine 5% pour un MP3 ou un FLAC (avec un décodeur en entiers).
    Suite au passage à un décodeur OGG qui utilise du calcul sur entiers, ça retombe à 5%.
 
-----
*Config MPD
** http://forum.hardware.fr/forum2.ph [...] se=1232386
 
*MPD-UPnP
** http://forum.hardware.fr/forum2.ph [...] se=1232477
 
*Transformer mon DS en lecteur audio headless et bluetooth
** http://forum.hardware.fr/forum2.ph [...] se=1233031
 
DLNA
http://www.galipe.net/articles/min [...] lna-leger/
 
Installation de la webcam

Code :
  1. [root@DockStar ~]# pacman -S motion
  2. [root@DockStar ~]# mkdir /var/run/motion
  3. [root@DockStar ~]# vi /etc/motion/motion.conf
  4. webcam_localhost off
  5. [root@DockStar ~]# rc.d start motion


 

Code :
  1. http://dockstar:8081/


 
* Variante avec uvccapture et mjpeg-streamer
** DockStar WebCam Stream.
 
* Webcam Server
** Plug Wiki - Webcams


Message édité par bmd_online le 15-03-2012 à 09:54:05
n°1306557
bmd_online
Posté le 09-03-2012 à 16:35:30  profilanswer
 

Réserve pour la suite...

mood
Publicité
Posté le   profilanswer
 

 Page :   1  2  3  4  5  ..  82  83  84  ..  98  99  100  101  102  103

Aller à :
Ajouter une réponse
 

Sujets relatifs
Le topic vert - gestion d'énergie sous LinuxTopic netbook originaux pour barbu
[ Topic Unique ] Problème de connexion à InternetSquid par authentification unique
[Topic Unique] Google Chrome OSUbuntu 9.04 sur portable : forcer l'utilisation unique du second écran
Plus de sujets relatifs à : [Topic Unique] Seagate Dockstar, le plug computer pas cher !


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR