LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-11-2007, 10:53 AM   #1
FnordPerfect
Member
 
Registered: Dec 2006
Location: Germany
Distribution: Kubuntu (Feisty Fawn), Debian (SID)
Posts: 127

Rep: Reputation: 15
[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.
 
Old 01-11-2007, 11:19 AM   #2
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 186Reputation: 186
have you ever tried gphoto2 ?
 
Old 01-11-2007, 11:57 AM   #3
FnordPerfect
Member
 
Registered: Dec 2006
Location: Germany
Distribution: Kubuntu (Feisty Fawn), Debian (SID)
Posts: 127

Original Poster
Rep: Reputation: 15
> have you ever tried gphoto2 ?

No, I was pretty happy just using this thing via USB storage.

And now is a pretty bad time to test it out, since the camera "crashes" as soon as I plug it into a USB port!

I tried plugging it to some other ports, not using my Hub; no luck.

I will try to find some semi-up-to-date Live-CD distro, perhaps this will do it for now...

However, I still would really appreciate some more help here!
It drives me nuts when stuff that once worked just stops... :-(

Thanks anyway
fabian
 
Old 01-11-2007, 12:01 PM   #4
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 186Reputation: 186
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...
 
Old 01-11-2007, 12:58 PM   #5
FnordPerfect
Member
 
Registered: Dec 2006
Location: Germany
Distribution: Kubuntu (Feisty Fawn), Debian (SID)
Posts: 127

Original Poster
Rep: Reputation: 15
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!

More help please...

Thanks
fabian
 
Old 01-11-2007, 01:46 PM   #6
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 186Reputation: 186
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.
 
Old 01-11-2007, 03:39 PM   #7
FnordPerfect
Member
 
Registered: Dec 2006
Location: Germany
Distribution: Kubuntu (Feisty Fawn), Debian (SID)
Posts: 127

Original Poster
Rep: Reputation: 15
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...

Anyway, I'm grateful for any further hints..!

fabian
 
Old 01-11-2007, 04:02 PM   #8
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,317

Rep: Reputation: Disabled
Try disabling ehci and use uhci (or ohci) instead.
 
Old 01-11-2007, 04:43 PM   #9
FnordPerfect
Member
 
Registered: Dec 2006
Location: Germany
Distribution: Kubuntu (Feisty Fawn), Debian (SID)
Posts: 127

Original Poster
Rep: Reputation: 15
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!

thanks and good night
fabian
 
Old 01-11-2007, 04:48 PM   #10
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,317

Rep: Reputation: Disabled
Checking if your camera crashes on both USB 2 and 1 ports is definitely worth a try.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
digital camera: "Could not claim the USB device" bluefire Linux - Hardware 4 12-04-2007 12:38 AM
"Unknown Port" Error Using Kodak Easyshare C300 Digital Camera DPSellyChan Linux - Hardware 1 01-08-2006 05:08 AM
"dd" to image a digital camera jduke Linux - General 2 09-16-2004 02:45 AM
Serial digital camera and "Digikam" HCLogo Linux - Hardware 0 05-21-2004 09:59 AM
gnome global settings "Help Me!!" or "URGENT" Fascistchicken Linux - Software 3 01-26-2004 06:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration