Support in other languages: 
Showing results for 
Search instead for 
Do you mean 
Reply
Paper Tape
wulle489
Posts: 8
Registered: ‎04-09-2011
Location: Denmark
0
Accepted Solution

Keyboard for Ideacentre A310 and Ubuntu

Hi

 

The Ideacentre A310 comes with s wireless keyboard (A310-K BT Keyboard), but I cannot get it to work properly in Ubuntu 10.04.

The problem is, that it does not regognize key-combinations, so I cannot write in upper-case or use keyboard shortcuts. The Fn-key however seems so be working.

I've tried every keyboard-model in the keyboard-settings-menu I could think of. but none seems to change anything.

Anyone knows what the problem is?

 

This is written with a Logitech wireless USB keyboard that works perfectly - though it has become a bit nasty over the years.

 

 

Retired Employee
Serge1410
Posts: 2,438
Registered: ‎04-10-2011
Location: Malaysia
0

Re: Keyboard for Ideacentre A310 and Ubuntu

hi wulle489,

i suggest asking the Ubuntu forums and check if they have any repositories with regards to getting the keyboard to work correctly.





WW Social Media
Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.

Did someone help you today? Press the star on the left to thank them with a Kudo!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!



Follow @LenovoForums on Twitter!
Have you checked out the Community Knowledgebase yet?!
How to send a private message? --> Check out this article.
Blue Screen Again
doggygray
Posts: 2
Registered: ‎08-22-2012
Location: Russia
0

Re: Keyboard for Ideacentre A310 and Ubuntu

Hello!

A have Lenovo Ideacentre A320 and same problems with keyboard.

I wrote linux driver and it works good in ubuntu 12.04

Here is driver source code and install instructions

https://github.com/aleksandr-rakov/hid-a320

Paper Tape
wulle489
Posts: 8
Registered: ‎04-09-2011
Location: Denmark
0

Re: Keyboard for Ideacentre A310 and Ubuntu

Hello doggygray

Thank you very much for the driver and instructions. However, the driver is not perfect. It seems the Fn-key is now permanently on for the built-in numeric keyboard, so that it is no longer possibly to use the uiopjklæm.-keys. Other Fn functions seem to work fine, and so does shift, Ctrl and Alt combinations.

 

The problems I have may og may not derive from this error-message, when i ran the modprobe command.

 

:~$ sudo modprobe -r usbhid; modprobe hid-a320; modprobe usbhid
[sudo] password for mwp: 
FATAL: Error inserting usbhid (/lib/modules/3.2.0-29-generic/kernel/drivers/hid/usbhid/usbhid.ko): Operation not permitted

 

Blue Screen Again
doggygray
Posts: 2
Registered: ‎08-22-2012
Location: Russia
0

Re: Keyboard for Ideacentre A310 and Ubuntu

[ Edited ]

Hello, sorry i forgot 'sudo' - please use next comands:

sudo modprobe -r usbhid;sudo modprobe hid-a320; sudo modprobe usbhid

 

And you may turn off numeric keyboard - just press Fn F11

Paper Tape
wulle489
Posts: 8
Registered: ‎04-09-2011
Location: Denmark
0

Re: Keyboard for Ideacentre A310 and Ubuntu

Fn F11 did the trick. Thanks a lot. Very nice work.

 

(written with the bundled Lenovo-keyboard, that has been sitting idly in a cupboard for 1½ years!)

What's DOS?
vargax
Posts: 2
Registered: ‎07-24-2014
Location: Bogotá
0

Re: Keyboard for Ideacentre A310 and Ubuntu

Hi,

 

To make this work in Ubuntu 14.04 Trusty, first install the module with dkms support:

 

sudo su
git clone https://github.com/aleksandr-rakov/hid-a320.git
cd hid-a320
./dkms-instal

 

Then add the following lines to /etc/initramfs-tools/modules (the order matters!):

 

hid-a320

usbhid

hid_generic

 

Finally run:

 

update-initramfs -u

reboot

What's DOS?
vargax
Posts: 2
Registered: ‎07-24-2014
Location: Bogotá
0

Re: Keyboard for Ideacentre A310 and Ubuntu

[ Edited ]

If the /etc/initramfs-tools/module method doesn't work you can use a bash script at system boot:

   

    sudo su

    cd
    https://github.com/aleksandr-rakov/hid-a320.git
    cd hid-a320
    ./dkms-install

    cd
    cat > hid-a320.sh <<EOF
    #!/bin/bash
    
    modprobe -r hid-a320
    modprobe -r usbhid
    modprobe -r hid-generic
    modprobe -r hid
    modprobe hid-a320
    modprobe usbhid
    modprobe hid-generic
    
    exit 0
EOF
    chmod +x hid-a320.sh
    sed -i '15i@reboot root /root/hid-a320.sh' /etc/crontab
    update-initramfs -u

    reboot