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
saned xinetd: regression on openwrt 21 #16085
Comments
I'm preparing a test env but I lost my old printer #16111 It looks like the network side is OK. You can connect, be authenticated (src ip) and do some requests. My guess is that the printer driver is not working. You can list existing printers with ' You could also install sane-test to test with a fake printer (you need to uncomment "test" in /etc/sane.d/dll.conf). Currently, the sane-test is all I have to work on. |
At least for sane-test, everything is still working.
It should be something with your driver. Are you using hplip? |
On server side scanimage -L return : on computer scanimage -L
/etc/sane.d/net.conf Witch packages should be installed? |
I confirm that test devices are seen by my computer
|
That's very useful info! test scanner works, so your client/server setup is OK. It is something between the daemon and the scanner. The issue might be with the user saned accessing directly the usb device. This is granted using a hotplug.d script that check if the device usb id matches a file in /usr/share/sane/. Now the interesting part... the file build by buildbot has:
While the one I build locally has:
Noticed the usbid files missing? They are the ones you'll need. I'll check build logs to try to identify why they are missing... Meanwhile, you can create the file manually. If your device usbid is something like 04a9:xxxx, you can create a file /usr/share/sane/04a9-genesys.usbid with xxxx inside. For example, the expected file to be in the package would be:
Among other vendor ids. The file list from the package I built locally shows them all. The suffix does not really matter as I only use that info for selecting usbid files to each driver package. Another alternative is to run as root, changing the user in xinetd config. |
On some build systems (build bots, Debian Buster for example) the current mechanism in the Build/Install define doesn't run. Replace it with shell fu that works. Issue was reported, see [1]. [1] openwrt#16085 Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
On some build systems (build bots, Debian Buster for example) the current mechanism in the Build/Install define doesn't run. Replace it with shell fu that works. Issue was reported, see [1]. [1] openwrt#16085 Fixes openwrt#16085 Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net> (cherry picked from commit 977109e)
@blairfancy, the fix was merged. The fix will be in the 1.0.32-2 package version. It might reach repos soon. Thanks @micmac1 for the fix. |
On some build systems (build bots, Debian Buster for example) the current mechanism in the Build/Install define doesn't run. Replace it with shell fu that works. Issue was reported, see [1]. [1] openwrt#16085 Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Issue template (remove lines from top till here)
Maintainer: @luizluca ; @SvenRoederer
Environment: openwrt-21.02.0-rc3-mvebu-cortexa9
Description:
installed saned and xinetd package modified sane.conf and xinetd config with same parameters thant openwrt 19.
Scanner work properly with
But not able to scan with a remote Host (192.168.25.10)
xinetd
saned.conf
log
The text was updated successfully, but these errors were encountered: