Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Network scanning does not work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Belliash
Advocate
Advocate


Joined: 24 Nov 2004
Posts: 2503
Location: Wroclaw, Poland

PostPosted: Wed Apr 29, 2020 11:56 am    Post subject: Network scanning does not work Reply with quote

Hello,

I've got an USB AiO device - HP Photosmart C5280. This printer is connected via USB to my server/NAS.
I have successfully configured CUPS and printing works over LAN on any computer.

However I cannot get scanner to work. It is detected by server:
Code:
# scanimage -L
device `hpaio:/usb/Photosmart_C5200_series?serial=MY75FBC17F04XQ' is a Hewlett-Packard Photosmart_C5200_series all-in-one


I use saned daemon to share it over network, however I tried xinetd as well, with the same results.
When I try to scan anything from server using `scanimage > test.jpg` command, it scans the page and saves it as JPEG image. This is great and means scanner is working properly.

So, let's switch to client. It has all backends disabled except 'net' and just single IP address is specified in its configuration. It detects the scanner as well:
Code:
$ scanimage -L
device `net:192.168.1.2:hpaio:/usb/Photosmart_C5200_series?serial=MY75FBC17F04XQ' is a Hewlett-Packard Photosmart_C5200_series all-in-one


When I try to scan anything, scanner seems to work as well. However when it goes to the end it freezes. It seems like data is not being send back from saned server to the client.
There is nothing in client logs. Just after some time I/O error shows in the console. In server logs found only this:
Code:
Apr 29 13:29:14 server kernel: Did not find alt setting 1 for intf 0, config 1
Apr 29 13:29:14 server kernel: Did not find alt setting 1 for intf 0, config 1
Apr 29 13:29:14 server saned[12906]: io/hpmud/musb.c 780: read actual device_id successfully fd=1 len=232
Apr 29 13:29:14 server saned[12906]: io/hpmud/musb.c 561: released 7/1/2 interface
Apr 29 13:29:14 server saned[12906]: io/hpmud/musb.c 427: Found interface conf=0, iface=1, altset=0, index=1
Apr 29 13:29:14 server saned[12906]: io/hpmud/musb.c 389: Active kernel driver on interface=1 ret=0
Apr 29 13:29:14 server saned[12906]: io/hpmud/musb.c 535: claimed 7/1/2 interface
Apr 29 13:29:14 server kernel: [160898.053793] Did not find alt setting 1 for intf 0, config 1
Apr 29 13:29:14 server saned[12906]: io/hpmud/musb.c 780: read actual device_id successfully fd=1 len=232
Apr 29 13:29:14 server saned[12906]: io/hpmud/musb.c 561: released 7/1/2 interface
Apr 29 13:29:14 server saned[12906]: io/hpmud/musb.c 960: new HP-SCAN channel=4 clientCnt=1 channelCnt=1
Apr 29 13:29:14 server saned[12906]: io/hpmud/musb.c 427: Found interface conf=0, iface=2, altset=0, index=7
Apr 29 13:29:14 server saned[12906]: io/hpmud/musb.c 389: Active kernel driver on interface=2 ret=0
Apr 29 13:29:14 server saned[12906]: io/hpmud/musb.c 535: claimed ff/ff/ff interface
Apr 29 13:29:14 server saned[12906]: io/hpmud/musb.c 960: new HP-MESSAGE channel=1 clientCnt=1 channelCnt=2
Apr 29 13:29:15 server saned[12906]: io/hpmud/musb.c 975: removed HP-MESSAGE channel=1 clientCnt=0 channelCnt=1
Apr 29 13:29:15 server saned[12906]: io/hpmud/musb.c 561: released ff/ff/ff interface
Apr 29 13:29:16 server saned[12906]: io/hpmud/musb.c 975: removed HP-SCAN channel=4 clientCnt=0 channelCnt=0
Apr 29 13:29:41 server saned[12906]: io/hpmud/musb.c 960: new HP-SCAN channel=4 clientCnt=1 channelCnt=1
Apr 29 13:29:41 server saned[12906]: io/hpmud/musb.c 427: Found interface conf=0, iface=2, altset=0, index=7
Apr 29 13:29:41 server saned[12906]: io/hpmud/musb.c 389: Active kernel driver on interface=2 ret=0
Apr 29 13:29:41 server saned[12906]: io/hpmud/musb.c 535: claimed ff/ff/ff interface
Apr 29 13:29:41 server saned[12906]: io/hpmud/musb.c 960: new HP-MESSAGE channel=1 clientCnt=1 channelCnt=2


I have tried SaneTwain as well under Windows as client with the exact results.
Am I doomed to scan from server's CLI only? :(
_________________
Asio Software Technologies
Belliash IT Weblog
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum