Giter VIP home page Giter VIP logo

Comments (3)

Unrud avatar Unrud commented on July 1, 2024

Run with the --verbose argument.

from init-headphone.

namirinz avatar namirinz commented on July 1, 2024

I use Manjaro only (No windows dual boot)

INFO:Version: 0.14
INFO:Trying to add module to the kernel: i2c_dev
INFO:Trying to add module to the kernel: i2c_i801
DEBUG:Available i2c busses: ['i915 gmbus tc1', 'Synopsys DesignWare I2C adapter', 'i915 gmbus dpb', 'i915 gmbus tc6', 'NVIDIA i2c adapter 1 at 2b:00.0', 'i915 gmbus tc4', 'AUX D/port D', 'i915 gmbus tc2', 'AUX A/port A', 'i915 gmbus dpc', 'i915 gmbus dpa', 'Synopsys DesignWare I2C adapter', 'i915 gmbus tc5', 'SMBus I801 adapter at 4040', 'i915 gmbus tc3', 'AUX C/port C']
DEBUG:Supported i2c bus names: ['SMBus I801 adapter']
DEBUG:Selected i2c bus: SMBus I801 adapter at 4040
INFO:Opening I2C bus: /dev/i2c-14
INFO:Setting I2C slave address: 115
INFO:Writing byte data on I2C bus: (device_cmd: 0xa, value: 0x41)
ERROR:Can't transfer data on I2C bus
INFO:Closing I2C bus
ERROR:Operation failed
DEBUG:Exception occurred:
Traceback (most recent call last):
File "/usr/local/sbin/init-headphone", line 362, in
main()
File "/usr/local/sbin/init-headphone", line 320, in main
init()
File "/usr/local/sbin/init-headphone", line 252, in init
set_effect(DEFAULT_EFFECT)
File "/usr/local/sbin/init-headphone", line 266, in set_effect
write_data_to_device(DATA_DISABLE_OUTPUT +
File "/usr/local/sbin/init-headphone", line 246, in write_data_to_device
write_prolog(i2c_bus)
File "/usr/local/sbin/init-headphone", line 237, in write_prolog
i2c_bus.write_byte_data(0x0a, 0x41)
File "/usr/local/sbin/init-headphone", line 147, in write_byte_data
self.__access(I2C_SMBUS_WRITE, device_cmd, I2C_SMBUS_BYTE_DATA, data)
File "/usr/local/sbin/init-headphone", line 139, in __access
raise OSError(err, os.strerror(err))
OSError: [Errno -1] Unknown error -1

from init-headphone.

Unrud avatar Unrud commented on July 1, 2024

OSError: [Errno -1] Unknown error -1

That's not very helpful. Maybe dmesg shows something useful.

from init-headphone.

Related Issues (12)

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.