Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deej stop controling volume #27

Closed
jffz opened this issue Jan 19, 2021 · 2 comments
Closed

deej stop controling volume #27

jffz opened this issue Jan 19, 2021 · 2 comments

Comments

@jffz
Copy link

jffz commented Jan 19, 2021

Deej stops controling windows mixer when I don't use my computer for some time.
Computer does not go to sleep or screensaver mode.

OS: Win10 Pro ver. 20H2 - 19042.630
deej version: v0.9.10

Here is the attached log. Note that the 2 last lines are me stopping deej to restart it.

2021-01-17 10:16:35.587	info	main                       	Version info	{"gitCommit": "7567f83", "versionTag": "v0.9.10", "buildType": "release"}
2021-01-17 10:16:35.610	info	deej.config                	Loaded config successfully
2021-01-17 10:16:35.610	info	deej.config                	Config values	{"sliderMapping": "<5 sliders mapped to 14 targets>", "connectionInfo": {"COMPort":"COM6","BaudRate":9600}, "invertSliders": false}
2021-01-17 10:16:35.686	info	deej.sessions              	Got all audio sessions successfully	{"sessionMap": "<23 audio sessions>"}
2021-01-17 10:16:35.723	info	deej                       	Run loop starting
2021-01-17 10:16:35.725	info	deej.serial.com6           	Connected	{"conn": {}}
2021-01-17 10:16:37.246	info	deej.serial.com6           	Detected sliders	{"amount": 5}
2021-01-17 10:19:20.687	info	deej.sessions              	Got all audio sessions successfully	{"sessionMap": "<23 audio sessions>"}
2021-01-17 10:20:44.124	info	deej.sessions              	Got all audio sessions successfully	{"sessionMap": "<24 audio sessions>"}
2021-01-17 12:02:11.714	info	deej.sessions              	Got all audio sessions successfully	{"sessionMap": "<24 audio sessions>"}
2021-01-17 12:02:17.532	info	deej.sessions              	Got all audio sessions successfully	{"sessionMap": "<24 audio sessions>"}
2021-01-17 14:21:01.877	info	deej.sessions              	Got all audio sessions successfully	{"sessionMap": "<23 audio sessions>"}
2021-01-17 17:29:27.855	info	deej.sessions              	Got all audio sessions successfully	{"sessionMap": "<23 audio sessions>"}
2021-01-17 17:38:55.588	info	deej.sessions              	Got all audio sessions successfully	{"sessionMap": "<23 audio sessions>"}
2021-01-17 17:39:00.976	info	deej.sessions              	Got all audio sessions successfully	{"sessionMap": "<23 audio sessions>"}
2021-01-17 17:39:24.130	info	deej.sessions              	Got all audio sessions successfully	{"sessionMap": "<23 audio sessions>"}
2021-01-17 17:39:29.219	info	deej.sessions              	Got all audio sessions successfully	{"sessionMap": "<23 audio sessions>"}
2021-01-17 17:39:51.075	info	deej.sessions              	Got all audio sessions successfully	{"sessionMap": "<23 audio sessions>"}
2021-01-17 17:50:45.879	info	deej.sessions              	Got all audio sessions successfully	{"sessionMap": "<24 audio sessions>"}
2021-01-17 17:51:38.549	info	deej.sessions              	Got all audio sessions successfully	{"sessionMap": "<23 audio sessions>"}
2021-01-17 17:53:37.918	info	deej.sessions              	Got all audio sessions successfully	{"sessionMap": "<24 audio sessions>"}
2021-01-17 18:08:48.631	info	deej.sessions              	Got all audio sessions successfully	{"sessionMap": "<24 audio sessions>"}
2021-01-17 19:06:09.918	info	deej.sessions              	Got all audio sessions successfully	{"sessionMap": "<23 audio sessions>"}
2021-01-17 19:40:04.107	info	deej.sessions              	Got all audio sessions successfully	{"sessionMap": "<24 audio sessions>"}
2021-01-17 21:59:04.573	info	deej.sessions              	Got all audio sessions successfully	{"sessionMap": "<25 audio sessions>"}
2021-01-17 22:19:18.298	info	deej.sessions              	Got all audio sessions successfully	{"sessionMap": "<23 audio sessions>"}
2021-01-17 22:26:33.639	info	deej.sessions              	Got all audio sessions successfully	{"sessionMap": "<24 audio sessions>"}
2021-01-17 22:38:36.662	info	deej.sessions              	Got all audio sessions successfully	{"sessionMap": "<24 audio sessions>"}
2021-01-18 13:01:54.799	info	deej.tray                  	Quit menu item clicked, stopping
2021-01-18 13:01:54.799	info	deej                       	Stopping
2021-01-18 13:02:01.077	info	main                       	Version info	{"gitCommit": "7567f83", "versionTag": "v0.9.10", "buildType": "release"}
2021-01-18 13:02:01.100	info	deej.config                	Loaded config successfully
2021-01-18 13:02:01.100	info	deej.config                	Config values	{"sliderMapping": "<5 sliders mapped to 14 targets>", "connectionInfo": {"COMPort":"COM6","BaudRate":9600}, "invertSliders": false}
2021-01-18 13:02:01.174	info	deej.sessions              	Got all audio sessions successfully	{"sessionMap": "<24 audio sessions>"}
2021-01-18 13:02:01.212	info	deej                       	Run loop starting
2021-01-18 13:02:01.214	info	deej.serial.com6           	Connected	{"conn": {}}
2021-01-18 13:02:02.736	info	deej.serial.com6           	Detected sliders	{"amount": 5}
2021-01-18 13:23:55.216	info	deej.sessions              	Got all audio sessions successfully	{"sessionMap": "<24 audio sessions>"}
2021-01-19 06:43:16.937	info	deej.tray                  	Quit menu item clicked, stopping
2021-01-19 06:43:16.938	info	deej                       	Stopping

@omriharel
Copy link
Owner

Hi there @jffz, thanks for writing.

Can you please describe the issue with more details? Do you have steps to consistently reproduce it, or is it a random thing? Have you tried replacing anything about the hardware configuration, such as a different board or USB cable?

I can't find anything suspicious in the attached logs, but it's possible the debug executable could tell us more.

It's best if you join the project's Discord and reach out there, because usually due to the nature of problems like this, they're more difficult to debug in a GitHub issue (we would of course update here so that people reading in the future can benefit from whatever we learn).

@omriharel
Copy link
Owner

Updating here for anyone reading this in the future: we did some more triaging over Discord and eventually figured out that the hardware was just disconnecting from serial (which caused deej to stop working silently). The reason here was not due to the PC going to sleep, but because the monitor to which the device was connected was (which cut off power to its USB ports).

For this reason I recommend to plug deej directly into a USB port on your PC.

In the future it'll be made clearer when a disconnect has occurred and can't be automatically recovered from.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants