[buug-l] USB-Keybord mit FreeBSD

Steffen Schulz pepe_ml at gmx.net
Sun May 25 19:48:03 CEST 2003


Hallo allerseits,

ich hab hier vor kurzem FreeBSD 5.0 installiert, ging soweit gut und
problemlos. Leider hat mein PS2-Stecker seit einiger Zeit nen
Wackelkontakt, sodass ich mir nen PS2toUSB-Adapter zugelegt habe.

Dort hängt mein Keyboard jetzt dran, hat Linux auch keine Probleme mit,
wird als ganz normale USB-Tastatur eingebunden. Leider war das in BSD
nicht der Fall, auch die gängigen FAQs und manpages waren ratlos.

Die USB-Geräte scheinen sichtbar zu sein, wenn ich sie nutzen will,
funktionieren sie aber dummerweise nicht:

> usbdevs -dv
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00
  uhub0
 port 1 addr 2: low speed, power 100 mA, config 1, USB to PS2 Adaptor  v1.10(0x0001), Composite USB PS2 Converter(0x0518), rev 0.01
   ukbd0
   ums0
 port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00
  uhub1
 port 1 powered
 port 2 powered

> kbdcontrol -i < /dev/kbd1
kbd1:
    ukbd0, type:generic (0)

> kbdcontrol -k /dev/kbd1 < /dev/console


-> Nix. Adapter rausnehmen, ps2-keyboard läuft wieder.
   Auf Console ohne das "< /dev/console" geht auch nicht.

> moused -d -i all -p /dev/ums0 
moused: proto params: f8 80 00 00 8 00 ff
/dev/ums0 usb sysmouse generic

> moused -d -p /dev/ums0 -t auto


-> Nix. Weiss aber auch nicht, ob das laufen sollte,
   die Maus sitzt normal am PS2-Stecker.

usbd läuft, der ist hier aber offenbar nicht zuständig.
Mit dem Modul-kram in BSD kenn ich mich nicht aus. Kann man hier zur
Laufzeit was regeln oder geht das nur über die boot-dateien?

Das folgende devinfo ist das einzige, was ich da gefunden habe.


> devinfo -r
nexus0
  npx0
  acpi0
      Interrupt request lines:
          3
    acpi_timer0
        I/O ports:
            0x4008-0x400b
    acpi_cpu0
        I/O ports:
            0x4010-0x4015
    acpi_button0
    pcib0
      pci0
        agp0
            I/O memory addresses:
                0xc0000000-0xcfffffff
        pcib1
          pci1
        isab0
          isa0
            sc0
            sio0
                Interrupt request lines:
                    4
                I/O ports:
                    0x3f8-0x3ff
            vga0
                I/O ports:
                    0x3c4-0x3e3
                I/O memory addresses:
                    0xa0000-0xbffff
            orm0
                I/O memory addresses:
                    0xc0000-0xc7fff
                    0xc8000-0xcbfff
                    0xcc000-0xcffff
            pmtimer0
        atapci0
          ata0
              Interrupt request lines:
                  14
              I/O ports:
                  0x1f0-0x1f7
                  0x3f6
                  0xc000-0xc007
          ata1
              Interrupt request lines:
                  15
              I/O ports:
                  0x170-0x177
                  0x376
                  0xc008-0xc00f
        uhci0
            Interrupt request lines:
                5
            I/O ports:
                0xc400-0xc41f
          usb0
            uhub0
              ukbd0
              ums0
        uhci1
            I/O ports:
                0xc800-0xc81f
          usb1
            uhub1
        atapci1
            Interrupt request lines:
                11
            I/O ports:
                0xcc00-0xcc07
                0xd002
                0xd400-0xd407
                0xd802
          ata2
              I/O ports:
                  0xdc00-0xdc07
          ata3
              I/O ports:
                  0xdc08-0xdc0f
        ed0
            I/O ports:
                0xe000-0xe01f
    acpi_sysresource0
        I/O ports:
            0x10-0x1f
            0x22-0x3f
            0x44-0x5f
            0x62-0x63
            0x65-0x6f
            0x74-0x7f
            0x91-0x93
            0xa2-0xbf
            0xe0-0xef
            0x4d0-0x4d1
    atpic0
    atdma0
    attimer0
    attimer1
    npxisa0
    fdc0
        Interrupt request lines:
            6
        DMA request lines:
            2
        I/O ports:
            0x3f0-0x3f5
            0x3f7
    ppc0
        Interrupt request lines:
            7
        I/O ports:
            0x3bc-0x3c3
      ppbus0
        plip0
        lpt0
        ppi0
    psmcpnp0
        Interrupt request lines:
            12
    atkbdc0
        I/O ports:
            0x60
            0x64
      atkbd0
          Interrupt request lines:
              1
      psm0



Also wenn jemand Rat weiss, wär ich sehr dankbar.


mfg
pepe
-- 
No matter where you are... Everyone is always connected.
				- Serial Experiments Lain


More information about the buug-l mailing list