Xsane not working

Scott Blair scott.blair at gmail.com
Tue Dec 23 15:12:43 UTC 2014


On 12/23/2014 01:13 AM, NoOp wrote:
> On 12/22/2014 10:08 PM, Scott Blair wrote:
>> On 12/23/2014 12:49 AM, NoOp wrote:
>>> On 12/22/2014 10:41 AM, Scott Blair wrote:
>>>> On 12/22/2014 01:17 PM, NoOp wrote:
>>>>> On 12/21/2014 06:50 AM, Scott Blair wrote:
>>>>>> On 12/21/2014 12:09 AM, NoOp wrote:
>>>>>>> On 12/20/2014 06:58 PM, Scott Blair wrote:
>>>>>>>> On 12/20/2014 05:22 PM, NoOp wrote:
>>>>>>>>> dmesg | tail
>>>>>>>> http://paste.ubuntu.com/9585507/
>>>>>>>>
>>>>>>> Thanks. kodakaio.conf looks stock - I was looking to see if it had been
>>>>>>> modified for a specific IP address.
>>>>>>>
>>>>>>> I don't see Bus 001 Device 011 (device `kodakaio:libusb:001:011') in
>>>>>>> your lsusb...
>>>>>>>
>>>>>>> Turn off the scanner/printer & turn back on, then C&P to pastebin the
>>>>>>> last 20 or so lines of:
>>>>>>>
>>>>>>> $ dmesg
>>>>>>> $ cat /var/log/syslog
>>>>>>>
>>>>>>> and
>>>>>>>
>>>>>>> $ scanimage --list-devices
>>>>>>> $ sudo lsusb
>>>>>>>
>>>>>>> Note: you should be seeing something similar to the following (replacing
>>>>>>> Epson with kodak of course):
>>>>>>>
>>>>>>> $ scanimage --list-devices
>>>>>>> device `epkowa:usb:002:009' is a Epson Stylus SX620FW/Stylus Office
>>>>>>> BX625FWD/TX620FWD/ME OFFICE 960FWD/WorkForce 630 Series flatbed scanner
>>>>>>>
>>>>>>> $ lsusb
>>>>>>> Bus 002 Device 009: ID 04b8:085d Seiko Epson Corp. PX-603F [ME OFFICE
>>>>>>> 960FWD Series/Stylus Office BX625FWD/TX620FWD Series]
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> dmesg:
>>>>> <snip>
>>>>>> [74514.945516] IPv6: wlan0: IPv6 duplicate address
>>>>>> 2601:3:3000:e17:226:82ff:fe3e:b46b detected!
>>>>>> [74516.162052] usb 1-3: new high-speed USB device number 14 using ehci-pci
>>>>>> [74516.308455] usb 1-3: New USB device found, idVendor=040a, idProduct=4043
>>>>>> [74516.308468] usb 1-3: New USB device strings: Mfr=5, Product=6,
>>>>>> SerialNumber=7
>>>>>> [74516.308475] usb 1-3: Product: KODAK ESP 3200 Series AiO
>>>>>> [74516.308481] usb 1-3: Manufacturer: Eastman Kodak Company
>>>>>> [74516.308486] usb 1-3: SerialNumber: E219160
>>>>>> [74516.323309] usblp 1-3:1.1: usblp3: USB Bidirectional printer dev 14
>>>>>> if 1 alt 0 proto 2 vid 0x040A pid 0x4043
>>>>>> [74516.325179] usb-storage 1-3:1.2: USB Mass Storage device detected
>>>>>> [74516.325460] scsi14 : usb-storage 1-3:1.2
>>>>>> [74517.327634] scsi 14:0:0:0: Direct-Access     KODAK         SD/MMC
>>>>>> card 1.00 PQ: 0 ANSI: 0
>>>>>> [74517.328418] sd 14:0:0:0: Attached scsi generic sg9 type 0
>>>>>> [74517.348059] sd 14:0:0:0: [sdg] Attached SCSI removable disk
>>>>>> [74517.496609] usblp3: removed
>>>>>> [74517.505022] usblp 1-3:1.1: usblp3: USB Bidirectional printer dev 14
>>>>>> if 1 alt 0 proto 2 vid 0x040A pid 0x4043
>>>>>> [74518.204426] IPv6: wlan0: IPv6 duplicate address
>>>>>> 2601:3:3000:e17:226:82ff:fe3e:b46b detected!
>>>>> <snip>
>>>>>
>>>>>     IPv6 duplicate address 2601:3:3000:e17:226:82ff:fe3e:b46b detected!
>>>>>> Dec 21 09:46:50 main kernel: [74617.468186] IPv6: wlan0: IPv6 duplicate address 2601:3:3000:e17:226:82ff:fe3e:b46b detected!
>>>>>> scott at main:~$
>>>>>>
>>>>>>
>>>>>>
>>>>>> scanimage --list-devices:
>>>>>>
>>>>>> scott at main:~$ scanimage --list-devices
>>>>>> [bjnp] create_broadcast_socket: bind socket to local address failed -
>>>>>> Cannot assign requested address
>>>>>> [bjnp] create_broadcast_socket: bind socket to local address failed -
>>>>>> Cannot assign requested address
>>>>>> device `kodakaio:libusb:001:014' is a Kodak KODAK ESP 3200 Series AiO
>>>>>> flatbed scanner
>>>>>> scott at main:~$
>>>>>>
>>>>>>
>>>>>>
>>>>>> sudo lsusb:
>>>>>>
>>>>>> scott at main:~$ sudo lsusb
>>>>>> [sudo] password for scott:
>>>>>> Bus 007 Device 005: ID 10d5:55a2 Uni Class Technology Co., Ltd 2Port
>>>>>> KVMSwitcher
>>>>>> Bus 007 Device 004: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0
>>>>>> for Bluetooth
>>>>>> Bus 007 Device 003: ID 046d:c526 Logitech, Inc. Nano Receiver
>>>>>> Bus 007 Device 002: ID 058f:9254 Alcor Micro Corp. Hub
>>>>>> Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>>>>>> Bus 002 Device 003: ID 058f:6364 Alcor Micro Corp. AU6477 Card Reader
>>>>>> Controller
>>>>>> Bus 002 Device 002: ID 1058:070b Western Digital Technologies, Inc.
>>>>>> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>>>>>> Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>>>>>> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>>>>>> Bus 001 Device 012: ID 1058:1130 Western Digital Technologies, Inc.
>>>>>> Bus 001 Device 014: ID 040a:4043 Kodak Co.
>>>>>> Bus 001 Device 013: ID 1415:2000 Nam Tai E&E Products Ltd. or OmniVision
>>>>>> Technologies, Inc. Sony Playstation Eye
>>>>>> Bus 001 Device 010: ID 04cc:1521 ST-Ericsson USB 2.0 Hub
>>>>>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>>>>>> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>>>>>> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>>>>>> scott at main:~$
>>>>>>
>>>>>> Just to let you know, because I didn't mention this earlier, I did
>>>>>> uninstall and reinstall the printer.
>>>>>>
>>>>> Sorry for the delayed reply - I have to go to work.
>>>>>
>>>>> It looks like your printer is now detected and working on Bus 001 Device
>>>>> 014, can you try scanning with xsane from the terminal again & show the
>>>>> output?
>>>>>
>>>>> This is a complete WAG: try installing bjnp to see if that clears the
>>>>> bjnp port issue:
>>>>>
>>>>> $ sudo apt-get install cups-backend-bjnp
>>>>>
>>>>> Afterwards, see if there is any change when using 'scanimage
>>>>> --list-devices'.
>>>>>
>>>>>
>>>>>
>>>>>
>>>> Here is the scanimage I forgot in the last email.
>>>>
>>>> scott at main:~$ scanimage
>>>> [bjnp] create_broadcast_socket: bind socket to local address failed -
>>>> Cannot assign requested address
>>>> scanimage: output is not a file, exiting
>>>> scott at main:~$ --list-devices
>>>>
>>>>
>>> Other than the "[bjnp] create_broadcast_socket: bind socket to local
>>> address failed" part, the scanimage command shows that your scanner is
>>> working, at least code-wise - otherwise it would have responded with:
>>>
>>> $ scanimage
>>> scanimage: no SANE devices found
>>>
>>> The "scanimage: output is not a file, exiting" is normal as you didn't
>>> specify an output. Put something in the scanner and:
>>>
>>> $ scanimage > image.pnm
>>>
>>> Then providing that you don't get 'scanimage: open of device kodak...
>>> failed" enter:
>>>
>>> $ eog > image.pnm
>>>
>>> and let me know if you seen the scan.
>>>
>>>
>>>
>>>
>> This is what I get:
>> scott at main:~$ scanimage > image.pnm
>> [bjnp] create_broadcast_socket: bind socket to local address failed -
>> Cannot assign requested address
>> scanimage: sane_read: Error during device I/O
>> scott at main:~$ eog > image.pnm
>>
>> The image is blank.
>>
> Check dmesg for the last 20 lines or so & see if any useful information
> is there.
>
>

[216246.924900] usb 1-2.7: current rate 14142 is different from the 
runtime rate 16000
[216246.927530] usb 1-2.7: 3:1: cannot get min/max values for control 2 
(id 3)
[216247.373866] usb 1-2.7: current rate 3573 is different from the 
runtime rate 16000
[216247.377887] usb 1-2.7: current rate 33186 is different from the 
runtime rate 16000
[216247.430249] usb 1-2.7: current rate 406 is different from the 
runtime rate 16000
[216247.436764] usb 1-2.7: current rate 7 is different from the runtime 
rate 16000
[216247.439511] usb 1-2.7: 3:1: cannot get min/max values for control 2 
(id 3)
[216248.172359] usblp3: removed
[216248.181652] usblp 1-3:1.1: usblp3: USB Bidirectional printer dev 30 
if 1 alt 0 proto 2 vid 0x040A pid 0x4043
[216253.172843]  sdh: sdh1
[216253.174815] sd 22:0:0:0: [sdh] 732558336 4096-byte logical blocks: 
(3.00 TB/2.72 TiB)
[216253.176062] sd 22:0:0:0: [sdh] Attached SCSI disk
[216257.401170] systemd-hostnamed[31057]: Warning: nss-myhostname is not 
installed. Changing the local hostname might make it unresolveable. 
Please install nss-myhostname!
[218401.441612] quiet_error: 1 callbacks suppressed
[218401.441618] Buffer I/O error on device sdi1, logical block 149243038
[218401.441624] Buffer I/O error on device sdi1, logical block 149243039
[218401.441628] Buffer I/O error on device sdi1, logical block 149243040
[218401.441631] Buffer I/O error on device sdi1, logical block 149243041
[218401.441634] Buffer I/O error on device sdi1, logical block 149243038
[218401.441714] Buffer I/O error on device sdi1, logical block 149243038
[239938.865993] audit: type=1400 audit(1419338466.978:36): 
apparmor="STATUS" operation="profile_replace" profile="unconfined" 
name="/usr/lib/cups/backend/cups-pdf" pid=802 comm="apparmor_parser"
[239938.866020] audit: type=1400 audit(1419338466.978:37): 
apparmor="STATUS" operation="profile_replace" profile="unconfined" 
name="/usr/sbin/cupsd" pid=802 comm="apparmor_parser"
[239938.876042] audit: type=1400 audit(1419338466.990:38): 
apparmor="STATUS" operation="profile_replace" profile="unconfined" 
name="third_party" pid=802 comm="apparmor_parser"
scott at main:~$

-- 

Scott Blair

save on backup time BackUpDevice=null





More information about the ubuntu-users mailing list