You are not logged in.

#1 2016-12-27 12:24:47

BlkChockr
Member
Registered: 2016-09-01
Posts: 14

[SOLVED] [Printer/Scanner] Ricoh SP 150SU

Hey,

I am trying to get the Ricoh SP 150SU to work. There are drivers/packages for almost all other Linux distributions, just not Arch. I already got it to print, by just copying the files from the provided .deb-package to their destinations, but now I'm stuck with the scanning function of the device. There even is an install.sh inside the SANE-package, which doesn't work out of the box in Arch. I had a look into it, read some SANE documentation and tried a few steps.

What I did so far is:

  • Copy the .so-Files to /usr/lib/sane (script works until here)

  • Add "alto" to /etc/sane.d/dll.conf

  • Create file /etc/sane.d/alto.conf

  • Add lines to /usr/lib/udev/rules.d/49-sane.rules

  • Added my user to group "scanner" (also tried running all commands with sudo)

  • Reboot

cat /etc/sane.d/alto.conf:

usb # tried without this, too
usb 0x05ca 0x0454
scsi RICOH IS60

cat /usr/lib/udev/rules.d/49-sane.rules:

[...]
# RICOH SP 150SU Scanner
ATTRS{idVendor}=="05ca", ATTRS{idProduct}=="0454", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
# RICOH SP 150SUw Scanner
ATTRS{idVendor}=="05ca", ATTRS{idProduct}=="0456", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
[...]

sane-find-scanner:

# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.

# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
# Also you need support for SCSI Generic (sg) in your operating system.
# If using Linux, try "modprobe sg".

could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
found USB scanner (vendor=0x05ca [RICOH], product=0x0454 [SP 150SU]) at libusb:001:004
could not fetch string descriptor: Pipe error

# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.

# Not checking for parallel port scanners.

# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.

scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

You can see the full downloads page here.

Can someone please guide me to the right direction? I am not totally new to Arch or Linux in general, but it is my first time trying to install a device without just installing a package (which I would do if there was one, of course) smile


Thank you in advance, BlkChockr

Last edited by BlkChockr (2019-07-16 18:08:36)

Offline

#2 2016-12-27 16:29:08

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,774

Re: [SOLVED] [Printer/Scanner] Ricoh SP 150SU

ewaller@turing ~ 1001 %pacaur -Ss ricoh
aur/ricoh-sp100-git v0.3.r22.gef4c12d-1 (1, 0.09)
    CUPS driver for Ricoh Aficio SP 100 and SP 200 family printers
aur/openprinting-ppds-postscript-ricoh 20161206-1 (3, 0.04)
    PPD files for Ricoh's PostScript printers, supplied by Ricoh
aur/openprinting-ppds-pxlmono-ricoh 20160606-1 (3, 0.01)
    PPD files for Ricoh's PCL monochrome printers, supplied by Ricoh
aur/openprinting-ppds-pxlcolor-ricoh 20160606-1 (1, 0.00)
    PPD files for Ricoh's PCL colour printers, supplied by Ricoh
ewaller@turing ~ 1002 %

Are you certain that first AUR package is not what you need?

Last edited by ewaller (2016-12-27 16:29:23)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2016-12-27 21:51:00

BlkChockr
Member
Registered: 2016-09-01
Posts: 14

Re: [SOLVED] [Printer/Scanner] Ricoh SP 150SU

Yes, I'm quite sure. While package description says "family printers", the Github repo reveals it only provides PPDs for Model 100 and 204.

Maybe the 100 ppd would work with mine, but as I wrote, I already got it to print a test page (with its own PPD).

It seems like no one has tried to configure a Ricoh scanner in Arch yet. sad

Last edited by BlkChockr (2016-12-27 21:53:37)

Offline

#4 2017-12-17 22:04:01

vtyulb
Member
Registered: 2013-08-18
Posts: 16

Re: [SOLVED] [Printer/Scanner] Ricoh SP 150SU

BlkChockr wrote:

Hey,

I am trying to get the Ricoh SP 150SU to work. There are drivers/packages for almost all other Linux distributions, just not Arch. I already got it to print, by just copying the files from the provided .deb-package to their destinations, but now I'm stuck with the scanning function of the device. There even is an install.sh inside the SANE-package, which doesn't work out of the box in Arch. I had a look into it, read some SANE documentation and tried a few steps.

Thank you, I never thought that running exe file on linux can be a solution. I uploaded the package (3 files: lib, cups filter and ppd file) to AUR (SP150SUw, but I think they are compatible). Please do inform if you would be able to get the scanner to work.

Last edited by vtyulb (2017-12-17 22:04:20)

Offline

#5 2018-03-23 11:36:29

BlkChockr
Member
Registered: 2016-09-01
Posts: 14

Re: [SOLVED] [Printer/Scanner] Ricoh SP 150SU

vtyulb wrote:

