Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Digital Camera - Cannot Get to Work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
karahd
n00b
n00b


Joined: 17 Sep 2004
Posts: 11

PostPosted: Wed Sep 22, 2004 4:25 am    Post subject: Digital Camera - Cannot Get to Work Reply with quote

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
View user's profile Send private message
rickvernam
Guru
Guru


Joined: 09 Jul 2004
Posts: 313

PostPosted: Wed Sep 22, 2004 4:27 am    Post subject: Reply with quote

what kind of camera?
Back to top
View user's profile Send private message
karahd
n00b
n00b


Joined: 17 Sep 2004
Posts: 11

PostPosted: Wed Sep 22, 2004 4:33 am    Post subject: Reply with quote

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
View user's profile Send private message
karahd
n00b
n00b


Joined: 17 Sep 2004
Posts: 11

PostPosted: Wed Sep 22, 2004 4:54 am    Post subject: Reply with quote

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
View user's profile Send private message
karahd
n00b
n00b


Joined: 17 Sep 2004
Posts: 11

PostPosted: Wed Sep 22, 2004 4:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
dfy
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2004
Posts: 79

PostPosted: Wed Sep 22, 2004 8:52 pm    Post subject: Reply with quote

Code:
gphoto2 --camera="Kodak DX4900" -P


should dowload all pictures from your camera.
Back to top
View user's profile Send private message
karahd
n00b
n00b


Joined: 17 Sep 2004
Posts: 11

PostPosted: Wed Sep 22, 2004 11:30 pm    Post subject: Reply with quote

I'll try that tonight when I get home.
Back to top
View user's profile Send private message
karahd
n00b
n00b


Joined: 17 Sep 2004
Posts: 11

PostPosted: Thu Sep 23, 2004 3:12 am    Post subject: Reply with quote

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
View user's profile Send private message
Raistlin
l33t
l33t


Joined: 17 May 2004
Posts: 691
Location: Boston, MA

PostPosted: Thu Sep 23, 2004 1:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Thu Sep 23, 2004 2:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
rickvernam
Guru
Guru


Joined: 09 Jul 2004
Posts: 313

PostPosted: Fri Sep 24, 2004 4:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
jonnevers
Veteran
Veteran


Joined: 02 Jan 2003
Posts: 1594
Location: Gentoo64 land

PostPosted: Fri Sep 24, 2004 6:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
karahd
n00b
n00b


Joined: 17 Sep 2004
Posts: 11

PostPosted: Fri Sep 24, 2004 11:40 pm    Post subject: Reply with quote

does that mean i can't use genkernel?
Back to top
View user's profile Send private message
amightywind
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2004
Posts: 137
Location: Andover, MN USA

PostPosted: Mon Sep 27, 2004 1:15 am    Post subject: Similar problem Reply with quote

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
View user's profile Send private message
jigma
n00b
n00b


Joined: 10 May 2002
Posts: 51
Location: NZ

PostPosted: Mon Sep 27, 2004 1:41 am    Post subject: same problem here... Reply with quote

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
View user's profile Send private message
amightywind
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2004
Posts: 137
Location: Andover, MN USA

PostPosted: Mon Sep 27, 2004 12:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum