Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] acpi_call-dkms-1.2.0.3: fixing of script 'turn_off_gpu.sh'
@ 2021-07-10 23:38 abhocetabhac
  2021-07-15 11:28 ` ahesford
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: abhocetabhac @ 2021-07-10 23:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 465 bytes --]

New issue by abhocetabhac on void-packages repository

https://github.com/void-linux/void-packages/issues/31901

Description:
acpi_call-dkms-1.2.0.3

In script '/usr/share/acpi_call/turn_off_gpu.sh', the line

result=$(cat /proc/acpi/call)

causes a warning that spoils the functioning: "bash: line 41: warning: command substitution: ignored null byte in input¨.

The following amendment solves the issue:

result=$(cat /proc/acpi/call | tr '\0' '\n')


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

* Re: acpi_call-dkms-1.2.0.3: fixing of script 'turn_off_gpu.sh'
  2021-07-10 23:38 [ISSUE] acpi_call-dkms-1.2.0.3: fixing of script 'turn_off_gpu.sh' abhocetabhac
@ 2021-07-15 11:28 ` ahesford
  2022-05-25  2:15 ` github-actions
  2022-06-09  2:11 ` [ISSUE] [CLOSED] " github-actions
  2 siblings, 0 replies; 4+ messages in thread
From: ahesford @ 2021-07-15 11:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 318 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/issues/31901#issuecomment-880618418

Comment:
Please submit this issue to acpi_call upstream. The script is just an example designed to help detect the right call; there's not a lot of value in Void maintaining a patch. 

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

* Re: acpi_call-dkms-1.2.0.3: fixing of script 'turn_off_gpu.sh'
  2021-07-10 23:38 [ISSUE] acpi_call-dkms-1.2.0.3: fixing of script 'turn_off_gpu.sh' abhocetabhac
  2021-07-15 11:28 ` ahesford
@ 2022-05-25  2:15 ` github-actions
  2022-06-09  2:11 ` [ISSUE] [CLOSED] " github-actions
  2 siblings, 0 replies; 4+ messages in thread
From: github-actions @ 2022-05-25  2:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/issues/31901#issuecomment-1136640154

Comment:
Issues become stale 90 days after last activity and are closed 14 days after that.  If this issue is still relevant bump it or assign it.

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

* Re: [ISSUE] [CLOSED] acpi_call-dkms-1.2.0.3: fixing of script 'turn_off_gpu.sh'
  2021-07-10 23:38 [ISSUE] acpi_call-dkms-1.2.0.3: fixing of script 'turn_off_gpu.sh' abhocetabhac
  2021-07-15 11:28 ` ahesford
  2022-05-25  2:15 ` github-actions
@ 2022-06-09  2:11 ` github-actions
  2 siblings, 0 replies; 4+ messages in thread
From: github-actions @ 2022-06-09  2:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 468 bytes --]

Closed issue by abhocetabhac on void-packages repository

https://github.com/void-linux/void-packages/issues/31901

Description:
acpi_call-dkms-1.2.0.3

In script '/usr/share/acpi_call/turn_off_gpu.sh', the line

result=$(cat /proc/acpi/call)

causes a warning that spoils the functioning: "bash: line 41: warning: command substitution: ignored null byte in input¨.

The following amendment solves the issue:

result=$(cat /proc/acpi/call | tr '\0' '\n')


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

end of thread, other threads:[~2022-06-09  2:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-10 23:38 [ISSUE] acpi_call-dkms-1.2.0.3: fixing of script 'turn_off_gpu.sh' abhocetabhac
2021-07-15 11:28 ` ahesford
2022-05-25  2:15 ` github-actions
2022-06-09  2:11 ` [ISSUE] [CLOSED] " github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).