All of lore.kernel.org
 help / color / mirror / Atom feed
* [alsa-devel] Several problems when trying to run alsa-info.sh
@ 2019-11-12  7:37 Rolf Eike Beer
  2019-11-12 15:16 ` Jaroslav Kysela
  0 siblings, 1 reply; 2+ messages in thread
From: Rolf Eike Beer @ 2019-11-12  7:37 UTC (permalink / raw)
  To: alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 801 bytes --]

Greetings,

I had the need to run alsa-info.sh --stdout from 1.1.9 on our embedded device. 
There were multiple things I noticed:

-it requires /bin/bash, but seems to run ok with just /bin/sh. We don't have 
bash.

-it requires pgrep, which we don't have, but replacing all calls with pidof 
seems to work well enough

-it requires whereis, and does not use that

-at least in stdout mode the absence of lspci should not be a fatal error

Greetings

Eike
-- 
Rolf Eike Beer, emlix GmbH, http://www.emlix.com
Fon +49 551 30664-0, Fax +49 551 30664-11
Gothaer Platz 3, 37083 Göttingen, Germany
Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160
Geschäftsführung: Heike Jordan, Dr. Uwe Kracke – Ust-IdNr.: DE 205 198 055

emlix - smart embedded open source

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 313 bytes --]

[-- Attachment #2: Type: text/plain, Size: 161 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [alsa-devel] Several problems when trying to run alsa-info.sh
  2019-11-12  7:37 [alsa-devel] Several problems when trying to run alsa-info.sh Rolf Eike Beer
@ 2019-11-12 15:16 ` Jaroslav Kysela
  0 siblings, 0 replies; 2+ messages in thread
From: Jaroslav Kysela @ 2019-11-12 15:16 UTC (permalink / raw)
  To: Rolf Eike Beer, alsa-devel

Dne 12. 11. 19 v 8:37 Rolf Eike Beer napsal(a):
> Greetings,
> 
> I had the need to run alsa-info.sh --stdout from 1.1.9 on our embedded device.
> There were multiple things I noticed:
> 
> -it requires /bin/bash, but seems to run ok with just /bin/sh. We don't have
> bash.
> 
> -it requires pgrep, which we don't have, but replacing all calls with pidof
> seems to work well enough
> 
> -it requires whereis, and does not use that
> 
> -at least in stdout mode the absence of lspci should not be a fatal error

Patches are welcome.

				Jaroslav

-- 
Jaroslav Kysela <perex@perex.cz>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-12 15:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-12  7:37 [alsa-devel] Several problems when trying to run alsa-info.sh Rolf Eike Beer
2019-11-12 15:16 ` Jaroslav Kysela

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.