I'm looking for any intelligent commentary on this - it may be a little off topic, but I'm wondering if anyone knows about this. This isn't short, so bear with me.
Yesterday, I tried to download a video off of one of my digital still cameras that also takes videos (Canon Powershot SX10 iS) on my CentOS x86_64 5.3 system. When I plugged the camera into a USB port and turned it on, it showed no images available, AND no device showed up mounted for it. Now, this is not entirely unusual.
I know there's a .mov on the camera, two actually, so I tried putting the SD card in a card reader and plugged that in. Nothing. No "disk" was mounted, which is what normally happens when I do that. I ran lsusb, and got this:
[mhr@mhrichter ~]$ lsusb Bus 001 Device 072: ID 0aec:3260 Neodio Technologies Corp. 7-in-1 Card Reader Bus 001 Device 001: ID 0000:0000 Bus 002 Device 009: ID 03f0:0205 Hewlett-Packard ScanJet 3300c Bus 002 Device 001: ID 0000:0000 Bus 002 Device 003: ID 04f9:0033 Brother Industries, Ltd
That looks normal, but no device is mounted. I tried doing a gnome-mount on /dev/sdd and /dev/sde and both came up with a "no data" error. I tried mounting /dev/sdd (which is where the device should be) as a vfat, and that hung.
I got a similar response when I plugged in the camera with the SD card in it and it shows up in lsusb:
[mhr@mhrichter ~]$ lsusb Bus 001 Device 073: ID 04a9:318d Canon, Inc. Bus 001 Device 001: ID 0000:0000 Bus 002 Device 009: ID 03f0:0205 Hewlett-Packard ScanJet 3300c Bus 002 Device 001: ID 0000:0000 Bus 002 Device 003: ID 04f9:0033 Brother Industries, Ltd
I even took a photo, just so there would be a recognizable image on the camera for the Image Importer, and that worked, but the two .mov files were still not showing up anywhere.
Then I figured, well, maybe if CentOS doesn't like this, my Windows XP guest might be able to do something with it. (Hahahahaha! Not funny....)
I brought up the Win guest, attached the USB "drive" for the camera and Windows installed the device just fine. I opened an Explorer window and the camera was there, with the photo and two .mov files in its folder, so I went in and clicked the photo and that was it. The Windows guest crashed, and when it came back up, it booted so slowly I wasn't sure it was going to boot at all, and the network connections were gone. I tried a number of things (restart Samba, reboot Windows in safe mode, then back to normal, restart Samba with Windows running, on and on). Nothing worked. All the TCP/IP settings were the same, and the network "card" showed one connection that was active, but no IP address, no path to host, pings all failed, etc.
This morning, I figured that, since the guest network seemed to have been blown away completely, I'd reconfigure it and try again.
Voila! All my drives are now sharing properly and the NAT network between host and guest works just fine.
I am wondering if anyone could hazard a guess w.r.t. these issues:
1) CentOS not seeing either device (camera or SD-in-reader) as mountable
2) How to mount the SD card manually given that it does not appear to be a vfat (which is how most of these have shown up before IIRC).
3) VMWare losing its network configuration (or whatever it lost) that smashed its network connection to the host
4) (most important) Any ideas on how to get at the video files on the SD card (if I can mount it as the right kind of fs, that would be enough)
Thanks.
mhr
On Wed, 20 May 2009 11:16:44 -0700 MHR wrote:
Yesterday, I tried to download a video off of one of my digital still cameras that also takes videos (Canon Powershot SX10 iS) on my CentOS x86_64 5.3 system. When I plugged the camera into a USB port and turned it on, it showed no images available, AND no device showed up mounted for it. Now, this is not entirely unusual.
What comes up in /var/log/messages when you plug the camera into the computer?
On Wed, May 20, 2009 at 11:28 AM, Frank Cox theatre@sasktel.net wrote:
On Wed, 20 May 2009 11:16:44 -0700 MHR wrote:
Yesterday, I tried to download a video off of one of my digital still cameras that also takes videos (Canon Powershot SX10 iS) on my CentOS x86_64 5.3 system. When I plugged the camera into a USB port and turned it on, it showed no images available, AND no device showed up mounted for it. Now, this is not entirely unusual.
What comes up in /var/log/messages when you plug the camera into the computer?
I discussed this Frank briefly in private emails, but no resolution. /var/log/messages contains this:
May 20 20:40:18 mhrichter kernel: usb 1-5: new high speed USB device using ehci_hcd and address 76 May 20 20:40:18 mhrichter kernel: usb 1-5: configuration #1 chosen from 1 choice
However, I tried this again today, using my card reader, and here's what shows up in /var/log/messages:
May 21 15:09:48 mhrichter kernel: usb 1-10: new high speed USB device using ehci_hcd and address 84 May 21 15:09:48 mhrichter kernel: usb 1-10: configuration #1 chosen from 1 choice May 21 15:09:48 mhrichter kernel: scsi52 : SCSI emulation for USB Mass Storage devices May 21 15:09:53 mhrichter kernel: Vendor: Generic Model: USB Storage-SMC Rev: I03A May 21 15:09:53 mhrichter kernel: Type: Direct-Access ANSI SCSI revision: 00 May 21 15:09:53 mhrichter kernel: sd 52:0:0:0: Attached scsi removable disk sdd May 21 15:09:53 mhrichter kernel: sd 52:0:0:0: Attached scsi generic sg3 type 0 May 21 15:09:53 mhrichter kernel: Vendor: Generic Model: USB Storage-CFC Rev: I03A May 21 15:09:53 mhrichter kernel: Type: Direct-Access ANSI SCSI revision: 00 May 21 15:09:53 mhrichter kernel: sd 52:0:0:1: Attached scsi removable disk sde May 21 15:09:53 mhrichter kernel: sd 52:0:0:1: Attached scsi generic sg4 type 0 May 21 15:09:53 mhrichter kernel: Vendor: Generic Model: USB Storage-MMC Rev: I03A May 21 15:09:53 mhrichter kernel: Type: Direct-Access ANSI SCSI revision: 00
This time I tried to mount /dev/sde ('cuz it's a SD or MMC card, not a CF or SM card), and it still hung.
Still no luck....
mhr
On Thu, May 21, 2009 at 3:20 PM, MHR mhullrich@gmail.com wrote:
On Wed, May 20, 2009 at 11:28 AM, Frank Cox theatre@sasktel.net wrote:
On Wed, 20 May 2009 11:16:44 -0700 MHR wrote:
Yesterday, I tried to download a video off of one of my digital still cameras that also takes videos (Canon Powershot SX10 iS) on my CentOS x86_64 5.3 system. When I plugged the camera into a USB port and turned it on, it showed no images available, AND no device showed up mounted for it. Now, this is not entirely unusual.
What comes up in /var/log/messages when you plug the camera into the computer?
I discussed this Frank briefly in private emails, but no resolution. /var/log/messages contains this:
May 20 20:40:18 mhrichter kernel: usb 1-5: new high speed USB device using ehci_hcd and address 76 May 20 20:40:18 mhrichter kernel: usb 1-5: configuration #1 chosen from 1 choice
However, I tried this again today, using my card reader, and here's what shows up in /var/log/messages:
May 21 15:09:48 mhrichter kernel: usb 1-10: new high speed USB device using ehci_hcd and address 84 May 21 15:09:48 mhrichter kernel: usb 1-10: configuration #1 chosen from 1 choice May 21 15:09:48 mhrichter kernel: scsi52 : SCSI emulation for USB Mass Storage devices May 21 15:09:53 mhrichter kernel: Vendor: Generic Model: USB Storage-SMC Rev: I03A May 21 15:09:53 mhrichter kernel: Type: Direct-Access ANSI SCSI revision: 00 May 21 15:09:53 mhrichter kernel: sd 52:0:0:0: Attached scsi removable disk sdd May 21 15:09:53 mhrichter kernel: sd 52:0:0:0: Attached scsi generic sg3 type 0 May 21 15:09:53 mhrichter kernel: Vendor: Generic Model: USB Storage-CFC Rev: I03A May 21 15:09:53 mhrichter kernel: Type: Direct-Access ANSI SCSI revision: 00 May 21 15:09:53 mhrichter kernel: sd 52:0:0:1: Attached scsi removable disk sde May 21 15:09:53 mhrichter kernel: sd 52:0:0:1: Attached scsi generic sg4 type 0 May 21 15:09:53 mhrichter kernel: Vendor: Generic Model: USB Storage-MMC Rev: I03A May 21 15:09:53 mhrichter kernel: Type: Direct-Access ANSI SCSI revision: 00
This time I tried to mount /dev/sde ('cuz it's a SD or MMC card, not a CF or SM card), and it still hung.
Well, now it's come back, but there's nothing new mounted.
Still no luck....
mhr
On Wed, May 20, 2009 at 1:16 PM, MHR mhullrich@gmail.com wrote: <snip>
Yesterday, I tried to download a video off of one of my digital still cameras that also takes videos (Canon Powershot SX10 iS) on my CentOS x86_64 5.3 system. When I plugged the camera into a USB port and turned it on, it showed no images available, AND no device showed up mounted for it. Now, this is not entirely unusual.
I know there's a .mov on the camera, two actually,
<snip>
We have a Canon digital still camera. I think we did this once, one year ago, but am not sure if it was in M$ Windows or Linux. I am getting ready to leave, but hopefully we can try this, tomorrow. Will give you feedback, ASAP.
On Wed, May 20, 2009 at 1:16 PM, MHR mhullrich@gmail.com wrote:
I'm looking for any intelligent commentary on this - it may be a little off topic, but I'm wondering if anyone knows about this. This isn't short, so bear with me.
Yesterday, I tried to download a video off of one of my digital still cameras that also takes videos (Canon Powershot SX10 iS) on my CentOS x86_64 5.3 system. When I plugged the camera into a USB port and turned it on, it showed no images available, AND no device showed up
<snip> Our digital still camera is a very low end Canon PowerShot A460. Your camera may employ different technology, so YMMV. A few minutes ago, I made 3 test videos, each a few seconds in length. I am using CentOS 5.3 (32 bit, fully updated) and the GNOME Desktop. After I connected the camera to a USB port and I turned on the camera, it was detected, immediately, by the same Ap that imports still photos from the camera. I imported the 3 .avi files and was able to play each of them, perfectly, using the Totem Movie Player. Your camera is producing video files with a different file extension? Our Samsung DVD Camcorder produces .vob files and in order to upload them to YouTube, I had to rename them to .jpg or .jpeg or something. But if you cannot download the video files from your digital still camera to your PC, you do not have the opportunity to convert them to another file format or rename them to a different file extension. GL
on 5-22-2009 7:22 AM Lanny Marcus spake the following:
On Wed, May 20, 2009 at 1:16 PM, MHR mhullrich-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:
I'm looking for any intelligent commentary on this - it may be a little off topic, but I'm wondering if anyone knows about this. �This isn't short, so bear with me.
Yesterday, I tried to download a video off of one of my digital still cameras that also takes videos (Canon Powershot SX10 iS) on my CentOS x86_64 5.3 system. �When I plugged the camera into a USB port and turned it on, it showed no images available, AND no device showed up
<snip> Our digital still camera is a very low end Canon PowerShot A460. Your camera may employ different technology, so YMMV. A few minutes ago, I made 3 test videos, each a few seconds in length. I am using CentOS 5.3 (32 bit, fully updated) and the GNOME Desktop. After I connected the camera to a USB port and I turned on the camera, it was detected, immediately, by the same Ap that imports still photos from the camera. I imported the 3 .avi files and was able to play each of them, perfectly, using the Totem Movie Player. Your camera is producing video files with a different file extension? Our Samsung DVD Camcorder produces .vob files and in order to upload them to YouTube, I had to rename them to .jpg or .jpeg or something. But if you cannot download the video files from your digital still camera to your PC, you do not have the opportunity to convert them to another file format or rename them to a different file extension. GL
Renaming a file does not change its makeup. Just because you rename a .vob file to .jpg, doesn't make it a jpeg. It just makes it a mis-named vob file.
On Fri, May 22, 2009 at 10:33 AM, Scott Silva ssilva@sgvwater.com wrote:
Renaming a file does not change its makeup. Just because you rename a .vob file to .jpg, doesn't make it a jpeg. It just makes it a mis-named vob file.
Realizing this, I would love to have the opportunity to rename the files (they're .mov files - quicktime format, I believe), but the problem is that they don't show up in the Import Photos app, and they're otherwise (so far) completely inaccessible.
I tried using my card reader again (I may have said this already), but the "drives" won't mount (the reader shows up as 2 drives - CF and MM, which is similar to SD) under CentOS, and my WinXP guest also can't do anything with them - XP recognizes that <something> is there, but nothing shows up in the explorer (or My Computer), and all I can do is dismount the <blank> <something>s.
I _can_ play the videos on the camera, but when I try to do that while connected to the computer, the camera blanks out and powers off. I even tried to dd from /dev/sdd and /dev/sdd1 (based on the dmesg output), and it says there's no such file. I put in fresh batteries - nothing.
?????
mhr
On Fri, May 22, 2009 at 1:00 PM, MHR mhullrich@gmail.com wrote:
On Fri, May 22, 2009 at 10:33 AM, Scott Silva ssilva@sgvwater.com wrote:
Renaming a file does not change its makeup. Just because you rename a .vob file to .jpg, doesn't make it a jpeg. It just makes it a mis-named vob file.
Realizing this, I would love to have the opportunity to rename the files (they're .mov files - quicktime format, I believe), but the problem is that they don't show up in the Import Photos app, and they're otherwise (so far) completely inaccessible.
<snip> Mark: As I just replied to Scott, possibly you can look in the Advanced manual for your camera, to see if they permit you to change the settings, so you save the video files in another format, such as .avi If you do not see anything in the manual, maybe look on the Canon web site tech support area or send them an email, to see if that's somehow possible. Lanny
On Fri, May 22, 2009 at 1:00 PM, MHR mhullrich@gmail.com wrote:
On Fri, May 22, 2009 at 10:33 AM, Scott Silva ssilva@sgvwater.com wrote:
Renaming a file does not change its makeup. Just because you rename a .vob file to .jpg, doesn't make it a jpeg. It just makes it a mis-named vob file.
Realizing this, I would love to have the opportunity to rename the files (they're .mov files - quicktime format, I believe), but the problem is that they don't show up in the Import Photos app, and they're otherwise (so far) completely inaccessible.
I tried using my card reader again (I may have said this already), but the "drives" won't mount (the reader shows up as 2 drives - CF and MM, which is similar to SD) under CentOS, and my WinXP guest also can't do anything with them - XP recognizes that <something> is there, but nothing shows up in the explorer (or My Computer), and all I can do is dismount the <blank> <something>s.
I _can_ play the videos on the camera, but when I try to do that while connected to the computer, the camera blanks out and powers off. I even tried to dd from /dev/sdd and /dev/sdd1 (based on the dmesg output), and it says there's no such file. I put in fresh batteries - nothing.
Indeed, file names and formats are a bit off the mark if you can't even mount the drive.
Have you tried connecting to a completely different PC? Maybe your USB port or motherboard is flaky or some other hardware problem is getting you. If you know it's not a problem with the camera or card, then you can focus on your PC issues.
I recently had an SD card that I could not access in my card reader. Windows thought that it needed to be formatted, but it worked just fine in the camera. And it had always worked fine in the card reader too before that incident. I had to connect directly to the camera with USB to download my pictures just that one time. I got lucky. Sadly, that solution did not work for you. But the point is that just because it works within the confines of the camera, does not guarantee that everything is hunky dory with the camera or the card. The camera's built-in firmware is probably not as strict about device and file system standards.
Try a completely different PC, and if that doesn't work, you need to call Canon. If it does work, then start checking out different USB devices and flash cards on your computer to try to pinpoint the issue. Heck, sometimes one USB port works and another doesn't. Have you tried different ports yet?
Jeff
On Fri, May 22, 2009 at 11:49 AM, Jeff jlar310@gmail.com wrote:
Have you tried connecting to a completely different PC? Maybe your USB port or motherboard is flaky or some other hardware problem is getting you. If you know it's not a problem with the camera or card, then you can focus on your PC issues.
Haven't gotten there yet - I'm in the process of resurrecting an older WinXP box with new disks and motherboard/CPU (and power supply, which died yesterday).
However, in doing that, I had the opportunity to do some thorough testing on my USB ports. I'm reasonably sure they're not the problem. They all respond the same way to the card reader and the camera, but they work fine with my flash drives. Funny thing, though, is that the ATA-to-USB converter I am using to transfer the disk images from my old 40GB Maxtor to a not-as-old 160GB Maxtor is flaky - I would copied all the files on the 40GB partitions (2) to one of my hard drives, changed disks and copied them back from my hard drive to the 160GB drive's larger partitions (something that MaxBlast used to do nicely but is now almost totally useless for, unless you want _it_ to control the partitioning), and I could never get a consistent file compare through the connector. I could run three compares in a row and get three different results. (Did this whole process twice, too.)
BUT, when I copied the files from one of my hard drives to another, those all compared perfectly (of course), and when I tested the exact same USB port using a flash drive, I also had no problems with the compares. Also tested on another USB port (on the back, through an extension cable) - same result (good compare).
Bottom line: I'm pretty sure my CentOS box USB ports are all just fine (they'd better be - I just got a new motherboard last fall), but I'm going to get a new card reader today for the camera/SD issue, and I'm thinking of returning the ATA-USB converter to the manufacturer as defective, just as soon as I get the XP box up and running and can verify _there_ (under a "supported" OS) that the same problem occurs.
Try a completely different PC,
That's next if the new reader doesn't like my CentOS box, or vice-versa, unless I get the WinXP box up and running first....
and if that doesn't work, you need to call Canon.
Canon doesn't support Linux (hahahahahahaha!), but they did recommend using a card reader, so, hopefully, the new one will be that answer.
Just for the heck of it, I also tried playing the SD card in my wife's SX5 and that was a bust - for one thing, the SX5 is 8MP and the SX10 is 10.3, and it looks like they use different video formats, but the SX5 also said the SD card was in an unrecognized format (!) - not sure exactly what to make of that (other than that the SX5 will not help - duh!).
Thanks, all.
mhr
[SOLVED]
It was the card reader - too old to support SDHC. The new one reads it just fine.
As for the camera interface, must just be newer than what's in 5.3....
Thanks to all for their suggestions and ideas!
mhr
On Fri, May 22, 2009 at 12:33 PM, Scott Silva ssilva@sgvwater.com wrote:
on 5-22-2009 7:22 AM Lanny Marcus spake the following:
On Wed, May 20, 2009 at 1:16 PM, MHR mhullrich-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:
I'm looking for any intelligent commentary on this - it may be a little off topic, but I'm wondering if anyone knows about this. �This isn't short, so bear with me.
Yesterday, I tried to download a video off of one of my digital still cameras that also takes videos (Canon Powershot SX10 iS) on my CentOS x86_64 5.3 system. �When I plugged the camera into a USB port and turned it on, it showed no images available, AND no device showed up
<snip>
Renaming a file does not change its makeup. Just because you rename a .vob file to .jpg, doesn't make it a jpeg. It just makes it a mis-named vob file.
I know that, but when we changed the extensions from .vob to .jpg we were able to upload the videos to youtube and they worked fine. :-)
That doesn't help Mark, since he can't see the video files on his digital still camera. If the camera settings permit, maybe he can change the video file type, in the camera, to .avi or something that will be seen by Linux. I think he said his camera saves video files in .mov Ours saves them in .avi
On Wed, 2009-05-20 at 11:16 -0700, MHR wrote: <SNIP>
Yesterday, I tried to download a video off of one of my digital still cameras that also takes videos (Canon Powershot SX10 iS) on my CentOS x86_64 5.3 system. When I plugged the camera into a USB port and turned it on, it showed no images available, AND no device showed up mounted for it. Now, this is not entirely unusual.
<SNIP>
This sounds oddly familiar. Have you reported a similar problem in the past?
I got a similar response when I plugged in the camera with the SD card in it and it shows up in lsusb:
<SNIP>
I brought up the Win guest, attached the USB "drive" for the camera and Windows installed the device just fine. I opened an Explorer window and the camera was there, with the photo and two .mov files in its folder, so I went in and clicked the photo and that was it. The Windows guest crashed, and when it came back up, it booted so slowly I wasn't sure it was going to boot at all, and the network connections were gone. I tried a number of things (restart Samba, reboot Windows in safe mode, then back to normal, restart Samba with Windows running, on and on). Nothing worked. All the TCP/IP settings were the same, and the network "card" showed one connection that was active, but no IP address, no path to host, pings all failed, etc.
So, if I understand this correctly, you have a CentOS host that is having trouble accessing USB connected devices (your camera and SD cards plugged into your USB card reader). However, a WinXP guest (running on the CentOS host you are having trouble with) has no trouble accessing these devices?
If so, it is unlikely you have a hardware problem...
This morning, I figured that, since the guest network seemed to have been blown away completely, I'd reconfigure it and try again.
Voila! All my drives are now sharing properly and the NAT network between host and guest works just fine.
Interesting.
- CentOS not seeing either device (camera or SD-in-reader) as mountable
Just a guess. Could it be that VMware is "stealing" this device for itself? I am fairly certain VMware can "steal" a device for a virtual machine immediately after the USB device is plugged in.
If I were a betting man, I'd say VMware is interfering.
- How to mount the SD card manually given that it does not appear to
be a vfat (which is how most of these have shown up before IIRC).
I would be very surprised if it is not formatted as a VFAT partition; Camera manufacturers have to make devices that use file systems that will work on both Windows and MAC, leaving very limited options.
I guess the trick is, determining what device to use. You can always look in dmesg to see what the kernel assigned, or if you are lazy like me, look at the output of: ls /dev/sd? before and after plugging in the device. The new device is the drive and /dev/sd?1 will be the partition to mount.
- VMWare losing its network configuration (or whatever it lost) that
smashed its network connection to the host
Proprietary software. Knock on VMware's door. A colleague that is using VMware Server (2.0) has been having no end of trouble with virtual networking. I've been using KVM with great success (considering libvirt using standard Linux components for networking -- bridges and taps -- instead of custom stuff).
- (most important) Any ideas on how to get at the video files on the
SD card (if I can mount it as the right kind of fs, that would be enough)
I think problem 1 is your real problem and the rest are just symptoms of that (aside from 3, which may be related but is likely a VMware issue); solve that and you are dancing!
HTH, Michael
On Sat, May 23, 2009 at 7:33 AM, Michael Kralka michael.kralka@gmail.com wrote:
This sounds oddly familiar. Have you reported a similar problem in the past?
Not I.
So, if I understand this correctly, you have a CentOS host that is having trouble accessing USB connected devices (your camera and SD cards plugged into your USB card reader). However, a WinXP guest (running on the CentOS host you are having trouble with) has no trouble accessing these devices?
Nah, too easy. :-)
This is the _only_ USB device my CentOS host is having trouble with. In fact, I'm in the process of resurrecting an older machine with some new hardware, but attempting to preserve the old installed WinXP on it (yeah, I know...) and I'm using my CentOS host and a universal PATA/SATA-to-USB connector, on the same ports that don't read the camera, with great success.
The WinXP VM guest can only see the camera - accessing it crashes the guest and blows up the VM network configuration.
- CentOS not seeing either device (camera or SD-in-reader) as mountable
Just a guess. Could it be that VMware is "stealing" this device for itself? I am fairly certain VMware can "steal" a device for a virtual machine immediately after the USB device is plugged in.
Possible, but I've run into that before - as long as I make sure VMware has the device disconnected before boot and after access attempts, it won't steal it from the main host.
- How to mount the SD card manually given that it does not appear to
be a vfat (which is how most of these have shown up before IIRC).
I would be very surprised if it is not formatted as a VFAT partition; Camera manufacturers have to make devices that use file systems that will work on both Windows and MAC, leaving very limited options.
I guess the trick is, determining what device to use. You can always look in dmesg to see what the kernel assigned, or if you are lazy like me, look at the output of: ls /dev/sd? before and after plugging in the device. The new device is the drive and /dev/sd?1 will be the partition to mount.
Tried all that - no joy.
Thanks, though.
mhr