Thank you, I never thought that running exe file on linux can be a solution. I uploaded the package (3 files: lib, cups filter and ppd file) to AUR (SP150SUw, but I think they are compatible). Please do inform if you would be able to get the scanner to work.

Hey! I wasn't notified about your answer back then, but came back to this topic after reinstalling my system and looking for a solution (again).  Your package works for me, I was able to add the printer in CUPS and print several pages. Thank you! smile

Offline

#6 2018-03-23 12:35:38

vtyulb
Member
Registered: 2013-08-18
Posts: 16

Re: [SOLVED] [Printer/Scanner] Ricoh SP 150SU

BlkChockr wrote:
vtyulb wrote:

Thank you, I never thought that running exe file on linux can be a solution. I uploaded the package (3 files: lib, cups filter and ppd file) to AUR (SP150SUw, but I think they are compatible). Please do inform if you would be able to get the scanner to work.

Hey! I wasn't notified about your answer back then, but came back to this topic after reinstalling my system and looking for a solution (again).  Your package works for me, I was able to add the printer in CUPS and print several pages. Thank you! smile

Well, that's what packages are needed for smile

Offline

#7 2019-07-08 13:15:24

BlkChockr
Member
Registered: 2016-09-01
Posts: 14

Re: [SOLVED] [Printer/Scanner] Ricoh SP 150SU

vtyulb wrote:

Please do inform if you would be able to get the scanner to work.

Hey again. I just tried scanning again (after years of using a windows device for doing so and getting more and more annoyed by it) and it seems to work now, at least about half of the time.

Here are the steps I took:

* Download and extract the SANE-Package
* Run the install script with sudo bash install.sh
* Run sudo scanimage -L, which produces a segmentation fault
* Reboot
* Run sudo scanimage -L, again, which somehow works for a short period of time
* Run sudo simple-scan and scan the image in GUI

After a relatively short time after rebooting, the segmentation fault will be present again. I have yet to find out why this is the case. All I could find was the strack trace in my journal:

Jul 08 15:08:51 pc systemd-coredump[5695]: Process 5692 (scanimage) of user 0 dumped core.

                                           Stack trace of thread 5692:
                                           #0  0x00007fe254cc897b NET_FindSnmpAgent (libsane-alto.so.1)
                                           #1  0x00007fe254cc9067 device_network_detect (libsane-alto.so.1)
                                           #2  0x00007fe2562baa70 n/a (libsane.so.1)
                                           #3  0x00007fe2562bb532 sane_dll_get_devices (libsane.so.1)
                                           #4  0x0000556af7b483a8 n/a (scanimage)
                                           #5  0x00007fe256033ee3 __libc_start_main (libc.so.6)
                                           #6  0x0000556af7b4aa4e n/a (scanimage)

                                           Stack trace of thread 5693:
                                           #0  0x00007fe2560fe667 __poll (libc.so.6)
                                           #1  0x00007fe255984c90 n/a (libusb-1.0.so.0)
                                           #2  0x00007fe25593957f start_thread (libpthread.so.0)
                                           #3  0x00007fe2561090e3 __clone (libc.so.6)

Any idea(s) what I could do or where I can find a more elaborated log?

On the good side, the install script seems to work flawlessly now (not sure what changed in the meantime) smile

Offline

#8 2019-07-09 07:02:58

vtyulb
Member
Registered: 2013-08-18
Posts: 16

Re: [SOLVED] [Printer/Scanner] Ricoh SP 150SU

Hi,

I'll try to work it out tonight / tomorrow, too busy now. The only time when I used scanner - I did it throw mobile app, it will be interesting to configure it in linux too.

Offline

#9 2019-07-11 20:27:52

vtyulb
Member
Registered: 2013-08-18
Posts: 16

Re: [SOLVED] [Printer/Scanner] Ricoh SP 150SU

Well, it looks like someone already made all required packages, it means I'm not interested for now: https://aur.archlinux.org/packages/?O=0 … _Search=Go

Offline

#10 2019-07-16 11:54:21

BlkChockr
Member
Registered: 2016-09-01
Posts: 14

Re: [SOLVED] [Printer/Scanner] Ricoh SP 150SU

Sorry for the late reply, I haven't been at home since my last post.

I didn't even consider searching the AUR, as this is the only thread for Arch Linux I could find on Google when coming back to this topic.

The "ricoh-sp150su-sane" package seems to work fine for me. Thank you for pointing it out!

Offline

#11 2019-07-16 13:09:58

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: [SOLVED] [Printer/Scanner] Ricoh SP 150SU

Please mark this topic as [SOLVED] if that is the case. https://wiki.archlinux.org/index.php/Co … ow_to_post

Offline

#12 2019-07-16 18:08:57

BlkChockr
Member
Registered: 2016-09-01
Posts: 14

Re: [SOLVED] [Printer/Scanner] Ricoh SP 150SU

Done. smile

Offline

Board footer

Powered by FluxBB