View previous topic :: View next topic |
Author |
Message |
karahd n00b

Joined: 17 Sep 2004 Posts: 11
|
Posted: Wed Sep 22, 2004 4:25 am Post subject: Digital Camera - Cannot Get to Work |
|
|
Digital Camera - Cannot Get to Work
Hi there, I have a camera and it will not connect.
I have read several other posts on this forum as well as others around. And have tried to get as much infomration as possible below. If anybody has any ideas or requires further information please post if you can. I would really appreciate it. Also, if you post instructions try to be verbose, this is entirely unfamiliar territory for me.
Code: |
root@lxsrv1 minahd # ls /dev/sd* -la
ls: /dev/sd*: No such file or directory
|
Code: |
root@lxsrv1 minahd # grep USB.*= /usr/src/linux/.config
CONFIG_USB=m
CONFIG_USB_DEVICEFS=y
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_UHCI_HCD=m
CONFIG_USB_PRINTER=m
CONFIG_USB_STORAGE=m
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
CONFIG_USB_HIDDEV=y
|
Code: |
root@lxsrv1 minahd # lsmod | grep hci
ohci_hcd 18180 0
uhci_hcd 27664 0
ohci1394 28932 0
ieee1394 87860 2 sbp2,ohci1394
ehci_hcd 25092 0
usbcore 91744 8 ohci_hcd,usblp,usbhid,uhci_hcd,usb_storage,ehci_hcd
|
In GPHOTO2:
Code: |
minahd@lxsrv1 minahd $ gphoto2 --list-ports
Devices found: 9
Path Description
--------------------------------------------------------------
serial:/dev/tts/0 Serial Port 0
serial:/dev/tts/1 Serial Port 1
serial:/dev/tts/2 Serial Port 2
serial:/dev/tts/3 Serial Port 3
serial:/dev/tts/4 Serial Port 4
serial:/dev/tts/5 Serial Port 5
serial:/dev/tts/6 Serial Port 6
serial:/dev/tts/7 Serial Port 7
usb: Universal Serial Bus
|
Code: |
minahd@lxsrv1 minahd $ uname --all
Linux lxsrv1 2.6.7-gentoo-r11 #1 Sat Sep 18 10:41:29 EDT 2004 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz GenuineIntel GNU/Linux
|
I really have no idea where to go from here.  |
|
Back to top |
|
 |
rickvernam Guru

Joined: 09 Jul 2004 Posts: 313
|
Posted: Wed Sep 22, 2004 4:27 am Post subject: |
|
|
what kind of camera? |
|
Back to top |
|
 |
karahd n00b

Joined: 17 Sep 2004 Posts: 11
|
Posted: Wed Sep 22, 2004 4:33 am Post subject: |
|
|
my apologies.
this is a Kodak EasyShare DX4900
Usually I plug it into its base and through a USB port on the back of my machine, but I can't find my stupid base. hehe So I plugged it into the USB port on the front of my computer (DELL Dimension). Under Mandrake I could use my front usb port, but I can't seem to get it to work, right now.
My USB ports work on the back. My USB printer (HP Photosmart 7550) and my optical USB mouse work just fine.
I know people will suggest trying it on the back of my machine, but I really need it to work on the front.
EDIT: Mean to mention, I have not yet got my camera configured in Gentoo. I read somewhere else that I should be able to use the camera:/ KIOSLAVE, that would be neat, but i don't have that protocol  |
|
Back to top |
|
 |
karahd n00b

Joined: 17 Sep 2004 Posts: 11
|
Posted: Wed Sep 22, 2004 4:54 am Post subject: |
|
|
From /var/log/kernel/current
Code: |
root@lxsrv1 log # cat kernel/current
Sep 22 00:50:02 [kernel] Linux version 2.6.7-gentoo-r11 (root@livecd) (gcc version 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)) #1 Sat Sep 18 10:41:29 EDT 2004
Sep 22 00:50:04 [kernel] Linux agpgart interface v0.100 (c) Dave Jones
Sep 22 00:50:04 [kernel] agpgart: Detected an Intel i875 Chipset.
Sep 22 00:50:05 [kernel] libata version 1.02 loaded.
Sep 22 00:50:05 [kernel] ata_piix version 1.02
Sep 22 00:50:05 [kernel] ata1: SATA max UDMA/133 cmd 0xFE00 ctl 0xFE12 bmdma 0xFEA0 irq 9
Sep 22 00:50:05 [kernel] ata2: SATA max UDMA/133 cmd 0xFE20 ctl 0xFE32 bmdma 0xFEA8 irq 9
Sep 22 00:50:05 [kernel] scsi0 : ata_piix
Sep 22 00:50:05 [kernel] ata2: port disabled. ignoring.
Sep 22 00:50:05 [kernel] scsi1 : ata_piix
Sep 22 00:50:06 [kernel] e100: Intel(R) PRO/100 Network Driver, 3.0.18
Sep 22 00:50:06 [kernel] e100: eth1: e100_probe: addr 0xfceff000, irq 10, MAC addr 00:07:E9:7E:8C:CF
Sep 22 00:50:06 [kernel] ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
Sep 22 00:50:19 [kernel] mtrr: 0xf8000000,0x4000000 overlaps existing 0xf8000000,0x100000
|
|
|
Back to top |
|
 |
karahd n00b

Joined: 17 Sep 2004 Posts: 11
|
Posted: Wed Sep 22, 2004 4:53 pm Post subject: |
|
|
I read somewhere that I should try to: touch /dev/sda
but it tells me that i don't have permission to do that. even as root. |
|
Back to top |
|
 |
dfy Tux's lil' helper

