View previous topic :: View next topic |
Author |
Message |
Battlestar Gentoo l33t
Joined: 23 Dec 2004 Posts: 708 Location: Wien
|
Posted: Mon Sep 05, 2005 9:18 pm Post subject: [SOLVED] Digitalkamera - keine Verbindung mehr? |
|
|
Hi,
ich glaube, es liegt an meinem letzten Systemupdate, dass meine Digicam (HP 635) im Programm Digikam 0.7.1 nicht mehr erkannt wird. Eine Cam wurde mit Auto-Erkennung in Digikam 0.7.1 erkannt. Sie verbindet sich auch zum Computer, und ich kann die Bilder (auf einem Windowsrechner) runterladen. Es ist also ein Linuxproblem. Jedesmal, wenn ich mich im Programm mit der Cam verbinden will, kommt die Meldung, dass es fehlgeschlagen sei, und ob ich es nochmal versuchen will. Mehrmaliges "YES" klicken nutzt auch nichts. ich hab auch schon versucht, DigiKam neu zu kompilieren, aber ich kann es nicht mehr. Das Kompiliervorgang bricht einfach irgendwann ab. Worin könnte die Ursache liegen, dass das Programm meine Digicam nicht mehr findet?
Ich habe übrigens auch wieder den alten Kernel 2.6.11.11 geladen, aber hier geht es auch nicht mehr. _________________ vorher: Gentoo Reptile
Last edited by Battlestar Gentoo on Sun Sep 11, 2005 9:39 am; edited 1 time in total |
|
Back to top |
|
|
SvenFischer Veteran
Joined: 05 Feb 2003 Posts: 1033 Location: Berlin
|
Posted: Mon Sep 05, 2005 10:56 pm Post subject: |
|
|
Schon "lsusb" probiert, zeigt er was an?
Digikam als root gestartet?
udev 068 funktioniert hier prächtig, aber beim update darauf haben sich die Rechteeinstellungen massiv geändert!
Ist die Gruppe richtig gesetzt von dem Benutzer, die in
/etc/hotplug/usb/???? vorgeschrieben wird? _________________ Core2Duo, 4GB RAM, AMD/ATI 4850 and nice person in front! |
|
Back to top |
|
|
Battlestar Gentoo l33t
Joined: 23 Dec 2004 Posts: 708 Location: Wien
|
Posted: Tue Sep 06, 2005 12:35 pm Post subject: |
|
|
Hi,
danke, jetzt bin ich einen Schritt weiter...
Quote: | Schon "lsusb" probiert, zeigt er was an? |
Den Befehl kannte ich nicht. Es wird aber jedenfalls die Digicam erkannt.
Quote: | Digikam als root gestartet? |
Habe ich jetzt ausprobiert und kann als Root auch die Bilder von der Digicam runterladen.
Quote: | udev 068 funktioniert hier prächtig, aber beim update darauf haben sich die Rechteeinstellungen massiv geändert!
Ist die Gruppe richtig gesetzt von dem Benutzer, die in
/etc/hotplug/usb/???? vorgeschrieben wird? |
Sorry dabei stehe ich an.
Ich sah mir daraufhin mal das Script /etc/hotplug/usb/usbcam an, worin mehrere Punkte (a-d) aufgelistet sind und beispielsweise unter a) erwähnt wird, dass man print-usb-usermap ausführen soll, wobei mein System diesen Befehl weder als User noch als root kennt.
Ich glaube auch, dass ich jetzt auf dem falsch Weg bin.
Wie funktioniert das mit udev 068? Was muss ich tun, um dem User wieder die Rechte für die Cam geben zu können? _________________ vorher: Gentoo Reptile |
|
Back to top |
|
|
Battlestar Gentoo l33t
Joined: 23 Dec 2004 Posts: 708 Location: Wien
|
Posted: Sat Sep 10, 2005 9:16 am Post subject: |
|
|
Wie ist das nun mit den udev Regeln?
Ich versuche irgendwie mithilfe von http://de.gentoo-wiki.com/Udev_Rules#Beispiel_2:_USB-Massenspeicher_Digicam meine Digicam zu identifizieren, um vielleicht den Fehler zu finden, aber wo zum Kuckuck ist die Gerätedatei der Kamera eigentlich? Wenn ich in /dev/usb meinen Drucker finde (auch wenn dieser nicht online ist), meine Kamera aber nicht (obwohl diese mit dem Computer verbunden, und eingeschaltet ist!), muss doch hier irgendwas faul sein? _________________ vorher: Gentoo Reptile |
|
Back to top |
|
|
Battlestar Gentoo l33t
Joined: 23 Dec 2004 Posts: 708 Location: Wien
|
Posted: Sat Sep 10, 2005 9:21 am Post subject: |
|
|
Desweiteren habe ich den Inhalt von /dev in eine Datei geschrieben, danach die Kamera angesteckt, die Datei nochmal erzeugt, und dann mit diff verglichen, um zu sehen, ob sich nach dem Anstecken etwas geändert hat. Allerdings ist das nicht der Fall. _________________ vorher: Gentoo Reptile |
|
Back to top |
|
|
SinoTech Advocate
Joined: 20 Mar 2004 Posts: 2579 Location: Neunkirchen / Saarland / Germany
|
Posted: Sat Sep 10, 2005 9:34 am Post subject: |
|
|
Was sagt "dmesg" nach dem du die Kamera eingesteckt hast ?
Mfg
Sino |
|
Back to top |
|
|
Battlestar Gentoo l33t
Joined: 23 Dec 2004 Posts: 708 Location: Wien
|
Posted: Sat Sep 10, 2005 9:49 am Post subject: |
|
|
Hi,
Ausgabe von dmesg:
Quote: |
Linux version 2.6.11.11 (root@gentoo) (gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)) #4 SMP Sat Sep 3 17:39:10 GMT 2005
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)
BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS)
BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data)
BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
Warning only 896MB will be used.
Use a HIGHMEM enabled kernel.
896MB LOWMEM available.
found SMP MP-table at 000f5c10
On node 0 totalpages: 229376
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 225280 pages, LIFO batch:16
HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 MSISYS ) @ 0x000f7550
ACPI: RSDT (v001 MSISYS MSI ACPI 0x42302e31 AWRD 0x00000000) @ 0x3fff3000
ACPI: FADT (v001 MSISYS MSI ACPI 0x42302e31 AWRD 0x00000000) @ 0x3fff3040
ACPI: MADT (v001 MSISYS AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3fff6bc0
ACPI: DSDT (v001 MSISYS AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 15:1 APIC version 20
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high level)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode: Flat. Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 40000000 (gap: 40000000:bfb00000)
Built 1 zonelists
Kernel command line: BOOT_IMAGE=gentoo
__iounmap: bad address c00fffd9
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
Initializing CPU#0
CPU 0 irqstacks, hard=c0763000 soft=c075b000
PID hash table entries: 4096 (order: 12, 65536 bytes)
Detected 1800.328 MHz processor.
Using tsc for high-res timesource
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 901940k/917504k available (4220k kernel code, 15116k reserved, 1920k data, 340k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 3547.13 BogoMIPS (lpj=1773568)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 3febfbff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 3febfbff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 256K
CPU: Hyper-Threading is disabled
CPU: After all inits, caps: 3febfbff 00000000 00000000 00000080 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
CPU0: Thermal monitoring enabled
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
CPU0: Intel(R) Pentium(R) 4 CPU 1.80GHz stepping 02
per-CPU timeslice cutoff: 731.50 usecs.
task migration cache decay timeout: 1 msecs.
Total of 1 processors activated (3547.13 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 pin1=2 pin2=-1
Brought up 1 CPUs
CPU0 attaching sched-domain:
domain 0: span 01
groups: 01
domain 1: span 01
groups: 01
NET: Registered protocol family 16
EISA bus registered
PCI: PCI BIOS revision 2.10 entry at 0xfb120, last bus=2
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20050211
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 14 devices
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
** PCI interrupts are no longer routed automatically. If this
** causes a device to stop working, it is probably because the
** driver failed to call pci_enable_device(). As a temporary
** workaround, the "pci=routeirq" argument restores the old
** behavior. If this argument makes the device work again,
** please email the output of "lspci" to bjorn.helgaas@hp.com
** so I can fix the driver.
Machine check exception polling timer started.
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
NTFS driver 2.1.22 [Flags: R/W DEBUG].
SGI XFS with large block numbers, no debug enabled
vesafb: framebuffer at 0xd0000000, mapped to 0xf8880000, using 3072k, total 65536k
vesafb: mode is 1024x768x16, linelength=2048, pages=0
vesafb: protected mode interface info at c000:bb30
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
vga16fb: initializing
vga16fb: mapped to 0xc00a0000
fb1: VGA16 VGA frame buffer device
ACPI: Power Button (FF) [PWRF]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Fan [FAN] (on)
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 2 throttling states)
ACPI: Thermal Zone [THRM] (22 C)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
lp: driver loaded but no devices found
Non-volatile memory driver v1.2
hw_random: RNG not detected
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP(,...)]
lp0: using parport0 (interrupt-driven).
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
pktcdvd: v0.2.0a 2004-07-14 Jens Axboe (axboe@suse.de) and petero2@telia.com
ACPI: PCI interrupt 0000:02:02.0[A] -> GSI 18 (level, low) -> IRQ 18
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
0000:02:02.0: 3Com PCI 3c900 Boomerang 10baseT at 0xc000. Vers LK1.1.19
eth0: Dropping NETIF_F_SG since no checksum feature.
Linux video capture interface: v1.00
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH2: IDE controller at PCI slot 0000:00:1f.1
ICH2: chipset revision 18
ICH2: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: ST380020A, ATA DISK drive
hdb: IDE DVD-ROM 16X, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: Maxtor 6Y080P0, ATA DISK drive
hdd: RW-201040, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
hda: max request size: 128KiB
hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
hda: cache flushes not supported
hda: hda1 hda2 < hda5 >
hdc: max request size: 128KiB
hdc: 160086528 sectors (81964 MB) w/7936KiB Cache, CHS=65535/16/63, UDMA(33)
hdc: cache flushes supported
hdc: hdc1 hdc2 hdc3 hdc4 < hdc5 >
hdb: ATAPI 16X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
ide-floppy driver 0.99.newide
libata version 1.10 loaded.
ohci1394: $Rev: 1223 $ Ben Collins <bcollins@debian.org>
ACPI: PCI interrupt 0000:02:01.0[A] -> GSI 17 (level, low) -> IRQ 17
ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[17] MMIO=[df004000-df0047ff] Max Packet=[2048]
ieee1394: raw1394: /dev/raw1394 device initialized
pd: pd version 1.05, major 45, cluster 64, nice 0
pda: Autoprobe failed
pd: no valid drive found
pcd: pcd version 1.07, major 46, nice 0
pcd0: Autoprobe failed
pcd: No CD-ROM drive found
pf: pf version 1.04, major 47, cluster 64, nice 0
pf: No ATAPI disk detected
pt: pt version 1.04, major 96
pt0: Autoprobe failed
pt: No ATAPI tape drive detected
pg: pg version 1.02, major 97
pga: Autoprobe failed
pg: No ATAPI device detected
ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
USB Universal Host Controller Interface driver v2.2
ACPI: PCI interrupt 0000:00:1f.2[D] -> GSI 19 (level, low) -> IRQ 19
uhci_hcd 0000:00:1f.2: Intel Corp. 82801BA/BAM USB (Hub #1)
PCI: Setting latency timer of device 0000:00:1f.2 to 64
uhci_hcd 0000:00:1f.2: irq 19, io base 0xd000
uhci_hcd 0000:00:1f.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:1f.4[C] -> GSI 23 (level, low) -> IRQ 23
uhci_hcd 0000:00:1f.4: Intel Corp. 82801BA/BAM USB (Hub #2)
PCI: Setting latency timer of device 0000:00:1f.4 to 64
uhci_hcd 0000:00:1f.4: irq 23, io base 0xd800
uhci_hcd 0000:00:1f.4: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usb 2-1: new full speed USB device using uhci_hcd and address 2
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x043D pid 0x0079
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
usbcore: registered new driver ov511
drivers/usb/media/ov511.c: v1.64 for Linux 2.5 : ov511 USB Camera Driver
drivers/usb/media/se401.c: SE401 usb camera driver version 0.24 registering
usbcore: registered new driver se401
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
EISA: Probing bus 0 at eisa0
Cannot allocate resource for EISA slot 4
Cannot allocate resource for EISA slot 5
EISA: Detected 0 cards.
Advanced Linux Sound Architecture Driver Version 1.0.8 (Thu Jan 13 09:39:32 2005 UTC).
ACPI: PCI interrupt 0000:00:1f.5[B] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1f.5 to 64
ieee1394: Host added: ID:BUS[0-00:1023] GUID[0030952680010a2e]
intel8x0_measure_ac97_clock: measured 49013 usecs
intel8x0: clocking to 48000
usbcore: registered new driver snd-usb-audio
ALSA device list:
#0: Intel 82801BA-ICH2 with ALC200/200P at 0xdc00, irq 17
oprofile: using NMI interrupt.
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 64Kbytes
TCP established hash table entries: 131072 (order: 9, 2097152 bytes)
TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
IPv4 over IPv4 tunneling driver
ip_conntrack version 2.1 (7168 buckets, 57344 max) - 220 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_recent v0.3.1: Stephen Frost <sfrost@snowman.net>. http://snowman.net/projects/ipt_recent/
arp_tables: (C) 2002 David S. Miller
NET: Registered protocol family 1
NET: Registered protocol family 17
PM: Reading swsusp image.
PM: Resume from disk failed.
ACPI wakeup devices:
SLPB PCI0 HUB0 USB0 USB1 UAR1 UAR2
ACPI: (supports S0 S1 S4 S5)
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 340k freed
kjournald starting. Commit interval 5 seconds
Adding 500464k swap on /dev/hdc2. Priority:-1 extents:1
EXT3 FS on hdc3, internal journal
kjournald starting. Commit interval 5 seconds
EXT3 FS on hdc5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
NTFS volume version 3.1.
NTFS-fs error (device hda1): load_system_files(): Volume is dirty. Mounting read-only. Run chkdsk and mount in Windows.
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ACPI: PCI interrupt 0000:02:02.0[A] -> GSI 18 (level, low) -> IRQ 18
usb 2-2: new full speed USB device using uhci_hcd and address 3
usb 2-2: USB disconnect, address 3
usb 2-2: new full speed USB device using uhci_hcd and address 4
usb 2-2: USB disconnect, address 4
usb 2-2: new full speed USB device using uhci_hcd and address 5
usb 2-2: USB disconnect, address 5
usb 2-2: new full speed USB device using uhci_hcd and address 6
usb 2-2: USB disconnect, address 6
usb 2-2: new full speed USB device using uhci_hcd and address 7
usb 2-2: USB disconnect, address 7
usb 2-2: new full speed USB device using uhci_hcd and address 8
usb 2-2: USB disconnect, address 8
usb 2-2: new full speed USB device using uhci_hcd and address 9
usb 2-2: USB disconnect, address 9
usb 2-2: new full speed USB device using uhci_hcd and address 10
usb 2-2: USB disconnect, address 10
usb 2-2: new full speed USB device using uhci_hcd and address 11
usb 2-2: USB disconnect, address 11
usb 2-2: new full speed USB device using uhci_hcd and address 12
|
Er findet zwar einen Unterschied zu der Ausgabe von dmesg ohne eingesteckter Kamera, aber wie kann ich mir diesen Unterschied anzeigen lassen, ohne, dass ich Zeile für Zeile lesen muss?
Habe irgendwie bei der diff Manual nichts gefunden.
Code: | drivers/usb/media/ov511.c: v1.64 for Linux 2.5 : ov511 USB Camera Driver
drivers/usb/media/se401.c: SE401 usb camera driver version 0.24 registering
|
Diese Zeilen können es nicht sein, da sie auch bei ausgesteckter Kamer da stehen. _________________ vorher: Gentoo Reptile |
|
Back to top |
|
|
SinoTech Advocate
Joined: 20 Mar 2004 Posts: 2579 Location: Neunkirchen / Saarland / Germany
|
Posted: Sat Sep 10, 2005 10:24 am Post subject: |
|
|
Hmm ... naja, also eigentlich habe ich auch mehr sowas erwartet:
Code: |
usb 1-1: new full speed USB device using uhci_hcd and address 2
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
Vendor: Model: USB DRIVE Rev: 2.00
Type: Direct-Access ANSI SCSI revision: 02
sda: Unit Not Ready, sense:
: Current: sense key=0x6
ASC=0x28 ASCQ=0x0
SCSI device sda: 512000 512-byte hdwr sectors (262 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 512000 512-byte hdwr sectors (262 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
sda: sda1
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
Attached scsi generic sg1 at scsi1, channel 0, id 0, lun 0, type 0
usb-storage: device scan complete
|
Ist vom meinem USB-Stick (Habe keine Digi-Cam), aber sollte bei dir doch eigentlich trotzdem so ähnlich aussehen !?
Gentoo Reptile wrote: |
[...]
Quote: | Schon "lsusb" probiert, zeigt er was an? |
Den Befehl kannte ich nicht. Es wird aber jedenfalls die Digicam erkannt.
|
Und was ist nun die Ausgab von "lsusb" ?
Mfg
Sino |
|
Back to top |
|
|
Battlestar Gentoo l33t
Joined: 23 Dec 2004 Posts: 708 Location: Wien
|
Posted: Sat Sep 10, 2005 11:46 am Post subject: |
|
|
Also die Ausgabe von lsusb ist:
Code: | Bus 002 Device 006: ID 03f0:7102 Hewlett-Packard |
_________________ vorher: Gentoo Reptile |
|
Back to top |
|
|
SinoTech Advocate
Joined: 20 Mar 2004 Posts: 2579 Location: Neunkirchen / Saarland / Germany
|
Posted: Sat Sep 10, 2005 12:29 pm Post subject: |
|
|
Hmmm ... irgendwie wird für deine DigiCam kein Devicenode unter /dev angelegt. Hast du am kernel was geändert ? Evtl. irgendwas rausgenommen ?
Das ist was ich ausser dem USB Zeugs noch im Kernel aktiviert habe:
Code: |
Device drivers -->
SCSI device support -->
<*> SCSI device support
<*> SCSI disk support
<*> SCSI generic support
|
Mfg
Sino |
|
Back to top |
|
|
SvenFischer Veteran
Joined: 05 Feb 2003 Posts: 1033 Location: Berlin
|
Posted: Sat Sep 10, 2005 1:29 pm Post subject: |
|
|
Quote: |
AMDXP sven # cat /etc/hotplug/usb/
bcm203x capi plustek usbcam
bcm203x.usermap capi.usermap plustek.usermap usbcam.usermap
|
Quote: |
AMDXP sven # cat /etc/hotplug/usb/usbcam
if [ -z "${DEVICE}" ] ; then
IF=$(echo ${DEVPATH} | sed 's:\(bus/usb/devices/\)\(.*\)-\(.*\):\2:')
if [ -r /sys/${DEVPATH}/devnum ]; then
DEV=$(cat /sys/${DEVPATH}/devnum)
else
DEV=1 # you'll have to adjust this manually for kernel < 2.6.6
fi
DEVICE=$(printf '/proc/bus/usb/%.03d/%.03d' ${IF} ${DEV})
fi
if [ "$ACTION" = "add" -a "$TYPE" = "usb" ]; then
chown root:usb "$DEVICE" #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
chmod 0660 "$DEVICE"
fi
|
Jetzt muss der Benuter nur noch Mitglied in der Gruppe "usb" sein.
Quote: |
/etc/hotplug/usb/usbcam.usermap
|
Hier sollte Deine Kamera sein, sie findet sich über die Vendor und Produkt ID (Ausgabe von lsusb). _________________ Core2Duo, 4GB RAM, AMD/ATI 4850 and nice person in front! |
|
Back to top |
|
|
Battlestar Gentoo l33t
Joined: 23 Dec 2004 Posts: 708 Location: Wien
|
Posted: Sat Sep 10, 2005 4:30 pm Post subject: |
|
|
@SinoTech: SCSI device Support als eigenen Punkt habe ich in der Kernelkonfiguration gar nicht dabei (2.6.11.11). Wahrscheinlich hat man das hier automatisch, wenn man einen der Punkte auswählt.
Irgendwas absichtlich entfernt habe ich sicher auch nicht.
@Sven: Meine /etc/hotplug/usb/usbcam sieht ganz anders aus:
Code: | if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ]
then
# New code, using lock files instead of copying /dev/console permissions
# This also works with non-gdm logins (e.g. on a virtual terminal)
# Idea and code from Nalin Dahyabhai <nalin@redhat.com>
if [ -f /var/run/console.lock ]
then
CONSOLEOWNER=`cat /var/run/console.lock`
elif [ -f /var/lock/console.lock ]
then
CONSOLEOWNER=`cat /var/lock/console.lock`
else
CONSOLEOWNER=
fi
if [ -n "$CONSOLEOWNER" ]
then
chmod 0000 "${DEVICE}"
chown "$CONSOLEOWNER" "${DEVICE}"
chmod 0600 "${DEVICE}"
fi
fi |
Quote: | Jetzt muss der Benuter nur noch Mitglied in der Gruppe "usb" sein. |
Ich habe zur Sicherheit mal ein usermod -G usb MEIN_STD_USER ausgeführt, aber Digikam bekommt trotzdem keine Verbindung zur Kamera.
Quote: | /etc/hotplug/usb/usbcam.usermap |
ich habe maximal ein /etc/hotplug/usb/usbcam-gphoto2.usermap, aber meine Kameraversion ist nicht dabei. Es gibt nur die HP Photosmart 620 und 715, aber 635 ist nicht dabei. _________________ vorher: Gentoo Reptile |
|
Back to top |
|
|
SvenFischer Veteran
Joined: 05 Feb 2003 Posts: 1033 Location: Berlin
|
Posted: Sat Sep 10, 2005 6:28 pm Post subject: |
|
|
etc/hotplug/usb/usbcam und etc/hotplug/usb/usbcam-gphoto2.usermap funktioniert nicht , weil die gleich genannt werden müssen (bis auf .usermap).
mv etc/hotplug/usb/usbcam-gphoto2.usermap etc/hotplug/usb/usbcam.usermap
So und dann noch Deine Kamera in usbcam.usermap einfügen (Zeile kopieren und die vendor/produkt -ID aus "lsusb" über nehmen. da gibt es aber gewisse Spielregeln mit der führenden Null...
Ach ja: Das /etc/hotplug/usb/usbcam Script von mir habe ich mal aus einem anderen Beitrag genommen, um genau dieses Problem zu lösen! Wenn dort keine Gruppe "usb" angegeben wird, dann nützt es auch nichts den User in diese Gruppe einzubeziehen. _________________ Core2Duo, 4GB RAM, AMD/ATI 4850 and nice person in front! |
|
Back to top |
|
|
Battlestar Gentoo l33t
Joined: 23 Dec 2004 Posts: 708 Location: Wien
|
Posted: Sun Sep 11, 2005 9:41 am Post subject: |
|
|
Danke dir. Es hat wunderbar geklappt.
Allerdings würde mich trotzdem noch interessieren, was ich hier nun eigenltich getan habe. Was ist diese ID Nummer genau, und inwiefern spielt hier usbcam.usermap eigentlich eine Rolle? _________________ vorher: Gentoo Reptile |
|
Back to top |
|
|
SvenFischer Veteran
Joined: 05 Feb 2003 Posts: 1033 Location: Berlin
|
Posted: Sun Sep 11, 2005 10:59 am Post subject: |
|
|
Ganz einfach: in der usermap findet er die passende kamera. Dann führt er das Script aus "usbcam" aus. Dort ändert er das von udev angelgte Gerät und gibt ihm die Rechte root und die Gruppe usb... _________________ Core2Duo, 4GB RAM, AMD/ATI 4850 and nice person in front! |
|
Back to top |
|
|
|
|
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
|
|