Bugzilla – Bug 181845
USB Camera does not connect
Last modified: 2006-09-07 17:44:19 UTC
In 9.3 I could connect my digital camera (Lumix) via USB and grep the pictures from the directory. In 10.1 not. (Konqueror fails also mounting it. And connecting via the shell also does not work, because the mount points are confusing.)
Your initial report is nearly useless - please add more details: - what do you do _exactly_? Do you see any error messages? - what does /var/log/messages show when connecting the camera? - was the camera automounted in 9.3 (to /media/....) or did you use a tool like digikam? BTW: This is not a blocker - see also the severity descriptions...
Sorry for the lack of details. I just have to get used to reporting bugs. 1. I connect the camera (Lumix DMC-FZ5). 2. In the Storage Media section in Konqueror gets a USB Mass Storage Interface 3. When clicking on it. I get "Error Konqueror" in the title bar of a newly opened window. The text reads "Could not read file /." 4. In /media there is no camera sub-directory. (In 9.3 the camera got auto-mounted into /media, so I access the camera) I attach the log. Thanks Jun 6 21:05:03 makalu kernel: usb 1-2: new full speed USB device using uhci_hcd and address 2 Jun 6 21:05:03 makalu kernel: usb 1-2: new device found, idVendor=04da, idProduct=2372 Jun 6 21:05:03 makalu kernel: usb 1-2: new device strings: Mfr=1, Product=2, SerialNumber=0 Jun 6 21:05:03 makalu kernel: usb 1-2: Product: DMC-FZ5 Jun 6 21:05:03 makalu kernel: usb 1-2: Manufacturer: Panasonic Jun 6 21:05:03 makalu kernel: usb 1-2: configuration #1 chosen from 1 choice Jun 6 21:05:03 makalu kernel: SCSI subsystem initialized Jun 6 21:05:03 makalu kernel: Initializing USB Mass Storage driver... Jun 6 21:05:03 makalu kernel: scsi0 : SCSI emulation for USB Mass Storage devices Jun 6 21:05:03 makalu kernel: usb-storage: device found at 2 Jun 6 21:05:03 makalu kernel: usb-storage: waiting for device to settle before scanning Jun 6 21:05:03 makalu kernel: usbcore: registered new driver usb-storage Jun 6 21:05:03 makalu kernel: USB Mass Storage support registered. Jun 6 21:05:08 makalu kernel: Vendor: MATSHITA Model: DMC-FZ5 Rev: 0100 Jun 6 21:05:08 makalu kernel: Type: Direct-Access ANSI SCSI revision: 02 Jun 6 21:05:08 makalu kernel: usb-storage: device scan complete Jun 6 21:05:08 makalu kernel: Driver 'sd' needs updating - please use bus_type methods Jun 6 21:05:08 makalu kernel: sd 0:0:0:0: Attached scsi removable disk sda Jun 6 21:05:08 makalu kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
(In reply to comment #2) > Sorry for the lack of details. I just have to get used to reporting bugs. No problem. Today's lesson: reset the bug to ASSIGNED after providing the needed information ;-)) (I don't do it now because I have another question.) Hmm, I just wonder a bit about the log message - was there anything after the last line you listed? I would expect a line with "sda1" or alike... If there weren't more messages, can you try with another storage medium in the camera and/or with a cardreader? (given you have one, of course)
Here is the log-file for the connection of the camera and a USB stick (which works). I hope this will be enough information. WHEN I CONNECT THE CAMERA, THE FOLLOWING MESSAGES APPEAR: Jun 13 23:03:30 makalu kernel: usb 1-1: new full speed USB device using uhci_hcd and address 5 Jun 13 23:03:30 makalu kernel: usb 1-1: new device found, idVendor=04da, idProduct=2372 Jun 13 23:03:30 makalu kernel: usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=0 Jun 13 23:03:30 makalu kernel: usb 1-1: Product: DMC-FZ5 Jun 13 23:03:30 makalu kernel: usb 1-1: Manufacturer: Panasonic Jun 13 23:03:30 makalu kernel: usb 1-1: configuration #1 chosen from 1 choice Jun 13 23:03:30 makalu kernel: scsi2 : SCSI emulation for USB Mass Storage devices Jun 13 23:03:30 makalu kernel: usb-storage: device found at 5 Jun 13 23:03:30 makalu kernel: usb-storage: waiting for device to settle before scanning Jun 13 23:03:35 makalu kernel: Vendor: MATSHITA Model: DMC-FZ5 Rev: 0100 Jun 13 23:03:35 makalu kernel: Type: Direct-Access ANSI SCSI revision: 02 Jun 13 23:03:35 makalu kernel: SCSI device sda: 990864 512-byte hdwr sectors (507 MB) Jun 13 23:03:35 makalu kernel: sda: Write Protect is off Jun 13 23:03:35 makalu kernel: sda: Mode Sense: 04 00 00 00 Jun 13 23:03:35 makalu kernel: sda: assuming drive cache: write through Jun 13 23:03:35 makalu kernel: SCSI device sda: 990864 512-byte hdwr sectors (507 MB) Jun 13 23:03:35 makalu kernel: sda: Write Protect is off Jun 13 23:03:35 makalu kernel: sda: Mode Sense: 04 00 00 00 Jun 13 23:03:35 makalu kernel: sda: assuming drive cache: write through Jun 13 23:03:35 makalu kernel: sda: sda1 Jun 13 23:03:35 makalu kernel: sd 2:0:0:0: Attached scsi removable disk sda Jun 13 23:03:35 makalu kernel: sd 2:0:0:0: Attached scsi generic sg0 type 0 Jun 13 23:03:35 makalu kernel: usb-storage: device scan complete THEN I LAUNCH KONQUEROR AND CLICK ON THE CAMERA SYMBOL IN THE STORAGE MEDIA SECTION: Jun 13 23:03:38 makalu kio_kamera [kdeinit] camera /tmp/ksocket-steffen/klauncherOpRczb.slave-socket /tmp/ksocket-steffen/kio_mediadRBU6b.slave-socket: resm gr: communication failure: Broken pipe ONCE I DISCONNECT THE CAMERA I GET: Jun 13 23:04:30 makalu kernel: usb 1-1: USB disconnect, address 5 NOW, FOR THE USB STICK. WHICH WORKS JUST FINE: Jun 13 23:07:58 makalu kernel: hub 1-0:1.0: port 1 disabled by hub (EMI?), re-enabling... Jun 13 23:07:58 makalu kernel: usb 1-1: USB disconnect, address 6 Jun 13 23:07:59 makalu kernel: usb 1-1: new full speed USB device using uhci_hcd and address 8 Jun 13 23:07:59 makalu kernel: usb 1-1: device descriptor read/64, error -71 Jun 13 23:07:59 makalu kernel: usb 1-1: device descriptor read/64, error -71 Jun 13 23:07:59 makalu kernel: usb 1-1: new full speed USB device using uhci_hcd and address 10 Jun 13 23:08:00 makalu kernel: usb 1-1: new device found, idVendor=1370, idProduct=2168 Jun 13 23:08:00 makalu kernel: usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=3 Jun 13 23:08:00 makalu kernel: usb 1-1: Product: Twist Jun 13 23:08:00 makalu kernel: usb 1-1: Manufacturer: SWISSBIT Jun 13 23:08:00 makalu kernel: usb 1-1: SerialNumber: 10002022B3000299 Jun 13 23:08:00 makalu kernel: usb 1-1: configuration #1 chosen from 1 choice Jun 13 23:08:00 makalu kernel: scsi4 : SCSI emulation for USB Mass Storage devices Jun 13 23:08:00 makalu kernel: usb-storage: device found at 10 Jun 13 23:08:00 makalu kernel: usb-storage: waiting for device to settle before scanning Jun 13 23:08:00 makalu kernel: usb 1-1: USB disconnect, address 10 Jun 13 23:08:03 makalu kernel: usb 1-1: new full speed USB device using uhci_hcd and address 11 Jun 13 23:08:03 makalu kernel: usb 1-1: device descriptor read/64, error -71 Jun 13 23:08:03 makalu kernel: usb 1-1: new device found, idVendor=1370, idProduct=2168 Jun 13 23:08:03 makalu kernel: usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=3 Jun 13 23:08:03 makalu kernel: usb 1-1: Product: Twist Jun 13 23:08:03 makalu kernel: usb 1-1: Manufacturer: SWISSBIT Jun 13 23:08:03 makalu kernel: usb 1-1: SerialNumber: 10002022B3000299 Jun 13 23:08:03 makalu kernel: usb 1-1: configuration #1 chosen from 1 choice Jun 13 23:08:03 makalu kernel: scsi5 : SCSI emulation for USB Mass Storage devices Jun 13 23:08:03 makalu kernel: usb-storage: device found at 11 Jun 13 23:08:03 makalu kernel: usb-storage: waiting for device to settle before scanning Jun 13 23:08:08 makalu kernel: Vendor: SWISSBIT Model: Twist Rev: 2.00 Jun 13 23:08:08 makalu kernel: Type: Direct-Access ANSI SCSI revision: 02 Jun 13 23:08:09 makalu kernel: ready Jun 13 23:08:09 makalu kernel: SCSI device sda: 254720 512-byte hdwr sectors (130 MB) Jun 13 23:08:09 makalu kernel: sda: Write Protect is off Jun 13 23:08:09 makalu kernel: sda: Mode Sense: 03 00 00 00 Jun 13 23:08:09 makalu kernel: sda: assuming drive cache: write through Jun 13 23:08:09 makalu kernel: SCSI device sda: 254720 512-byte hdwr sectors (130 MB) Jun 13 23:08:09 makalu kernel: sda: Write Protect is off Jun 13 23:08:09 makalu kernel: sda: Mode Sense: 03 00 00 00 Jun 13 23:08:09 makalu kernel: sda: assuming drive cache: write through Jun 13 23:08:09 makalu kernel: sda: sda1 Jun 13 23:08:09 makalu kernel: sd 5:0:0:0: Attached scsi removable disk sda AND DISCONNECTING THE USB STICK: Jun 13 23:09:22 makalu kernel: usb 1-1: USB disconnect, address 11 Jun 13 23:09:23 makalu kernel: usb 1-1: new full speed USB device using uhci_hcd and address 12 Jun 13 23:09:23 makalu kernel: usb 1-1: device descriptor read/64, error -71 Jun 13 23:09:23 makalu kernel: usb 1-1: device descriptor read/64, error -71 Jun 13 23:09:23 makalu kernel: usb 1-1: new full speed USB device using uhci_hcd and address 13 Jun 13 23:09:23 makalu kernel: usb 1-1: new device found, idVendor=1370, idProduct=2168 Jun 13 23:09:23 makalu kernel: usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=3 Jun 13 23:09:23 makalu kernel: usb 1-1: Product: Twist Jun 13 23:09:23 makalu kernel: usb 1-1: Manufacturer: SWISSBIT Jun 13 23:09:23 makalu kernel: usb 1-1: SerialNumber: 10002022B3000299 Jun 13 23:09:23 makalu kernel: usb 1-1: configuration #1 chosen from 1 choice Jun 13 23:09:23 makalu kernel: scsi6 : SCSI emulation for USB Mass Storage devices Jun 13 23:09:23 makalu kernel: usb-storage: device found at 13 Jun 13 23:09:23 makalu kernel: usb-storage: waiting for device to settle before scanning Jun 13 23:09:24 makalu kernel: usb 1-1: USB disconnect, address 13
I tested the camera under windows, dual boot, and there it works just fine. Also the memory card works fine in the card-reader of a friend.
(In reply to comment #3) > Today's lesson: reset the bug to ASSIGNED after providing the needed > information ;-)) ;-))
what happens if you plug the DMC-FZ5 in and try to mount it manually? su - mount /dev/sda1 /mnt find /mnt -type f -print0 | xargs -0 cat > /dev/null umount /mnt do you get any IO errors? If so, attach the full 'dmesg' output.
Please see my comments to bug 201648 It seems to be an overall problem with removable USB devices. Looks like the automounting functionality has been moved from hotplug or hal up to KDE/Gnome, which is totally wrong and brakes the assumption, that a Unix has to be fully functional without any window manager running. In the scenario you're suggesting above the camera or other removable USB device will become functional right away. Also, I had raised the bug's priority up to 3, because this is really breakes a backward compatibility with previous releases of Suse.
The question was wether or not the kernel handles the device correctly, not about automounting.
I did not test it for some time. After I did, it worked perfectly. So I guess some auto-update solved the issue. Thanks