Gå til innhold

Problem med USB enheter i Ubuntu 6.10


Anbefalte innlegg

Jeg har problemer med å koble til mitt kamera og kortleser til min laptop med Ubuntu 6.10.

 

Når jeg skriver lsusb:

Klikk for å se/fjerne innholdet nedenfor
Bus 005 Device 001: ID 0000:0000

Bus 003 Device 008: ID 04a9:3075 Canon, Inc. IXUS 400 Camera

Bus 003 Device 001: ID 0000:0000

Bus 002 Device 001: ID 0000:0000

Bus 004 Device 003: ID 076b:3021 OmniKey AG CardMan 3121

Bus 004 Device 001: ID 0000:0000

Bus 001 Device 001: ID 0000:0000

 

Beskjed ved importering av foto:

Klikk for å se/fjerne innholdet nedenfor
An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (Operation not permitted). Make sure no other program or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.

 

Når jeg prøver å installere pcsc-lite-1.4.0 for usb kortleser:

Klikk for å se/fjerne innholdet nedenfor
checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking for gcc... gcc

checking for C compiler default output file name... a.out

checking whether the C compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking for style of include used by make... GNU

checking dependency style of gcc... gcc3

checking how to run the C preprocessor... gcc -E

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking whether byte ordering is bigendian... no

checking whether to enable maintainer-specific portions of Makefiles... no

checking how to run the C preprocessor... gcc -E

checking for a BSD-compatible install... /usr/bin/install -c

checking whether ln -s works... yes

checking whether make sets $(MAKE)... (cached) yes

checking for flex... flex

checking lex output file root... lex.yy

checking lex library... -lfl

checking whether yytext is a pointer... yes

checking for bash... /bin/bash

checking for ksh... (cached) /bin/bash

checking for sh... (cached) /bin/bash

checking for pkg-config... /usr/bin/pkg-config

checking pkg-config is at least version 0.9.0... yes

checking for the pthreads library -lpthreads... no

checking whether pthreads work without any flags... no

checking whether pthreads work with -Kthread... no

checking whether pthreads work with -kthread... no

checking for the pthreads library -llthread... no

checking whether pthreads work with -pthread... yes

checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE

checking if more special flags are required for pthreads... no

checking for cc_r... gcc

checking for a sed that does not truncate output... /bin/sed

checking for ld used by gcc... /usr/bin/ld

checking if the linker (/usr/bin/ld) is GNU ld... yes

checking for /usr/bin/ld option to reload object files... -r

checking for BSD-compatible nm... /usr/bin/nm -B

checking how to recognise dependent libraries... pass_all

checking dlfcn.h usability... yes

checking dlfcn.h presence... yes

checking for dlfcn.h... yes

checking for g++... no

checking for c++... no

checking for gpp... no

checking for aCC... no

checking for CC... no

checking for cxx... no

checking for cc++... no

checking for cl.exe... no

checking for FCC... no

checking for KCC... no

checking for RCC... no

checking for xlC_r... no

checking for xlC... no

checking whether we are using the GNU C++ compiler... no

checking whether g++ accepts -g... no

checking dependency style of g++... none

checking for g77... no

checking for xlf... no

checking for f77... no

checking for frt... no

checking for pgf77... no

checking for cf77... no

checking for fort77... no

checking for fl32... no

checking for af77... no

checking for xlf90... no

checking for f90... no

checking for pgf90... no

checking for pghpf... no

checking for epcf90... no

checking for gfortran... no

checking for g95... no

checking for xlf95... no

checking for f95... no

checking for fort... no

checking for ifort... no

checking for ifc... no

checking for efc... no

checking for pgf95... no

checking for lf95... no

checking for ftn... no

checking whether we are using the GNU Fortran 77 compiler... no

checking whether accepts -g... no

checking the maximum length of command line arguments... 32768

checking command to parse /usr/bin/nm -B output from gcc object... ok

checking for objdir... .libs

checking for ar... ar

checking for ranlib... ranlib

checking for strip... strip

checking if gcc supports -fno-rtti -fno-exceptions... no

checking for gcc option to produce PIC... -fPIC

checking if gcc PIC flag -fPIC works... yes

checking if gcc static flag -static works... yes

checking if gcc supports -c -o file.o... yes

checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes

checking whether -lc should be explicitly linked in... no

checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory

GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking whether stripping libraries is possible... yes

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... yes

checking whether to build static libraries... yes

configure: creating libtool

appending configuration tag "CXX" to libtool

appending configuration tag "F77" to libtool

checking for ANSI C header files... (cached) yes

checking for sys/wait.h that is POSIX.1 compatible... yes

checking getopt.h usability... yes

checking getopt.h presence... yes

checking for getopt.h... yes

checking sys/filio.h usability... no

checking sys/filio.h presence... no

checking for sys/filio.h... no

checking syslog.h usability... yes

checking syslog.h presence... yes

checking for syslog.h... yes

checking dl.h usability... no

checking dl.h presence... no

checking for dl.h... no

checking fcntl.h usability... yes

checking fcntl.h presence... yes

checking for fcntl.h... yes

checking for an ANSI C-conforming const... yes

checking for uid_t in sys/types.h... yes

checking for size_t... yes

checking whether time.h and sys/time.h may both be included... yes

checking for error_at_line... yes

checking whether lstat dereferences a symlink specified with a trailing slash... yes

checking whether stat accepts an empty string... no

checking for vprintf... yes

checking for _doprnt... no

checking for daemon... yes

checking for flock... yes

checking for getopt_long... yes

checking for nanosleep... yes

checking for strerror... yes

checking for vsnprintf... yes

checking for strlcpy... no

checking for strlcat... no

checking for inline... inline

checking for -fvisibility=hidden... yes

checking for dlopen in -ldl... yes

checking for socket in -lsocket... no

checking for LIBUSB... no

no

checking for libusb-config... no

configure: WARNING: libusb-config not found.

checking usb.h usability... no

checking usb.h presence... no

checking for usb.h... no

configure: error: usb.h not found, use ./configure LIBUSB_CFLAGS=...

 

Noen som kan hjelpe meg å få dette til å fungere?

Lenke til kommentar
Videoannonse
Annonse

Det er installert en pakke som heter libpcsclite1 1.3.1-2, men jeg finner ikke en som heter bare pcsc lite i pakkehåntereren.

 

Etter at jeg har skrevet ./config og skal skrive make får jeg melding om at make filen ikke finnes.

 

 

Prøvde å skrive: sudo modprobe -r sdc2xx stv680 spca50x

 

Fikk da FATAL: Module sdc2xx not found.

Tok vekk sdc2xx fra komandoen og fikk da FATAL: Module spca50x not found.

 

Kan det være noe sånt som at det er noen USB drivere som ikke er installert eller korrupte?

 

Er ganske nybegynner på dette med linux.

Lenke til kommentar

sdc2xx og spca50x er vel bare navn på kjernemoduler der x-tegnet brukes som wildcard for ulike numre. Dermed funker det ikke å fjerne "sdc2xx" direkte.

 

For å sjekke om du har lastet noen av disse (slik at du deretter kan prøve å fjerne dem, for å teste tipset du fikk) så får du ut listen over alle aktive kjernemoduler vha lsmod-kommandoen. F.eks. for å raskt sjekke om du bruker disse to kan du grep'e outputen via en pipe: lsmod | grep sdc2 og lsmod | grep spca[/i] e.l.

 

Jeg har ikke peiling på pcsc, men hva med pakken pcscd -- og kanskje også pcsc-tools (begge to finnes i universe-repository). Disse er begge avhengige av libpcsclite1.

Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
  • Hvem er aktive   0 medlemmer

    • Ingen innloggede medlemmer aktive
×
×
  • Opprett ny...