Git Product home page Git Product logo

asdbctl's Issues

Can't control brightness anymore after upgrading ASD to latest firmware

When I run the binary:

./asdbctl set 100

I receive:

Error: "No Apple Studio Display connected"

output of boltctl

 ● Apple Inc. Studio Display
   ├─ type:          peripheral
   ├─ name:          Studio Display
   ├─ vendor:        Apple Inc.
   ├─ uuid:          bc010000-0082-8c0e-0312-10db5c21d108
   ├─ generation:    Thunderbolt 3
   ├─ status:        authorized
   │  ├─ domain:     b8030000-0090-941e-8350-c83322114927
   │  ├─ rx speed:   40 Gb/s = 2 lanes * 20 Gb/s
   │  ├─ tx speed:   40 Gb/s = 2 lanes * 20 Gb/s
   │  └─ authflags:  none
   ├─ authorized:    wo 14 aug 2024 06:53:20 UTC
   ├─ connected:     wo 14 aug 2024 06:53:20 UTC
   └─ stored:        ma 12 aug 2024 12:02:54 UTC
      ├─ policy:     auto
      └─ key:        no

Error invalid value on set

I am trying to set the brightness but it fails with an error:

$ sudo ./target/release/asdbctl set 60000
error: invalid value '60000' for '<BRIGHTNESS>': number too large to fit in target type

I tried multiple values (1000, 5000, 10000, 60000) but they all fail.

$ boltctl
 ● Apple Inc. Studio Display
   ├─ type:          peripheral
   ├─ name:          Studio Display
   ├─ vendor:        Apple Inc.
   ├─ uuid:          00a62a5c-ab63-0100-ffff-ffffffffffff
   ├─ generation:    Thunderbolt 3
   ├─ status:        authorized
   │  ├─ domain:     e9188780-0063-42b8-ffff-ffffffffffff
   │  ├─ rx speed:   40 Gb/s = 2 lanes * 20 Gb/s
   │  ├─ tx speed:   40 Gb/s = 2 lanes * 20 Gb/s
   │  └─ authflags:  none
   ├─ authorized:    Sat 17 Aug 2024 10:35:12 PM UTC
   ├─ connected:     Sat 17 Aug 2024 10:35:12 PM UTC
   └─ stored:        Sat 17 Aug 2024 10:21:12 PM UTC
      ├─ policy:     iommu
      └─ key:        no

Build Error

When following build instructions I get this error msg:

error: failed to download `bit-set v0.2.0`

Caused by:
  unable to get packages from source

Caused by:
  failed to parse manifest at `/home/***/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bit-set-0.2.0/Cargo.toml`

Caused by:
  dependency (bit-vec) specified without providing a local path, Git repository, version, or workspace dependency to use

I tried playing with the versions to see if any different version would work, but none did.

Running on ArchLinux with rustup installed and rustup default stable set.

❯ cargo --version
cargo 1.79.0 (ffa9cf99a 2024-06-03)
❯ rustc --version
rustc 1.79.0 (129f3b996 2024-06-10)
❯ uname -a    
Linux archlinux-laptop 6.6.38-1-lts #1 SMP PREEMPT_DYNAMIC Tue, 09 Jul 2024 11:08:50 +0000 x86_64 GNU/Linux

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.