Can Scanner be Initialized from the Terminal


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Can Scanner be Initialized from the Terminal
# 1  
Old 11-07-2015
Can Scanner be Initialized from the Terminal

Hi, somewhat of a newbie with Linux, although I have been at it for about three weeks now.

Is there a way to wake up or initialize my scanner with a command in the terminal?
# 2  
Old 11-08-2015
Your post doesn't provide much information.

You've posted to Ubuntu so I assume that is your Linux distro.

You are trying to wake up a scanner so I assume it supports wake-on-lan?

So do you need to send a magic packet from Ubuntu to the scanner?

What make/model of scanner?
This User Gave Thanks to hicksd8 For This Post:
# 3  
Old 11-08-2015
Sorry, still new to this. I'm using Mint 17.2 which is based on Ubuntu 14.04. The problem I am having is with my Cannon LIDE 110 scanner. Linux Hardware reference states there is no issues with this scanner, but I am having one.

When I use Simple Scan, Xsane or Skanlite software, they all will scan first time no problem, but when I close the software and re-open later on, none of them can find the scanner anymore, so I thought since I can't seem to find out how to fix this, maybe before I open the software, I could use some type of wake up cmd in the terminal, if that is possible, and then open the scanner software and scan again.

Right now the only option I have is to remove the scanner usb cable and re-insert it again. Most of the time that is enough for the scanning software to detect the scanner again. This scanner works fine in Win7 but not in my Linux machine. I've tried a power usb hub, changed to different usb ports and updated to latest kernel but none of that worked. If I type "lsusb" in the Linux terminal, it displays that the scanner is there, so somewhat confused about it all.
# 4  
Old 11-09-2015
So this scanner is not directly connected to your network but is plugged into a USB port on the Linux machine?

When you plug it into a USB port on your Windows box it works all the time?
This User Gave Thanks to hicksd8 For This Post:
# 5  
Old 11-09-2015
Yes, it is plugged into a USB port on my Linux machine and my Linux machine is not connected to any network.

Yes, works all the time, every time when plugged into a USB port on my Windows pc. The one thing I have noticed
is that on the Windows box, when I boot up, the scanner is making sounds, which seems to be Windows setting it.
But when it is connected to the Linux machine and I boot, no scanner sounds.
# 6  
Old 11-09-2015
Most Linux distros have the capability to power down dormant USB devices and a quick search on Google tells me that Ubuntu is one of them. Perhaps you have that function enabled (accidentally)?

Read this:
How to disable auto power off of usb devices like usb mouse? - Ask Ubuntu

and this

power management - How can I disable usb-autosuspend for a specific device? - Ask Ubuntu

Disconnecting the USB and reconnecting it would power up that USB port.

Suggest you investigate that and report back.
# 7  
Old 11-10-2015
That makes perfect sense hicksd8, I will check up on it all and report back. Your info has been of very high quality and I am grateful.

---------- Post updated at 10:52 PM ---------- Previous update was at 02:06 AM ----------

---------- Post updated at 10:53 PM ---------- Previous update was at 10:52 PM ----------

sudo: powernap-action returns "command not found" in Linux Mint 17.2 terminal

Tried the sudo su commands and I guess I just don't know enough about linux yet to make them work. I've downloaded an over 500 page linux manual and I think I better start reading it more to try and get a grasp on it. My aim is to drop windows completely Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Hardware

Epson Scanner

Running Debian 8.5 on a Dell Laptop I have an Epson V39 scanner. Simple scan cannot detect it. Here is what I have: root@server1:/home/server1# sane-find-scanner # sane-find-scanner will now attempt to detect your scanner. If the # result is different from what you expected, first... (2 Replies)
Discussion started by: Meow613
2 Replies

2. Red Hat

IP Scanner tool

Hey guys.. What is the best tool that can be used on Linux for IP scanning tool that can bring ping status, hostname, and any other open service. I wish I can find a tool like "The Dude" from Mikrotik, but that works only under Windows. Thanks (4 Replies)
Discussion started by: leo_ultra_leo
4 Replies

3. Linux

micro film scanner

epson microfilm 500 scsi: Is there any way to make this work under linux ? I'm using pclinuxos, it shows the machine in the device panel as sg2 and lists the machine , so Im guessing the kernel knows what it is, but I can't view it as a scanner or capture or input device . What catagory does... (4 Replies)
Discussion started by: tom1200
4 Replies

4. UNIX for Dummies Questions & Answers

.zshrc not initialized

Hi, I just updated /etc/passwd so that my default shell is zsh. After I save and make a new connection I can echo $SHELL and see /usr/bin/zsh, but my prompt still looks like bash and some env var that I setup in my local .zshrc file are not set. If I type zsh, then my prompt changes and I have my... (7 Replies)
Discussion started by: yankee428
7 Replies

5. Programming

swing not getting initialized when the DISPLAY is not set

I have a batch programme which will load the Spreadsheet into database.. When the DISPLAY is set and X11 window server is running, there is no issue in reading the spreadsheet and loading into database without lauching UI. But if the display is not set, then there is an issue... Any ideas... (3 Replies)
Discussion started by: shafi2all
3 Replies

6. Shell Programming and Scripting

Need some help with shell content scanner

Just started to create my own small content scanner that searches all the visible files on my server, but now I got stuck. It should be used to scan the files for phrases like in the following example. What I tried is the following code: #!/bin/bash find /home/userid*/public_html/ -size... (18 Replies)
Discussion started by: medic
18 Replies

7. UNIX for Dummies Questions & Answers

scanner does not support UFS? Help needed!

Hello, I hope somebody can help me. I have a new scanner, that says this: "EPSON Scan does not support the UNIX File System (UFS) for Mac OS X. You must install EPSON Scan on a disk or in a partition that does not use UFS." I have UFS.. is there anything I can do? How do I create/find such a... (0 Replies)
Discussion started by: Hannako
0 Replies

8. Solaris

log file scanner

anyone know of a FREE logfile checker that they would recommend? looking to scan thru syslog, sulog, messages, etc... looking for security type related entries., thanks, brian (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

9. Programming

Will we get SEGV if we try to “delete []” un-initialized integer pointer variable.

I have a class with an integer pointer, which I have not initialized to NULL in the constructor. For example: class myclass { private: char * name; int *site; } myclass:: myclass(....) : name(NULL) { ..... } other member function “delete “ the variable before... (2 Replies)
Discussion started by: sureshreddi_ps
2 Replies
Login or Register to Ask a Question