You are not logged in.
Hello,
i'm triying to connect my camera to my computer but it doesn't work.
dmesg says:
...
usb 1-6: new high speed USB device using ehci_hcd and address 2
usb 1-6: configuration #1 chosen from 1 choice
usb 1-6: USB disconnect, address 2
And this is the 'lsusb -v' exit:
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0001 1.1 root hub
bcdDevice 2.06
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
can't get hub descriptor: Operation not permitted
cannot read device status, Operation not permitted (1)
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0001 1.1 root hub
bcdDevice 2.06
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
can't get hub descriptor: Operation not permitted
cannot read device status, Operation not permitted (1)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 2.06
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
can't get hub descriptor: Operation not permitted
can't get device qualifier: Operation not permitted
can't get debug descriptor: Operation not permitted
cannot read device status, Operation not permitted (1)
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0001 1.1 root hub
bcdDevice 2.06
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
can't get hub descriptor: Operation not permitted
cannot read device status, Operation not permitted (1)
May you help me?
PD: Sorry my english.
Offline
Do you connect directly to your computer or through a USB hub? Try connecting directly. Try different ports. Maybe you can use a card reader to copy your pictures instead of connecting the camera.
Offline
I've connected it directly, using only a miniUSB cable. I've tried differents ports with the same results and I know it works in Linux because it works in other computer with Ubuntu 8.04. I think is not a hardware issue.
This is the lsmod exit:
Module Size Used by
ipv6 279604 8
xfs 575744 1
exportfs 4284 1 xfs
pcmcia 36168 0
snd_seq_dummy 2720 0
snd_seq_oss 31232 0
snd_seq_midi_event 7036 1 snd_seq_oss
snd_intel8x0m 14216 0
snd_intel8x0 30616 3
snd_seq 53808 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 6792 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 40320 0
snd_ac97_codec 106112 2 snd_intel8x0m,snd_intel8x0
ac97_bus 1564 1 snd_ac97_codec
snd_pcm 74496 5 snd_intel8x0m,snd_intel8x0,snd_pcm_oss,snd_ac97_codec
yenta_socket 25384 1
ohci1394 30220 0
snd_mixer_oss 17564 1 snd_pcm_oss
snd_timer 21188 3 snd_seq,snd_pcm
ipw2200 145224 0
rsrc_nonstatic 12316 1 yenta_socket
ieee1394 85700 1 ohci1394
pcmcia_core 35920 3 pcmcia,yenta_socket,rsrc_nonstatic
e100 34308 0
mii 4892 1 e100
joydev 10528 0
iTCO_wdt 11072 0
snd 58820 14 snd_seq_oss,snd_intel8x0m,snd_intel8x0,snd_seq,snd_seq_device,snd_pcm_oss,snd_ac97_codec,snd_pcm,snd_mixer_oss,snd_timer
libipw 27680 1 ipw2200
lib80211 5856 2 ipw2200,libipw
shpchp 34384 0
iTCO_vendor_support 3136 1 iTCO_wdt
soundcore 6944 1 snd
snd_page_alloc 8900 3 snd_intel8x0m,snd_intel8x0,snd_pcm
pci_hotplug 28732 1 shpchp
fan 4448 0
psmouse 60084 0
serio_raw 5792 0
pcspkr 2492 0
thermal 13912 0
evdev 10240 6
toshiba_acpi 7476 0
rfkill 19696 1 toshiba_acpi
processor 36076 1
battery 10816 0
button 5612 0
ac 4224 0
rtc_cmos 11344 0
rtc_core 17976 1 rtc_cmos
rtc_lib 2524 1 rtc_core
ext4 334112 1
mbcache 7104 1 ext4
jbd2 82016 1 ext4
crc16 1660 1 ext4
ide_cd_mod 28480 0
ide_gd_mod 26496 4
cdrom 36032 1 ide_cd_mod
uhci_hcd 23692 0
ide_pci_generic 3840 0
ehci_hcd 36620 0
piix 6372 3
ide_core 102700 4 ide_cd_mod,ide_gd_mod,ide_pci_generic,piix
usbcore 154032 3 uhci_hcd,ehci_hcd
i915 233928 2
drm 156160 2 i915
i2c_algo_bit 5888 1 i915
i2c_core 21808 3 i915,drm,i2c_algo_bit
video 20116 1 i915
output 2908 1 video
intel_agp 28604 1
agpgart 32660 2 drm,intel_agp
Thank you for the reply.
Offline
check if you have microUSB connector type A or type B
At least in my case type B is not recognized.
Offline
Hi, the cable is type B but I think this is not the problem because the camera works in a ubuntu 8.04 with this cable. The problem should be something with the kernel modules or any other software issue. Thank you.
Offline
the problem may not be with linux in general but seems to be with Arch linux handling microUSB type B.
I tested the same storage medium with either microUSB type A or microUSB type B and while medium is recognized when connected through microUSB connector type A, it is not recognized when connected through microUSB connector type B.
If Ubuntu works, then this is evidently bug in Arch linux (or bug in my setup)
Offline
What happens if you try and detect the camera through DigiKam?
Offline
> What happens if you try and detect the camera through DigiKam?
I think the problem is that the system disconnects the camera before anything can be done. dmesg takes precedence over things like DigiKam.
@ LuisNavas & broch
Is your camera on when you try to connect? It should be off IIRC.
Edit: Of course you can try DigiKam, it supports Canon EOS 500D via libgphoto2:
http://www.gphoto.org/proj/libgphoto2/support.php
Last edited by karol (2009-12-04 16:18:01)
Offline
Problem solved! Thanks to all of you! I've installed digikam and now works, the camera appears in the "Devices menu" and I'm been able to download the photos.
Thanks again.
Offline
Great!
Just for the record could you tell us what the dmesg is showing?
Offline
Of course:
usb 1-6: new high speed USB device using ehci_hcd and address 5
usb 1-6: configuration #1 chosen from 1 choice
And when i've disconnected the camera...
usb 1-6: new high speed USB device using ehci_hcd and address 5
usb 1-6: configuration #1 chosen from 1 choice
usb 1-6: USB disconnect, address 5
Are the same lines as before but the third line has appeared when i've disconnected the camera and not 2 or 3 seconds after plugged in as before.
Offline
I somehow don't believe that just installing DigiKam fixed it ...
Offline
I don't know why, I think it is the libgphoto2 library. It wasn't installed before.
Offline
Problem solved! Thanks to all of you! I've installed digikam and now works, the camera appears in the "Devices menu" and I'm been able to download the photos.
Thanks again.
It worked for me since the beginning, at least for downloading photos (but I always used digikam). But my problem is downloading (big) movie files out of the camera - I get only 1 file (and not sure if all of it), and then the camera hangs up. I have to power it up again to get another file. Tried digikam and gphoto2 - the same result. Does it work for you? Is it a linux bug? a driver bug? or a hardware issue? I have no windows to test this out. I use 8GB SD memory card (btw, my card reader does not recognize this card - its too big probably).
Offline
LuisNavas wrote:Problem solved! Thanks to all of you! I've installed digikam and now works, the camera appears in the "Devices menu" and I'm been able to download the photos.
Thanks again.
It worked for me since the beginning, at least for downloading photos (but I always used digikam). But my problem is downloading (big) movie files out of the camera - I get only 1 file (and not sure if all of it), and then the camera hangs up. I have to power it up again to get another file. Tried digikam and gphoto2 - the same result. Does it work for you? Is it a linux bug? a driver bug? or a hardware issue? I have no windows to test this out. I use 8GB SD memory card (btw, my card reader does not recognize this card - its too big probably).
turn off usb suspend. I disabled it in the kernel, not sure how well modprobe will work:
"options usbcore autosuspend=-1"
will disable usb autosuspend
or
add to modprobe conf
options usbcore autosuspend=5
above will delay autosuspend for 5 sec
in the case that you have usb build-in instead of having module add
usbcore.autosuspend=5
if you want simply to play around with module autosuspend simply run (from command line as root):
echo 5 >/sys/module/usbcore/parameters/autosuspend
hope this will help
Offline