Linux 15.032 Themen, 107.080 Beiträge

Probleme mit USB

cobra77 / 15 Antworten / Baumansicht Nickles

Hi, alle zusammen! Bekomme meine USB-Maus nicht zum laufen. Habe im Kernel alles aktiviert was man für USB braucht. Wenn ich dann aber lsmod aufrufe sehe ich keine Module geladen wie z.B. usbcore, das ich ja brauche.Und wenn ich es mit modeprobe usbcore laden will kommt die Fehlermeldung: modprobe: Can't locate module usbcore 


Was rennt da falsch?


mfg Cobra

bei Antwort benachrichtigen
cobra77 Nachtrag zu: „Probleme mit USB“
Optionen

Und noch etwas! Ist es eigentlich egal ob ich usbcore in den kernel kompiliere oder muß ich es bei der Konfiguration als M(Modul) makieren?

bei Antwort benachrichtigen
the_mic cobra77 „Probleme mit USB“
Optionen

hast du die usb-unterstützung als module (M) gebaut oder fix integriert (*)? hast du die module auch installiert (make modules_install)?

cat /dev/brain > /dev/null
bei Antwort benachrichtigen
cobra77 Nachtrag zu: „Probleme mit USB“
Optionen

Ja habe die module installiert! Manches habe ich mit (*) eingebunden wie z.B. usbcore,anderes habe ich als(m) eingebunden!

bei Antwort benachrichtigen
the_mic cobra77 „Ja habe die module installiert! Manches habe ich mit eingebunden wie z.B....“
Optionen

wenn du es einbindest (*) dann wird auch kein modul erstellt sondern die sache direkt in den kernel hineingesetzt. dann ist es immer aktiv.

von der funktionalität her spielt es bei den meisten sachen keine rolle, ob es als modul oder als fixer bestandteil konfiguriert wird.

jetzt fehlt dir allenfalls noch die usb-hid-unterstützung oder irgend was aus der input-device ecke

cat /dev/brain > /dev/null
bei Antwort benachrichtigen
cobra77 Nachtrag zu: „Probleme mit USB“
Optionen

Ja habe die Module installiert! Manche Sachen habe ich mit (*) eingebunden wie z.B. usbcore,anderes habe ich als (m) eingebunden. Soll ich alles als Modul installieren?

bei Antwort benachrichtigen
cobra77 Nachtrag zu: „Probleme mit USB“
Optionen

Habe aber alles drinnen was es so zum auswählen gibt!

Input Core Support -->
*Input core support
*Keyboard support
*Mouse support

USB support -->
* Support for USB
* Preliminary USB device filesystem
* Enforce USB Bandtwidth allocation
M EHCI HCD (USB 2.0) support
M UHCI support
M UHCI Alternative Driver
M OHCI support
M USB Modem support
M USB Printer support
M USB Human Interface Device (full HID) support
* HID input layer support
* USBBP Mouse (basic) support
M USB Scanner support

bei Antwort benachrichtigen
the_mic cobra77 „Habe aber alles drinnen was es so zum auswählen gibt! Input Core Support --...“
Optionen

modem, drucker und scanner kannst du weglassen, wenn du keins dieser geräte hast.
ehci brauchst du nur bei usb2.0
ob uhci, uhci alt oder ohci hängt von deinem mainboard ab. du kannst nur eins von den drei modulen laden, nicht alle gleichzeitig.
bandwidth allocation ist doch experimental? würde ich weglassen.

unter input core support kannst du noch die event devices aktivieren. allenfalls wird die maus darüber angesprochen.

verwendest du jetzt eigentlich kernel 2.4 oder 2.6?

cat /dev/brain > /dev/null
bei Antwort benachrichtigen
Klaus_T cobra77 „Probleme mit USB“
Optionen

Dir fehlt das:

CONFIG_USB_HIDINPUT=y

Bye, Klaus

bei Antwort benachrichtigen
cobra77 Nachtrag zu: „Probleme mit USB“
Optionen

Danke für die Tips, aber es funkt nicht!
Jetzt habe ich mal "tail -f /var/log/messages" probiert und bekomme beim einstecken der USB-Maus die Meldung:

hub.c: new USB device 00:1d.1-1, assigned adress 8
usb.c: USB device 8 (vend/prod 0x45e/0x7d) is not claimed by any driver.

Also erkannt hat er die Maus aber er finded keinen Treiber dafür,oder was?

Info: Habe Woody mit dem 2.4.28-pre3 Kernel installiert.

mfg Cobra

bei Antwort benachrichtigen
the_mic cobra77 „Danke für die Tips, aber es funkt nicht! Jetzt habe ich mal tail -f...“
Optionen

modprobe usbmouse

cat /dev/brain > /dev/null
bei Antwort benachrichtigen
Klaus_T cobra77 „Danke für die Tips, aber es funkt nicht! Jetzt habe ich mal tail -f...“
Optionen

Das hat nicht unbedingt etwas zu bedeuten. Du hast nicht die ganze Ausgabe angegeben. Einige Zeilen davor und dahinter waeren noch interessant. Ausserdem die Ausgabe von:

grep "^[^#]*USB" /usr/src/linux/.config


Und ist usbdevfs gemountet?

Bye, Klaus

bei Antwort benachrichtigen
cobra77 Klaus_T „Das hat nicht unbedingt etwas zu bedeuten. Du hast nicht die ganze Ausgabe...“
Optionen

Danke für eure Hilfe,aber es will einfach nicht! Ich poste mal die Ausgaben die du gemeint hast Klaus.

Sep 25 15:12:34 ACER kernel: usb.c: USB device 2 (vend/prod 0x45e/0x7d) is not claimed by any active driver.
Sep 25 15:12:34 ACER kernel: Adding Swap: 666656k swap-space (priority -1)
Sep 25 15:12:34 ACER kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,6), internal journal
Sep 25 15:12:34 ACER kernel: kjournald starting. Commit interval 5 seconds
Sep 25 15:12:34 ACER kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,7), internal journal
Sep 25 15:12:34 ACER kernel: EXT3-fs: mounted filesystem with ordered data mode.
Sep 25 15:12:34 ACER lpd[320]: restarted
Sep 25 15:13:55 ACER kernel: usb.c: USB disconnect on device 00:1d.1-1 address 2
Sep 25 15:13:59 ACER kernel: hub.c: new USB device 00:1d.1-1, assigned address 3
Sep 25 15:13:59 ACER kernel: usb.c: USB device 3 (vend/prod 0x45e/0x7d) is not claimed by any active driver.


CONFIG_USB=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_UHCI_ALT=m
CONFIG_USB_ACM=m
CONFIG_USB_PRINTER=m
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
CONFIG_USB_HIDDEV=y
CONFIG_USB_SERIAL=m
CONFIG_USB_SERIAL_GENERIC=y


und die Ausgabe von dmesg:

Linux version 2.4.28-pre3 (root@ACER) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 Fri Sep 24 12:19:18 CEST 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001ff70000 (usable)
BIOS-e820: 000000001ff70000 - 000000001ff7b000 (ACPI data)
BIOS-e820: 000000001ff7b000 - 000000001ff80000 (ACPI NVS)
BIOS-e820: 000000001ff80000 - 0000000020000000 (reserved)
BIOS-e820: 00000000ff800000 - 00000000ffc00000 (reserved)
BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
511MB LOWMEM available.
On node 0 totalpages: 130928
zone(0): 4096 pages.
zone(1): 126832 pages.
zone(2): 0 pages.
ACPI: RSDP (v000 ACER ) @ 0x000f5dc0
ACPI: RSDT (v001 ACER Cardinal 0x20020702 LTP 0x00000000) @ 0x1ff74c61
ACPI: FADT (v001 ACER Cardinal 0x20020702 PTL 0x0000001e) @ 0x1ff7af64
ACPI: BOOT (v001 ACER Cardinal 0x20020702 LTP 0x00000001) @ 0x1ff7afd8
ACPI: DSDT (v001 ACER Cardinal 0x20020702 MSFT 0x0100000d) @ 0x00000000
Kernel command line: BOOT_IMAGE=Debian-2.4.28 ro root=306
Initializing CPU#0
Detected 1598.682 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 3191.60 BogoMIPS
Memory: 514892k/523712k available (1734k kernel code, 8432k reserved, 668k data, 96k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 1024K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: a7e9f9bf 00000000 00000000 00000000
CPU: Common caps: a7e9f9bf 00000000 00000000 00000000
CPU: Intel(R) Pentium(R) M processor 1600MHz stepping 05
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
ACPI: Subsystem revision 20040326
PCI: PCI BIOS revision 2.10 entry at 0xfd732, last bus=2
PCI: Using configuration type 1
ACPI: IRQ9 SCI: Edge set to Level Trigger.
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: System [ACPI] (supports S0 S3 S4 S5)
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
Transparent bridge - Intel Corp. 82801BAM/CAM PCI Bridge
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs *10)
ACPI: PCI Interrupt Link [LNKB] (IRQs *10)
ACPI: PCI Interrupt Link [LNKC] (IRQs *10)
ACPI: PCI Interrupt Link [LNKD] (IRQs *5)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 9 11 12) *10
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 9 11 12) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 10) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs *10)
ACPI: Embedded Controller [EC0] (gpe 29)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB_._PRT]
schedule_task(): keventd has not started
ACPI: Power Resource [PFN0] (off)
ACPI: Power Resource [PFN1] (off)
PCI: Probing PCI hardware
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 5
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 11
PCI: Using ACPI for IRQ routing
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
NTFS driver v1.1.22 [Flags: R/O]
udf: registering filesystem
ACPI: AC Adapter [ACAD] (on-line)
ACPI: Battery Slot [BAT1] (battery absent)
ACPI: Battery Slot [BAT2] (battery absent)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Fan [FAN0] (off)
ACPI: Fan [FAN1] (off)
ACPI: Processor [CPU0] (supports C1 C2 C3, 5 performance states)
ACPI: Thermal Zone [THRM] (49 C)
radeonfb: ref_clk=2700, ref_div=12, xclk=20000 from BIOS
radeonfb: panel ID string: HTC
radeonfb: detected LCD panel size from BIOS: 1400x1050
Console: switching to colour frame buffer device 175x65
radeonfb: ATI Radeon M9 Lf DDR SGRAM 64 MB
radeonfb: DVI port LCD monitor connected
radeonfb: CRT port no monitor connected
vesafb: abort, cannot reserve video memory at 0xd8000000
vesafb: framebuffer at 0xd8000000, mapped to 0xe481d000, size 3072k
vesafb: mode is 1024x768x16, linelength=2048, pages=41
vesafb: protected mode interface info at c000:54bb
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
fb1: VESA VGA frame buffer device
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
ipmi: message handler initialized
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Detected Intel(R) 855PM chipset
agpgart: AGP aperture is 256M @ 0xe0000000
[drm] AGP 0.99 on Unknown @ 0xe0000000 256MB
[drm] Initialized radeon 1.0.0 20010105 on minor 63
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 00:1f.1
PCI: Enabling device 00:1f.1 (0005 -> 0007)
ICH4: chipset revision 3
ICH4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1860-0x1867, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0x1868-0x186f, BIOS settings: hdc:DMA, hdd:pio
hda: IC25N040ATCS04-0, ATA DISK drive
blk: queue c03a4120, I/O limit 4095Mb (mask 0xffffffff)
hdc: UJDA740 DVD/CDRW, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 78140160 sectors (40008 MB) w/1768KiB Cache, CHS=4864/255/63, UDMA(100)
hdc: attached ide-cdrom driver.
hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
hda: hda1 hda2
Intel 810 + AC97 Audio, version 1.01, 12:20:14 Sep 24 2004
PCI: Setting latency timer of device 00:1f.5 to 64
i810: Intel ICH4 found at IO 0x18c0 and 0x1c00, MEM 0xd0000c00 and 0xd0000800, IRQ 10
i810: Intel ICH4 mmio at 0xe4b64c00 and 0xe4b66800
i810_audio: Primary codec has ID 0
i810_audio: Audio Controller supports 6 channels.
i810_audio: Defaulting to base 2 channel mode.
i810_audio: Resetting connection 0
i810_audio: Connection 0 with codec id 0
ac97_codec: AC97 Audio codec, id: ALG64 (Unknown)
i810_audio: AC'97 codec 0 supports AMAP, total channels = 2
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
PCI: Enabling device 02:06.1 (0080 -> 0082)
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
Yenta ISA IRQ mask 0x0098, PCI irq 10
Socket status: 30000006
Yenta ISA IRQ mask 0x0098, PCI irq 10
Socket status: 30000410
PCI: Setting latency timer of device 00:1d.7 to 64
ehci_hcd 00:1d.7: Intel Corp. 82801DB USB2
ehci_hcd 00:1d.7: irq 10, pci mem e4b6c000
usb.c: new USB bus registered, assigned bus number 1
ehci_hcd 00:1d.7: enabled 64bit PCI DMA
PCI: cache line size of 32 is not supported by device 00:1d.7
ehci_hcd 00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 6 ports detected
host/usb-uhci.c: $Revision: 1.275 $ time 12:20:19 Sep 24 2004
host/usb-uhci.c: High bandwidth mode enabled
PCI: Setting latency timer of device 00:1d.0 to 64
host/usb-uhci.c: USB UHCI at I/O 0x1800, IRQ 10
host/usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Setting latency timer of device 00:1d.1 to 64
host/usb-uhci.c: USB UHCI at I/O 0x1820, IRQ 5
host/usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Setting latency timer of device 00:1d.2 to 64
host/usb-uhci.c: USB UHCI at I/O 0x1840, IRQ 10
host/usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 4
hub.c: USB hub found
hub.c: 2 ports detected
host/usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 96k freed
hub.c: new USB device 00:1d.1-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x45e/0x7d) is not claimed by any active driver.
Adding Swap: 666656k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,6), internal journal
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,7), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
usb.c: USB disconnect on device 00:1d.1-1 address 2
hub.c: new USB device 00:1d.1-1, assigned address 3
usb.c: USB device 3 (vend/prod 0x45e/0x7d) is not claimed by any active driver.

Vielleicht hilft das was?

mfg Cobra

bei Antwort benachrichtigen
Klaus_T cobra77 „Danke für eure Hilfe,aber es will einfach nicht! Ich poste mal die Ausgaben die...“
Optionen

So kommen wir nicht richtig weiter. Du musst dich entscheiden, ob du alles als Module machen willst oder fest im Kernel. Das beste ist als Module, dann siehst du beim Laden, was schief geht. Also, sieh zu, dass du folgende Module hast:

input.o mousedev.o usbcore.o usb-uhci.o
(oder usb-ohci.o) hid.o

Dann laedst du die mal und schaust auf die Fehlermeldung. Vielleicht fehlen die auch noch die devices. Lese dir mal /usr/src/linux/Documentation/input/input.txt durch. Dort ist alles beschrieben. Eine Maus zum laufen zu bringen, ist normalerweise wirklich einfach. Was hast du denn noch alles fuer USB-Geraete?

Bye, Klaus

bei Antwort benachrichtigen
Klaus_T cobra77 „Danke für eure Hilfe,aber es will einfach nicht! Ich poste mal die Ausgaben die...“
Optionen

Gibt es eigentlich einen besonderen Grund, warum du den 2.4.28XX einsetzt? Du solltest den stabilen 2.4.27 nehmen. Mache dich von dem Wahn frei, immer das neueste haben zu muessen. Die anderen Kernel sollen nur Leute einsetzen, die die ganzen Sachen in- und auswendig kennen. Da treten noch zuviele Fehler auf. Genauso wie ich nie einen Kernel einsetzen wuerde, der vor X.X.10 ist, also 2.2.10, 2.4.10 und 2.6.10. Erst darueber hinaus kann man die einsetzen (In Produktivsystemen).

Bye, Klaus

bei Antwort benachrichtigen
cobra77 Nachtrag zu: „Probleme mit USB“
Optionen

Danke Klaus werds mal probieren!

mfg Cobra

bei Antwort benachrichtigen