garetha
Posts: 38
Joined: Sat Jan 05, 2013 12:07 am

Wireless USB keyboard issues

Sun Feb 24, 2013 6:37 pm

Hi,

I've got a Logitech K230 wireless keyboard. I found that, when booting, the keyboard wasn't recognised until I unplugged it from USB and plugged it back in again.

After searching the forums I found a solution that worked for me:

Add the following to /etc/rc.local just before exit 0

sleep 2
modprobe -r hid_logitech_dj
sleep 2
modprobe hid_logitech_dj

This has worked fine for ages but after I did an apt-get upgrade it stopped working. None of the other fixes previously suggested helped either. I've reverted back to the downloaded image and the fix works fine.

Anyone else experience this? Any ideas on how to fix it?

Thanks

Gareth

amyren
Posts: 91
Joined: Tue Jun 12, 2012 10:49 am

Re: Wireless USB keyboard issues

Mon Feb 25, 2013 5:26 pm

I had similar troubles earlier with my logitech k400, I was advised to add this to my setup, which I can se is slightly different to your solution. But for the latest raspian firmware releases my problem is gone, and the keyboard works very well without adding this.

Anyway here is what I did on my earlier setup, from advice I got in this thread:
http://www.raspberrypi.org/phpBB3/viewt ... 28&t=18675

In /etc/rc.local:
rmmod hid-logitech-dj
modprobe hid-logitech-dj

Try adding dwc_otg.fiq_fix_enable=1 and/or dwc_otg.microframe_schedule=1 to /boot/cmdline.txt (all on one line)

garetha
Posts: 38
Joined: Sat Jan 05, 2013 12:07 am

Re: Wireless USB keyboard issues

Tue Feb 26, 2013 10:55 am

Hi Amyren,

I think modprobe -r actuall runs rmmod so that part of the solution is the same.

When you say to add that to the cmdline.txt do you mean add it to the end (or start) of what's already there to make an even longer line or on the next line down?

Thanks

Gareth

garetha
Posts: 38
Joined: Sat Jan 05, 2013 12:07 am

Re: Wireless USB keyboard issues

Tue Feb 26, 2013 11:51 am

Just updated the firmware (using rpi-update) and I had the same problem but when I removed the "fix" I had in place before it all worked again!

Thanks very much

Gareth

Return to “Raspberry Pi OS”