Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • lava lava
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 96
    • Issues 96
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 65
    • Merge requests 65
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • lava
  • lavalava
  • Issues
  • #335

Closed
Open
Created Oct 14, 2019 by Tim Jaacks@gftimjaacksContributor

Why is board_id mandatory for adding USB devices to LXC?

In the device dictionary field static_info we can insert information for USB devices to be added to an LXC via board_id, usb_vendor_id and usb_product_id. As far as I can read from the code (get_udev_devicesin lava_dispatcher/utils/udev.py) the board_id is mandatory for this step, while the other two are optional. Why is that? Why not make it possible to add devices just depending on their product id?

I am asking because I have a USB device I'd like to add to an LXC which does not export a serial number (ID_SERIAL_SHORT is not set).

Edited Oct 29, 2019 by Rémi Duraffort
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking