Re: [Bugme-new] [Bug 9458] New: digital camera not recognised properly by the kernel when KDE is running

Vasilis Vasaitis <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <20071128021343.GA4663@arakis>
On Mon, Nov 26, 2007 at 09:46:23PM -0500, Alan Stern wrote:

..[edited]..

> The key item here is the "Driver=(none)" field.  Something has unbound 
> usb-storage from the device, probably via usbfs.

> I was looking for a usb-storage process, but it's evident that we won't 
> see one.

> >   I've also tried your usbcore.usbfs_snoop=y suggestion, and I've
> > attached the kernel output when it's turned on to the bug page. Not
> > sure if it's illuminating in any way. I'll also try Oliver's
> > CONFIG_USB_DEBUG suggestion as soon as I find some time.
> 
> Boy, that output is hard to interpret.  It leads me to wonder if the 
> dump is being done correctly...  And unfortunately it doesn't include 
> the name of the current process.  Well, we can fix that.

> It wouldn't be surprising to find that the offending process is one of
> those listed above, like kio_camera.  It may think your camera is in
> PTP mode even when that's not the case.

  OK, I've patched the kernel as you suggested and also enabled
CONFIG_USB_DEBUG. I've attached logs on the bug page both for the UMS
and the PTP case. Well, from the UMS case, I guess you won't be
surprised to see these in the output:

Nov 28 01:18:28 arakis kernel: usb 2-6: kio_kamera: usbdev_ioctl: GETDRIVER
Nov 28 01:18:28 arakis kernel: usb 2-6: kio_kamera: usbdev_ioctl: IOCTL
Nov 28 01:18:28 arakis kernel: usb-storage 2-6:1.0: disconnect by usbfs

  Actually this time I did manage to get it to work in the PTP case
(embarrassing), with programs like gphoto2 or KDE's own digikam. So I
guess it's mostly the UMS case that KDE is screwing up (though it
doesn't pop up the usual "device connected" dialog in either case).

  So I guess it's not really a kernel bug eh? Thanks for the debugging
help though.

Cheers,
Vasilis

-- 
Vasilis Vasaitis
"A man is well or woe as he thinks himself so."



-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.