[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: no sound on Lenovo Ideapad 110



On Mon, 25 Sep 2017, Pierre Frenkiel wrote:

On Mon, 25 Sep 2017, Alexander V. Makartsev wrote:

Probably some ALSA module or codec firmware is missing.
Look for errors in syslog and provide some information about what sound
codec is onboard your laptop mobo:
    $ sudo journalctl -b

Use "/" key to search for a string. Ex:
    /audio
    /hda
    /sound

the / is used in a lot of cases (editors, web browser,...)

...and pagers.

I don't understand what search key you are talking of.

You probably redirected the output of journactl.

By default journalctl sends its output to a pager. Most likely that
pager is of the less/more variety. And in such pagers, "/" is a
search-forward-from-point command, adhering to the convention you have
observed.

Also, 'more' or 'less' behave like 'cat' when you redirect their
output to something not a terminal (like to a file, or when it's piped
to 'grep', etc).[1]

That last bit probably has something to do with this:

http://pubs.opengroup.org/onlinepubs/9699919799/utilities/more.html#tag_20_81

| If standard output is not a terminal device, all input files shall
| be copied to standard output in their entirety, without
| modification, except as specified for the -s option.

Anyways, when the pager behaves like 'cat', the search functionality
will be absent, obviously.

1. There's a punchline here about herding felines, but I'm not clever
enough to make it work.

Reply to: