Bug 355024

Summary: No device appears after after plug-in Nikon camera to USB
Product: [Frameworks and Libraries] frameworks-solid Reporter: wiewiur
Component: generalAssignee: Lukáš Tinkl <lukas>
Status: RESOLVED WORKSFORME    
Severity: major CC: frank78ac, grahamperrin, jfharrison, kdelibs-bugs, postix, stephan.kueffner, zlisiecki
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: camera info from YaST Hardware probe

Description wiewiur 2015-11-08 10:28:29 UTC
After pluging-in camera there is no notification, and camera isn't available from Dolphin. User can't access to files on camera.
lsusb:
Bus 001 Device 011: ID 04b0:035c Nikon Corp. 

dmesg:
3056.995426] usb 1-1: new high-speed USB device number 11 using xhci_hcd
[13057.123992] usb 1-1: New USB device found, idVendor=04b0, idProduct=035c
[13057.123995] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=4
[13057.123996] usb 1-1: Product: NIKON DSC COOLPIX S3700
[13057.123997] usb 1-1: Manufacturer: NIKON



Reproducible: Always

Steps to Reproduce:
1. Turn on computer
2. Plug in USB camera
3. Wait

Actual Results:  
Nothing

Expected Results:  
Camera should be available from sidebar in nautilus.  Notofication should apperar.

lsusb:
Bus 001 Device 011: ID 04b0:035c Nikon Corp. 

dmesg:
3056.995426] usb 1-1: new high-speed USB device number 11 using xhci_hcd
[13057.123992] usb 1-1: New USB device found, idVendor=04b0, idProduct=035c
[13057.123995] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=4
[13057.123996] usb 1-1: Product: NIKON DSC COOLPIX S3700
[13057.123997] usb 1-1: Manufacturer: NIKON


Problem on Kubuntu 15.10
Works on Ubuntu 15.10 so it might be KDE issue.
Comment 1 Frank Reininghaus 2015-11-16 22:01:52 UTC
Thanks for the bug report. If there is no notification about the device, then the solid framework (which provides access to hardware for all KDE software) did probably not detect it correctly -> reassigning.
Comment 2 Jon 2015-11-18 01:15:27 UTC
Created attachment 95579 [details]
camera info from YaST Hardware probe
Comment 3 Jon 2015-11-18 01:17:50 UTC
Adding my experience, openSuse Leap42.1, KDE 5.4.2
The notifier detects my camera but only avail option is to import to Gwenview.
In dolphin camera:/ gives Invalid protocol
In Konqueror camera:/ allows me to browse the files in a manner that dolphin should allow.
I had no problem with this camera/computer running openSuse v13.1 KDE.
In my hardware devices the 'digital camera' is not present, it was present in v13.1.

From journalctl:
Nov 16 17:01:05 linux-shpr kernel: usb 1-1.1: New USB device found, idVendor=04b0, idProduct=0329
Nov 16 17:01:05 linux-shpr kernel: usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov 16 17:01:05 linux-shpr kernel: usb 1-1.1: Product: NIKON DSC COOLPIX S4300-PTP
Nov 16 17:01:05 linux-shpr kernel: usb 1-1.1: Manufacturer: NIKON
Nov 16 17:01:05 linux-shpr kernel: usb 1-1.1: SerialNumber: 000030015973
Nov 16 17:01:05 linux-shpr mtp-probe[15248]: checking bus 1, device 8: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1"
Nov 16 17:01:05 linux-shpr mtp-probe[15248]: bus: 1, device: 8 was not an MTP device
Nov 16 17:01:05 linux-shpr org.gtk.Private.GPhoto2VolumeMonitor[1766]: (process:2237): GVFS-GPhoto2-WARNING **: device (null) has no BUSNUM property, ignoring


From solid-hardware list details
 udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1'
 parent = '/org/kde/solid/udev'  (string)
 vendor = 'NIKON'  (string)
 product = 'NIKON DSC COOLPIX S4300-PTP'  (string)
 description = 'Camera'  (string)
 Block.major = 189  (0xbd)  (int)
 Block.minor = 8  (0x8)  (int)
 Block.device = '/dev/bus/usb/001/009'  (string)
 Camera.supportedProtocols = {'ptp'}  (string list)
 Camera.supportedDrivers = {'gphoto'}  (string list)

lsusb
Bus 001 Device 011: ID 04b0:0329 Nikon Corp.
Comment 4 Stephan Küffner 2015-11-19 10:13:05 UTC
I have not a Nikon Camera, but a Canon IXUS with the same problem.
KDE 5.4.3 with QT Version 5.4.2

In dolphin camera:/ gives Invalid protocol
No Notification after plugged in.

Output from dmesg
[ 6228.241866] usb 4-1.1: new high-speed USB device number 13 using ehci-pci
[ 6228.345157] usb 4-1.1: New USB device found, idVendor=04a9, idProduct=314f
[ 6228.345163] usb 4-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6228.345167] usb 4-1.1: Product: Canon Digital Camera
[ 6228.345170] usb 4-1.1: Manufacturer: Canon Inc.
[ 6228.345173] usb 4-1.1: SerialNumber: C5F76D8A96C34ACA8E16550AD3F2F29B

From journalctl:
Nov 19 11:04:08 Neptun kernel: usb 4-1.1: new high-speed USB device number 13 using ehci-pci
Nov 19 11:04:08 Neptun kernel: usb 4-1.1: New USB device found, idVendor=04a9, idProduct=314f
Nov 19 11:04:08 Neptun kernel: usb 4-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov 19 11:04:08 Neptun kernel: usb 4-1.1: Product: Canon Digital Camera
Nov 19 11:04:08 Neptun kernel: usb 4-1.1: Manufacturer: Canon Inc.
Nov 19 11:04:08 Neptun kernel: usb 4-1.1: SerialNumber: C5F76D8A96C34ACA8E16550AD3F2F29B
Nov 19 11:04:08 Neptun mtp-probe[19530]: checking bus 4, device 13: "/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.1"
Nov 19 11:04:08 Neptun mtp-probe[19530]: bus: 4, device: 13 was not an MTP device
Nov 19 11:04:08 Neptun colord[811]: (colord:811): Cd-WARNING **: CdMain: failed to emit DeviceAdded: failed to register object: An object is already exported for the interface org.freedesktop.ColorManager.Device at /org/freedesktop/ColorManager/devices

lsusb:
Bus 004 Device 014: ID 04a9:314f Canon, Inc. PowerShot SD1000 DIGITAL ELPH / DIGITAL IXUS 70 / IXY DIGITAL 10
Comment 5 Zbigniew Lisiecki 2016-06-16 04:58:18 UTC
Hi, my Nikon 800 cannot be mounted either even if usbview is showing correct USB connection. For me i seems possible the the cause is a directory entry /run/users/[your user id]/gvfs:

# ls -l 
ls: no access
d????????? ? ? ? ?           ? gvfs

which is created as I understand after user login. This entry is corrupting the file system in this place. It is a catalog, has broken permitions and it cannot be removed and moving it to another place doesn't help.
Comment 6 Graham Perrin 2021-12-30 12:41:20 UTC
Please: with the most recent software, is this still an issue?
Comment 7 Jon 2021-12-30 19:07:30 UTC
(In reply to Graham Perrin from comment #6)
> Please: with the most recent software, is this still an issue?

re: comment #3, 2015-11-18 01:17:50 UTC

Works fine here.

openSuse Leap 15.3, kernel 5.3.18-59.37
KDE Plasma 5.18.6, KDE Frameworks 5.76.0
Comment 8 postix 2022-03-03 15:40:51 UTC
 wiewiur@gmail.com, do you still see no notification with the latest frameworks? 

(In reply to Jon from comment #7)
> Works fine here.
I guess this can otherwise be closed then or marked as a dup of #206120
Comment 9 Jon 2022-03-03 20:54:40 UTC
(In reply to postix from comment #8)
>  wiewiur@gmail.com, do you still see no notification with the latest
> frameworks? 
> 
> (In reply to Jon from comment #7)
> > Works fine here.
> I guess this can otherwise be closed then or marked as a dup of #206120

The device notifier now offers me 3 choicesfor my camera:
Download w/ digicam
view w/ FileManager
Download w/ Gwenview

Currently I am using kernel 5.3.18-150300.59.49-default #1 SMP Mon Feb 7 14:40:20 UTC 2022 (77d9d02) x86_64 x86_64 x86_64 GNU/Linux
Yes, please close this ticket
Thanks for fixing this issue.
Comment 10 Bug Janitor Service 2022-03-18 04:34:59 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Bug Janitor Service 2022-04-02 04:34:56 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!