Flash-based Devices Not Mounted Under Buster

Kernels & Hardware, configuring network, installing services

Re: Flash-based Devices Not Mounted Under Buster

Postby KitchM » 2019-07-03 17:18

"Camera detected. A photo camera was detected."
This is the only message that pops up temporarily on the desktop for the camera when plugged into a USB port and turned on in download mode.

It is a Canon PowerShot SD1000. Other than flash or not, macro or normal, auto or not, I have not had to change anything on it. The only "mode" switch I know of is the slide switch to switch between still photos, movies or download.

Just to reiterate a final time, the camera has always been seen as a storage device on every OS including Debian 9 Stretch. The program I use is Shotwell and it has always downloaded all images or videos with ease. Further, the camera as storage device has always been accessible in any file manager at any time, only requiring mounting to see contents. I do not know how to explain it further.
KitchM
 
Posts: 49
Joined: 2019-06-11 18:11

Re: Flash-based Devices Not Mounted Under Buster

Postby CwF » 2019-07-03 18:11

Yes, the question keeps getting flipped. The question is the action of the xfce desktop with a usb device that is NOT your camera..?!
If this other test device works, and your camera does not, it's likely not an xfce issue. If the other test device does not pop up a mountable icon, on your desktop, then it IS xfce settings.

ALL usb storage gadgets, as in your title, or just your camera???
CwF
 
Posts: 445
Joined: 2018-06-20 15:16

Re: Flash-based Devices Not Mounted Under Buster

Postby KitchM » 2019-07-03 18:58

Okay, I think I see to what you're referring. My Sandisk flash drive stick is noticed, with icon placed on desktop, but it is not mounted (as other SATA drives), even when settings are checked to do so.

I will assume that the USB mouse and keyboard are no problem and do not apply to this issue.

The camera is even a worse case than the Sandisk drive because it doesn't even show up anywhere.

In all this, the title is correct.
KitchM
 
Posts: 49
Joined: 2019-06-11 18:11

Re: Flash-based Devices Not Mounted Under Buster

Postby GarryRicketson » 2019-07-03 19:03

Does the "Shotwell" Icon, or what ever show on the Desktop ? It also might be interesting to see what happens if you re-configure, so the the camera mounts on it's own, and not within Shotwell, if that is possible,
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Flash-based Devices Not Mounted Under Buster

Postby KitchM » 2019-07-03 19:33

Settings>Settings Manager>Removable Drives and Media>Cameras tab>uncheck Import digital photographs when connected.

Plug in camera and turn on.

Nothing happens; the OS does not see it.

Redo steps above without Shotwell command line; camera seen, but no icon.

It is not a Shotwell issue.
KitchM
 
Posts: 49
Joined: 2019-06-11 18:11

Re: Flash-based Devices Not Mounted Under Buster

Postby CwF » 2019-07-03 20:29

Not sure from here...I think it's in the udev or usbid department...not much help, sorry.

I confirmed, an older camera plugged into usb3 did nothing until I powered on the camera.
> showed up on the desktop as a 2.0 GB volume on a stretch hypervisor
>> passed it to a buster vm, as Konika whatever, it showed up on the desktop the same, and a double click opened in spacefm, i could view the pics...works fine...

I *think* usb storage is never mounted until clicked to do so. So a right click shows the mount option, a double click for me does mount & open in the declared FM.
CwF
 
Posts: 445
Joined: 2018-06-20 15:16

Re: Flash-based Devices Not Mounted Under Buster

Postby GarryRicketson » 2019-07-05 14:34

Last night I got the new computer and installed Debian 9.8 netinstall to the 2nd drive, and then installed XFCE4, all usb devices, including camera showed fine on the Desktop.
So then I upgraded, dist upgrade to Debian Buster/testing, and still no problems , the camera and other usb devices all show on the Desktop. None are auto mounted, by my choice, the camera mounts fine, if and when I select the mount option.
I did notice one thing that seemed odd, if I umounted the camera, unplugged it and the re-plugged it, and turned it on, it showed on the Desktop, but with a disk type icon, that normally represents a CD/DVD device.
Also if the camera was not turned on, obviously it was not detected, that is normal with this particular camera. Samsung 5x inexpensive, bought at a walmart.
All though the OP thinks Shotwell is not related to this, that is a factor that is different, and I am not going to install shotwell, I have no reason or desire to.
Nomacs and ImageMagick work fine for viewing,editing the images in the camera, and simple CLI, 'mv', to put selected photos into my Images dir, as desired is all I use for that. So , any way, guess that does not help the OP much, but it does seem to indicate to me, it is not Debian Buster, or XFCE4.
Hope the OP figures it out.
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Flash-based Devices Not Mounted Under Buster

Postby GarryRicketson » 2019-07-07 13:36

Last night I did install "shotwell", seems to work fine, and my camera still shows on the Desktop, ... maybe a re-fresh, update,upgrade, now that Debian Buster is stable and released ?
Image
^Before turning on the camera
Image
After ^ turning on the camera, note it is the 4gb disc icon.
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Flash-based Devices Not Mounted Under Buster

Postby KitchM » 2019-07-11 14:28

I'm a little new to Debian, so I'm not sure about automatic upgrades. Nothing has ever shown up that there is a new version of anything available to install. Evidently Buster testing becomes Buster stable automatically. sudo apt update and sudo apt upgrade finds nothing new. I must assume I am up to date on everything.
KitchM
 
Posts: 49
Joined: 2019-06-11 18:11

Re: Flash-based Devices Not Mounted Under Buster

Postby GarryRicketson » 2019-07-11 15:59

Well, I am not a big fan of "assuming" anything, and don't use any "auto updates, or upgrades", but yes , you are right, no new updates or upgrades have been made available recently, and probably there will be none for a while now, since Buster is now stable .
Later there may be some, that resolve some of the current "bugs", etc,..in which case your "auto Upgrade" should advise you of that.
Maybe you would be interested to read some of the results from these key words, :
Code: Select all
How can I check and see if there are updates or upgrades available for Debian Stable

https://wiki.debian.org/StableUpdates
You can check for new available updates here: https://lists.debian.org/debian-stable-announce/
Or just keep assuming the "auto update" will advise you.
At this time , there is nothing new for July:
https://lists.debian.org/debian-stable-announce/2019/07/threads.html
The above is for packages, below, for security updates:
https://www.debian.org/security/
The only one I see is involving Dosbox, if you are using that, you should update.
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Flash-based Devices Not Mounted Under Buster

Postby KitchM » 2019-07-11 17:12

The bottom line is that we can rule out that the OS needs upgrading.

So what does that leave us?
KitchM
 
Posts: 49
Joined: 2019-06-11 18:11

Re: Flash-based Devices Not Mounted Under Buster

Postby CwF » 2019-07-11 19:53

I'm unclear - does shotwell browse the camera storage ok?

I have duplicated the issue. The handshake for usb storage is not always completing. In my case the screen on the camera shows 'usb initializing...' Never goes out. My host OS sees it with lsusb, passed to the guest, it sees it, and back. Neither desktop shows the storage icon on the desktop during this episode. As of yet I can't determine who's dropping the ball, camera or the os.

Other than my shotwell question, the next narrowing is to try consecutively if you can on two OS's, Buster and any you say is working. If it consistently doesn't work on Buster and does on the other choice with back to back test, yes-no-yes-no-etc, then you will narrow it down to camera or os.

In my case, subsequent attempts did work, so I have no way to compare a CONSISTENTLY broken condition. As soon as the camera's display message disappears the desktop icon appears. I have to suspect the camera.
CwF
 
Posts: 445
Joined: 2018-06-20 15:16

Re: Flash-based Devices Not Mounted Under Buster

Postby KitchM » 2019-07-11 23:04

I have had your experience in the past, where the desktop icon appears after Shotwell is done with the device. But that no longer appears. Simply nothing happens to create the desktop icon. In this, it is very consistent.
KitchM
 
Posts: 49
Joined: 2019-06-11 18:11

Re: Flash-based Devices Not Mounted Under Buster

Postby KitchM » 2019-07-11 23:31

More information from dmesg:
00:15:00.0/usb1/1-2/1-2.4/1-2.4.2/1-2.4.2:1.1/0003:1EA7:0066.002C/input/input71
[34614.105266] hid-generic 0003:1EA7:0066.002C: input,hiddev0,hidraw1: USB HID v1.10 Mouse [2.4GHz keyboard and mouse] on usb-0000:15:00.0-2.4.2/input1
[35096.648226] usb 1-2.1: new high-speed USB device number 46 using xhci_hcd
[35096.885095] usb 1-2.1: New USB device found, idVendor=04a9, idProduct=314f, bcdDevice= 0.02
[35096.885097] usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[35096.885098] usb 1-2.1: Product: Canon Digital Camera
[35096.885099] usb 1-2.1: Manufacturer: Canon Inc.
[35096.885099] usb 1-2.1: SerialNumber: 69FC80F9C7754059874B0EC144CF168A
[35395.869722] usb 1-2.1: USB disconnect, device number 46
[36190.923429] usb 1-2.1: new high-speed USB device number 47 using xhci_hcd
[36191.156136] usb 1-2.1: New USB device found, idVendor=04a9, idProduct=314f, bcdDevice= 0.02
[36191.156137] usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[36191.156138] usb 1-2.1: Product: Canon Digital Camera
[36191.156139] usb 1-2.1: Manufacturer: Canon Inc.
[36191.156140] usb 1-2.1: SerialNumber: 69FC80F9C7754059874B0EC144CF168A
[36356.499390] usb 1-2.1: USB disconnect, device number 47
[36360.416788] usb 1-2.1: new high-speed USB device number 48 using xhci_hcd
[36360.648917] usb 1-2.1: New USB device found, idVendor=04a9, idProduct=314f, bcdDevice= 0.02
[36360.648919] usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[36360.648920] usb 1-2.1: Product: Canon Digital Camera
[36360.648921] usb 1-2.1: Manufacturer: Canon Inc.
[36360.648921] usb 1-2.1: SerialNumber: 69FC80F9C7754059874B0EC144CF168A

So, it is seen by the OS.
KitchM
 
Posts: 49
Joined: 2019-06-11 18:11

Re: Flash-based Devices Not Mounted Under Buster

Postby CwF » 2019-07-12 00:51

more direct
Code: Select all
lsusb -d 04a9:314f

Successful dmesg looks like:
Code: Select all
4643104.487520] usb 1-2: Manufacturer: KONICA MINOLTA
[4643104.489571] usb-storage 1-2:1.0: USB Mass Storage device detected
[4643104.489826] scsi host8: usb-storage 1-2:1.0
[4643105.518407] scsi 8:0:0:0: Direct-Access     KM       DiMAGE Z3        1.00 PQ: 0 ANSI: 0 CCS
[4643105.518986] sd 8:0:0:0: Attached scsi generic sg6 type 0
[4643105.520796] sd 8:0:0:0: [sdg] 3841821 512-byte logical blocks: (1.97 GB/1.83 GiB)

Failure looks like:
[4641537.069850] sdg: sdg1
[4641537.069854] sdg: p1 size 3841821 extends beyond EOD, enabling native capacity
[4641537.094313] sdg: sdg1
[4641537.094317] sdg: p1 size 3841821 extends beyond EOD, truncated
[4641537.098460] sd 8:0:0:0: [sdg] Attached SCSI removable disk
[4641538.682168] usb 1-2: reset full-speed USB device number 17 using xhci_hcd
[4641572.414467] usb 1-2: USB disconnect, device number 17
[4641572.428442] sd 8:0:0:0: [sdg] tag#0 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[4641572.428447] sd 8:0:0:0: [sdg] tag#0 CDB: Read(10) 28 00 00 3a 9c 80 00 00 48 00

So in my case, that the hang up, a read error, bad format, whatever. So look for these types of errors. It might be worthwhile to reformat the storage of the camera if there is the option, if you see such errors.. So thank you for finding my problem I didn't know I had! Otherwise, I'm faily confident the issue is buggy firmware on the camera. A different driver could be more tolerant of timings or resets maybe, those quirks need real test on the real device...so that's you. keep digging.

Back to earlier comments expanded, the usb storage enumeration fails so no desktop icon. Shotwell is evidently successfully resetting the device.
CwF
 
Posts: 445
Joined: 2018-06-20 15:16

Previous

Return to System configuration

Who is online

Users browsing this forum: No registered users and 18 guests

fashionable