USB Digital Camera

My son recently got a digital camera for his birthday and unfortunately Linux doesn’t recognize it immediately.

I see it listed when I do #lsusb and I was able to install the crapware that comes with the mini-CD under Wine, but neither the local system or the applications under Wine are able to detect or connect to the camera.

What can I do to access the camera, whether native or through Wine? Does ndsiwrapper work with peripheral drivers?

I know about the alternatives of using a virtual machine but the problem with that is the system(s) only have 512 MB of RAM so VMs will be underpowered.

Do I have any options?

What is the product ID + vendor ID it shows in lsusb?

Most cameras of the usb nature with flash cards just get picked up. Digikam in kde4.2.3 is crazy good. No setting up, just plug in and away with my Kodak. I’m surprised it’s not showing. Even if Digikam doesn’t pick it up, I would have though at least you could access the memory card in Dolphin (assuming it uses a memory card)
Virtual Box would have been my other option.

> Do I have any options?

take the camera back, tell them it is defective (because it is, right?)

alternatively, have you tried it with digiKam? (it seems to work with
a large pile of cameras…and is available via YaST or zypper)


natural_pilot

If you are running KDE4, make sure that you do

zypper install kde4-digikam

Otherwise, it will install KDE3 version.

If it is Canon or Nikon, it needs the gphoto2 backend which comes with gthumb, F-spot or digiKam. Otherwise, it should be detected by any software (Thanks to David Spencer of Bradford GNU/LUG for this advice).

After you plug in the camera, run digikam, go to its config option, choose camera and try the auto-detect option.

Alright, I did that and got

Failed to auto-detect camera.

Please check if your camera is turned on and retry or try
setting it manually.

[OK]
Here is some more information …

drew@linux-ppij:~> lsusb
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 0979:0227 Jeilin Technology Corp., Ltd
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 03f0:0701 Hewlett-Packard ScanJet 5300c/5370c
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

So the camera shows up as Bus 004 Device 002: ID 0979:0227 Jeilin Technology Corp., Ltd

The applications running via WINE also do not see any camera plugged into the USB port and thus cannot access it.

At least it looks like the USB cable should be alright if it at least “sees” the camera via #lsusb, right? Plus the camera lights up so it’s getting power.

Any ideas?

Is this the Wal-Mart Kidz-Cam? There is a discussion here and it doesn’t look hopeful.

SourceForge.net: gPhoto: gphoto-devel

Is it not recognized as a mass storage device also?
Check the following to see what the plug-in architecture is doing:

su
tail -f /var/log/messsages

Now, plug out the USB cable, plug it in again and post the messages.

It isn’t a Wal-Mart brand camera, but it’s a pretty generic cheap-o kid’s camera so I fear it is basically the same.

I’ll do this tonight, when I get home.

It doesn’t recognize it as any media device. Like when you plug in a USB key drive and it shows up somewhere (desktop, new devices, etc.), it doesn’t do that.

Other than #lsusb, I have no indicators that it exists.

Here are the results

linux-wn0j:/home/drew # tail -f /var/log/messages
Jun 4 01:38:39 linux-wn0j smartd[3187]: Device: /dev/sda [SAT], 49 Currently unreadable (pending) sectors
Jun 4 01:38:39 linux-wn0j smartd[3187]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 166 to 171
Jun 4 01:41:01 linux-wn0j kernel: 3766.810119] nscd[2966]: segfault at fded667c ip b80ef195 sp afed4edc error 4 in nscd[b80de000+1e000]
Jun 4 01:41:10 linux-wn0j su: (to root) drew on /dev/pts/0
Jun 4 01:51:05 linux-wn0j dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Jun 4 01:51:05 linux-wn0j dhclient: DHCPACK from 192.168.1.1
Jun 4 01:51:05 linux-wn0j dhclient: bound to 192.168.1.102 – renewal in 1585 seconds.
Jun 4 02:08:40 linux-wn0j smartd[3187]: Device: /dev/sda [SAT], 49 Currently unreadable (pending) sectors
Jun 4 02:08:40 linux-wn0j smartd[3187]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 171 to 161
Jun 4 02:11:10 linux-wn0j su: (to root) drew on /dev/pts/0
Jun 4 02:12:40 linux-wn0j kernel: 5665.932079] usb 3-2: new full speed USB device using uhci_hcd and address 2
Jun 4 02:12:40 linux-wn0j kernel: 5666.179135] usb 3-2: New USB device found, idVendor=0979, idProduct=0227
Jun 4 02:12:40 linux-wn0j kernel: 5666.179150] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jun 4 02:12:40 linux-wn0j kernel: 5666.179161] usb 3-2: Product: USB 1.1 Device
Jun 4 02:12:40 linux-wn0j kernel: 5666.179170] usb 3-2: Manufacturer: Jeilin
Jun 4 02:12:40 linux-wn0j kernel: 5666.179512] usb 3-2: configuration #1 chosen from 1 choice
Jun 4 02:13:24 linux-wn0j kernel: 5709.376143] usb 3-2: USB disconnect, address 2
Jun 4 02:13:27 linux-wn0j kernel: 5712.828122] usb 3-2: new full speed USB device using uhci_hcd and address 3
Jun 4 02:13:27 linux-wn0j kernel: 5713.089132] usb 3-2: New USB device found, idVendor=0979, idProduct=0227
Jun 4 02:13:27 linux-wn0j kernel: 5713.089146] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jun 4 02:13:27 linux-wn0j kernel: 5713.089158] usb 3-2: Product: USB 1.1 Device
Jun 4 02:13:27 linux-wn0j kernel: 5713.089167] usb 3-2: Manufacturer: Jeilin
Jun 4 02:13:27 linux-wn0j kernel: 5713.089501] usb 3-2: configuration #1 chosen from 1 choice

From that log, we can see that it is neither recognized as a mass storage device nor as a camera.
I read some notes at gphoto site about the support of this. But, I can’t see it in the supported list. Theodore Kilgore had submitted a patch for this, so you may contact him to get more details.

Details for: Jeilin chipset, actual vendor unknown American Idol keychain camera

Do I have the same problem? OpenSuSE11.1 on x86_64
Camera is canon Ixus 300

As root I can unload camera (in PTP mode) but as me I get the message about being unable to claim the device, whihc sounds like a permission issue. Hal is totally beyond me… Udev not much better.

On by 10.3 i386 machine (slowly dying) this was no problem.

==John ff

I don’t mean to sound rude dragonbite, and I do apologise if that is the case, but expecting cheap peripherals to work under Linux is a bit “if pigs could fly”!

They are usually no-name brand doohickeys and gizmos made by unknown Chinese/Taiwanese manufacturers who have no interest in anything other than making a fast buck.

They really wouldn’t even entertain the thought of offering their devices to opensource.

Not that buying a branded product is a sure thing either, but it’s more likely to work.

But I’m sure you already know all that ;).

Not sure if you mean me, but canon is a major manufacturer and it did work on 10.3

If it matters, I am not running gnome nor kde

==John ff

Not! Very informative.
Telling us what you are using may help.

Access via a file browser seems a likely option.

I use Linux+X11 with fvwm2 as window manager; GNUemacs for most things…

The problem is permissions in use of gphoto2 to unload the camera. As a normal user I do not have access to the USB device

And as you seem to care about unnecessary details, the gphot02 call is usually started by emacs, but if I run in an xterm it gphoto -L or -P work as root but not as me.

All I want to know is how to set correct USB permissions

==John ff

No jpff, I was talking to dragonbite :). But in your case I would download and tryout a later openSUSE KDE-4.3 based liveCD.

There were changes made to the hal stuff that may fix your problem. At least you could then try it without changing your system seeing as you are not running either KDE4 or Gnome.

Plus it could be simply a kernel issue, and the later 6.3x series may fix it. I run openSUSE 11.1 with the 2.6.30 kernel and KDE 4.3, and it is fantastic. Even suspend-to-ram works perfectly for the first time ever :D.

Hum…could be hard – no CD drive. And if the LiveCD runs what do I do about it?
I am sure this counts as a bug if one cannot unload cameras.

==John ff