Jump to content
View in the app

A better way to browse. Learn more.

Tinkerunity

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Geschrieben

Hardware:

Laptop mit Ubuntu

TF: StepDown, Master, Stepper, Servo, ..., Bricklets

 

Software:

TF --> die aktuellen Firmewares

Ubuntu 12.04 LTS mit aktuellem brickd

 

Problem:

wenn ich den Stack ohne StepDown verwende funktioniert alles. Sobald ich aber den StepDown anschließe kommt die Fehlermeldung, dass keine Verbindung möglich ist. Auch ein Reset ist nicht möglich. Erst über die Konsole "brickd" starten, dann geht es wieder.

 

---------------

 

Nach längerem Testen nun herausgefunden: Brickd stürzt immer ab, sobald das USB-Kabel entfernt wird. Aber der Daemon startet mit Ubuntu...

 

Irgendeine Idee??

Geschrieben

Also du hast deinen Stack und er funktioniert. Dann ziehst du USB ab und brickd ist weg? Das ist ja komisch.

 

Kannst du mal in (vermutlich) /usr/share/brickd/config.py das LOGGING_LEVEL auf logging.DEBUG setzen und gucken was nach einem Absturz in /var/log/brickd.log steht?

 

 

Geschrieben
  • Autor

Reihenfolge:

 

[*]Funktioniert

[*]per Hand disconnect im brickv

[*]logging.DEBUG gesetzt

[*]USB abgezogen

[*]USB dran

[*]Connect mit brickv --> Fehlermeldung

[*]brickd neustart über Konsole

[*]Connect mit brickv --> Funktioniert

[*]Logfile als Anhang

 

Danke

brickd.log

Geschrieben

Mh, also das hier:

twisted.internet.error.CannotListenError: Couldn't listen on any:4223: [Errno 98] Address already in use.

 

Sieht so aus als würdest du versuchen 2 brickd gleichzeitig zu starten?

 

Kannst du mal gucken ob da zwei laufen (ps aux)? Und evtl alle mit einem killall killen und nochmal versuchen?

 

Wenn das nichts bringt wäre eine Logfile interessant wo das abstecken per USB mit drin ist. Hier ist es jetzt erst ab dem brickd neustart.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.