LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-15-2020, 09:28 PM   #1
Johng
Member
 
Registered: Feb 2002
Location: NZ
Distribution: Kubuntu, Mint
Posts: 411

Rep: Reputation: 31
Need to unplug an replug scanner


When I attempt to use xsane, it does not find my Canon scanner.

lsusb:
Code:
  Bus 002 Device 006: ID 04a9:2206 Canon, Inc. CanoScan N650U/N656U
In /etc/sane/.d/canon650u.conf
Code:
 usb 0x04a9 0x2206
In /etc/undev/rules.d/40-libsane.rules:

Code:
 ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="2206", ENV{libsane_matched}="yes"
If I unplug the usb connection, and re-plug, xsane finds the scanner.

Why is that? Is there a command that simulates un-plug/plug?
 
Old 06-16-2020, 08:44 AM   #2
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,639

Rep: Reputation: Disabled
I seem to remember that Mageia uses KDE / Plasma. If so, right-click on removable media(?, that symbol with which on can eject and mount external devices / device monitoring, sorry I have to translate that from German). You get two lines:

First one like "attend to portable media" or so. Second line like "manage device monitoring program", click here and activate "all devices"; "Show popup when new device is attache" stayes active. HTH.
 
Old 06-16-2020, 11:26 AM   #3
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,219
Blog Entries: 20

Rep: Reputation: 4761Reputation: 4761Reputation: 4761Reputation: 4761Reputation: 4761Reputation: 4761Reputation: 4761Reputation: 4761Reputation: 4761Reputation: 4761Reputation: 4761
I had something like that once. When I checked dmesg, I found that the scanner's usb connection kept dropping and reconnecting, each time with a different bus number. I used a different cable and the problem disappeared.
 
Old 07-13-2020, 10:46 PM   #4
dixiehall
LQ Newbie
 
Registered: Jul 2020
Posts: 1

Rep: Reputation: Disabled
Thank you all, Ill have a look into
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
evdev/xorg help? USB mouse/kbd: 2.6.24="just works">2.6.25="unplug/replug to work". GrapefruiTgirl Linux - Hardware 4 12-13-2012 02:23 PM
RHEL v.5 eth0 drops, only unplug/replug of cable fixes it lokke Linux - Networking 4 07-13-2007 12:09 PM
Must unplug & replug hub to get flash drive recognized MaxLinux Linux - Hardware 2 06-25-2007 11:53 PM
MX 1000 mouse with evdev not working after unplug/replug? eurleif Linux - Hardware 2 02-15-2006 01:52 PM
Unplug / Replug before USB mouse functions bobmccune Linux - Hardware 1 09-19-2003 12:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration