Code Monkey home page Code Monkey logo

Comments (10)

dlech avatar dlech commented on July 30, 2024

There is no driver for the NXT Color sensor yet, so no, you are not the only one. 😉

The EV3 color sensor should work though. What kernel version are you using?

from ev3dev-lang.

ftheriault avatar ftheriault commented on July 30, 2024

Thanks for the quick reply!

I am using the following image version : ev3dev-jessie-2014-12-01.img

Kernel is :

Linux ev3dev 3.16.1-7-ev3dev #2 PREEMPT Tue Nov 25 11:24:38 CST 2014 armv5tejl GNU/Linux

from ev3dev-lang.

dlech avatar dlech commented on July 30, 2024

There are some breaking changes in the more recent kernels, but I think that one should work. You can see what is is /sys/class/msensor to see if the sensor is actually there. If it is there, then then I am not sure what the problem is.

from ev3dev-lang.

ftheriault avatar ftheriault commented on July 30, 2024

Funny thing is... it is not there :(

I see my touch sensor, but that's it... any clue?

from ev3dev-lang.

dlech avatar dlech commented on July 30, 2024

Have you updated other packages? Namely, what is the version from dpkg -s ev3dev-base. If you upgraded this package (apt-get upgrade) without upgrading the kernel (apt-get dist-upgrade), then this is why it is not working. If you do upgrade the kernel though, there are some breaking changes (see #29) and you will have to fix the cpp library.

from ev3dev-lang.

ftheriault avatar ftheriault commented on July 30, 2024

Humm... the only thing I did was :
apt-get install build-essential, for the gcc compiler (I did not know we used CC at the time...). Could it be the problem?

Here is the result of dpkg -s ev3dev-base, which I did not upgrade :

Package: ev3dev-base
Status: install ok installed
Priority: required
Section: metapackages
Installed-Size: 37
Maintainer: David Lechner 
Architecture: armel
Version: 8.0
Depends: ev3dev-bluetooth (>= 8.0), ev3dev-console (>= 8.0), ev3dev-flash-kernel (>= 8.0), ev3dev-gadget (>= 8.0), ev3dev-i2c (>= 8.0), ev3dev-leds (>= 8.0), ev3dev-ports (>= 8.0), ev3dev-uart (>= 8.0)
Description: Meta package that installs all of the required ev3dev packages.
Homepage: http://www.ev3dev.org

from ev3dev-lang.

ftheriault avatar ftheriault commented on July 30, 2024

Checking my command history, I see that at one point, I tried to install ev3dev-c (see in4lio project, on github). If you think this can be the problem, I'll just recreate the image...

from ev3dev-lang.

dlech avatar dlech commented on July 30, 2024

ev3dev-base 8.0 is for kernel v3.16.1.-8-ev3dev and higher which is why UART sensors are not working. (So, you did upgrade even if not intentionally.)

So, your options are: you can recreate the image and use the old versions or you can upgrade the kernel and help migrate the cpp library to the new kernel version.

from ev3dev-lang.

ftheriault avatar ftheriault commented on July 30, 2024

Thanks David, I really appreciate the time that you took to help. Since I am way too novice at this point, I'll just revert a fresh image.

from ev3dev-lang.

dlech avatar dlech commented on July 30, 2024

You are welcome! And the changes are just changing strings for things that were renamed, so even a novice could do it if you are feeling adventurous.

from ev3dev-lang.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.