Giter VIP home page Giter VIP logo

Comments (5)

anup28 avatar anup28 commented on May 18, 2024

We are using USB-1024LS , can see in lsusb output. But getting error as <Error: No DAQ devices found>

from uldaq.

anup28 avatar anup28 commented on May 18, 2024

output of lsusb:::

<Bus 009 Device 002: ID 09db:0076 MCC USB-1024LS
Bus 009 Device 001: ID 1d6b:0002 Linux 5.4.0-113-generic xhci-hcd xHCI Host Controller
Bus 010 Device 001: ID 1d6b:0003 Linux 5.4.0-113-generic xhci-hcd xHCI Host Controller
Bus 002 Device 001: ID 1d6b:0002 Linux 5.4.0-113-generic ehci_hcd EHCI Host Controller
Bus 008 Device 001: ID 1d6b:0001 Linux 5.4.0-113-generic uhci_hcd UHCI Host Controller
Bus 007 Device 001: ID 1d6b:0001 Linux 5.4.0-113-generic uhci_hcd UHCI Host Controller
Bus 006 Device 001: ID 1d6b:0001 Linux 5.4.0-113-generic uhci_hcd UHCI Host Controller
Bus 001 Device 001: ID 1d6b:0002 Linux 5.4.0-113-generic ehci_hcd EHCI Host Controller
Bus 005 Device 001: ID 1d6b:0001 Linux 5.4.0-113-generic uhci_hcd UHCI Host Controller
Bus 004 Device 001: ID 1d6b:0001 Linux 5.4.0-113-generic uhci_hcd UHCI Host Controller
Bus 003 Device 001: ID 1d6b:0001 Linux 5.4.0-113-generic uhci_hcd UHCI Host Controller

from uldaq.

jeffreyg3 avatar jeffreyg3 commented on May 18, 2024

Measurement Computing has not conducted any testing using Kubernetes pods. There are no plans to do so.

from uldaq.

samkristoff avatar samkristoff commented on May 18, 2024

Hey @anup28,

I think this should be possible if you configure the container correctly:

https://stackoverflow.com/questions/42697985/kubernetes-node-device-port-usb-mapping-to-pod-or-swarm-service-device-mapp

Out of curiosity, what are you working on needs to access the MCC hardware from K8s?

from uldaq.

thompcd avatar thompcd commented on May 18, 2024

I was able to run this out of a docker container, so I assume you could do it with a cluster, although I'm also curious as to why somebody would do that.. On the host device, you'll need to map the host device inside of the container as referenced above, but also you'll need to modify the install.sh script. It calls daqhats_read_eeprom during the setup as a validation and will abort on failure, but this will never pass during your makefile execution since it requires host hardware not in place yet.

I broke out the install script to just the compilation & installation and created a startup script that will execute the daqhats_read_eeprom on boot to ensure the hats stay up to date.

from uldaq.

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.