Canon Powershot G5 doesn't work with digikam 0.5.1 on -current

Andreas Klemm andreas at klemm.apsfilter.org
Sun Sep 28 07:10:18 PDT 2003


Hi,

[ Cc: to renchi, apologies for not using the mailinglist, but I already
  am subscribed to so many ]

have problem to connect to my Canon Powershot G5 under -current.

FreeBSD titan.klemm.apsfilter.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Fri Sep 26 07:19:57 CEST 2003     root at titan.klemm.apsfilter.org:/usr/src/sys/i386/compile/TITAN  i386

The camera will be detected on startup of FreeBSD:

	ugen1: Canon Inc. Canon Digital Camera, rev 1.10/0.01, addr 2

The Canon is recognized correctly from within the application.
Digikam software autodetects usb port and Camera Model without problems.

But it can't access the pictures in the camera.

Do you have any idea, if this is more a FreeBSD or more an
application problem ?

I'm not sure where the gp_port_read function belongs to.
It doesn't appear neither in FreeBSD OS sources nor in digikam sources...

When I startup digikam in the Shell-Konsole window I get this
output from the application:

root at titan[ttyp2]{202} ~ digikam
_KDE_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
kbuildsycoca running...
gp_port_read: Operation timed out
gp_port_read: Operation timed out
WARNING: KDE detected X Error: BadMatch (invalid parameter attributes) \x08
  Major opcode:  *
WARNING: KDE detected X Error: BadMatch (invalid parameter attributes) \x08
  Major opcode:  *
WARNING: KDE detected X Error: BadMatch (invalid parameter attributes) \x08
  Major opcode:  *

No syslog/kernel output in the xconsole window.

Here dmesg and kernel config output:

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.1-CURRENT #0: Fri Sep 26 07:19:57 CEST 2003
    root at titan.klemm.apsfilter.org:/usr/src/sys/i386/compile/TITAN
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0461000.
Preloaded elf module "/boot/kernel/linux.ko" at 0xc04611f4.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04612a0.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (997.46-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 536854528 (511 MB)
avail memory = 516669440 (492 MB)
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS   MED_2001> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 6 entries at 0xc00f0eb0
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 4 INTD is routed to irq 10
pcib0: slot 4 INTD is routed to irq 10
pcib0: slot 9 INTA is routed to irq 3
pcib0: slot 10 INTA is routed to irq 10
agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem 0xfc000000-0xfdffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.AGP_ - AE_NOT_FOUND
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686A UDMA66 controller> port 0xd800-0xd80f at device 4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 10 at device 4.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ulpt0: Hewlett-Packard PSC 2200 Series, rev 2.00/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode
umass0: Hewlett-Packard PSC 2200 Series, rev 2.00/1.00, addr 2
ugen0: Syncrosoft Protected Executer, rev 1.10/1.01, addr 3
uhci1: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 10 at device 4.3 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0: <multimedia, audio> at device 9.0 (no driver attached)
fxp0: <Intel 82559 Pro/100 Ethernet> port 0xa400-0xa43f mem 0xed000000-0xed0fffff,0xed800000-0xed800fff irq 10 at device 10.0 on pci0
fxp0: Ethernet address 00:d0:b7:ba:c1:c2
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4
orm0: <Option ROMs> at iomem 0xcc000-0xccfff,0xc0000-0xcb7ff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 997462191 Hz quality 800
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 16 steps (100% to 6.2%), currently 100.0%
GEOM: create disk ad0 dp=0xc4124470
ad0: 176700MB <IC35L180AVV207-1> [359010/16/63] at ata0-master UDMA66
acd0: CDRW <SONY CD-RW CRX140E> at ata0-slave PIO4
GEOM: create disk ad2 dp=0xc4123b70
ad2: 176700MB <IC35L180AVV207-1> [359010/16/63] at ata1-master UDMA66
acd1: DVDROM <LITEON DVD-ROM LTD122> at ata1-slave PIO4
GEOM: create disk da0 dp=0xc412ac50
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <HP psc 2210 1.00> Removable Direct Access SCSI-2 device 
da0: 1.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 -> 6
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 -> 6
Mounting root from ufs:/dev/ad2s1a
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to deny, logging disabled
fxp0: promiscuous mode enabled
ugen1: Canon Inc. Canon Digital Camera, rev 1.10/0.01, addr 2


machine		i386
cpu		I686_CPU
ident		TITAN

options 	SCHED_4BSD		#4BSD scheduler
options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	UFS_ACL			#Support for access control lists
options 	UFS_DIRHASH		#Improve performance on big directories
options 	MD_ROOT			#MD is a potential root device
options 	CD9660			#ISO 9660 Filesystem
options 	PROCFS			#Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		#Pseudo-filesystem framework
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	COMPAT_FREEBSD4		#Compatible with FreeBSD4
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev

device		isa
device		pci

# Floppy drives
device		fdc

# ATA and ATAPI devices
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
device		atapifd			# ATAPI floppy drives
options 	ATA_STATIC_ID		#Static device numbering

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard
device		psm		# PS/2 mouse

device		vga		# VGA video card driver

device		splash		# Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device		sc

device		agp		# support several AGP chipsets

# Floating point support - do not disable.
device		npx

# Serial (COM) ports
device		sio		# 8250, 16[45]50 based serial ports

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device		miibus		# MII bus support
device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)

# Pseudo devices - the number indicates how many units to allocate.
device		random		# Entropy device
device		loop		# Network loopback
device		ether		# Ethernet support
device		pty		# Pseudo-ttys (telnet etc)
device		md		# Memory "disks"

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device		bpf		# Berkeley packet filter

# USB support
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		usb		# USB Bus (required)
#device		udbp		# USB Double Bulk Pipe devices
device		ugen		# Generic
device		uhid		# "Human Interface Devices"
device		ulpt		# Printer
device		umass		# Disks/Mass storage - Requires scbus and da
device		urio		# Diamond Rio 500 MP3 player
device		uscanner	# Scanners

device		scbus		# SCSI bus (required for SCSI)
device		da		# Direct Access (disks)
device		pass		# Passthrough device (direct SCSI access)

Gruß

	Andreas ///

-- 
http://www.64bits.de
http://www.apsfilter.org/
http://people.FreeBSD.ORG/~andreas
http://members.ebay.de/aboutme/anklemm/


More information about the freebsd-multimedia mailing list