I keep getting “DeviceClass - [LIB]: Couldn’t get device configuration.” over and over. I have attempted rebooting the device multiple times well holding down the VOL+ VOL- buttons. I got the brief Lenovo logo flash then a dark screen.
Has anyone found a solution for putting the display to sleep reliably?
I am trying to get the display to sleep after some period of inactivity and come back on when it is touched. Would like to avoid using external sensors.
With Fully Kiosk’s screensaver I can get this to work once but it does not go back to sleep
Ok I finally got my unit in and trying to get this to work on windows, running into probably very basic issues as I saw some others were too
Got the EDL zip file, the Flash file, and from the EDL git I got Python, git, USB Disk Controller. If I navigate to where USB Disk Controller is installed, I run a Cmd Prompt and got
I unzipped the flash and copied all the contents to the \edl\ folder of the edl program. So under the EDL folder I have bin, flash, and extras (path is c:\downloads\user\edl-3.52.1\ for the main app and then \edl\ for the 3 folders I mentioned)
When I go to command prompt, to the main directory (where edl.py) lives, I run the command but it says it doesnt have a command called edl. What (probably dumb) thing am I missing here? Thanks!!
The github steps say to “look for device with pid 0x9008”, which from my screenshot I dont see so that is maybe one issue. The other is that I cant even launch the edl command from within the directory via command prompt. Thanks
EDIT - I unplugged the display from USB and can confirm its #2 in my screenshot with HUA0BU8G in the id
So the screen turn on/off command in the FK integration only turns the device screen OFF. To turn it on, you have to change the screen brightness which turns it on again.
I have two scripts for each device. One turns the brightness down to 0 which puts the screen at minimum brightness but not off. Then it waits a couple of seconds and then turns the screen OFF properly.
The ON script then turns the brightness up to full which turns the screen on again.
The reason for the brightness change is that the setting has to actually change. I guess you could decrease it by one point but I liked the dim and off.
Now, all this is triggered by a mmWave sensor in each room as I want the screens ON whenever someone is in the room (and unfortunately my dogs too!). I didn’t want to have to walk over to the device to turn it on to view it. Everyone has different preferences though. So not sure about doing this entirely on the device but what I’ve mentioned might help???
I would guess Windows isn’t finding EDL as it’s either not in the directory you are in or in the path environment variable. Try adding the location to your path.
Also, I gave up on flashing via Windows as it’s sooooo tricky to get the USB ports working. I have a very current, top end PC with latest super fast USB and QFIL didn’t like them at all - tried several different cables. Port found but fails flashing with Sahara errors that have been discussed many times here and on other forums.
I then moved to an older PC and it worked first time. However, going back to flashing again and it failed time after time and nothing I did got it working.
So I built Debian on a Pi4 and after the initial pain of installing everything (I installed Debian lite which was missing loads of components), it works fabulously well and is reliable. So I keep this around for experimenting and flashing. I gave up on Windows.
Thanks pgale. I have a RPi but currently hosting my pihole so I would need to plan to have it down to do this.
Another dumb question, in Windows, should I be using Powershell or Command Prompt? I also (from another post here for troubleshooting windows) installed gitbash which has its own command prompt. I am more of a Windows guy so unsure which I should be doing.
Below is my folder structure, I added bin, extra, and flash to the main EDL folder. This also has edl.py in it, and the path I am using to run the commands from. I tried from Command Prompt (elevated) and also gitbash cmd prompt, both say it doesnt exist. Separately I did the steps to update usblib using Zadig which worked fine
I didn’t use the command line at all (I don’t think) - I used the windows QFIL utility to do the flashing so can’t help with your questions unfortunately
CMD line as administrator should get you the same results as PowerShell though unless you are using PowerShell commands (which I don’t think you are). Not sure about gitbash although I did use that at one point.
Maybe I missed this in this thread but what is the QFIL utility all about? Do you have any info on it? I know you said it didnt always work so great. Zadig and usbdk controller seemed to see my unit so I am hopeful once i can get past this basic step it will work. I am now going to basics and reinstalled all the various tools mentioned on this thread and going to do a reboot (and pray) lol
Aww thank you I didnt even think to check this site. So I am making progress. Went thru the steps with the qfil utility. Ended up putting the bin folder files and flash files in the same directory as it seemed to error looking for system file. Anyways it ran for a bit but errors still on
Yes, that’s the dreaded Sahara error. I believe there can be a few reasons for this - USB cable, USB ports etc. That’s the reason I ditched Windows in the end. As mentioned earlier, I had the latest and greatest USB ports and they just wouldn’t work.
Also, windows driver signing can get in the way. I think that’s discussed in the XDA forum thread (possibly) and secure boot. I don’t think anyone really knows exactly what’s going on, at least nothing that I’ve read here or on XDA that is definitive unfortunately.