diff options
Diffstat (limited to 'media-gfx/sane-backends/files')
-rw-r--r-- | media-gfx/sane-backends/files/66-saned.rules | 2 | ||||
-rw-r--r-- | media-gfx/sane-backends/files/sane-backends-1.1.1-genesys-gl845-crash.patch | 12 |
2 files changed, 14 insertions, 0 deletions
diff --git a/media-gfx/sane-backends/files/66-saned.rules b/media-gfx/sane-backends/files/66-saned.rules new file mode 100644 index 000000000000..3c9ec85d4822 --- /dev/null +++ b/media-gfx/sane-backends/files/66-saned.rules @@ -0,0 +1,2 @@ +# udev rule for saned (SANE scanning daemon) to be able to write on usb port +ENV{libsane_matched}=="yes", ENV{DEVNAME}!="", RUN+="/usr/bin/setfacl -m g:saned:rw $env{DEVNAME}" diff --git a/media-gfx/sane-backends/files/sane-backends-1.1.1-genesys-gl845-crash.patch b/media-gfx/sane-backends/files/sane-backends-1.1.1-genesys-gl845-crash.patch new file mode 100644 index 000000000000..f63a8e2100b9 --- /dev/null +++ b/media-gfx/sane-backends/files/sane-backends-1.1.1-genesys-gl845-crash.patch @@ -0,0 +1,12 @@ +diff --git a/backend/genesys/genesys.cpp b/backend/genesys/genesys.cpp +index 9552fa9..c95de7b 100644 +--- a/backend/genesys/genesys.cpp ++++ b/backend/genesys/genesys.cpp +@@ -367,6 +367,7 @@ void sanei_genesys_create_default_gamma_table(Genesys_Device* dev, + } + max = size - 1; + } else if (dev->model->asic_type == AsicType::GL124 || ++ dev->model->asic_type == AsicType::GL845 || + dev->model->asic_type == AsicType::GL846 || + dev->model->asic_type == AsicType::GL847) { + size = 257; |