cubieplayer / Cubian

Debian for Cubieboard
http://cubian.org
271 stars 49 forks source link

Please use kernel option CONFIG_HIDRAW #311

Open mschertler opened 10 years ago

mschertler commented 10 years ago

This kernel option is needed for support of Logitech wireless keyboards. It would be great, if you could activate it in the standard cubian release.

Regards, Matthias

joetruck commented 10 years ago

Hi mschertler, Iam using a Logitch K400r Keyboard and its working "plug and play" with Cubian, it did not work with Lubuntu. As far I know this keyboard is using the HIDRAW driver too. To configure the language I used "setxkbmap" with my language, in my case "de". (setxkpmap de) (touchpad an keyboard are working fine) joe

mschertler commented 10 years ago

I'm using a Logitech K270 keyboard and a M185 mouse. When I plug in the USB receiver it does not work and dmesg shows the following lines.

[77721.236628] ehci_irq: port change detect [77721.296673] The port change to OHCI now! [77721.599418] usb 5-1: new full-speed USB device number 3 using sw-ohci [77721.814384] logitech-djreceiver 0003:046D:C52B.0006: claimed by neither input, hiddev nor hidraw [77721.835246] logitech-djreceiver 0003:046D:C52B.0006: logi_dj_probe:hid_hw_start returned error

I was assuming that the problem is the missing CONFIG_HIDRAW. Is it a different problem?

Matthias

joetruck commented 10 years ago

Mathias, Your keyboarrd uses the same Logitech unifying receiver as my K400r. In my case it worked plug and play. I have checked in the synaptic pack. manager with a search for logitech. There is only one package installed wich is libgii1. Could it be that you have another problem like pairing of your KB an receiver? Try to reset your KB, and take out the batteries for a few minutes.;-) sometimes such meassures are helpful.

PS: Iam not a Linux expert, your post above tells me not much,sorry. The OS is given for me. I focus on my progs an applications

Joe

mschertler commented 10 years ago

Hi Joe, the pairing of the receiver and the keyboard is OK. It works when I plug it to my notebook. Matthias

joetruck commented 10 years ago

Hi Mathias, I think the pairing is between a computer and the keyboard (not the receiver), like bluetooth. JOE

mamuesp commented 9 years ago

Hello together,

No, the pairing of the unifying items is always beween the receiver and the keyboard/mouse. I use the K750 and it won't work either, but it works with a volumio version on the cubietruck (see here; http://volumio.org/volumio-audiophile-music-player-for-cubietruck-is-out/). So there must be a way to set the appropriate parameters for the cubian build.

All the best, Manfred

joetruck commented 9 years ago

Hello mamuesp,

Thanx for info. I use a Logitech k400r wich uses the same unifying transceiver, the keyboard and touchpad works fine. (basic function! no multimedia keys, no scrolling with the touchpad, thats fine for me).

Rgds Joe

joetruck commented 9 years ago

Manfred! I forgot to mention the Kernel I am currently using is 3.4.79-sun7i. rgds Joe

michalliu commented 9 years ago

I read from this link. Does it helps?

This advice from Kent Wilkinson fixed my problem right away. I had to use the on-screen keyboard and use an old PS2-mouse.

"
I had a look at bug #444420 (https://bugs.launchpad.net/bugs/444420) and came up with a solution, 
well at least one that works for me, I changed a line in /lib/udev/rules.d/70-hid2hci.rules
from
# Logitech devices
KERNEL=="hiddev*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[345abce]|c71[34bc]", \
RUN+="hid2hci --method=logitech-hid --devpath=%p"
to
KERNEL=="hidraw*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[345abce]|c71[34bc]", \
RUN+="hid2hci --method=logitech-hid --devpath=%p"
I also turned bluetooth off from the icon in the notification bar.
Hope this helps