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

SANE genesys backend causes lockup during sane_get_devices #3

Open
goncalomb opened this issue Apr 28, 2023 · 0 comments
Open

SANE genesys backend causes lockup during sane_get_devices #3

goncalomb opened this issue Apr 28, 2023 · 0 comments
Labels
good first issue Good for newcomers

Comments

@goncalomb
Copy link
Owner

goncalomb commented Apr 28, 2023

The genesys backend (http://www.sane-project.org/sane-backends.html#S-GENESYS) is used by a fair number of devices, so it would be good to find the issue that is causing it to lock during sane_get_devices, and re-enable the backend.

sane-wasm/build.sh

Lines 126 to 136 in 2d11481

# The backends are selected automatically by reading SANE's .desc files and
# selecting the backends that support at least one USB device.
# http://www.sane-project.org/sane-backends.html
# Extra backends:
# test: for testing
# gphoto2,v4l: not enabled ATM, XXX: check compatibility and usefulness
# Excluded backends:
# template,unsupported: not real backends
# dell1600n_net: doesn't really support any USB device
# genesys: causes lockup during sane_get_devices, XXX: to be fixed
SANE_WASM_BACKENDS=$(./utils.py usb-backends -i test -e template,unsupported,dell1600n_net,genesys)

Can be debugged using the test page, by stopping script execution right after sane_get_devices. But can cause the inspector to lock and crash.

@goncalomb goncalomb added the good first issue Good for newcomers label Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant