[kernel 2.6] Digital camera "crashed" when plugging in (urgent!)
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[kernel 2.6] Digital camera "crashed" when plugging in
Hello,
I very seldom use my camera, but now I've made some pictures I need to transfer to my computer. (Alas, I don't have a card reader, so I'm bound to use USB.)
It *used* to work in the past (with kernel 2.4 and hotplug)... I plugged it in, mounted the cam as USB storage device.. worked like a charm.
But now, I'm using kernel 2.6.19 and udev -- and the camera crashes!!
The "flash" LED is blinking madly (I suppose that's indicating some kind of error), and it doesn't respond anymore. It's doing so for 5 minutes now and I guess I have to take out the batteries for it to stop... :-(
It is a Jenoptik 4.1x z3
Please help asap! It's kinda urgent... :-(
fabian
Here's what the kernel says:
Code:
usb 5-2.4: new full speed USB device using ehci_hcd and address 39
usb 5-2.4: device descriptor read/64, error -32
usb 5-2.4: device descriptor read/64, error -32
usb 5-2.4: new full speed USB device using ehci_hcd and address 40
usb 5-2.4: device descriptor read/64, error -32
usb 5-2.4: device descriptor read/64, error -32
usb 5-2.4: new full speed USB device using ehci_hcd and address 41
usb 5-2.4: device not accepting address 41, error -32
usb 5-2.4: new full speed USB device using ehci_hcd and address 42
usb 5-2.4: device not accepting address 42, error -32
Last edited by FnordPerfect; 01-18-2007 at 10:06 PM.
i know debian likes to re-name packages, so it probably wont be as simple as apt-get install gphoto2 , you may want to run synaptic and search for libgphoto2 or gphoto2 and see what pops up, gtkam is a great GUI frontend for gphoto2, give it a try as it wont hurt anything...
Yeah, I'd love to give it a try. Tell you what... as a matter of fact I had it already installed, I just haven't used it yet.
However, I cannot try it out now, since the camera is not even detected properly as a USB device anymore! It crashes right after I plug it in!
So this is more of a low-level, kernel-related, USB-driver kind of problem...
In the meantime, I booted an old DamnSmallLinux Live CD; and there I could plug it in, mount it, copy the pictures.
So there's something wrong with my Debian installation!
coule it be a gnome issue? log off gnome and log on to simething lightweight that you have installed, twm? fluxbox? whatever you already have as an alternative to gnome or kde.
I don't use Gnome but KDE. Anyway, I tried it, and to push it even further, I didn't start any Desktop at all but stayed console-only, single-user mode.
* So, I plugged the camera in.
* Since syslog didn't run I got flooded with all those crazy kernel messages about the USB device not working.
* The camera crashed and wouldn't respond to anything but taking out the batteries :-(
ergo: I am still pretty sure it's a kernel issue!
Now that I managed to get the photos off that thing with DamnSmallLinux, I have more time to investigate (grously, however, since it *once worked* and suddenly *stopped working*, which is something that I really loathe...)
My DamnSmallLinux is pretty old and still uses kernel 2.4 ...
Next thing I'll try is to boot a Ubuntu Live CD which uses 2.6 and see what it says...
I must confess, I find all this usb stuff in the kernel a bit overwhelming..
I had both ehci and uhci compiled as modules. -- And *both* were loaded!
I just thought I needed both with my board, and ehci was necessary for USB2.0 ..?
this is some of the output of lspci
Code:
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
So I figured it has both USB1.1 *and* USB2.0 controllers on it...
But yes, this must be the right trace...
I rmmoded the module ehci_hcd, but upon plugging in the same things happen. :-/
Perhaps some piece of hardware is confused and I need to reboot cleanly without having ehci_esd loaded...?
Perhaps the camera is buggy and doesn't work with USB2.0??
Perhaps I have to find out which ports lead to which USB controller in the end??? :-(
I will continue tomorrow, and I greatly appreciate your help!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.