Joined: 05 Apr 2004 Posts: 79
|
Posted: Wed Sep 22, 2004 8:52 pm Post subject: |
|
|
Code: | gphoto2 --camera="Kodak DX4900" -P |
should dowload all pictures from your camera. |
|
Back to top |
|
 |
karahd n00b

Joined: 17 Sep 2004 Posts: 11
|
Posted: Wed Sep 22, 2004 11:30 pm Post subject: |
|
|
I'll try that tonight when I get home. |
|
Back to top |
|
 |
karahd n00b

Joined: 17 Sep 2004 Posts: 11
|
Posted: Thu Sep 23, 2004 3:12 am Post subject: |
|
|
nope. failed.
Code: | minahd@lxsrv1 minahd $ gphoto2 --auto-detect
Model Port |
Code: |
minahd@lxsrv1 minahd $ gphoto2 --camera="Kodak DX4900" -P
*** Error ***
An error occurred in the io-library ('Bad parameters'): Could not find USB device (vendor 0x40a, product 0x550). Make sure this device is connected to the computer.
*** Error (-2: 'Bad parameters') ***
For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list <gphoto-devel@lists.sourceforge.net>, please run
gphoto2 as follows:
env LANG=C gphoto2 --debug --camera=Kodak DX4900 -P
Please make sure there is sufficient quoting around the arguments. |
i don't think my USB port is setup right  |
|
Back to top |
|
 |
Raistlin l33t


Joined: 17 May 2004 Posts: 691 Location: Boston, MA
|
Posted: Thu Sep 23, 2004 1:45 pm Post subject: |
|
|
try a "blind" Code: | gphoto2 --get-all-files | right after having plugged in the cam and switched it on...
cheers, raist. _________________ Zwei Was Eins Initially
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." |
|
Back to top |
|
 |
Rainmaker Veteran


Joined: 12 Feb 2004 Posts: 1650 Location: /home/NL/ehv/
|
Posted: Thu Sep 23, 2004 2:31 pm Post subject: |
|
|
No, I think it's the USB port. I've got a Compaq V75 monitor with a USB in front, but could not get that to work either. Never really tried though. _________________ If you can't dazzle them with brilliance, baffle them with bullshit. |
|
Back to top |
|
 |
rickvernam Guru

Joined: 09 Jul 2004 Posts: 313
|
Posted: Fri Sep 24, 2004 4:51 pm Post subject: |
|
|
plug your mouse into the front usb thing and see if it works - that would be a quick easy way to determine if the usb in front works.... |
|
Back to top |
|
 |
jonnevers Veteran


Joined: 02 Jan 2003 Posts: 1594 Location: Gentoo64 land
|
Posted: Fri Sep 24, 2004 6:43 pm Post subject: |
|
|
about the USB ports on the front..
I am assuming the internally they are connected to the motherboard appropriately?
if may be that you need more USB support in the kernel. I have two machines that have two USB root hubs in them, for both machines one hub is USB1 and the other is USB2.0. For a tleast one machine i need to compile on OCHI and ECHI USB drivers for both of them to be detected.
you might try dmesg | grep -i usb
to see what it returns in terms of USB root hubs and drivers being loaded. |
|
Back to top |
|
 |
karahd n00b

Joined: 17 Sep 2004 Posts: 11
|
Posted: Fri Sep 24, 2004 11:40 pm Post subject: |
|
|
does that mean i can't use genkernel? |
|
Back to top |
|
 |
amightywind Tux's lil' helper


Joined: 01 Jun 2004 Posts: 137 Location: Andover, MN USA
|
Posted: Mon Sep 27, 2004 1:15 am Post subject: Similar problem |
|
|
Hello,
I am running 2.4.26 and am having a similar problem getting my Sony DSC-P72 to work
with gphoto2 over usb. One difference in our setup is that I have installed the USB
support directly in the kernel. I have also just installed hotplug and rc-update (d) it.
/proc/bus/usb seems to be ok.
dmesg reports after a ton of seemingly normal hub.c and usb.c messages and then:
usb.c: USB device not accepting new address=2 (error=-71)
gphoto2 is giving me the same results as yours. I'll keep digging and let you know if
I can get to the bottom of this. _________________ amightywind |
|
Back to top |
|
 |
jigma n00b

Joined: 10 May 2002 Posts: 51 Location: NZ
|
Posted: Mon Sep 27, 2004 1:41 am Post subject: same problem here... |
|
|
I have the same issue here.
I have the Minolta dimage A2 and could not get it to work on my front usb ports...but it would work fine on the rear ports.
Whenever I plug it in the fron ports I get the normal kernel messages saying it has detected a usb device...and then the "not accepting new address" error. However the back ports work fine.
The front ports work fine with any other device I have tried.
The only difference being that the A2 is a USB 2.0 device...so maybe it is trying to connect too fast. I actually use the lexar jumpshot usb adapter to get the files off the CF card now, using the front ports.
Anyways...just wanted add my NZD 0.02 _________________ "linux is only free if your time has no value" - Jamie Zawinski |
|
Back to top |
|
 |
amightywind Tux's lil' helper


Joined: 01 Jun 2004 Posts: 137 Location: Andover, MN USA
|
Posted: Mon Sep 27, 2004 12:48 pm Post subject: |
|
|
Weird, but interesting. I succeeded in getting a USB Flashdisk (Sandisk)
to work on the front side. Once I had all of the USB modules in the
kernel and hotplug running correctly, I saw /dev/sda, /dev/sda1 and was
off to the races. I have an ABIT AN7 motherboard with an external
connector to the front panel USB ports. 4 rear ports are attached directly
to the board. I'll give the back ports a try. Thanks for the info! _________________ amightywind |
|
Back to top |
|
 |
|