Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #201562

Re: what is sitting on USB device?

From Cindy-Sue Causey <butterflybytes@gmail.com>
Newsgroups linux.debian.user
Subject Re: what is sitting on USB device?
Date 2018-10-23 18:50 +0200
Message-ID <wM82t-81u-5@gated-at.bofh.it> (permalink)
References <wM7pL-7NH-5@gated-at.bofh.it> <wM7zs-7R2-7@gated-at.bofh.it> <wM7SO-7Xl-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 10/23/18, Mark Copper <mcopper@straitcity.com> wrote:
> On Tue, Oct 23, 2018 at 11:13 AM <tomas@tuxteam.de> wrote:
>>
>> On Tue, Oct 23, 2018 at 11:03:05AM -0500, Mark Copper wrote:
>> > Trying to connect to a device, I get this error message:
>>
>> What are you trying to do while this error show up? How does it
>> show up (e.g. desktop pop up, some log file...)?
>>
>> > *** Error ***
>> > An error occurred in the io-library ('Could not claim the USB
>> > device'): Could not claim interface 0 (Device or resource busy). Make
>> > sure no other program (gvfs-gphoto2-volume-monitor) or kernel module
>> > (such as sdc2xx, stv680, spca50x) is using the device and you have
>> > read/write access to the device.
>> > *** Error (-53: 'Could not claim the USB device') ***
>>
>> Things to try:
>>
>>   - Issue (on a terminal, as root or sudo) "dmesg | tail", a short while
>>     after having inserted the USB device.
>>   - If the USB device poses as a storage device, issue "mount", to check
>>     whether something on your box (your DE, perhaps) has mounted the
>>     file system.
>>   - Look in /var/log/messages and/or /var/log/syslog (or however these
>>     things are called, should your init system be systemd: I'm not
>>     qualified for that, others will chime in, I guess).
>>     Note that USB devices can pose as different things "at the same
>>     time".
>>
>> HTH
>> -- tomás
>
> The error is generated in response to this command:
>
> $gphoto2 --summary
>
> The camera is recognized properly in dmesg. But it might be relevant
> that the Chrome OS sees it as a storage device, and it's important not
> to treat the camera as a storage device if one wants to use the
> computer to control the camera. However, I cannot see that the device
> is actually mounted. (the output of "mount" has become so complicated
> these days...)


You made me choke on my coffee from laughing.. and the coffee's not
even done perking yet. :D

On a whim, I tried "mount | grep sdb3" > IT WORKS!!

Grep's turning out to be handy that way in a lot of cases that don't
always immediately come to mind. In that line above, grep returned one
line that properly reported how my /dev/sdb3 partition is currently
mounted.

Cindy :)
-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* runs with duct tape *

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

what is sitting on USB device? Mark Copper <mcopper@straitcity.com> - 2018-10-23 18:10 +0200
  Re: what is sitting on USB device? <tomas@tuxteam.de> - 2018-10-23 18:20 +0200
    Re: what is sitting on USB device? Mark Copper <mcopper@straitcity.com> - 2018-10-23 18:40 +0200
      Re: what is sitting on USB device? Cindy-Sue Causey <butterflybytes@gmail.com> - 2018-10-23 18:50 +0200
  Re: what is sitting on USB device? Curt <curty@free.fr> - 2018-10-23 18:30 +0200
    Re: what is sitting on USB device? Mark Copper <mcopper@straitcity.com> - 2018-10-23 18:50 +0200
      Re: what is sitting on USB device? Curt <curty@free.fr> - 2018-10-23 20:00 +0200
        Re: what is sitting on USB device? Mark Copper <mcopper@straitcity.com> - 2018-10-25 18:20 +0200
  Re: what is sitting on USB device? Patrick Bartek <nemommxiv@gmail.com> - 2018-10-24 17:00 +0200

csiph-web