Re: [DNG] How to port Devuan to a different ARM board?

2022-04-08 Thread Jeremy Ardley via Dng


On 9/4/22 8:17 am, Jeremy Ardley via Dng wrote:


I'm going back to migrating the armbian image using 
https://www.devuan.org/os/documentation/dev1fanboy/en/buster-to-beowulf.html 
but this time I'll fully document the process.




It actually worked this time. But I made two changes to the documented 
procedure


I changed the armbian repository to a mirror that wasn't broken

root@orangepi-r1:~# cat /etc/apt/sources.list.d/armbian.list
deb http://armbian.12z.eu/apt/ bullseye main bullseye-utils bullseye-desktop

And I edited the /etc/network/interfaces file to bring up the interfaces 
in the absence of NetworkManager
(The hex string interface is unique to each system. So do an ip a at the 
start and note what your one is)


root@orangepi-r1:~# cat /etc/network/interfaces
source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
   address 192.168.0.1/24

auto enxc0742bffdceb
iface enxc0742bffdceb inet dhcp


--
Jeremy



OpenPGP_signature
Description: OpenPGP digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] How to port Devuan to a different ARM board?

2022-04-08 Thread Jeremy Ardley via Dng


On 9/4/22 8:02 am, Gregory Nowak wrote:


There is also:



which seems to document support for the h3 board. Good luck.

Greg

There is minor confusion as the currently shipping R1 board uses H3+ but 
I think the board I have is an H2 as that's what's shown on the OrangePi 
site (heatsink stuck on my chip)


I tried the banana pi zero devuan image as  that's H2. But no luck.

I'm going back to migrating the armbian image using 
https://www.devuan.org/os/documentation/dev1fanboy/en/buster-to-beowulf.html 
but this time I'll fully document the process.


--
Jeremy


OpenPGP_signature
Description: OpenPGP digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] How to port Devuan to a different ARM board?

2022-04-08 Thread Gregory Nowak via Dng
On Fri, Apr 08, 2022 at 11:04:19AM +0800, Jeremy Ardley via Dng wrote:
> Hi,
> 
> I'm interested in running devuan on an orange Pi R1 (H3 ARM processor).
> 
> It's not listed as an available image, so I'd be quite happy to build one if
> someone can give me the procedures required.

As far as I know, the embedded images are built using the devuan
arm-sdk:



I haven't looked into the sdk much, but there might be enough info
there to figure out how to adapt it to build images for a new board.

There is also:



which seems to document support for the h3 board. Good luck.

Greg


-- 
web site: http://www.gregn.net
gpg public key: http://www.gregn.net/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)
If we haven't been in touch before, e-mail me before adding me to your contacts.

--
Free domains: http://www.eu.org/ or mail dns-mana...@eu.org
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] How to port Devuan to a different ARM board?

2022-04-08 Thread Jeremy Ardley via Dng


On 9/4/22 12:54 am, d...@d404.nl wrote:


My route would be: use the debian image from 
http://www.orangepi.org/downloadresources/ as base and migrate from 
there to Devuan.





I tried that approach using instructions at 
https://www.devuan.org/os/documentation/dev1fanboy/en/buster-to-beowulf.html


It was difficult and involved using armbian-config to change the mirror 
site to EU as the default mirror was broken.


However at the end of the above process, sufficient systemd 
functionality had been removed that I couldn't use any standard commands 
to reboot. I had to echo stuff to proc entries. Then when it finally 
rebooted it simply bricked. No lights on  the board etc.


I tried a second approach replacing the contents of a devuan image /boot 
with one from an orange pi. That bricked as well.


I may next try a Devuan Banana Pi image as that is an H2 processor. 
However, I assume a top down build process is used for the released .img 
files, so I'm after like documentation on that process.


--
Jeremy


OpenPGP_signature
Description: OpenPGP digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] lpr print pdf file landscape orientation

2022-04-08 Thread william m. moss

On 4/8/22 16:12, radisson via Dng wrote:



Am 02.12.21 um 23:17 schrieb Marjorie Roome via Dng:

Hi Haines,

On Sun, 2021-11-28 at 15:12 -0500, Haines Brown wrote:

I have bsd-lpr. I can print a text file with landscape orientation
with  $ lpr -o landscape file.txt

My problem is that I cannot print pdf files in landscape
orientation. $ lpr -o landscape file.pdf does nothing.


you need some utility programm
the print spooler will only transferinformation
the -o opition will be transfered to a filter programm (if configured)

https://unix-stackexchange-com.translate.goog/questions/394065/command-line-how-do-you-rotate-a-pdf-file-90-degrees?_x_tr_sl=en&_x_tr_tl=de&_x_tr_hl=de&_x_tr_pto=sc 



alternative you can make a ps (pdf2ps) and use pstops from psutils.

hope that helps,



I don't want to make landscape the default CUPS orientation.

Atril rotates the display of the PDF, but not the content of the
file in relation to the page when printed.

The qpdfview utility also can rotate the display of text but
when printed the effect is simply move  text up on the page.

I don't see how poppler-utils can be of help.

How does one print a PDF with landscape orientattion?


Isn't the page orientation used encoded in the pdf?

To change it, other than by shrinking the page down so it fits on the
paper in landscape orientation I think you would need to use a pdf
editor to reflow the content.

If you have a document or image that you are converting to a pdf then
if you format the document or image landscape then the exported pdf
will also be landscape.



___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


atril -- believe it is installed by default. Very easy to use and it works.



OpenPGP_0xF8317D97BF4DA69A.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] lpr print pdf file landscape orientation

2022-04-08 Thread radisson via Dng



Am 02.12.21 um 23:17 schrieb Marjorie Roome via Dng:

Hi Haines,

On Sun, 2021-11-28 at 15:12 -0500, Haines Brown wrote:

I have bsd-lpr. I can print a text file with landscape orientation
with  $ lpr -o landscape file.txt

My problem is that I cannot print pdf files in landscape
orientation. $ lpr -o landscape file.pdf does nothing.


you need some utility programm
the print spooler will only transferinformation
the -o opition will be transfered to a filter programm (if configured)

https://unix-stackexchange-com.translate.goog/questions/394065/command-line-how-do-you-rotate-a-pdf-file-90-degrees?_x_tr_sl=en&_x_tr_tl=de&_x_tr_hl=de&_x_tr_pto=sc

alternative you can make a ps (pdf2ps) and use pstops from psutils.

hope that helps,



I don't want to make landscape the default CUPS orientation.

Atril rotates the display of the PDF, but not the content of the
file in relation to the page when printed.

The qpdfview utility also can rotate the display of text but
when printed the effect is simply move  text up on the page.

I don't see how poppler-utils can be of help.

How does one print a PDF with landscape orientattion?


Isn't the page orientation used encoded in the pdf?

To change it, other than by shrinking the page down so it fits on the
paper in landscape orientation I think you would need to use a pdf
editor to reflow the content.

If you have a document or image that you are converting to a pdf then
if you format the document or image landscape then the exported pdf
will also be landscape.



___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] How to port Devuan to a different ARM board?

2022-04-08 Thread d...@d404.nl

On 08-04-2022 05:04, Jeremy Ardley via Dng wrote:


Hi,

I'm interested in running devuan on an orange Pi R1 (H3 ARM processor).

It's not listed as an available image, so I'd be quite happy to build 
one if someone can give me the procedures required.


Regards,

--
Jeremy



My route would be: use the debian image from 
http://www.orangepi.org/downloadresources/ as base and migrate from 
there to Devuan.


But there is a old thread from 2017 about building your own image here: 
https://dev1galaxy.org/viewtopic.php?id=1516


Grtz.

Nick
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] How to port Devuan to a different ARM board?

2022-04-08 Thread Jeremy Ardley via Dng

Hi,

I'm interested in running devuan on an orange Pi R1 (H3 ARM processor).

It's not listed as an available image, so I'd be quite happy to build 
one if someone can give me the procedures required.


Regards,

--
Jeremy


OpenPGP_signature
Description: OpenPGP digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Beowulf to Chimaera update breaks suspend on laptop

2022-04-08 Thread Brad Campbell via Dng
On 8/4/22 07:45, Adrian Zaugg wrote:
> Hi Brad
> 
> In der Nachricht vom Thursday, 7 April 2022 14:58:36 CEST schrieb Brad 
> Campbell via Dng:
>> So, I'm asking for either :
>> - Experience in making the in-kernel mechanisms work; or preferably
> Updating the BIOS of your Box to the newest version might help here.
> 

G'day Adrian,

It's a MacbookPro with the current EFI.

Further digging seems to point to some interaction with pm-utils and pcie power 
management because the pm-utils suspend is flaky on Chimaera also (more 
reliable than in-kernel still).

The frustrating thing is with the exact same kernel and exact same pm-utils 
config and hooks it's reliable on Beowulf.

Two steps forward, one step back. 

Thanks for the input.

Regards,
Brad
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng