dkms Módulo do kernel instalado, mas não funciona após a reinicialização

6

Comprei um teclado que é mostrado em lsusb :

Bus 002 Device 009: ID 0c45:7603 Microdia

mas os botões Ctrl , Windows / Super e Alt estão todos mapeados para Shift botão. Então eu segui o código de hardware e encontrei esta solução aqui , que funciona bem:

dkms status aziokbd
aziokbd, 1.0.0, 3.13.0-48-generic, x86_64: installed

No entanto, após a reinicialização, o teclado volta ao estado original (ctrl / alt / win mapeado para mudar), enquanto dkms status é o mesmo que acima, então eu tenho que sudo dkms uninstall -m aziokbd -v 1.0.0 e instalar novamente.

Como eu poderia "salvar" o estado instalado? obrigada.

Eu tenho o Ubuntu 14.04. Saída de uname -a

Linux PC 3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

  • informações de depuração após instaladas, reinicializadas e não funcionando :

    #####################
    dkms status
    ###############################
    
    8192cu, 1.9, 3.11.0-26-generic, x86_64: installed
    8192cu, 1.9, 3.13.0-44-generic, x86_64: installed
    8192cu, 1.9, 3.13.0-45-generic, x86_64: installed
    8192cu, 1.9, 3.13.0-46-generic, x86_64: installed
    8192cu, 1.9, 3.13.0-48-generic, x86_64: installed
    8192cu, 1.9, 3.2.0-65-generic, x86_64: installed
    8192cu, 1.9, 3.2.0-67-generic, x86_64: installed
    8192cu, 1.9, 3.2.0-68-generic, x86_64: installed
    8192cu, 1.9, 3.2.0-69-generic, x86_64: installed
    8192cu, 1.9, 3.2.0-70-generic, x86_64: installed
    8192cu, 1.9, 3.2.0-72-generic, x86_64: installed
    8192cu, 1.9, 3.2.0-74-generic, x86_64: installed
    aziokbd, 1.0.0, 3.13.0-48-generic, x86_64: installed
    virtualbox, 4.3.10, 3.13.0-46-generic, x86_64: installed
    virtualbox, 4.3.10, 3.13.0-48-generic, x86_64: installed
    virtualbox-guest, 4.3.10, 3.13.0-46-generic, x86_64: installed
    virtualbox-guest, 4.3.10, 3.13.0-48-generic, x86_64: installed
    
    #########################################3
    lsmod | grep -e usbhid -e aziokbd 
    #######################################3
    
    aziokbd                12900  0 
    usbhid                 52659  0 
    hid                   106148  2 hid_generic,usbhid
    
    
    ########################################
    lsusb -t
    #####################################
    /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
        |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
            |__ Port 1: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
            |__ Port 1: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
            |__ Port 2: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 3: Dev 5, If 0, Class=Video, Driver=uvcvideo, 480M
            |__ Port 3: Dev 5, If 1, Class=Video, Driver=uvcvideo, 480M
    /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
        |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
            |__ Port 2: Dev 3, If 0, Class=Vendor Specific Class, Driver=rtl8192cu, 480M
    
  • informações de depuração depois de reinstaladas e funcionando:

    ###########################
    dkms status
    ###########################
    
    8192cu, 1.9, 3.11.0-26-generic, x86_64: installed
    8192cu, 1.9, 3.13.0-44-generic, x86_64: installed
    8192cu, 1.9, 3.13.0-45-generic, x86_64: installed
    8192cu, 1.9, 3.13.0-46-generic, x86_64: installed
    8192cu, 1.9, 3.13.0-48-generic, x86_64: installed
    8192cu, 1.9, 3.2.0-65-generic, x86_64: installed
    8192cu, 1.9, 3.2.0-67-generic, x86_64: installed
    8192cu, 1.9, 3.2.0-68-generic, x86_64: installed
    8192cu, 1.9, 3.2.0-69-generic, x86_64: installed
    8192cu, 1.9, 3.2.0-70-generic, x86_64: installed
    8192cu, 1.9, 3.2.0-72-generic, x86_64: installed
    8192cu, 1.9, 3.2.0-74-generic, x86_64: installed
    aziokbd, 1.0.0, 3.13.0-48-generic, x86_64: installed
    virtualbox, 4.3.10, 3.13.0-46-generic, x86_64: installed
    virtualbox, 4.3.10, 3.13.0-48-generic, x86_64: installed
    virtualbox-guest, 4.3.10, 3.13.0-46-generic, x86_64: installed
    virtualbox-guest, 4.3.10, 3.13.0-48-generic, x86_64: installed
    
    ######################
    lsmod | grep -e usbhid -e aziokbd
    #########################
    
    
    usbhid                 52659  0 
    aziokbd                12900  0 
    hid                   106148  2 hid_generic,usbhid
    
    #########################
    lsusb -t
    ############################
    /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
        |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
            |__ Port 1: Dev 7, If 0, Class=Human Interface Device, Driver=aziokbd, 1.5M
            |__ Port 1: Dev 7, If 1, Class=Human Interface Device, Driver=aziokbd, 1.5M
            |__ Port 2: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 3: Dev 5, If 0, Class=Video, Driver=uvcvideo, 480M
            |__ Port 3: Dev 5, If 1, Class=Video, Driver=uvcvideo, 480M
    /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
        |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
            |__ Port 2: Dev 3, If 0, Class=Vendor Specific Class, Driver=rtl8192cu, 480M
    
por cstsangac 04.04.2015 / 16:14

1 resposta

4

O usbhid ainda está carregado como driver para o teclado. Parece que as peculiaridades não funcionaram como modprobe .

  1. Experimente o kernel no grub, adicione:

    usbhid.quirks=0x0c45:0x7603:0x4
    

    para GRUB_CMDLINE_LINUX_DEFAULT em /etc/default/grub

  2. Atualizar o grub

    sudo update-grub
    

Referência: Impeça o usbhid de reivindicar o dispositivo USB

    
por user.dz 07.04.2015 / 15:05