Raspberry Pi - keyboard problem

50Twuncle
50Twuncle Posts: 10,763 Forumite
Part of the Furniture 1,000 Posts Photogenic Name Dropper
edited 24 June 2020 at 2:58PM in Techie Stuff
I have finally got my Raspberry Pi 4, up and running Raspbian and have a keyboard problem
In that, whilst it does appear correctly set up (I set the country to UK) - It does not recognise the space bar !!
All of the other keys work correctly - but no spaces.
The keyboard works fine when plugged in to my laptop !
I have tried it in all USB sockets with no change
There is nothing in settings to deal with this
Anyone found a solution to this ?
Also - the damned thing keeps on disconnecting from WiFi
This is so frustrating...
«13456

Comments

  • psychic_teabag
    psychic_teabag Posts: 2,865 Forumite
    Part of the Furniture 1,000 Posts Name Dropper Combo Breaker
    edited 24 June 2020 at 3:13PM
    Are you using a graphical environment, or does it happen on the tty consoles (ctrl-alt f1 etc) too ?
    There's probably a way to monitor the low-level usb comms, to check whether the keyboard is generating activity for the space key or not. But I can't think off-hand what that would be...
    ETA: https://wiki.wireshark.org/CaptureSetup/USB  says it can capture things like packets from USB mouse. That in turn uses usbmon:

  • 50Twuncle
    50Twuncle Posts: 10,763 Forumite
    Part of the Furniture 1,000 Posts Photogenic Name Dropper
    Are you using a graphical environment, or does it happen on the tty consoles (ctrl-alt f1 etc) too ?
    There's probably a way to monitor the low-level usb comms, to check whether the keyboard is generating activity for the space key or not. But I can't think off-hand what that would be...

    Graphical - but the problem emerges when trying the command line interface  !

  • Neil_Jones
    Neil_Jones Posts: 9,518 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    50Twuncle said:
    Are you using a graphical environment, or does it happen on the tty consoles (ctrl-alt f1 etc) too ?
    There's probably a way to monitor the low-level usb comms, to check whether the keyboard is generating activity for the space key or not. But I can't think off-hand what that would be...

    Graphical - but the problem emerges when trying the command line interface  !

    Set up VNC on the Pi:

    Connect to the Pi via VNC and see if you can reproduce the issue without the keyboard connected.
    If you can replicates this fault without a physical keyboard being connected, then you have an issue with the installation of Raspian, which is easily fixed by just reflashing the SD card.
  • psychic_teabag
    psychic_teabag Posts: 2,865 Forumite
    Part of the Furniture 1,000 Posts Name Dropper Combo Breaker
    50Twuncle said:
    Graphical - but the problem emerges when trying the command line interface  !

    Yes, but does it *also* happen on a virtual console ?  Testing that could eliminate the X server from the equation.
  • debitcardmayhem
    debitcardmayhem Posts: 12,515 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Photogenic
    edited 24 June 2020 at 10:39PM
    50Twuncle said:
    I have finally got my Raspberry Pi 4, ..................snipped
    Anyone found a solution to this ?

    That is dependent on someone else suffering it !
    However try researching using xinput and  xev to see wtfmay is happening
    You know what real IT guys use oh and xmodmap

    4.8kWp 12x400W Longhi 9.6 kWh battery Giv-hy 5.0 Inverter, WSW facing Essex . Aint no sunshine ☀️ Octopus gas fixed dec 24 @ 5.74 tracker again+ Octopus Intelligent Flux leccy
  • 50Twuncle
    50Twuncle Posts: 10,763 Forumite
    Part of the Furniture 1,000 Posts Photogenic Name Dropper
    My bluetooth keyboard has solved the problem - that works correctly !
  • debitcardmayhem
    debitcardmayhem Posts: 12,515 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Photogenic
    not interested in learning then
    4.8kWp 12x400W Longhi 9.6 kWh battery Giv-hy 5.0 Inverter, WSW facing Essex . Aint no sunshine ☀️ Octopus gas fixed dec 24 @ 5.74 tracker again+ Octopus Intelligent Flux leccy
  • Neil_Jones
    Neil_Jones Posts: 9,518 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    50Twuncle said:
    My bluetooth keyboard has solved the problem - that works correctly !
    You're not going to learn anything if you just swap the problematic device for something else.  I'd want to know why the original device (according to your good self) doesn't work on your Pi.  Sort of defeats the whole point of having a Pi IMO.
  • 50Twuncle
    50Twuncle Posts: 10,763 Forumite
    Part of the Furniture 1,000 Posts Photogenic Name Dropper
    edited 28 June 2020 at 4:13PM
    I have an audio problem - in that the Pi is plugged into a TV via  HDMI - But there is no audio 
    I have edited the boot/config.txt file - by uncommenting hdmi_drive=2 but this makes no difference at all...
    I understand that it may be caused by the TV ignoring the fact that the audio is coming in on HDMI - and defaulting to DVI but can't figure out a way round this ......... anyone ?
    Other than that (and the extremely noisy fan) - the Pi 4 is a remarkable piece of kit - it boots up very quickly and does everything that I have asked of it !
  • Neil_Jones
    Neil_Jones Posts: 9,518 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    You can change sound output through raspi-config.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 349.9K Banking & Borrowing
  • 252.7K Reduce Debt & Boost Income
  • 453.1K Spending & Discounts
  • 242.9K Work, Benefits & Business
  • 619.8K Mortgages, Homes & Bills
  • 176.4K Life & Family
  • 255.8K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.1K Discuss & Feedback
  • 15.1K Coronavirus Support Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.