News for hackers. Stuff that matters.
Re:Raspberry Pi 400 – First Impressions by tyingq on Saturday November 07, 2020 @04:50AM (#25014133)
"The 400 doesn’t have an audio-out."

That does seem like a miss for an otherwise decent platform. HDMI out support is fine, but since this setup is quite portable, exposing a headphone jack seems obvious. I suppose bluetooth is the expectation now?

Re:Raspberry Pi 400 – First Impressions by davidhyde on Saturday November 07, 2020 @06:10AM (#25014429)
The on-board sound quality on the raspberry pi line has traditionally been quite poor so you probably want a dedicated sound dongle anyway especially if you are using headphones. This is an article about the model b+. It's an older version than the 4 but explains the problem just as well since the 4 still uses PWM instead of a DAC.

http://www.crazy-audio.com/2014/07/sound-quality-of-the-rasp...

Re:Raspberry Pi 400 – First Impressions by philistine on Saturday November 07, 2020 @09:34AM (#25015267)
You’re giving me flashback to the whole Game Boy line, who always had a buzz in the headphone jack until the DS finally properly isolated the sound.
Re:Raspberry Pi 400 – First Impressions by rootsudo on Saturday November 07, 2020 @09:41AM (#25015310)
And why some ipods still are $$$ because of DAC.
Re:Raspberry Pi 400 – First Impressions by kingosticks on Saturday November 07, 2020 @11:00AM (#25015779)
The hardware hasn't changed much but the software has tremendously and stuff from 2014 isn't relevant. Do you think the current implementation (sometimes known as audio_pwm_mode=2 but it is the default firmware these days) is still poor? I've found it's fine for everyday use and listening to music. I think a line-out would have been fine for people to use.
Re:Raspberry Pi 400 – First Impressions by kristopolous on Saturday November 07, 2020 @05:01AM (#25014174)
USB audio dongles are super cheap. You can get 2 of them for about $10.

If I was on the design team for it I could eventually come around to being fine with it.

Re:Raspberry Pi 400 – First Impressions by gambiting on Saturday November 07, 2020 @05:06AM (#25014191)
Yes, but it's "yet another" dongle for this machine which is meant to be an easy to use all-in-one friendly to beginners. Them using micro HDMI is already bizarre seeing as there's loads of room for a full size port and most people will need a dongle/adapter here, but not including an audio jack is crazy, seeing as the proper Rpi4 does have one!
Re:Raspberry Pi 400 – First Impressions by rkangel on Sunday November 08, 2020 @10:17AM (#25026254)
> meant to be an easy to use all-in-one friendly to beginners

Unlike the "normal" Raspberry Pi this device has a fairly focused use case that you have summarised well here. It is designed to be plugged into an HDMI TV and used as a PC, with the great bonus of a cool GPIO connector. You make some choices and you make some sacrifices to meet cost and space targets. This also isn't an iPhone that costs $800.

As for fitting the HDMI on, there isn't loads of space for a full size port. I'm not saying it would be completely impossible but it would be challenging. Have a look at the photo of the board in this post:

https://www.raspberrypi.org/blog/designing-raspberry-pi-400/

The non obvious thing looking at that photo is that the keyboard slopes back so you only have height at the front. Non-micro HDMI are surprisingly deep, without CAD looking up parts and looking up parts I can't tell if just wouldn't fit at all, but you certainly wouldn't be able to get much behind it. Note also that they couldn't work out a way to sensibly route the USB to the other side - it's clearly a busy board.

Re:Raspberry Pi 400 – First Impressions by leoedin on Monday November 09, 2020 @04:28AM (#25032979)
> This also isn't an iPhone that costs $800

Which coincidentally _also_ needs a dongle to connect to an analog speaker...

Re:Raspberry Pi 400 – First Impressions by ranit on Saturday November 07, 2020 @09:35AM (#25015274)
> and most people will need a dongle/adapter

Micro HDMI to HDMI cable is included in the kit.

Re:Raspberry Pi 400 – First Impressions by tyingq on Saturday November 07, 2020 @05:09AM (#25014210)
You would also want a dongle that has a driver already bundled with the OS. Not sure if that's typical or not. Probably unlikely that the dongle itself comes with a suitable ARM/Linux driver.
Re:Raspberry Pi 400 – First Impressions by lxgr on Saturday November 07, 2020 @06:35AM (#25014507)
USB audio devices are standardized (just like flash drives, as USB mass storage, and keyboard/mouse, as HID respectively), so you don't need device-specific drivers for most of them.
Re:Raspberry Pi 400 – First Impressions by gambiting on Saturday November 07, 2020 @06:45AM (#25014541)
Yes, but this isn't a USB audio device. You need to be able to select and control an HDMI audio output for this to work.
Re:Raspberry Pi 400 – First Impressions by lxgr on Saturday November 07, 2020 @07:02AM (#25014603)
What "this" are you referring to? The grandparent post is talking about USB dongles as a workaround, which in my experience work very reliably.
Re:Raspberry Pi 400 – First Impressions by gambiting on Saturday November 07, 2020 @07:08AM (#25014620)
Oh. Either that post was edited or I misunderstood - I thought they were talking about an HDMI dongle with 3.5mm audio jack for audio extracted from the hdmi. But yes, indeed, a USB audio dongle should "just work".
Re:Raspberry Pi 400 – First Impressions by morsch on Saturday November 07, 2020 @07:46AM (#25014764)
I don't think HDMI audio extractors need a driver, either. The first one I could find claims compatibility with all kinds of source devices. It's probably entirely invisible to the source. I don't how know about HDMI DRM, but that's not a problem for the RPi.
Re:Raspberry Pi 400 – First Impressions by gambiting on Saturday November 07, 2020 @07:57AM (#25014814)
They don't, but they can be finicky. Most can only extract audio if it's specifically sent as stereo, if the source sends audio as encoded 5.1 stream then most don't know how to decode that. So you will need support for being able to chose the output format over hdmi, which is where I imagine the difficulty in the RPi will start.
Re:Raspberry Pi 400 – First Impressions by lxgr on Saturday November 07, 2020 @05:59PM (#25020535)
That makes a lot of sense, I guess it's either that or the adapter would have to somehow modify the EDID display capabilities to get the HDMI source to output PCM audio (or whatever the splitter accepts) only.

I wonder if it doesn't already need to do that for non-audio-capable HDMI sinks. (My first HDMI monitor didn't have speakers or even a headphone jack, and as far as I recall, the source computer could tell this somehow and wouldn't offer to send sound to the monitor.)

Re:Raspberry Pi 400 – First Impressions by m-p-3 on Saturday November 07, 2020 @08:12AM (#25014878)
I use one to hook up my PS4 to my DVI-D KVM (my current monitor only does DVI-D and VGA), works fine and it's entirely invisible to the game console.
Re:Raspberry Pi 400 – First Impressions by gruturo on Saturday November 07, 2020 @05:59AM (#25014383)
I add my voice to the chorus of complaints about dongles, but for the record you could also use an inline HDMI audio extractor which is invisible to the OS and requires no drivers for sure. They are also very cheap.
Re:Raspberry Pi 400 – First Impressions by iso947 on Saturday November 07, 2020 @06:19AM (#25014454)
Hardware in linux tends to just work
Re:Raspberry Pi 400 – First Impressions by m-p-3 on Saturday November 07, 2020 @08:12AM (#25014881)
Thanks to all the contributors out there <3
Re:Raspberry Pi 400 – First Impressions by kristopolous on Saturday November 07, 2020 @05:15AM (#25014228)
I'll say you're fine again having done this a few times already. It's always just worked
Re:Raspberry Pi 400 – First Impressions by stock_toaster on Saturday November 07, 2020 @05:54AM (#25014367)
I think it has bluetooth too, so that could be another possibility.
Re:Raspberry Pi 400 – First Impressions by butz on Saturday November 07, 2020 @05:10AM (#25014212)
That's a bummer. I was planning to connect CRT TV to it through composite, that was passed through headphone jack.
Re:Raspberry Pi 400 – First Impressions by cesarb on Saturday November 07, 2020 @06:55AM (#25014575)
I personally suspect that removing composite output was the real reason for removing the headphone jack. From what I've read, to enable composite output on the Raspberry Pi 4 you have to enable a special setting on config.txt, which when enabled slows down some of the clocks so that it can produce the correct frequencies for the composite output to work. Not having composite output removes the need for that wart.
Re:Raspberry Pi 400 – First Impressions by martinpeck on Saturday November 07, 2020 @04:59AM (#25014161)
I agree. A headphone jack would make so much sense.
Re:Raspberry Pi 400 – First Impressions by bloopernova on Saturday November 07, 2020 @05:05AM (#25014190)
USB audio would also be an option, but I agree, a lack of audio out for headphones or a headset seems like an error of judgement.
Re:Raspberry Pi 400 – First Impressions by vaccinator on Saturday November 07, 2020 @05:21AM (#25014253)
A portable computer like this is probably more likely to be plugged in a TV, like at hotels.
Re:Raspberry Pi 400 – First Impressions by tyingq on Saturday November 07, 2020 @05:23AM (#25014261)
Not everyone likes their hotel porn going through the speakers :)
Re:Raspberry Pi 400 – First Impressions by vaccinator on Saturday November 07, 2020 @03:08PM (#25018677)
Thats why they invented the mute button :)
Re:Raspberry Pi 400 – First Impressions by fludlight on Saturday November 07, 2020 @09:25AM (#25015223)
Many (most?) HDMI monitors have an audio-out jack.
Re:Raspberry Pi 400 – First Impressions by ansible on Saturday November 07, 2020 @09:41AM (#25015309)
Unfortunately, most new TVs don't have a 3.5mm audio jack these days.
Re:Raspberry Pi 400 – First Impressions by tonyedgecombe on Saturday November 07, 2020 @10:02AM (#25015426)
But they do have speakers.
Re:Raspberry Pi 400 – First Impressions by jdietrich on Saturday November 07, 2020 @12:08PM (#25016343)
I just don't think a headphone jack justifies the BOM cost, given that most HDMI displays have a headphone output and Bluetooth headphones and speakers are commonplace.
Re:Raspberry Pi 400 – First Impressions by beervirus on Saturday November 07, 2020 @02:08PM (#25017702)
What does it add, 15 cents?
Re:Raspberry Pi 400 – First Impressions by tbronchain on Saturday November 07, 2020 @05:06AM (#25014192)
Considering most phones already ditch the audio jack, I'd say it's not so surprising?

I'm a bit more disappointed there is no usable usb c - and we could use these usb c-3.5 adaptors almost everyone has now.

Re:Raspberry Pi 400 – First Impressions by beagle3 on Saturday November 07, 2020 @06:36AM (#25014511)
Apple, Samsung and others have eliminated the audio jack (for different reasons) and there was a lot of outrage but the bottom line is: acceptable Bluetooth headphones can be bought for about $10-$25 now, and are widely available.

Between Bluetooth headphones, HDMI out to the screen, HDMI audio splitters and $5 USB audio dongles, it really is a fine design choice - especially given that the RasPI’s analog audio out circuitry is low quality to begin with.

Re:Raspberry Pi 400 – First Impressions by jacquesm on Saturday November 07, 2020 @07:11AM (#25014632)
Bluetooth introduces (even more...) latency, which isn't always acceptable.
Re:Raspberry Pi 400 – First Impressions by beagle3 on Saturday November 07, 2020 @08:06AM (#25014852)
This is not a gamer machine at $70.

Yes, Bluetooth introduces a tiny bit of audio latency, which is perfectly acceptable for 98% of all use, and 99.9% of RasPI 400 uses. For the rest of the cases, use one of the other RasPI400 options, a RasPi 4 or a Razer laptop.

Re:Raspberry Pi 400 – First Impressions by pta2002 on Saturday November 07, 2020 @10:58AM (#25015766)
In my experience, bluetooth audio latency has made watching videos completely impossible, extremely annoying to be hearing something and not seeing the lips of the person moving the right way.
Re:Raspberry Pi 400 – First Impressions by beagle3 on Saturday November 07, 2020 @11:10AM (#25015861)
One of the elements in your system is either very old or borked.

I have an AppleTV4K, and everything is perfectly synced with at least 3 brands of Bluetooth headphones - an 3-year-old eKids one, a 1-year old TaoTronics one, and a 2-year old nameless one.

In the early PlayStation 2 days, many flatscreen TVs (both Plasma and LCD) had delays that made games like Guitar Hero unplayable, so the games added a latency estimation/calibration setting you could use; My 12 year old Onkyo HDMI receiver has a special "eliminate latency in game mode" setting which disables some processing features and reduces sound latency by 50ms or so.

It's not that there were never problems; But anything made in the last 5 years or so, especially using BT4/BT5, should not have these issues.

Edit: just tried with an 8 year old or so JBL Clip I found lying around, and it does have ~100ms latency (estimated, not measured). But the newer ones don’t have it.

Re:Raspberry Pi 400 – First Impressions by Adverblessly on Saturday November 07, 2020 @12:10PM (#25016371)
IIRC both VLC Player and mpv allow you to set a keyboard shortcut for increasing/decreasing audio-video delay and are capable of streaming directly from YouTube (and I believe any website supported by youtube-dl).

I use mpv and whenever I get audio latency from my headphones* I just adjust in the player.

* - It seems like there's some adaptive algorithm where they start off at 0ms latency but if they experience one hiccup they increase to 250ms-300ms and then another hiccup causes them to jump to 500ms. This is also why a keyboard shortcut that let's you adjust the exact a-v delay value is useful beyond just setting the value once.