We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

Raspberry Pi - keyboard problem

1356

Comments

  • psychic_teabag
    psychic_teabag Posts: 2,865 Forumite
    Part of the Furniture 1,000 Posts Name Dropper Combo Breaker
    Does the pi have a headphone socket ?  Do you get audio from there ?   Or does it have a composite AV output socket (my 1st-gen pi does, but I don't know if the newer ones have updated that). If you use that to connect to the TV, do you get audio ?   (These are experiments, rather than proposed solutions, of course.)

    What software are you using to generate the audio ?  I use omxplayer for playing video - again, that may be deprecated for newer models - which can directly control where the audio goes - hdmi, local, or alsa.  That allows bypassing whatever other software is stacked up on top of the audio hardware (alsa / pulse / jack / ...)

    There should be some audio test generators around - aplay can generate audio via alsa, for example.
    I have a util called 'tvservice' which can control things about the tv output. I vaguely recall that it's important that I choose a CEA mode or something. I don't really remember.  I seem to have an explicit   tvservice -e 'CEA 20 HDMI'  in one of my scripts (attached to an IRC sensor).  tvservice -l  says it lists attached devices.

  • psychic_teabag
    psychic_teabag Posts: 2,865 Forumite
    Part of the Furniture 1,000 Posts Name Dropper Combo Breaker
    Just checking https://www.raspberrypi-spy.co.uk/2019/06/introducing-the-raspberry-pi-4/ I see that it has two hdmi outputs. Do both behave the same ?
  • 50Twuncle
    50Twuncle Posts: 10,763 Forumite
    Part of the Furniture 1,000 Posts Photogenic Name Dropper
    Just checking https://www.raspberrypi-spy.co.uk/2019/06/introducing-the-raspberry-pi-4/ I see that it has two hdmi outputs. Do both behave the same ?
    Both behave the same - no audio - I am assuming that this must be a problem with the TV (single HDMI) input ?
  • debitcardmayhem
    debitcardmayhem Posts: 13,410 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Photogenic
    I take it you have not tried connecting a laptop/pc to the TV as suggested days ago
    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

    CEC Email energyclub@moneysavingexpert.com
  • 50Twuncle
    50Twuncle Posts: 10,763 Forumite
    Part of the Furniture 1,000 Posts Photogenic Name Dropper
    I take it you have not tried connecting a laptop/pc to the TV as suggested days ago
    No not yet - I will try that next 
    I am using VLC for audio
    However - there's no audio on a pair of bluetooth connected headphones either - and before anyone asks -  yes I have paired them properly and set the audio output to the correct place ...
  • 50Twuncle
    50Twuncle Posts: 10,763 Forumite
    Part of the Furniture 1,000 Posts Photogenic Name Dropper
    What are you playing and with what e.g. VLC , if so check the audio tab ---> output device
    I don't have a output device option under AUDIO - I have 2 identical - "built in audio analog mono"
  • Neil_Jones
    Neil_Jones Posts: 9,729 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    Bluetooth is a pain on the Pi, it always has been and the result is almost always sweet sod all output without a load of effort.

    Of course the entire thread could have been solved had you tried another device in the HDMI port in the first place rather than faffing around trying to fix something that probably isn't broken...
  • 50Twuncle
    50Twuncle Posts: 10,763 Forumite
    Part of the Furniture 1,000 Posts Photogenic Name Dropper
    Bluetooth is a pain on the Pi, it always has been and the result is almost always sweet sod all output without a load of effort.

    Of course the entire thread could have been solved had you tried another device in the HDMI port in the first place rather than faffing around trying to fix something that probably isn't broken...
    I am using a Bluetooth keyboard and that works fine
    This makes me wonder whether the Pi can cope with 2 different bluetooth devices at the same time ?
    I will try a laptop plugged in to the TV HDMI this afternoon !

  • 50Twuncle
    50Twuncle Posts: 10,763 Forumite
    Part of the Furniture 1,000 Posts Photogenic Name Dropper
    OK Update - laptop audio works fine when plugged into TV via HDMI - Still no audio from Pi though !!
  • Neil_Jones
    Neil_Jones Posts: 9,729 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    edited 30 June 2020 at 12:37PM
    50Twuncle said:
    OK Update - laptop audio works fine when plugged into TV via HDMI - Still no audio from Pi though !!
    Take the Pi to another TV.  Test audio on there.  If audio now works, issue is still with first TV.
    This is something else you could (and probably should have) done before posting.  I get the impression that you're supposed to be good at this IT thing looking at previous posts, and yet every time you post on technical issues you don't do the most basic things and you only cherry pick the solutions you want from what's offered...  Talk about making a mountain out of a molehill!
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
  • 353.5K Banking & Borrowing
  • 254.1K Reduce Debt & Boost Income
  • 455K Spending & Discounts
  • 246.5K Work, Benefits & Business
  • 602.9K Mortgages, Homes & Bills
  • 178K Life & Family
  • 260.5K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only 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.