Coder Social home page Coder Social logo

uchroma -l returns empty about uchroma HOT 16 OPEN

hyperb1iss avatar hyperb1iss commented on May 29, 2024
uchroma -l returns empty

from uchroma.

Comments (16)

jacobc-eth avatar jacobc-eth commented on May 29, 2024 1

Yep, can confirm same issue on Razer Blade Pro 2017

from uchroma.

jramapuram avatar jramapuram commented on May 29, 2024

Same issue on Arch for me

from uchroma.

hyperb1iss avatar hyperb1iss commented on May 29, 2024

Apparently something is different on the new Stealths.. I'll see if I can get my hands on one.

from uchroma.

jramapuram avatar jramapuram commented on May 29, 2024

I'm running a GTX1060 2016 Skylake RB, not a stealth

from uchroma.

jtmkrueger avatar jtmkrueger commented on May 29, 2024

I'm having the same issue on the new Pro 17"

from uchroma.

brad-decker avatar brad-decker commented on May 29, 2024

Add another confirmation for razer blade pro 2017

from uchroma.

jacobc-eth avatar jacobc-eth commented on May 29, 2024

Any word on a fix for newer laptops?

from uchroma.

hyperb1iss avatar hyperb1iss commented on May 29, 2024

Unfortunately not, I haven't been able to get my hands on any of the 2017 laptops and not for lack of trying. If you're able to capture a packet trace in Windows while using Synapse, that could be very helpful.

from uchroma.

jramapuram avatar jramapuram commented on May 29, 2024

This is also happening on my 2016 gtx1060 razer blade

from uchroma.

jtmkrueger avatar jtmkrueger commented on May 29, 2024

@cyanogen I have dual booting setup on my 2017 razer blade pro. Is there any documentation regarding what you want as far as a packet trace? I'm more than happy to provide one, I'm just not sure how to go about getting it. I'll apologize in advance for my lack of Windows knowledge.

from uchroma.

hyperb1iss avatar hyperb1iss commented on May 29, 2024

There's an open pull request that brings in support for at least the new Blade. It may be as simple as adding the device to laptops.yaml.

from uchroma.

splushii avatar splushii commented on May 29, 2024

I tested with the current version. The issue seems to be resolved for Razer Blade Stealth (Kaby Lake). Not sure about 2017 models so I am not closing this.

from uchroma.

keponk avatar keponk commented on May 29, 2024

@cyanogen I've got a Razer Blade 2017. I attempted to copy the laptop.yaml file from the pull request into my installation via yaourt in Arch. No changes, after doing the change and rebooting the uchroma -l command still throws nothing.

If you give me instructions on how to collect packet trace data from windows I'd be happy to produce it.

Thanks for the work on the project!

from uchroma.

xsacha avatar xsacha commented on May 29, 2024

Just like to add that I have the same issue, even after adding the pull request.

May 09 16:40:21 razerblade systemd[775]: Started UChroma Device Management Service.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit UNIT has finished starting up.
-- 
-- The start-up result is RESULT.
May 09 16:40:21 razerblade uchromad[3917]:  uchroma.power/INFO     | Connected screensaver: org.freedesktop.ScreenSaver:/org/freedesktop/ScreenSaver (':1.10',)
May 09 16:40:21 razerblade uchromad[3917]:  uchroma.power/WARNING  | Could not connect to com.canonical.Unity:/org/gnome/ScreenSaver service
May 09 16:40:21 razerblade uchromad[3917]:  uchroma.power/INFO     | Connected to org.freedesktop.login1 (':1.6',)

If it helps,

I tried to track down the issue in device_manager (why it reports no devices).

parent = self._get_parent(devinfo.product_id)

devinfo.product_id == 0x0224
parent == None

if parent is None:
                continue

So then I tried to look at why _get_parent was failing:

        pid = "%04x" % product_id
        self._logger.info("pid == %s", pid)

        devs = self._udev_context.list_devices(tag='uchroma', subsystem='usb',
                                               ID_MODEL_ID=pid)

pid == 0224
devs == <pyudev.core.Enumerator object at 0x7fcd2cf2c908> but appears empty

Then I removed the tag='uchroma' and then I get:
DEVTYPE == usb_device

Now I instead get this error:

May 09 17:22:00 razerblade uchromad[4487]:  uchroma.server/INFO     | add: UChromaLaptop(name=Blade (2017), type=Laptop, product_id=0x0224, index=0)
May 09 17:22:00 razerblade uchromad[4487]:  uchroma.driver-0/ERROR    | Failed to open connection
May 09 17:22:00 razerblade uchromad[4487]: Traceback (most recent call last):
May 09 17:22:00 razerblade uchromad[4487]:   File "/usr/lib/python3.6/site-packages/uchroma/server/device_base.py", line 289, in _ensure_open
May 09 17:22:00 razerblade uchromad[4487]:     self._dev = hidapi.Device(self._devinfo, blocking=False)
May 09 17:22:00 razerblade uchromad[4487]:   File "/usr/lib/python3.6/site-packages/hidapi.py", line 159, in __init__
May 09 17:22:00 razerblade uchromad[4487]:     raise IOError("Could not open connection to device.")
May 09 17:22:00 razerblade uchromad[4487]: OSError: Could not open connection to device.
May 09 17:22:00 razerblade uchromad[4487]: Unhandled exception in async future

Considering the tag failed and the permissions are failing, this leads me to udev. Your udev rules must not be working?

ACTION=="add|change", SUBSYSTEM=="hidraw|usb|input", ATTRS{idVendor}=="1532", IMPORT{builtin}="hwdb --subsystem=usb --lookup-prefix=uchroma:"
ENV{UCHROMA_DEVICE}=="?*", TAG+="uchroma", TAG+="uaccess"

from uchroma.

jblankfeld avatar jblankfeld commented on May 29, 2024

Hi, I'm having the same issue as above.
Does anybody know how to fix the udev rules ?

from uchroma.

SealedJoy avatar SealedJoy commented on May 29, 2024

same issue on blade stealth 13" 2020 (no devices show with uchroma -l)

from uchroma.

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.