Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Sep 23 13:59
    dlech commented #1313
  • Sep 23 05:32
    wizard1066 commented #1313
  • Sep 23 02:51
    dlech edited #1313
  • Sep 23 02:08
    naynt edited #1313
  • Sep 23 02:07
    naynt edited #1313
  • Sep 23 02:07
    naynt opened #1313
  • Sep 19 23:39
    dlech commented #1312
  • Sep 18 03:17
    zhangbinxy commented #1031
  • Sep 17 23:31
    dlech commented #1312
  • Sep 17 23:24
    ThadHouse commented #1312
  • Sep 17 23:22
    dlech commented #1312
  • Sep 17 23:16
    ThadHouse commented #1312
  • Sep 17 23:15
    dlech labeled #1312
  • Sep 17 23:15
    dlech labeled #1312
  • Sep 17 23:15
    dlech commented #1312
  • Sep 17 23:08
    ThadHouse opened #1312
  • Sep 14 13:24
    DigitalRookie4 commented #1311
  • Sep 11 14:19
    maweki closed #414
  • Sep 11 14:19
    maweki commented #414
  • Sep 09 12:51

    dlech on master

    Fix alt text in images (compare)

Olivier Martin
@omartin2010
how do we unload a sensor driver, again, from the command line? I was doing this at some point in the past but I've forgotten how to unload these...
David Lechner
@dlech
set the mode attribute of the port
Olivier Martin
@omartin2010
thanks!
works as a charm
Olivier Martin
@omartin2010
getting SMbus to work for what I want to do seems to be a bit of a pain, I'll simply flip the mode and read one and the next and ... I'll put this in the getters of my properties and make sure not to call them too often
Olivier Martin
@omartin2010
can brickman be launched on a vty?
David Lechner
@dlech
It requires a fbdev device
Olivier Martin
@omartin2010
gotcha
Olivier Martin
@omartin2010
asked a while back on tips for bluetooth and #198 shows a lot of what I needed. I'm able to pair, trust, but not connect an audio sink (using bluetoothctl). Any idea? Is there some kind of driver I need before that can connect? I'm seeing Failed to connect: org.bluez.Error.Failed as an error message ..
David Lechner
@dlech
did you install pulseaudio?
Olivier Martin
@omartin2010
yes
and the bluetooth part of it. (ran apt-get install --no-install-recommends pulseaudio pulseaudio-module-bluetooth)
Olivier Martin
@omartin2010
(i have a brickpi3, if that rings any bell)
David Lechner
@dlech
It's been too long since I messed with that I don't remember anything :smile:
Olivier Martin
@omartin2010
lol. I don't blame you!!
DJuego
@DJuego
Hi! The Bluetooth 'not available' again with snapshot-ev3dev-stretch-ev3-generic-2019-08-18.
Initially In the first boot, it seems work we can powered it and so...
We configure the wired connection (USB cable) and reboot, and then... "Bluetooth not available".
DJuego
@DJuego
That problem has manifested itself with two new SD cards.
I think I am going to try it with Buster.
DJuego
@DJuego
robot@ev3dev:~$ ev3dev-sysinfo
Image file: ev3dev-stretch-ev3-generic-2019-08-18
Kernel version: 4.14.117-ev3dev-2.3.4-ev3
Brickman: 0.10.1
BogoMIPS: 148.88
Bluetooth:
Board: board0
BOARD_INFO_HW_REV=7
BOARD_INFO_MODEL=LEGO MINDSTORMS EV3
BOARD_INFO_ROM_REV=6
BOARD_INFO_SERIAL_NUM=001653436412
BOARD_INFO_TYPE=main
DJuego
@DJuego
robot@ev3dev:~$ apt-cache policy ev3-systemd
ev3-systemd:
Installed: 5.4.2+stretch1
Candidate: 5.4.2+stretch1
Version table:
* 5.4.2+stretch1 990
990 http://archive.ev3dev.org/debian stretch/main armel Packages
100 /var/lib/dpkg/status
David Lechner
@dlech
I think the last time I was looking at this, the Bluetooth worked if was already powered on, but if it was powered off, then after a reboot, we would get the "bluetooth not available"
DJuego
@DJuego
mm... Interesting, @dlech.
David Lechner
@dlech
@DJuego I was able to reproduce the problem, but only sometimes. If I reboot without USB connected, Bluetooth works every time. If I reboot with USB connected, then sometimes it will fail.
Also the problem is not quite the same as the previous bug. One time, I was able to get Bluetooth working without rebooting by running sudo systemctl restart bluetooth
In the old bug, sudo journalctl -b 0 | grep hciattach would show that the Bluetooth chip failed to initialize. But I have not seen that yet with the 2019-08-18 image.
DJuego
@DJuego
@dlech , I'm sorry for the delay in my response. I have been the weekend without internet. :-)
Thank you for working on this!!! :-}
I have already seen that there is a new snapshot (snapshot-ev3dev-stretch-ev3-generic-2019-09-08).
I flashed the SD cards and booting them on the two problem EV3 units.
After the first boot the first thing I have done is to activate bluetooth.
DJuego
@DJuego
I restarted the units. I changed the names of the bricks. I tried my bluetooh telecontrol program written in ev3dev Python... Everything works like a charm! :-)))
Did you finally make any changes to Bluetooth in the new image ?
David Lechner
@dlech
no
DJuego
@DJuego
Hmm What I've avoided doing is disconnecting bluetooth and restarting the unit for fear. :-P
David Lechner
@dlech
It seems like it works OK as long as USB is not connected during boot
DJuego
@DJuego
A very interesting observation that I will keep in mind. Tomorrow I plan to do more intensive tests.
artpoz
@artpoz
Test: snapshot-ev3dev-stretch-ev3-generic-2019-09-08 on EV3 with WiFi dongle and two motors attached -> after boot and activating bluetooth all works fine
tthand
@tthand
Hey! We are a small project group at a university that will program an ev3 robot in C. How should beginners do to get started with the programming?
Kaelin Laundry
@WasabiFan
@tthand do you have C experience? If so, you should set up ev3dev and then follow instructions from a C library that lets you control ev3dev: https://github.com/in4lio/ev3dev-c
tthand
@tthand
Thanks for the reply! Is there any way to compile the code in the computer so we don't have to do it in the robot?
It takes a very long time
Kaelin Laundry
@WasabiFan
@tthand there
There is, it's called "cross-compiling"
But keep in mind it takes extra work to set up.
D. Kanter
@canterbotto
@tthand alternatively, you could choose to work with ROBOTC.
But you have to pay for that :(