Re: [DNG] fdisk SD card partitioning question

2022-06-12 Thread Fred

On 6/12/22 14:09, Fred wrote:

On 6/12/22 13:48, ael wrote:

On Sun, Jun 12, 2022 at 12:35:06PM -0700, Fred wrote:

On 6/12/22 09:18, Antony Stone wrote:

On Sunday 12 June 2022 at 17:11:45, Fred wrote:


Hello,

I have some directories I want to back up to an SD card while 
preserving

the permissions.  I have tried to repartition a 64GB card and write an
ext4 filesystem.


What is the existing partition table?

Out of interest, since this is ext4 and therefore Linux (not 
Windows), why

partiton at all?  Why not just "mkfs.ext4 /dev/sdX"?


fdisk says the card has 124702720 sectors and has 59.5GB available.
However it will not make a partition over 27.5GB.  Why and what to do?


Are you sure that this is not just another example of "Flash Fraud"?
You could try running https://github.com/AltraMayor/f3 .



Hi,
As supplied the SD cards are intended to work with Windows.  Under Linux
only root can write to them and the ownership can not be changed.  I 
want

preserve permissions of data written to the card.


I don't follow above. SD cards usually come with a vfat file system and
are indeed set up mainly for Windoze. But if you mount with
-o uid=someone,gid=someone,..
then that someone user can write.

I do this all the time with a whole variety of sdhc cards. I only leave
them formated for vfat if I need to move them between other devices
(cameras, sat navs, ereaders which only read and write vfat). Otherwise
I use a better file system.



root@aragog:# /sbin/fdisk -l /dev/sdb
Disk /dev/sdb: 27.48 GiB, 29504831488 bytes, 57626624 sectors
Disk model: Card-Reader
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x

Device Boot Start   End   Sectors  Size Id Type
/dev/sdb1   32768 124735487 124702720 59.5G  7 HPFS/NTFS/exFAT

I don't know why the size is reported differently in two places.  It 
is a

64GB card.


Are you sure?? Not a faked 32GB ?



I tried your dd command line and things have gone downhill as the 
64GB card

is now only 27.4GB.


So almost certainly a fake. Did you but this from somewhere trustworthy?


root@aragog:# /sbin/fdisk -l /dev/sdb
Disk /dev/sdb: 27.48 GiB, 29504831488 bytes, 57626624 sectors
Disk model: Card-Reader
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


I tried fdisk again with the same result.

root@aragog:# /sbin/fdisk /dev/sdb
Command (m for help): n
Partition type
    p   primary (0 primary, 0 extended, 4 free)
    e   extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-57626623, default 2048):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-57626623, default
57626623):

Created a new partition 1 of type 'Linux' and of size 27.5 GiB.

Command (m for help): d
Selected partition 1
Partition 1 has been deleted.

Command (m for help): n
Partition type
    p   primary (0 primary, 0 extended, 4 free)
    e   extended (container for logical partitions)
Select (default p): e
Partition number (1-4, default 1): 1
First sector (2048-57626623, default 2048):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-57626623, default
57626623):

Created a new partition 1 of type 'Extended' and of size 27.5 GiB.


Any ideas?


Yes. Almost  certainly a fake

ael


Hi,
I recall a lot of discussion about this on either this list or the 
Debian list.  If the card was an offbrand I would assume it was fraud 
and would not have even asked here.  However, the card is a SanDisk. The 
packaging becomes destroyed in removing the card so I can't take it back 
to Walfart for exchange.


I would like to try the f3 program.  How do I get the tarball from github?

You said above that you use a better filesystem for the sdhc cards. Have 
you done that for a card over 32GB?  And how?


Best regards,
Fred

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

Hi,

The f3probe utility says:

Good news:  The device /dev/sdb is the real thing

And then it reports the same size as fdisk, 27.48GB usable even though 
the card is plainly marked 64GB.


So, my question has been answered.  Thanks for the help!

Best regards,
Fred

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


Re: [DNG] fdisk SD card partitioning question

2022-06-12 Thread Fred

On 6/12/22 14:33, tempforever wrote:

Fred wrote:

Hi,
As supplied the SD cards are intended to work with Windows.  Under
Linux only root can write to them and the ownership can not be
changed.  I want preserve permissions of data written to the card.

root@aragog:# /sbin/fdisk -l /dev/sdb
Disk /dev/sdb: 27.48 GiB, 29504831488 bytes, 57626624 sectors
Disk model: Card-Reader
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x

Device Boot Start   End   Sectors  Size Id Type
/dev/sdb1   32768 124735487 124702720 59.5G  7 HPFS/NTFS/exFAT

I don't know why the size is reported differently in two places.  It
is a 64GB card.



A couple things come to mind.  Yes, it could be an acutal 32 GB card
that was designed to appear as 64 GB (as was already mentioned).
Another possibility: is it an issue with the "Card-Reader" device?
Check the card in another computer or with a different card reader, does
it still appear 32 GB?
One other possibility (but less likely IMO), if the card is put back
into Windows machine, does it appear as 64 GB?

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

Hi,
I only have one usb-sd card reader.  They don't cost much so I may order 
another.


I don't use Bill Gates' cancerous, virus infested scourge of the Earth 
excuse for an OS and don't have access to it.


Best regards,
Fred

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


Re: [DNG] fdisk SD card partitioning question

2022-06-12 Thread Fred

On 6/12/22 14:09, Fred wrote:

On 6/12/22 13:48, ael wrote:

On Sun, Jun 12, 2022 at 12:35:06PM -0700, Fred wrote:

On 6/12/22 09:18, Antony Stone wrote:

On Sunday 12 June 2022 at 17:11:45, Fred wrote:


Hello,

I have some directories I want to back up to an SD card while 
preserving

the permissions.  I have tried to repartition a 64GB card and write an
ext4 filesystem.


What is the existing partition table?

Out of interest, since this is ext4 and therefore Linux (not 
Windows), why

partiton at all?  Why not just "mkfs.ext4 /dev/sdX"?


fdisk says the card has 124702720 sectors and has 59.5GB available.
However it will not make a partition over 27.5GB.  Why and what to do?


Are you sure that this is not just another example of "Flash Fraud"?
You could try running https://github.com/AltraMayor/f3 .



Hi,
As supplied the SD cards are intended to work with Windows.  Under Linux
only root can write to them and the ownership can not be changed.  I 
want

preserve permissions of data written to the card.


I don't follow above. SD cards usually come with a vfat file system and
are indeed set up mainly for Windoze. But if you mount with
-o uid=someone,gid=someone,..
then that someone user can write.

I do this all the time with a whole variety of sdhc cards. I only leave
them formated for vfat if I need to move them between other devices
(cameras, sat navs, ereaders which only read and write vfat). Otherwise
I use a better file system.



root@aragog:# /sbin/fdisk -l /dev/sdb
Disk /dev/sdb: 27.48 GiB, 29504831488 bytes, 57626624 sectors
Disk model: Card-Reader
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x

Device Boot Start   End   Sectors  Size Id Type
/dev/sdb1   32768 124735487 124702720 59.5G  7 HPFS/NTFS/exFAT

I don't know why the size is reported differently in two places.  It 
is a

64GB card.


Are you sure?? Not a faked 32GB ?



I tried your dd command line and things have gone downhill as the 
64GB card

is now only 27.4GB.


So almost certainly a fake. Did you but this from somewhere trustworthy?


root@aragog:# /sbin/fdisk -l /dev/sdb
Disk /dev/sdb: 27.48 GiB, 29504831488 bytes, 57626624 sectors
Disk model: Card-Reader
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


I tried fdisk again with the same result.

root@aragog:# /sbin/fdisk /dev/sdb
Command (m for help): n
Partition type
    p   primary (0 primary, 0 extended, 4 free)
    e   extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-57626623, default 2048):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-57626623, default
57626623):

Created a new partition 1 of type 'Linux' and of size 27.5 GiB.

Command (m for help): d
Selected partition 1
Partition 1 has been deleted.

Command (m for help): n
Partition type
    p   primary (0 primary, 0 extended, 4 free)
    e   extended (container for logical partitions)
Select (default p): e
Partition number (1-4, default 1): 1
First sector (2048-57626623, default 2048):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-57626623, default
57626623):

Created a new partition 1 of type 'Extended' and of size 27.5 GiB.


Any ideas?


Yes. Almost  certainly a fake

ael


Hi,
I recall a lot of discussion about this on either this list or the 
Debian list.  If the card was an offbrand I would assume it was fraud 
and would not have even asked here.  However, the card is a SanDisk. The 
packaging becomes destroyed in removing the card so I can't take it back 
to Walfart for exchange.


I would like to try the f3 program.  How do I get the tarball from github?


I found the tarball!

You said above that you use a better filesystem for the sdhc cards. Have 
you done that for a card over 32GB?  And how?


Best regards,
Fred

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


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


Re: [DNG] fdisk SD card partitioning question

2022-06-12 Thread Fred

On 6/12/22 13:48, ael wrote:

On Sun, Jun 12, 2022 at 12:35:06PM -0700, Fred wrote:

On 6/12/22 09:18, Antony Stone wrote:

On Sunday 12 June 2022 at 17:11:45, Fred wrote:


Hello,

I have some directories I want to back up to an SD card while preserving
the permissions.  I have tried to repartition a 64GB card and write an
ext4 filesystem.


What is the existing partition table?

Out of interest, since this is ext4 and therefore Linux (not Windows), why
partiton at all?  Why not just "mkfs.ext4 /dev/sdX"?


fdisk says the card has 124702720 sectors and has 59.5GB available.
However it will not make a partition over 27.5GB.  Why and what to do?


Are you sure that this is not just another example of "Flash Fraud"?
You could try running https://github.com/AltraMayor/f3 .



Hi,
As supplied the SD cards are intended to work with Windows.  Under Linux
only root can write to them and the ownership can not be changed.  I want
preserve permissions of data written to the card.


I don't follow above. SD cards usually come with a vfat file system and
are indeed set up mainly for Windoze. But if you mount with
-o uid=someone,gid=someone,..
then that someone user can write.

I do this all the time with a whole variety of sdhc cards. I only leave
them formated for vfat if I need to move them between other devices
(cameras, sat navs, ereaders which only read and write vfat). Otherwise
I use a better file system.



root@aragog:# /sbin/fdisk -l /dev/sdb
Disk /dev/sdb: 27.48 GiB, 29504831488 bytes, 57626624 sectors
Disk model: Card-Reader
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x

Device Boot Start   End   Sectors  Size Id Type
/dev/sdb1   32768 124735487 124702720 59.5G  7 HPFS/NTFS/exFAT

I don't know why the size is reported differently in two places.  It is a
64GB card.


Are you sure?? Not a faked 32GB ?



I tried your dd command line and things have gone downhill as the 64GB card
is now only 27.4GB.


So almost certainly a fake. Did you but this from somewhere trustworthy?


root@aragog:# /sbin/fdisk -l /dev/sdb
Disk /dev/sdb: 27.48 GiB, 29504831488 bytes, 57626624 sectors
Disk model: Card-Reader
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


I tried fdisk again with the same result.

root@aragog:# /sbin/fdisk /dev/sdb
Command (m for help): n
Partition type
p   primary (0 primary, 0 extended, 4 free)
e   extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-57626623, default 2048):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-57626623, default
57626623):

Created a new partition 1 of type 'Linux' and of size 27.5 GiB.

Command (m for help): d
Selected partition 1
Partition 1 has been deleted.

Command (m for help): n
Partition type
p   primary (0 primary, 0 extended, 4 free)
e   extended (container for logical partitions)
Select (default p): e
Partition number (1-4, default 1): 1
First sector (2048-57626623, default 2048):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-57626623, default
57626623):

Created a new partition 1 of type 'Extended' and of size 27.5 GiB.


Any ideas?


Yes. Almost  certainly a fake

ael


Hi,
I recall a lot of discussion about this on either this list or the 
Debian list.  If the card was an offbrand I would assume it was fraud 
and would not have even asked here.  However, the card is a SanDisk. 
The packaging becomes destroyed in removing the card so I can't take it 
back to Walfart for exchange.


I would like to try the f3 program.  How do I get the tarball from github?

You said above that you use a better filesystem for the sdhc cards. 
Have you done that for a card over 32GB?  And how?


Best regards,
Fred

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


Re: [DNG] fdisk SD card partitioning question

2022-06-12 Thread Fred

On 6/12/22 09:18, Antony Stone wrote:

On Sunday 12 June 2022 at 17:11:45, Fred wrote:


Hello,

I have some directories I want to back up to an SD card while preserving
the permissions.  I have tried to repartition a 64GB card and write an
ext4 filesystem.


What is the existing partition table?

Out of interest, since this is ext4 and therefore Linux (not Windows), why
partiton at all?  Why not just "mkfs.ext4 /dev/sdX"?


fdisk says the card has 124702720 sectors and has 59.5GB available.
However it will not make a partition over 27.5GB.  Why and what to do?


What's the output of "fdisk -l /dev/sdX"?

Have you tried wiping the partition table and creating a new one?

dd if=/dev/zero of=/dev/sdX bs=10M count=10

Then use fdisk as usual - it will prompt you to create a new table.


Antony.


Hi,
As supplied the SD cards are intended to work with Windows.  Under Linux 
only root can write to them and the ownership can not be changed.  I 
want preserve permissions of data written to the card.


root@aragog:# /sbin/fdisk -l /dev/sdb
Disk /dev/sdb: 27.48 GiB, 29504831488 bytes, 57626624 sectors
Disk model: Card-Reader
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x

Device Boot Start   End   Sectors  Size Id Type
/dev/sdb1   32768 124735487 124702720 59.5G  7 HPFS/NTFS/exFAT

I don't know why the size is reported differently in two places.  It is 
a 64GB card.


I tried your dd command line and things have gone downhill as the 64GB 
card is now only 27.4GB.


root@aragog:# /sbin/fdisk -l /dev/sdb
Disk /dev/sdb: 27.48 GiB, 29504831488 bytes, 57626624 sectors
Disk model: Card-Reader
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


I tried fdisk again with the same result.

root@aragog:# /sbin/fdisk /dev/sdb
Command (m for help): n
Partition type
   p   primary (0 primary, 0 extended, 4 free)
   e   extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-57626623, default 2048):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-57626623, default 
57626623):


Created a new partition 1 of type 'Linux' and of size 27.5 GiB.

Command (m for help): d
Selected partition 1
Partition 1 has been deleted.

Command (m for help): n
Partition type
   p   primary (0 primary, 0 extended, 4 free)
   e   extended (container for logical partitions)
Select (default p): e
Partition number (1-4, default 1): 1
First sector (2048-57626623, default 2048):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-57626623, default 
57626623):


Created a new partition 1 of type 'Extended' and of size 27.5 GiB.


Any ideas?

Best regards,
Fred




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


[DNG] fdisk SD card partitioning question

2022-06-12 Thread Fred

Hello,

I have some directories I want to back up to an SD card while preserving 
the permissions.  I have tried to repartition a 64GB card and write an 
ext4 filesystem.


fdisk says the card has 124702720 sectors and has 59.5GB available. 
However it will not make a partition over 27.5GB.  Why and what to do?


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


Re: [DNG] window manager question

2022-05-18 Thread Fred

On 5/18/22 17:46, Ralph Ronnquist wrote:

On Wed, May 18, 2022 at 02:47:25PM -0700, Fred wrote:

Hello,

I normally use openbox for window manager but I would like to try fvwm. Can
this be done without disrupting openbox and how to do it?


Run X on a free virtual terminal, then you'll start fvwm and, say,
xterm on that:

E.g.:
  
$ sudo /usr/lib/xorg/Xorg -nolisten tcp -auth $HOME/fvwm-trial.auth :2 vt09

$ DISPLAY=:2
$ fvwm&
$ xterm&

That will start an X server on vt9 with display identity :2, with fvwm
and an xterm. Shift to it with C-A-F9 and shift back with C-A-F7.

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

Hi Ralph,

I assume that when I install fvwm first it won't automagically replace 
openbox?


Your sudo command line and following commands are executed in an openbox 
xterm which starts fvwm in the "void" and the C-A-F9 switches out of 
openbox and into fvwm?


When I am done evaluating fvwm I can stop it by kill -9 whatever-its-PID 
is?  Or is there a proper way?


Best regards,
Fred


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


[DNG] window manager question

2022-05-18 Thread Fred

Hello,

I normally use openbox for window manager but I would like to try fvwm. 
Can this be done without disrupting openbox and how to do it?


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


Re: [DNG] mouse driver question

2022-05-13 Thread Fred

Hi Karl,

On 5/13/22 03:22, k...@aspodata.se wrote:

Fred:

On 5/12/22 15:23, Florian Zieboll via Dng wrote:

On May 12, 2022 9:44:39 PM GMT+02:00, Fred  wrote:

I don't use a DE, just openbox and xterm.  The regular scroll wheel
mouse works correctly in both xev and the application.  Button 2 is
identified as 2 so I contend it has to have something to do with
program(s) run to use the serial mouse.

xmodmap -pp shows the buttons mapped correctly with both mice.

The Xorg.log file has entries for USB Optical Mouse, Mouse Systems
mouse and Sun mouse (when I gave that protocol to inputattach and
gpm) but nothing about mouse buttons.


Then I'm more or less at loss what to do, save make an adapter for my
sun mouse try it at home.

If you are willing to work on it I can send you my adapter.  I can 
easily make another one.  I assume you are in Sweden.  You could send a 
mailing address off-list.


Best regards,
Fred


...

There's just one question itching me for a
little while now: Is it possible, that this
old mouse simply has some physical
issue, triggered by using button 2?

And if so, what would be the best way to
prove it?


He has already proven it.


No, the mouse is fine.  I have an application that I have used for 20
years running on Solaris 2.6.  The Sun is retired but I still need the
application.  I was able to get it to compile and run happily on Devuan
Beowulf and it works fine with the standard pc scroll wheel mouse.  The
program makes extensive use of the middle button which is a pain with
the pc mouse.  I would like to continue using the Sun three button mouse
which works except the middle button.  I have studied the output of the
mouse with an oscilloscope and software and it is working exactly as a
Mouse Systems mouse.  There is some defugalty in getting the middle
button information into user programs.  Maybe a bug somewhere?


There have been some changes over the years, e.g. xlib replaced by xcb.

This might not be related, but this little test program didn't work (segfault)
with devuan/debian libXt but it workes fine in gentoo:
  http://aspodata.se/computing/librnd_motif/Shell_Size_Constraint/
it also workes fine in debian woody and when rebuilding libXt in previous
devuan version, so it might be something shady in current devuan/debian libxt.

If this is really important to you, you could try to
. rebuild libxt
. install another distro, eg. gentoo
. try an older version of debian, e.g. potato, woody or sarge

Regards,
/Karl Hammar


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


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


Re: [DNG] mouse driver question

2022-05-12 Thread Fred

On 5/12/22 15:23, Florian Zieboll via Dng wrote:



On May 12, 2022 9:44:39 PM GMT+02:00, Fred  wrote:


Hi Karl,
I don't use a DE, just openbox and xterm.  The regular scroll wheel mouse works 
correctly in both xev and the application.  Button 2 is identified as 2 so I 
contend it has to have something to do with program(s) run to use the serial 
mouse.

xmodmap -pp shows the buttons mapped correctly with both mice.

The Xorg.log file has entries for USB Optical Mouse, Mouse Systems mouse and 
Sun mouse (when I gave that protocol to inputattach and gpm) but nothing about 
mouse buttons.
Best regards,
Fred



A very interesting thread, never have I
been so close to hardware!

There's just one question itching me for a
little while now: Is it possible, that this
old mouse simply has some physical
issue, triggered by using button 2?

And if so, what would be the best way to
prove it?

libre Grüße,
Florian



Hi Florian,
No, the mouse is fine.  I have an application that I have used for 20 
years running on Solaris 2.6.  The Sun is retired but I still need the 
application.  I was able to get it to compile and run happily on Devuan 
Beowulf and it works fine with the standard pc scroll wheel mouse.  The 
program makes extensive use of the middle button which is a pain with 
the pc mouse.  I would like to continue using the Sun three button mouse 
which works except the middle button.  I have studied the output of the 
mouse with an oscilloscope and software and it is working exactly as a 
Mouse Systems mouse.  There is some defugalty in getting the middle 
button information into user programs.  Maybe a bug somewhere?


Best regards,
Fred

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


Re: [DNG] mouse driver question

2022-05-12 Thread Fred

On 5/12/22 03:15, k...@aspodata.se wrote:

Fred:
...

With xev, buttons 1 and 3 are correctly identified but the middle button
is randomly assigned 4,5,6 or 7.  Possibly this is the problem as I know
the application is expecting button 2.


Maybe it is the desktop environment or the window manager that messes
this up.

Try installing and using fvwm1 or something of similar age instead of
what you are using currently and do the same test, or if you know how,
run bare Xorg.

///

It can also be the xserver config if you happens to have a xorg.conf
that is picked up by X. Configs like buttonmapping and things related
to emulateweel can mess this up. Look in man evdev (or man mousedrv).

  Look in your X11 log file for clues:
$ man xorg | grep -A8 ' -logfile'
-logfile filename
Use  the file called filename as the Xorg server log file.  The
default log file when running as  root  is  /var/log/Xorg.n.log
and  for  non root it is $XDG_DATA_HOME/xorg/Xorg.n.log where n
is the display number of the Xorg server.  The default  may  be
in  a  different  directory  on some platforms.  This option is
only available when the server is run as root (i.e, with  real-
uid 0).

Regards,
/Karl Hammar


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

Hi Karl,
I don't use a DE, just openbox and xterm.  The regular scroll wheel 
mouse works correctly in both xev and the application.  Button 2 is 
identified as 2 so I contend it has to have something to do with 
program(s) run to use the serial mouse.


xmodmap -pp shows the buttons mapped correctly with both mice.

The Xorg.log file has entries for USB Optical Mouse, Mouse Systems mouse 
and Sun mouse (when I gave that protocol to inputattach and gpm) but 
nothing about mouse buttons.

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


Re: [DNG] mouse driver question

2022-05-11 Thread Fred

Hi Karl,

On 5/11/22 08:23, k...@aspodata.se wrote:

Fred:

On 5/11/22 05:02, k...@aspodata.se wrote:



You should be able to do lsinput from input-utils package to see which
/dev/input/inputX file your mouse's byte stream transformed as events
would appear. And then run input-events X to see the events. E.g.:

# lsinput | tail
open /dev/input/event11: No such device or address

/dev/input/event10
 bustype : BUS_I8042
 vendor  : 0x2
 product : 0xa
 version : 0
 name: "TPPS/2 IBM TrackPoint"
 phys: "isa0060/serio1/input0"
 bits ev : (null) (null) (null)

Why did you pick event10?


Because that where the mouse is as shown by the lsinput output.


I have event0 to 21 also mice and mouse0 in that directory.
The reason I asked is that when I ran your command line I got one 
paragraph with the name"ALSA".  My mouse is tied to event0 whether pc 
mouse or Sun.



Run lsinput and choose.

Here ia another example:

# modprobe  sermouse
# ./inputattach --daemon --mouseman /dev/ttyS0
# tail -2 /var/log/all
May 11 15:01:30 zoisit user.info kernel: [15477.331554] input: Logitech M+ 
Mouse as /devices/pnp0/00:01/tty/ttyS0/serio3/input/input19
May 11 15:01:30 zoisit user.info kernel: [15477.332229] serio: Serial port ttyS0
# lsinput | tail
open /dev/input/event18: No such device or address

/dev/input/event17
bustype : BUS_RS232
vendor  : 0x4
product : 0x1
version : 256
name: "Logitech M+ Mouse"
phys: "ttyS0/serio0/input0"
bits ev : (null) (null) (null)

# input-events 17
/dev/input/event17
bustype : BUS_RS232
vendor  : 0x4
product : 0x1
version : 256
name: "Logitech M+ Mouse"
phys: "ttyS0/serio0/input0"
bits ev : (null) (null) (null)

waiting for events
15:13:30.888773: (null) ??? (0x112) pressed
15:13:30.888773: (null) code=0 value=0
15:13:32.998688: (null) ??? -1
15:13:32.998688: (null) code=0 value=0
15:13:33.061029: (null) ??? -1
15:13:33.061029: (null) code=0 value=0
15:13:33.560736: (null) ??? 1
15:13:33.560736: (null) code=0 value=0
15:13:33.583775: (null) ??? 3
15:13:33.583775: (null) code=0 value=0
15:13:33.591262: (null) ??? 3
15:13:33.591262: (null) code=0 value=0
15:13:33.614295: (null) ??? 1
15:13:33.614295: (null) code=0 value=0
15:13:33.621787: (null) ??? 2
15:13:33.621787: (null) code=0 value=0
15:13:34.191695: (null) ??? 1
15:13:34.191695: (null) code=0 value=0
15:13:34.302401: (null) ??? 1
15:13:34.302401: (null) code=0 value=0
15:13:34.553504: (null) ??? (0x112) released
15:13:34.553504: (null) code=0 value=0
...

Here above we can see the middle button pressed, the mouse moved, and
the button released.
input-events produces essentially the same as you show.  All three 
buttons work similarly.




I think we are barking up the wrong tree here.  The application sees the
button because the pointer freezes when it is pressed.  What is missing
is X and Y movement info. while the button is pressed.


With the above example we can check if that is true.

Another way to test this is to use xev. Start xev, move the mouse xev's
window, press button, move, release, check the result:

ButtonPress event, serial 33, synthetic NO, window 0x321,
 root 0x4d3, subw 0x0, time 243503614, (56,88), root:(360,300),
 state 0x0, button 1, same_screen YES

MotionNotify event, serial 33, synthetic NO, window 0x321,
 root 0x4d3, subw 0x0, time 243504966, (57,88), root:(361,300),
 state 0x100, is_hint 0, same_screen YES

MotionNotify event, serial 33, synthetic NO, window 0x321,
 root 0x4d3, subw 0x0, time 243504989, (59,89), root:(363,301),
 state 0x100, is_hint 0, same_screen YES

MotionNotify event, serial 33, synthetic NO, window 0x321,
 root 0x4d3, subw 0x0, time 243505012, (60,90), root:(364,302),
 state 0x100, is_hint 0, same_screen YES

ButtonRelease event, serial 33, synthetic NO, window 0x321,
 root 0x4d3, subw 0x0, time 243505908, (60,90), root:(364,302),
 state 0x100, button 1, same_screen YES

Regards,
/Karl Hammar


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
With xev, buttons 1 and 3 are correctly identified but the middle button 
is randomly assigned 4,5,6 or 7.  Possibly this is the problem as I know 
the application is expecting button 2.


Best regards,
Fred

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


Re: [DNG] mouse driver question

2022-05-11 Thread Fred

Hi Karl,

On 5/11/22 05:02, k...@aspodata.se wrote:

Fred:
...

The Sun Compact 1 three button mouse is 1200 baud, 8 data bits, no
parity and sends 5 bytes in Mouse Systems protocol.  Byte 0 is button
info. exactly the same as msc.  Byte 1 is 8 bit signed X movement. Byte
2 is 8 bit signed Y movement.  Bytes 3, 4 are zero.


That fits the Mousesystems protocol as described in man mouse.

...

The problem seems to be that movement info. is not being sent or is
incorrect when the middle button is down.  The inputattach program
appears to be decoding the mouse protocol so I think that is where the
problem is.  I am not a C programmer so I can't determine what is wrong.

...

If I look at utils/inputattach.c from
  https://sourceforge.net/projects/linuxconsole/files/latest/download

inputattach does
. option handling
. sets the line discipline:
   ldisc = N_MOUSE;
   if (ioctl(fd, TIOCSETD, ) < 0) {
. sets the device type (e.g. it's a MSC mouse)
   ioctl(fd, SPIOCSTYPE, )
. goes into the background (daemon())
. stays there just emptying the input buffer of the serial port

So, inputattach does not decode the byte stream from the mouse.
Instead it seems that the kernels drivers/input/mouse/sermouse.c
does that. Look in the
  static void sermouse_process_msc(struct sermouse *sermouse, signed char data)
function.

So... the "input" way is too buggy. Why not consider the deprecated X11
mouse driver.

///

You should be able to do lsinput from input-utils package to see which
/dev/input/inputX file your mouse's byte stream transformed as events
would appear. And then run input-events X to see the events. E.g.:

# lsinput | tail
open /dev/input/event11: No such device or address

/dev/input/event10
bustype : BUS_I8042
vendor  : 0x2
product : 0xa
version : 0
name: "TPPS/2 IBM TrackPoint"
phys: "isa0060/serio1/input0"
bits ev : (null) (null) (null)

Why did you pick event10?
I have event0 to 21 also mice and mouse0 in that directory.



# input-events -t 100 10
/dev/input/event10
bustype : BUS_I8042
vendor  : 0x2
product : 0xa
version : 0
name: "TPPS/2 IBM TrackPoint"
phys: "isa0060/serio1/input0"
bits ev : (null) (null) (null)

waiting for events
11:58:57.217543: (null) ??? (0x110) pressed
11:58:57.217543: (null) code=0 value=0
11:58:57.356137: (null) ??? (0x110) released
11:58:57.356137: (null) code=0 value=0
11:58:59.084678: (null) ??? (0x112) pressed
11:58:59.084678: (null) code=0 value=0
11:58:59.225056: (null) ??? (0x112) released
11:58:59.225056: (null) code=0 value=0
11:58:59.613730: (null) ??? (0x111) pressed
11:58:59.613730: (null) code=0 value=0
11:58:59.689984: (null) ??? (0x111) released
11:58:59.689984: (null) code=0 value=0
^C
#

Where I pressed the left, middle and lastly right button on my laptop.

Regards,
/Karl Hammar

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
I think we are barking up the wrong tree here.  The application sees the 
button because the pointer freezes when it is pressed.  What is missing 
is X and Y movement info. while the button is pressed.


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


Re: [DNG] mouse driver question

2022-05-10 Thread Fred

On 4/27/22 15:40, k...@aspodata.se wrote:

Fred:
...

In spare time I am building a board to convert mouse output to RS232.  I
did research on this in 2011.  I found a program I wrote (for embedded
controller) to watch serial port and show mouse bytes on lcd.  I don't
know yet if it was finished or works.  Viewing the mouse output with an
oscilloscope shows it is definitely 1200 baud and appears to be 8 data
bits odd parity and one stop bit.  The mouse is sending 5 bytes.


I made a program that "spied" on a serial port, reporting all bytes
coming in and out from a serial port. It worked by using pty's.
It has seen some bitrot, but perhaps I can shape it up during the
summer.

In the meantime, you could watch the input bytes by doing

# stty -F /dev/ttyS4 1200 cs8 raw
# cat /dev/ttyS4 | od -t x1  # and then move the mouse
000 40 01 00 4c 3d 4c 05 3f 4c 04 3f 02 3f 40 00 01
020 40 01 01 40 02 03 40 02 40 03 40 00 04 43 3d 06
040 43 3c 06 43 3b 06 43 3b 04 43 3d 01 40 00 01 43
060 3f 00 4f 3f 3f 4f 3f 3f 4f 3e 3f 4f 3f 3c 3d 4f
100 3b 4f 3d 4f 3f 4c 00 3f 4c 00 3f 4c 01 3f 4c 01
^C

# cat /dev/ttyS4 | od -t x1 # pressing the right button
000 40 00 50 00 00 40 00 00 50 00 40 00 50 00 40 00
020 50 00 00 40 00 00 50 00 40 00 00 50 00 40 00 50
^C

# cat /dev/ttyS4 | od -t x1 # pressing the left button
000 60 00 40 00 00 60 00 40 00 00 60 00 00 40 00 60
020 00 40 00 00 60 00 40 00 00 60 00 40 00 60 00 40
^C

od waits to fill one line before it writes out anything.

  Descriptions of mouse protocols are available here:
https://courses.cs.washington.edu/courses/cse477/00sp/projectwebs/groupb/PS2-mouse/mouse.html
https://www.kryslix.com/nsfaq/Q.12.html
man mouse


I tried gpm again in a VT.  The left button highlights a single
character or lines.  The right button highlights lines from the last
left button click.  The middle button prints the character that was
under the cursor at last left button click.


$ man gpm
  ...
OPERATION
To select text press the left mouse button and drag the mouse.
To paste text in the same or another console, press the middle button.
The right button is used to extend the selection, like in `xterm'.

Soo, it works as adverticed above ?
Then the problem is that the input subsystem is doing the wrong things
(i.e. in the kernel git repo, drivers/input/mouse/sermouse.c needs some
fix) or it is been set up wrongly.


I think inputattach is actually doing what it is supposed to do but is
telling the application something different from what the standard
scroll wheel pc mouse does.


inputattach is just setting up the kernel to read and translate the
mouse packets. The packets then appear somewhere at /dev/input/
which X11 reads.

Regards,
/Karl Hammar

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

Hi,
The Sun Compact 1 three button mouse is 1200 baud, 8 data bits, no 
parity and sends 5 bytes in Mouse Systems protocol.  Byte 0 is button 
info. exactly the same as msc.  Byte 1 is 8 bit signed X movement. Byte 
2 is 8 bit signed Y movement.  Bytes 3, 4 are zero.


In the application I need to use the Sun mouse, the PC mouse works 
correctly in that with the middle button down objects can be moved 
around.  With the Sun mouse the pointer freezes with the middle button down.


In nedit, with the PC mouse pointer on the scroll thingy on the side the 
text smooth scrolls.  With the Sun mouse the text jump scrolls one line 
at a time.


The problem seems to be that movement info. is not being sent or is 
incorrect when the middle button is down.  The inputattach program 
appears to be decoding the mouse protocol so I think that is where the 
problem is.  I am not a C programmer so I can't determine what is wrong.


Best regards,
Fred

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


Re: [DNG] mouse driver question

2022-04-27 Thread Fred

Hi Karl,

On 4/25/22 15:09, k...@aspodata.se wrote:

Fred:

On 4/25/22 10:17, k...@aspodata.se wrote:

...

I am using the DLP-TXRX-G usb/serial adapter with a transistor to invert
the mouse output.  The mouse has an active high output and the dlp rx
input is active low.


  This one:
http://www.dlpdesign.com/usb/txrx.php
seems to be ttl, not rs232 levels/signals.


I forgot to say in the previous message that x and y movement and
buttons 1 and 3 all work normally.  Only the middle button doesn't work.


Well, half a victory!


I have some hardware that would be fairly easy to have read in the mouse
signals and display the bytes.  I will do this over the next few days
and it should be possible to determine the exact protocol.


Nice.

Regards,
/Karl Hammar

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


I tried inputattach with the sun protocol and the results were the same, 
pointer freeze with button2 down.


In spare time I am building a board to convert mouse output to RS232.  I 
did research on this in 2011.  I found a program I wrote (for embedded 
controller) to watch serial port and show mouse bytes on lcd.  I don't 
know yet if it was finished or works.  Viewing the mouse output with an 
oscilloscope shows it is definitely 1200 baud and appears to be 8 data 
bits odd parity and one stop bit.  The mouse is sending 5 bytes.


I tried gpm again in a VT.  The left button highlights a single 
character or lines.  The right button highlights lines from the last 
left button click.  The middle button prints the character that was 
under the cursor at last left button click.


I think inputattach is actually doing what it is supposed to do but is 
telling the application something different from what the standard 
scroll wheel pc mouse does.

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


Re: [DNG] mouse driver question

2022-04-25 Thread Fred

On 4/25/22 10:17, k...@aspodata.se wrote:

Fred:
...

  I ran gpm-mouse-test again.  That program seems to have major
problems.  It can't even detect the baud rate which I know to be 1200.

...

I tested it here and it succesfully detected my MouseMan at 1200baud.

It can be that your serial to usb converter confuses the program because
usb delivers bytes in a different way, in packets, not one byte at a time.

I might make a din-8 (aka sun mouse if.) to rs232 converter within the
month. If so I'll report back to you.

Regards,
/Karl Hammar

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

Hi Karl,

I am using the DLP-TXRX-G usb/serial adapter with a transistor to invert 
the mouse output.  The mouse has an active high output and the dlp rx 
input is active low.


I forgot to say in the previous message that x and y movement and 
buttons 1 and 3 all work normally.  Only the middle button doesn't work.


I have some hardware that would be fairly easy to have read in the mouse 
signals and display the bytes.  I will do this over the next few days 
and it should be possible to determine the exact protocol.


Best regards,
Fred

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


Re: [DNG] mouse driver question

2022-04-25 Thread Fred

On 4/25/22 10:17, k...@aspodata.se wrote:

Nick:

On 25-04-2022 16:20, Fred wrote:

...

The compile went ok.  I used command line:
inputattach --daemon --baud 1200 -msc /dev/ttyUSB0
It accepted the baud rate option this time however the middle button
still does not work.  The pointer freezes when the middle button is
down.


So, everything works, except the middle button ?

Just checking, is this one in the kernel:

# grep MOUSE_SERIAL /boot/config-`uname -r`
CONFIG_MOUSE_SERIAL=y


The response is:  CONFIG_MOUSE_SERIAL=m


If done as a module, you need to
modprobe sermouse


This produced no response.


I ran gpm-mouse-test again.  That program seems to have major
problems.  It can't even detect the baud rate which I know to be 1200.

...

Forget about that program then, it doesn't help you.


Looking at inputattach man page could you give the option

*-ms*,*--mshack*
 3-button mouse in Microsoft mode.

a try?


Cannot say much about that, but there is a -sun variant also.
You have to try around.
I will try the sun protocol later today and maybe a few others.  I am 
not good a guessing games.




///

If you cannot make inputattach to work, you can
. go for the old mouse driver and edit xorg.conf
. reverse engineer the protocol used and make code to handle that

Regards,
/Karl Hammar



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


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


Re: [DNG] mouse driver question

2022-04-25 Thread Fred

On 4/25/22 02:39, k...@aspodata.se wrote:

Fred:
...

The compile fails because SDL.h can't be found.
Package sd12 was not found in the pkg-config search path.  It also
mentions adding directory containing sd12.pc to the PKG-CONFIG_PATH
environment variable.


To find which package a missing file belongs to, do:

# apt-get install apt-file

$ apt-file search SDL.h
$ apt-file search sdl2.h

///

   I get:
$ apt-file -x search /SDL.h$
libsdl1.2-dev: /usr/include/SDL/SDL.h
libsdl2-dev: /usr/include/SDL2/SDL.h
$ apt-file search /sdl2.pc
libsdl2-dev: /usr/lib/x86_64-linux-gnu/pkgconfig/sdl2.pc

So, the above problem is solved by installing libsdl2-dev.

Regards,
/Karl Hammar

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

Hi Karl,
The compile went ok.  I used command line:
inputattach --daemon --baud 1200 -msc /dev/ttyUSB0
It accepted the baud rate option this time however the middle button 
still does not work.  The pointer freezes when the middle button is 
down.  I ran gpm-mouse-test again.  That program seems to have major 
problems.  It can't even detect the baud rate which I know to be 1200.

Best regards,
Fred

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


Re: [DNG] mouse driver question

2022-04-24 Thread Fred

On 4/24/22 13:56, k...@aspodata.se wrote:

Fred:

On 4/23/22 12:53, k...@aspodata.se wrote:

...

If so, press Ctl-Alt-F2 buttons simultaineusly to get to a console.
There log in as root
and then try one of
gpm -b 1200 -m /dev/ttyUSB0 -t msc
gpm -b 1200 -m /dev/ttyUSB0 -t sun
gpm -b 1200 -m /dev/ttyUSB0 -t mman
and move the mouse to test.


This works.  The msc protocol works best, the mman protocol doesn't work
at all.  All three buttons show some effect.


Very good.

...

B, try inputattach to make the mouse appear as a /dev/input/* device
 and be automatically included by X11, I haven't tested this. See

 https://wiki.archlinux.org/title/Serial_input_device_to_kernel_input
 https://sourceforge.net/projects/linuxconsole/files/
 https://help.ubuntu.com/community/SerialMouseHowto
 https://wiki.alpinelinux.org/wiki/Serial_Mouse

...

There is some progress. The inputattach package in Devuan apparently
doesn't have a config file.  Specifying the baud on the command line
results in an invalid baud message. inputattach does work with the Sun
mouse but the middle button doesn't work.  I tried msc and sun protocol
and both work the same.  I may try some other protocols but I suspect a
bug in inputattach.  Maybe I should contact the maintainer?


I have no experience with inputattach, but looking at
utils/inputattach.c from
  https://sourceforge.net/projects/linuxconsole/files/latest/download
around line 1163:

switch(baud[i]) {
case -1: break;
case 2400: type[i]->speed = B2400; break;
case 4800: type[i]->speed = B4800; break;
case 9600: type[i]->speed = B9600; break;
case 19200: type[i]->speed = B19200; break;
case 38400: type[i]->speed = B38400; break;
case 115200: type[i]->speed = B115200; break;
default:
fprintf(stderr, "inputattach: invalid baud rate '%d'\n",
baud[i]);
return EXIT_FAILURE;
}

and

$ grep -A2 msc inputattach.c
{ "--mousesystems", "-msc", "3-button Mouse Systems mouse",
 B1200, CS8,
 SERIO_MSC,  0x00,   0x01,   1,  NULL },

So, yes, you found a bug.

Add this before the "case 2400" line:

case 1200: type[i]->speed = B1200; break;

compile and test.

Regards,
/Karl Hammar


Hi Karl,

The compile fails because SDL.h can't be found.
Package sd12 was not found in the pkg-config search path.  It also 
mentions adding directory containing sd12.pc to the PKG-CONFIG_PATH 
environment variable.


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


Re: [DNG] mouse driver question

2022-04-24 Thread Fred

On 4/24/22 10:49, Fred wrote:

Hi,

On 4/23/22 12:53, k...@aspodata.se wrote:

Fred:

On 4/23/22 02:34, k...@aspodata.se wrote:

...

So, make sure you are running in a virtual console and logged in as
root, then run the gpm -b etc. thing and move the mouse around.

To make the mouse to work in X11, please test the mouse with gpm in
a console first to assert basic functionality, and then come back.


Did you do the test above ?

As long the serial port isn't opened by anything,
you can let X11 and openbox be running.

If so, press Ctl-Alt-F2 buttons simultaineusly to get to a console.
There log in as root
and then try one of
   gpm -b 1200 -m /dev/ttyUSB0 -t msc
   gpm -b 1200 -m /dev/ttyUSB0 -t sun
   gpm -b 1200 -m /dev/ttyUSB0 -t mman
and move the mouse to test.

This works.  The msc protocol works best, the mman protocol doesn't work 
at all.  All three buttons show some effect.



A previous post mentioned xorg.conf which doesn't appear to exist in
Devuan Beowulf (AMD64).
So, where do I go from here?


You can either
A, do a xorg configuration with the mouse driver
    man xorg.conf is your friend.

B, try inputattach to make the mouse appear as a /dev/input/* device
    and be automatically included by X11, I haven't tested this. See

    https://wiki.archlinux.org/title/Serial_input_device_to_kernel_input
    https://sourceforge.net/projects/linuxconsole/files/
    https://help.ubuntu.com/community/SerialMouseHowto
    https://wiki.alpinelinux.org/wiki/Serial_Mouse

Regards,
/Karl Hammar

There is some progress. The inputattach package in Devuan apparently 
doesn't have a config file.  Specifying the baud on the command line 
results in an invalid baud message. inputattach does work with the Sun 
mouse but the middle button doesn't work.  I tried msc and sun protocol 
and both work the same.  I may try some other protocols but I suspect a 
bug in inputattach.  Maybe I should contact the maintainer?


Best regards,
Fred

The middle button is being seen as the pointer won't move when it is 
held down.  It would appear the application is being told something 
different than when the standard pc mouse is used.


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


Re: [DNG] mouse driver question

2022-04-24 Thread Fred

Hi,

On 4/23/22 12:53, k...@aspodata.se wrote:

Fred:

On 4/23/22 02:34, k...@aspodata.se wrote:

...

So, make sure you are running in a virtual console and logged in as
root, then run the gpm -b etc. thing and move the mouse around.

To make the mouse to work in X11, please test the mouse with gpm in
a console first to assert basic functionality, and then come back.


Did you do the test above ?

As long the serial port isn't opened by anything,
you can let X11 and openbox be running.

If so, press Ctl-Alt-F2 buttons simultaineusly to get to a console.
There log in as root
and then try one of
   gpm -b 1200 -m /dev/ttyUSB0 -t msc
   gpm -b 1200 -m /dev/ttyUSB0 -t sun
   gpm -b 1200 -m /dev/ttyUSB0 -t mman
and move the mouse to test.

This works.  The msc protocol works best, the mman protocol doesn't work 
at all.  All three buttons show some effect.



A previous post mentioned xorg.conf which doesn't appear to exist in
Devuan Beowulf (AMD64).
So, where do I go from here?


You can either
A, do a xorg configuration with the mouse driver
man xorg.conf is your friend.

B, try inputattach to make the mouse appear as a /dev/input/* device
and be automatically included by X11, I haven't tested this. See

https://wiki.archlinux.org/title/Serial_input_device_to_kernel_input
https://sourceforge.net/projects/linuxconsole/files/
https://help.ubuntu.com/community/SerialMouseHowto
https://wiki.alpinelinux.org/wiki/Serial_Mouse

Regards,
/Karl Hammar

There is some progress. The inputattach package in Devuan apparently 
doesn't have a config file.  Specifying the baud on the command line 
results in an invalid baud message. inputattach does work with the Sun 
mouse but the middle button doesn't work.  I tried msc and sun protocol 
and both work the same.  I may try some other protocols but I suspect a 
bug in inputattach.  Maybe I should contact the maintainer?


Best regards,
Fred

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


Re: [DNG] mouse driver question

2022-04-23 Thread Fred

On 4/23/22 12:53, k...@aspodata.se wrote:

Fred:

On 4/23/22 02:34, k...@aspodata.se wrote:

...

So, make sure you are running in a virtual console and logged in as
root, then run the gpm -b etc. thing and move the mouse around.

To make the mouse to work in X11, please test the mouse with gpm in
a console first to assert basic functionality, and then come back.


Did you do the test above ?

As long the serial port isn't opened by anything,
you can let X11 and openbox be running.

If so, press Ctl-Alt-F2 buttons simultaineusly to get to a console.
There log in as root
and then try one of
   gpm -b 1200 -m /dev/ttyUSB0 -t msc
   gpm -b 1200 -m /dev/ttyUSB0 -t sun
   gpm -b 1200 -m /dev/ttyUSB0 -t mman
and move the mouse to test.


A previous post mentioned xorg.conf which doesn't appear to exist in
Devuan Beowulf (AMD64).
So, where do I go from here?


You can either
A, do a xorg configuration with the mouse driver
man xorg.conf is your friend.

B, try inputattach to make the mouse appear as a /dev/input/* device
and be automatically included by X11, I haven't tested this. See

https://wiki.archlinux.org/title/Serial_input_device_to_kernel_input
https://sourceforge.net/projects/linuxconsole/files/
https://help.ubuntu.com/community/SerialMouseHowto
https://wiki.alpinelinux.org/wiki/Serial_Mouse

Regards,
/Karl Hammar





___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
It is going to take me a few days to get back to try your suggestions. 
I am drowning in things to do.


If gpm only works in a virtual terminal why do I need to continue 
working with it?  I don't use a virtual terminal.


I had previously looked for xorg.conf in /etc/X11 where one would expect 
a config. file to be.  I did find one at 
/usr/share/doc/xserver-xorg-video-intel/xorg.conf.  It had a single 
entry and didn't appear likely to be read for mouse configuration.


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


Re: [DNG] mouse driver question

2022-04-23 Thread Fred

On 4/23/22 15:26, Hendrik Boom wrote:

On Fri, Apr 22, 2022 at 12:19:45PM -0700, Fred wrote:


The mouse is a Sun three button mouse without the scroll wheel.  I
frequently use a program that makes extensive use of the middle button and
the pc mouse scroll wheel is hateful.


I would like a mouse with a middle button *and* a scroll wheel.
So there's no ambiguity as to which I am using.
I've never seen one.

-- hendrik
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
I would be very happy with that.  The scroll wheel should never have 
been included with the middle button but it is cheaper to build that way 
and that is more important than ergonomics.  I also don't like the 
beetle wings for buttons one and three because I am often accidentally 
clicking button three.  The Sun mouse has three buttons with spacing 
between to rest your fingers.


Best regards,
Fred

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


Re: [DNG] mouse driver question

2022-04-23 Thread Fred

On 4/23/22 02:34, k...@aspodata.se wrote:

Fred:

On 4/22/22 15:31, k...@aspodata.se wrote:

...

   gpm -b 1200 -m /dev/ttyS1 -t msc

...

It shows up at /dev/ttyUSB0.  I have tried that command line several
times.  Nothing happens.  ps -e shows gpm is running.  The pointer will
not move and the mouse buttons have no effect.

...

You have to be aware that gpm is for virtual consoles:

$ man gpm | grep 'gpm - '
gpm - a cut and paste utility and mouse server for virtual consoles

So in X11, openbox etc. graphical environment, it has no effect unless
you take special action. With graphical environment I mean bitmapped as
opposed to character (i.e. letters) based graphics.

Testing with gpm is best done without X11, so stop your window manager
(obenbox) and exit from X11. If you then is presented with a greeter
(also called display manager, see
  https://en.wikipedia.org/wiki/X_display_manager_(program_type)
), see if you can stop the greeter.

Also testing has to be done as root.

So, make sure you are running in a virtual console and logged in as
root, then run the gpm -b etc. thing and move the mouse around.

To make the mouse to work in X11, please test the mouse with gpm in
a console first to assert basic functionality, and then come back.

Regards,
/Karl Hammar

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

Hi,
I understand now.  I was stuck on gpm because it worked some time ago on 
Debian Jessie.  I was not ready to continue with it then because I still 
had use of my Sun workstation.  The Sun is gone now, I was able to move 
the application program to Linux and now I need a three button mouse 
without the scroll wheel that works with X11.  Maybe the Sun mouse.


A previous post mentioned xorg.conf which doesn't appear to exist in 
Devuan Beowulf (AMD64).


So, where do I go from here?

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


Re: [DNG] mouse driver question

2022-04-22 Thread Fred

On 4/22/22 15:31, k...@aspodata.se wrote:

Fred:

On 4/22/22 14:21, Fred wrote:

On 4/22/22 13:46, k...@aspodata.se wrote:

Fred:
...

As I said in an earlier post there is an article on using a (different)
Sun mouse on Linux.  The protocol used was msc.  From looking at the
output with an oscilloscope that protocol does appear close if not
correct.

...


From the scope trace you can infer the baud rate.

The baud rate is 1 / smallest_pulse_width.


Have you tried:

   mouse-test [ device ]

...

That program is actually gpm-mouse-test.

...

Should be the same program, differnt packaging. Does most development on
gentoo, run devuan on production boxes.


The Sun mouse I would like to use is also a compact-1.  Does the
mouse-test program you mention work with your compact-1 mouse and
therefore is actually a different program than the one in the gpm package?


I haven't made any adapter for it, it is on a sparcstation.

...

As I said in an earlier post I used the mouse
(long ago) on Debian Jessie with gpm and it worked with msc protocol.


Soo, what happens when you try with:

  gpm -b 1200 -m /dev/ttyS1 -t msc

where ttyS1 should be changed to the serial port used.

Regards,
/Karl Hammar


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

Hi,
It shows up at /dev/ttyUSB0.  I have tried that command line several 
times.  Nothing happens.  ps -e shows gpm is running.  The pointer will 
not move and the mouse buttons have no effect.


I have tried using minicom to connect to the mouse and that works in 
that the minicom cursor moves toward the right with mouse movement.

So the hardware is functional.  I know the baud rate is 1200.
Best regards,
Fred

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


Re: [DNG] mouse driver question

2022-04-22 Thread Fred

On 4/22/22 14:21, Fred wrote:

On 4/22/22 13:46, k...@aspodata.se wrote:

Fred:
...

As I said in an earlier post there is an article on using a (different)
Sun mouse on Linux.  The protocol used was msc.  From looking at the
output with an oscilloscope that protocol does appear close if not 
correct.


  Type-4 and -5 mice seems to been made by mouse systems:
https://www.oldmouse.com/mouse/mousesystems/sun.shtml
http://www.telltronics.org/hardware/SunMouse.html

My own sun moues is a type compact-1 and is done by Logitech.

So your primary choises would be msc and mman (in gpm parlance).



As I said in an earlier post I haven't been able to get gpm to do
anything with the pointer.


Have you tried:

  mouse-test [ device ]

Regards,
/Karl Hammar

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

Hi,
That program is actually gpm-mouse-test.  According to the man page it 
is incomplete but otherwise would be helpful.  The mouse I would like to 
use appears as a serial port but gpm-mouse-test doesn't provide any 
option for baud rate.  The author is listed in the man page and I will 
email him to stir the pot.


The Sun mouse I would like to use is also a compact-1.  Does the 
mouse-test program you mention work with your compact-1 mouse and 
therefore is actually a different program than the one in the gpm package?


Best regards,
Fred

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
I tried the gpm-mouse-test program and it is more complete than the man 
page indicates.  It does try several baud rates.  It appeared to be able 
to see the mouse present but was not able to detect the protocol.  I 
don't know whether that was because of a bug in the program or the mouse 
uses a custom protocol.  As I said in an earlier post I used the mouse 
(long ago) on Debian Jessie with gpm and it worked with msc protocol.


The gpm-mouse-test program also did not detect the regular USB mouse so 
it may have some problems.

Best regards,
Fred

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


Re: [DNG] mouse driver question

2022-04-22 Thread Fred

On 4/22/22 13:46, k...@aspodata.se wrote:

Fred:
...

As I said in an earlier post there is an article on using a (different)
Sun mouse on Linux.  The protocol used was msc.  From looking at the
output with an oscilloscope that protocol does appear close if not correct.


  Type-4 and -5 mice seems to been made by mouse systems:
https://www.oldmouse.com/mouse/mousesystems/sun.shtml
http://www.telltronics.org/hardware/SunMouse.html

My own sun moues is a type compact-1 and is done by Logitech.

So your primary choises would be msc and mman (in gpm parlance).



As I said in an earlier post I haven't been able to get gpm to do
anything with the pointer.


Have you tried:

  mouse-test [ device ]

Regards,
/Karl Hammar

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

Hi,
That program is actually gpm-mouse-test.  According to the man page it 
is incomplete but otherwise would be helpful.  The mouse I would like to 
use appears as a serial port but gpm-mouse-test doesn't provide any 
option for baud rate.  The author is listed in the man page and I will 
email him to stir the pot.


The Sun mouse I would like to use is also a compact-1.  Does the 
mouse-test program you mention work with your compact-1 mouse and 
therefore is actually a different program than the one in the gpm package?


Best regards,
Fred

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


Re: [DNG] mouse driver question

2022-04-22 Thread Fred

On 4/22/22 09:32, k...@aspodata.se wrote:

Fred:
...

I need to work with a nonstandard serial three button mouse without
scroll wheel. It needs a baud rate specification and gpm has an
option for this.

...

  I know that gpm works with this mouse.


Since gpm works with the mouse I wouldn't say it is a "non-standard"
one. What mouse protocol does the mouse speak ?

The mouse is a Sun three button mouse without the scroll wheel.  I 
frequently use a program that makes extensive use of the middle button 
and the pc mouse scroll wheel is hateful.


As I said in an earlier post there is an article on using a (different) 
Sun mouse on Linux.  The protocol used was msc.  From looking at the 
output with an oscilloscope that protocol does appear close if not correct.



Common protocols are mouseman and msmouse.
You can see what protocols are supported by gpm by doing:

  gpm -m /dev/null -t help

Unfortunately you have to do that as root, it doesn't matter what
you write as the device, it can be any string.

You can also find out about mouse protocols with

  man mouse

Examples of mouse protocols:

  
https://web.stanford.edu/class/ee281/projects/aut2002/yingzong-mouse/media/Serial%20Mouse%20Detection.pdf
  https://www.kryslix.com/nsfaq/Q.12.html

Example mouse code (if you want to build a mouse yourself):

  https://aspodata.se/git/openhw/boards_arm_aspo/mouse/mouse.c



What program is used as mouse driver on Beowulf and Chimaera?


In a text mode terminal you can use gpm or something similar.

In wayland, I don't know, it seems libinput is used by wayland.

In X11 you could use the mouse driver:

  https://www.x.org/releases/current/doc/man/man4/mousedrv.4.xhtml
  https://packages.debian.org/bullseye/xserver-xorg-input-mouse

You have to configure the mouse driver yourself, udev is of no help
for a serial mouse. You can have multiple serial mice connected and
used. Example xorg.conf extracts:

Section "InputDevice"
 Identifier  "Configured Mouse"
 Driver  "mouse"
 Option  "CorePointer"
 Option  "Device""/dev/ttyS4"
 Option  "Protocol"  "MouseMan"
EndSection

Section "InputDevice"
 Identifier  "Configured MSMouse"
 Driver  "mouse"
 Option  "SendCoreEvents"
 Option  "Device""/dev/ttyS5"
 Option  "Protocol"  "Microsoft"
EndSection

  Todays usb mice can use:

Section "InputDevice"
 Identifier  "Generic Mouse"
 Driver  "mouse"
 Option  "SendCoreEvents""true"
 Option  "Device""/dev/input/mice"
 Option  "Protocol"  "auto"
 Option  "ZAxisMapping"  "4 5"
EndSection

It has apperantly been removed in favour of libinput upstream:

  
https://www.gentoo.org/support/news-items/2020-04-03-deprecation-of-legacy-x11-input-drivers.html

Regards,
/Karl Hammar

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


As I said in an earlier post I haven't been able to get gpm to do 
anything with the pointer.  I haven't been able to find xorg.conf yet. 
I will try an entry there.


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


Re: [DNG] mouse driver question

2022-04-22 Thread Fred

On 4/21/22 23:00, marc wrote:

Hello


gpm (and I suppose also consolation) is active only on the console, not in 
virtual terminals - so there's no conflict.

Libre Gre,
Florian



I don't understand what you mean by virtual terminal.  I don't use a DE,
just openbox.  I may have two xterms open, nedit, tuxcmd plus some other
program.  The mouse will work in any of these and its input would come from
one place, presumably the mouse driver.  If I install gpm (or consolation)
what decides where the mouse input is coming from?  It appears to me that
the default driver needs to be stopped but I don't know what it is called.


Are you using gpm in repeater mode (-R with /dev/gpmdata)
to somehow translate mouse buttons ?

There are a number of programs to translate input devices (via /dev/uinput),
including one written by yours truly...  though given that gpm appears
to be present in the upgraded distribution, just making sure that
it runs with the correct options might be the easiest ?

regards

marc


Hi Marc,
I installed gpm but it was not able to capture the pointer.  Likely I 
don't know enough about how it works to choose the right options.


The original (USB) mouse appears to show up at /dev/input/mouse0.  The 
mouse I want to use has a TTL interface which is connected to one of the 
FTDI serial to USB converters.  When plugged in it appears at 
/dev/ttyUSB0.  I used minicom to verify it works.  There was an article 
somewhere on the Internet about using a Sun mouse on Linux and long ago 
I tested their command line on Debian Jessie and it worked.


gpm -b 1200 -m /dev/ttyUSB0 -t msc

However, on Beowulf it does not do anything.  ps -e shows that gpm is 
running.
What should the command line be for repeater mode?  /dev/gpmdata does 
not exist.


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


Re: [DNG] mouse driver question

2022-04-21 Thread Fred

On 4/21/22 13:09, Florian Zieboll wrote:

On April 21, 2022 9:28:16 PM GMT+02:00,   wrote:

Hi,

If I install gpm or consolation won't that conflict with whatever driver
is already installed?



gpm (and I suppose also consolation) is active only on the console, not in 
virtual terminals - so there's no conflict.

Libre Grüße,
Florian



I don't understand what you mean by virtual terminal.  I don't use a DE, 
just openbox.  I may have two xterms open, nedit, tuxcmd plus some other 
program.  The mouse will work in any of these and its input would come 
from one place, presumably the mouse driver.  If I install gpm (or 
consolation) what decides where the mouse input is coming from?  It 
appears to me that the default driver needs to be stopped but I don't 
know what it is called.


Best regards,
Fred


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


Re: [DNG] mouse driver question

2022-04-21 Thread Fred

Hi,

If I install gpm or consolation won't that conflict with whatever driver 
is already installed?  The gpm man page says it is not allowed to have 
two instances of gpm running at the same time and there is an option to 
kill the previous instance.


Best regards,
Fred


On 4/21/22 11:50, Daniel Abrecht via Dng wrote:
An alternative to "gpm" would be "consolation". It's based on 
"libinput". I've never tried serial mice, but you can probably install & 
start "inputattach", and then "consolation" should probably pick it up 
if it's installed. inputattach should also work with other things such 
as X11 and Wayland.


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


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


[DNG] mouse driver question

2022-04-21 Thread Fred

Hello,

What program is used as mouse driver on Beowulf and Chimaera?  Gpm was 
previously used but it is not installed now.  I need to work with a 
nonstandard serial three button mouse without scroll wheel.  It needs a 
baud rate specification and gpm has an option for this.  I know that gpm 
works with this mouse.


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


Re: [DNG] [SUSPICIOUS MESSAGE] Latex install question

2022-03-11 Thread Fred

Hi Nelson,

On 3/11/22 08:06, Nelson H. F. Beebe wrote:

Fred   asks on Fri, 11 Mar 2022 08:02:23 -0700


...
I am trying to compile a program which expects that Latex is installed.
There are a number of Latex related packages in the repository but it is
not apparent which is a base package.  What package(s) should I install
for more or less general usage?
...


Try
# apt-get install texlive-base texlive-latex-base



This fixed the problem.  Thanks for the help!


There are 60+ packages that match 'texlive-*'; add others as needed.

If you have sufficient disk space, you could instead run

# apt-get install texlive-full

That gets them all.



For a progress report on this year's TeX Live builds, see my site at

http://www.math.utah.edu/pub/texlive-utah/

The first pretest release came out about a week ago, and I can now
install new packages from the pretest tree mirror at Utah in our TeX
Live 2022 tree.

---
- Nelson H. F. BeebeTel: +1 801 581 5254  -
- University of UtahFAX: +1 801 581 4148  -
- Department of Mathematics, 110 LCBInternet e-mail: be...@math.utah.edu  -
- 155 S 1400 E RM 233   be...@acm.org  be...@computer.org -
- Salt Lake City, UT 84112-0090, USAURL: http://www.math.utah.edu/~beebe/ -
---


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


Re: [DNG] Latex install question

2022-03-11 Thread Fred

On 3/11/22 08:16, Antony Stone wrote:

On Friday 11 March 2022 at 16:02:23, Fred wrote:


Hello,

I am trying to compile a program which expects that Latex is installed.


What specific thing does it complain cannot be found when you try to compile
it?

I would then search for that thing in the contents of the various available
packages to identify what you actually need.


Antony.


Hi,

Make:  latex:  Command not found

I will install the packages suggested by Nelson and if that doesn't 
solve the problem I will ask again.


Best regards,
Fred

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


[DNG] Latex install question

2022-03-11 Thread Fred

Hello,

I am trying to compile a program which expects that Latex is installed. 
There are a number of Latex related packages in the repository but it is 
not apparent which is a base package.  What package(s) should I install 
for more or less general usage?


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


Re: [DNG] Priter trouble again.

2022-01-01 Thread Fred

On 1/1/22 3:58 PM, Ralph Ronnquist via Dng wrote:

On Sat, 1 Jan 2022 15:07:44 -0500
Hendrik Boom  wrote:


I installed CUPS a part of the standard istall long ago.
I had no trouble configuring it back the to talk sweet to me printer.
Worked fine.  Bu tnow it doesn't.

The printer seems to hae changed its IP number.
Now I can tell it explicitly what IP numder to use by entering stuff
in its physical control panel.  So all I should have to do is to set
its IP number to whatever CUPS (now unsuccessfuly) uses to talk to
it.

What I don't know is how to get CUPS to tell me what IP number it
currently thinks belongs to the printer.

There should be some simple way of asking CUPS to tell me this.


Perhaps it works with either
# grep Location /etc/cups/printers.conf
or
# grep DeviceURI /etc/cups/printers.conf
plus some intelligent parsing.

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


You might also check /etc/hosts

Fred

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


Re: [DNG] RGBling

2021-12-28 Thread Fred

On 12/28/21 9:09 AM, tempforever wrote:

Hendrik Boom wrote:

On Tue, Dec 28, 2021 at 01:55:34PM +1000, onefang wrote:

I skimped on the graphics card, coz gamers made everyone put RGBling on
everything, so I had to back up one model to get one without RGBling.  I
wish I could have done the same for the RAM, AND gotten ECC, but alas
neither was available.  The RGBling on the RAM can ONLY be controlled
from Windows, and doesn't remember it's settings after reboot. I can
disable RGBling on motherboard from BIOS and case from a switch.   This
desktop sits on the floor, but projects RGBling onto my high ceiling.
Pffft

What is RGBling?



Obviously, I'm not onefang, but I believe he is referring to the flashy
light fad that has pervaded the consumer computer market.  I took it as
a play on "RGB" (red-green-blue) and "Bling"

Do we really need clear panel cases and lighting on internal parts?
Apparently, many manufacturers believe so.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


And the cases that look like refugees from a Star Wars movie.

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


[DNG] package search methods was ( USB mount problem)

2021-06-15 Thread Fred

On 6/15/21 1:24 PM, g4sra via Dng wrote:

<--snip-->

Unfortunately I am not able to find what package contains gvfs-udisks2-vo.

<--snip-->
apt-file search gvfs-udisks2-vo
gvfs-daemons: /usr/lib/gvfs/gvfs-udisks2-volume-monitor
gvfs-daemons: /usr/lib/systemd/user/gvfs-udisks2-volume-monitor.service


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


Hi,
Why does apt-cache search gvfs-udisk* not find these?
Why does apt-file search gvfs_udisk* not find these?
Why does the package search page on debian.org and devuan.org not find 
these?
apt-file search requires entering the exact name.  I may not know that. 
 What flippin' good is it?

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


Re: [DNG] USB mount problem

2021-06-15 Thread Fred

On 6/15/21 1:24 PM, g4sra via Dng wrote:

<--snip-->

Unfortunately I am not able to find what package contains gvfs-udisks2-vo.

<--snip-->
apt-file search gvfs-udisks2-vo
gvfs-daemons: /usr/lib/gvfs/gvfs-udisks2-volume-monitor
gvfs-daemons: /usr/lib/systemd/user/gvfs-udisks2-volume-monitor.service


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


Hi,
These don't appear to have anything to do with auto mounting USB devices 
so the reason Jessie upgrade to Beowulf x86 auto mounts and new install 
Beowulf AMD64 does not is still not known.


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


Re: [DNG] USB mount problem

2021-06-15 Thread Fred

On 6/15/21 12:32 PM, Fred wrote:

On 6/15/21 11:28 AM, Patrick Bartek via Dng wrote:

On Mon, 14 Jun 2021 07:56:39 -0700
Fred  wrote:


On 6/13/21 9:37 PM, Patrick Bartek via Dng wrote:



[big snip]

Hi,
I found udisks2 installed on the computer that automatically
mounts USB devices but there is no man page so I would not know
how to use it if installed on the other computer.


Not much to using it: apt-get install udisks2 and everything gets
set up. I used the defaults. Devices are mounted
under /media/"your username". If you run a panel, the udisks2
gadget shows up there with additional options. Manual unmounting
is necessary, but I use only a window manager (Openbox) and
lxpanel for my GUI, so your mileage may vary if you use a desktop
environment.

Others have shown you how to access the mans.  So, I won't repeat
that.

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

Hello,
I still need some help with this.
I installed udisks2.  The last line of the installation dialog
showed what I believe is a warning, maybe of no consequence:


I did some checking -- It's been a while since I installed Beowulf
and udisks2 -- and I discovered that you need to use a "front end"
for udisks2 for it to truly automount.  I used udiskie
(https://pypi.org/project/udiskie/) which must be started manually.
Installing it doesn't automatically set it up to start.  I just
added a stanza to Openbox's autostart script. Since I use lxpanel
in addition to Openbox, I added the "--smart-tray" option, so
udiskie will appear in the panel when it's in use.


The computer that was upgraded from Debian Jessie to Beowulf x86
doesn't have any "front end" for udisks2 installed unless it was
installed automagically.  This computer automounts USB devices
in /media as one of usb0-7.  The one I am having trouble with is a
new install of Beowulf AMD64.


What desktop was the Jessie computer running before your dist-upgrade
to Beowulf? And after?  Many times desktops have their own way of
handling automounting usb devices.

The usb mountpoint as /media/usb[0-7] is contrary to the default that
udisks2 uses, namely: /media//.  Jessie may have
been using udev rules to mount usb.  That's the way you automounted
external devices with Wheezy at least.  Jessie came with improvements.
Check /etc/udev/rules.d to see if there is anything there.  udev rules
should survive a dist-upgrade.

If there is a udev rule to automount, copying it over to your new
Beowulf computer should work.


Hi,
The Jessie computer has never used any desktop/DE.  Only openbox and 
xterms.  I never installed any utility to mount usb devices. 
/etc/udev/rules.d has 70-persistent-net.rules which has one line 
concerning ethernet.


ps -e shows that gvfs-udisks2-vo and udisksd are running.  I don't know 
what the gvfs program is.
man gvfs is interesting and possibly what is doing the auto mount.  It 
was probably installed along with gphoto2 for my camera.  It is not on 
the Beowulf AMD64 computer.  I will try to install it and see what happens.

Best regards,
Fred

Unfortunately I am not able to find what package contains gvfs-udisks2-vo.
Fred




[snip]

The udisksd man page says the daemon is started by dbus-daemon or
systemd.  However, it is not started by inserting a USB device.  I
tried starting it manually (with USB device inserted) and received
this:


It does.  You shouldn't have to manually start it.  To see if
udisks2 is running and working, inset a usb thumb drive, and in a
terminal enter "udisksctl status". The thumb drive should show in
the list of other mounted devices.


udisksctl does see the thumb drive.  The udisksd daemon is running
but it doesn't mount the thumb drive anywhere I can find.  It does
show up in /dev as sdb.


Okay. Udisks2 is working correctly: it sees the drive; but udisks2
won't automount by itself without using a frontend utility or udev
rule.

Try mounting manually using the udisksctl "mount" command to see
if it mounts. See the udisksctl man for the details of using the mount
command.

If that works install udiskie (or set up a udev rule), start it and see
if works.

PS: There are other frontends besides udiskie.  I just used it because
it was the simplest one at the time -- When I upgraded from Wheezy to
Stretch.  Kept same set up when I did a clean install of Beowulf a
year ago.

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



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


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


Re: [DNG] USB mount problem

2021-06-15 Thread Fred

On 6/15/21 11:28 AM, Patrick Bartek via Dng wrote:

On Mon, 14 Jun 2021 07:56:39 -0700
Fred  wrote:


On 6/13/21 9:37 PM, Patrick Bartek via Dng wrote:



[big snip]

Hi,
I found udisks2 installed on the computer that automatically
mounts USB devices but there is no man page so I would not know
how to use it if installed on the other computer.


Not much to using it: apt-get install udisks2 and everything gets
set up. I used the defaults. Devices are mounted
under /media/"your username". If you run a panel, the udisks2
gadget shows up there with additional options. Manual unmounting
is necessary, but I use only a window manager (Openbox) and
lxpanel for my GUI, so your mileage may vary if you use a desktop
environment.

Others have shown you how to access the mans.  So, I won't repeat
that.

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

Hello,
I still need some help with this.
I installed udisks2.  The last line of the installation dialog
showed what I believe is a warning, maybe of no consequence:


I did some checking -- It's been a while since I installed Beowulf
and udisks2 -- and I discovered that you need to use a "front end"
for udisks2 for it to truly automount.  I used udiskie
(https://pypi.org/project/udiskie/) which must be started manually.
Installing it doesn't automatically set it up to start.  I just
added a stanza to Openbox's autostart script. Since I use lxpanel
in addition to Openbox, I added the "--smart-tray" option, so
udiskie will appear in the panel when it's in use.


The computer that was upgraded from Debian Jessie to Beowulf x86
doesn't have any "front end" for udisks2 installed unless it was
installed automagically.  This computer automounts USB devices
in /media as one of usb0-7.  The one I am having trouble with is a
new install of Beowulf AMD64.


What desktop was the Jessie computer running before your dist-upgrade
to Beowulf? And after?  Many times desktops have their own way of
handling automounting usb devices.

The usb mountpoint as /media/usb[0-7] is contrary to the default that
udisks2 uses, namely: /media//.  Jessie may have
been using udev rules to mount usb.  That's the way you automounted
external devices with Wheezy at least.  Jessie came with improvements.
Check /etc/udev/rules.d to see if there is anything there.  udev rules
should survive a dist-upgrade.

If there is a udev rule to automount, copying it over to your new
Beowulf computer should work.


Hi,
The Jessie computer has never used any desktop/DE.  Only openbox and 
xterms.  I never installed any utility to mount usb devices. 
/etc/udev/rules.d has 70-persistent-net.rules which has one line 
concerning ethernet.


ps -e shows that gvfs-udisks2-vo and udisksd are running.  I don't know 
what the gvfs program is.
man gvfs is interesting and possibly what is doing the auto mount.  It 
was probably installed along with gphoto2 for my camera.  It is not on 
the Beowulf AMD64 computer.  I will try to install it and see what happens.

Best regards,
Fred


[snip]

The udisksd man page says the daemon is started by dbus-daemon or
systemd.  However, it is not started by inserting a USB device.  I
tried starting it manually (with USB device inserted) and received
this:


It does.  You shouldn't have to manually start it.  To see if
udisks2 is running and working, inset a usb thumb drive, and in a
terminal enter "udisksctl status". The thumb drive should show in
the list of other mounted devices.


udisksctl does see the thumb drive.  The udisksd daemon is running
but it doesn't mount the thumb drive anywhere I can find.  It does
show up in /dev as sdb.


Okay. Udisks2 is working correctly: it sees the drive; but udisks2
won't automount by itself without using a frontend utility or udev
rule.

Try mounting manually using the udisksctl "mount" command to see
if it mounts. See the udisksctl man for the details of using the mount
command.

If that works install udiskie (or set up a udev rule), start it and see
if works.

PS: There are other frontends besides udiskie.  I just used it because
it was the simplest one at the time -- When I upgraded from Wheezy to
Stretch.  Kept same set up when I did a clean install of Beowulf a
year ago.

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



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


Re: [DNG] USB mount problem

2021-06-14 Thread Fred

On 6/13/21 9:37 PM, Patrick Bartek via Dng wrote:

On Sun, 13 Jun 2021 12:37:00 -0700
Fred  wrote:


On 6/11/21 7:05 AM, Patrick Bartek via Dng wrote:

On Thu, 10 Jun 2021 17:37:13 -0700
Fred  wrote:
   

On 6/10/21 1:48 PM, Patrick Bartek via Dng wrote:

On Thu, 10 Jun 2021 08:49:24 -0700
Fred  wrote:
  

Hello,

I have a new Beowulf AMD64 install and am having trouble mounting
USB storage devices.

The USB keyboard and mouse work ok.  lsusb shows the storage
device is present.  The usbmount program is apparently no longer
available and I haven't been able to find what took its place.
I have another computer that had Debian Jessie installed then was
upgraded to Beowulf x86.  It has usbmount and will automatically
mount USB storage devices.

What do I need to install?


I use udisks2 to automount external USB devices.

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

Hi,
I found udisks2 installed on the computer that automatically mounts
USB devices but there is no man page so I would not know how to use
it if installed on the other computer.


Not much to using it: apt-get install udisks2 and everything gets
set up. I used the defaults. Devices are mounted under /media/"your
username". If you run a panel, the udisks2 gadget shows up there
with additional options. Manual unmounting is necessary, but I use
only a window manager (Openbox) and lxpanel for my GUI, so your
mileage may vary if you use a desktop environment.

Others have shown you how to access the mans.  So, I won't repeat
that.

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

Hello,
I still need some help with this.
I installed udisks2.  The last line of the installation dialog showed
what I believe is a warning, maybe of no consequence:


I did some checking -- It's been a while since I installed Beowulf and
udisks2 -- and I discovered that you need to use a "front end" for
udisks2 for it to truly automount.  I used udiskie
(https://pypi.org/project/udiskie/) which must be started manually.
Installing it doesn't automatically set it up to start.  I just added a
stanza to Openbox's autostart script. Since I use lxpanel in addition
to Openbox, I added the "--smart-tray" option, so udiskie will appear in
the panel when it's in use.


The computer that was upgraded from Debian Jessie to Beowulf x86 doesn't 
have any "front end" for udisks2 installed unless it was installed 
automagically.  This computer automounts USB devices in /media as one of 
usb0-7.  The one I am having trouble with is a new install of Beowulf AMD64.





W:
http://deb.debian.org/debian/pool/main/libb/libblockdev/libblockdev-crypto2_2.20-7+deb10u1_amd64.deb:
Automatically disabled Acquire::http::Pipeline-Depth due to incorrect
response from server/proxy. (man 5 apt.conf)

The udisksd man page says the daemon is started by dbus-daemon or
systemd.  However, it is not started by inserting a USB device.  I
tried starting it manually (with USB device inserted) and received
this:


It does.  You shouldn't have to manually start it.  To see if udisks2 is
running and working, inset a usb thumb drive, and in a terminal enter
"udisksctl status". The thumb drive should show in the list of other
mounted devices.


udisksctl does see the thumb drive.  The udisksd daemon is running but 
it doesn't mount the thumb drive anywhere I can find.  It does show up 
in /dev as sdb.





root@aragog:/home/fred# /usr/lib/udisks2/udisksd &
[1] 523
root@aragog:/home/fred# udisks-Message: 07:27:15.642: udisks daemon
version 2.8.1 starting

** (udisksd:523): WARNING **: 07:27:15.773: failed to load module
mdraid: libbd_mdraid.so.2: cannot open shared object file: No such
file or directory
sh: 1: dmidecode: not found

(udisksd:523): udisks-WARNING **: 07:27:15.776: Failed to load the
'mdraid' libblockdev plugin
udisks-Message: 07:27:16.017: Acquired the name
org.freedesktop.UDisks2 on the system message bus

If that library file was needed it should have been loaded by the
installer.  I don't know what to do from here.


Do you have a RAID set up?  If not, disregard the warnings.


I do not have a raid setup.




I use openbox and xterms if that info. is needed.


Me, too, with a single lxpanel with menus.  I do not have any desktop
environments, in whole or part, installed. Neither a display manager. I
boot to and login in a terminal and, then, run startx.

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


Best regards,
Fred

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


Re: [DNG] ..udisksctl dump bug?, or just not yet started, was: USB mount problem

2021-06-14 Thread Fred

On 6/14/21 12:37 AM, Arnt Karlsen wrote:

On Sun, 13 Jun 2021 23:24:53 +, g4sra wrote in message
<3-I1Mnq-aToducQnh5CLImg2nSd5IZQh3GNsh5DGpNaw4iha0dcDylg6VBobmontQ4d-Cw1nNK92q69Pk6GKIqfdaGEnJ602bNj0F-Qnc-I=@protonmail.com>:


You read it in the man page, you do not start udisksd that way.
what does the following command display when run with root
privileges...

udisksctl dump


..a bug?  For me, the first time, the 'less' part of it didn't respond
to 'q', so I '^C'ed it, got an error message I don't remember ending
"Press enter", so I did, udisksctl dump immediately restarted, another
'^C' did what it should have done the first time, and now 'udisksctl \
dump' appears to work just fine, responding as it should to both 'q'
and to '^C'.


I believe it did this for me also.  At the time I thought it was my 
mistake somehow.

Best regards,
Fred

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


Re: [DNG] USB mount problem

2021-06-13 Thread Fred

On 6/13/21 4:24 PM, g4sra via Dng wrote:


<--snip-->






The udisksd man page says the daemon is started by dbus-daemon or
systemd. However, it is not started by inserting a USB device.



tried starting it manually (with USB device inserted) and received
this:




root@aragog:/home/fred# /usr/lib/udisks2/udisksd &
[1] 5 3
root@aragog:/home/fred# udisks-Message: 07:27:15.642: udisks daemon




version 2.8.1 starting




** (udisksd:523): WARNING **: 07:27:15.773: failed to load module
mdraid: libbd_mdraid.so.2: cannot open shared object file: No such
file or directory




You read it in the man page, you do not start udisksd that way.
what does the following command display when run with root privileges...

udisksctl dump






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


Hi,
At the risk of doing something I was not supposed to do, I left out the 
large amount of data concerning the hard drive and DVD drive, about 17K.



/org/freedesktop/UDisks2/Manager:
  org.freedesktop.UDisks2.Manager:
SupportedFilesystems:   ext2
ext3
ext4
vfat
ntfs
exfat
xfs
reiserfs
nilfs2
btrfs
minix
udf
f2fs
swap
Version:2.8.1

-snip hard drive and DVD drive stuff --

/org/freedesktop/UDisks2/drives/SanDisk_Cruzer_Glide_04009817102220224840:
  org.freedesktop.UDisks2.Drive:
CanPowerOff:true
Configuration:  {}
ConnectionBus:  usb
Ejectable:  true
Id: SanDisk-Cruzer-Glide-04009817102220224840
Media:  thumb
MediaAvailable: true
MediaChangeDetected:true
MediaCompatibility: thumb
MediaRemovable: false
Model:  Cruzer Glide
Optical:false
OpticalBlank:   false
OpticalNumAudioTracks:  0
OpticalNumDataTracks:   0
OpticalNumSessions: 0
OpticalNumTracks:   0
Removable:  true
Revision:   1.00
RotationRate:   -1
Seat:   seat0
Serial: 04009817102220224840
SiblingId: 
/sys/devices/pci:00/:00:14.0/usb1/1-2/1-2:1.0

Size:   30765219840
SortKey:01hotplug/1623633671017912
TimeDetected:   1623633671017912
TimeMediaDetected:  1623633671017912
Vendor: SanDisk
WWN:


I don't understand what you mean about reading in the man page and 
starting that way.  It is supposed to be started by dbus-daemon.

Best regards,
Fred




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


Re: [DNG] USB mount problem

2021-06-13 Thread Fred

On 6/13/21 1:01 PM, tito via Dng wrote:

On Sun, 13 Jun 2021 12:37:00 -0700
Fred  wrote:


On 6/11/21 7:05 AM, Patrick Bartek via Dng wrote:

On Thu, 10 Jun 2021 17:37:13 -0700
Fred  wrote:


On 6/10/21 1:48 PM, Patrick Bartek via Dng wrote:

On Thu, 10 Jun 2021 08:49:24 -0700
Fred  wrote:


Hello,

I have a new Beowulf AMD64 install and am having trouble mounting
USB storage devices.

The USB keyboard and mouse work ok.  lsusb shows the storage
device is present.  The usbmount program is apparently no longer
available and I haven't been able to find what took its place.
I have another computer that had Debian Jessie installed then was
upgraded to Beowulf x86.  It has usbmount and will automatically
mount USB storage devices.

What do I need to install?


I use udisks2 to automount external USB devices.

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


Hi,
I found udisks2 installed on the computer that automatically mounts
USB devices but there is no man page so I would not know how to use
it if installed on the other computer.


Not much to using it: apt-get install udisks2 and everything gets
set up. I used the defaults. Devices are mounted under /media/"your
username". If you run a panel, the udisks2 gadget shows up there
with additional options. Manual unmounting is necessary, but I use
only a window manager (Openbox) and lxpanel for my GUI, so your
mileage may vary if you use a desktop environment.

Others have shown you how to access the mans.  So, I won't repeat
that.

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


Hello,
I still need some help with this.
I installed udisks2.  The last line of the installation dialog showed
what I believe is a warning, maybe of no consequence:

W:
http://deb.debian.org/debian/pool/main/libb/libblockdev/libblockdev-crypto2_2.20-7+deb10u1_amd64.deb:
Automatically disabled Acquire::http::Pipeline-Depth due to incorrect
response from server/proxy. (man 5 apt.conf)

The udisksd man page says the daemon is started by dbus-daemon or
systemd.  However, it is not started by inserting a USB device.  I
tried starting it manually (with USB device inserted) and received
this:

root@aragog:/home/fred# /usr/lib/udisks2/udisksd &
[1] 523
root@aragog:/home/fred# udisks-Message: 07:27:15.642: udisks daemon
version 2.8.1 starting

** (udisksd:523): WARNING **: 07:27:15.773: failed to load module
mdraid: libbd_mdraid.so.2: cannot open shared object file: No such
file or directory
sh: 1: dmidecode: not found

(udisksd:523): udisks-WARNING **: 07:27:15.776: Failed to load the
'mdraid' libblockdev plugin
udisks-Message: 07:27:16.017: Acquired the name
org.freedesktop.UDisks2 on the system message bus

If that library file was needed it should have been loaded by the
installer.  I don't know what to do from here.

I use openbox and xterms if that info. is needed.

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


Hi,
try

apt install libblockdev-mdraid2

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


Hi,
Doesn't make any difference.  The USB device is not mounted in /media 
and the udisksd daemon is not started.


Another computer that was upgraded from Debian Jessie to Beowulf x86 
mounts devices in /media under one of usb0-7.  The udisksd daemon is 
running.

Best regards,
Fred

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


Re: [DNG] USB mount problem

2021-06-13 Thread Fred

On 6/11/21 7:05 AM, Patrick Bartek via Dng wrote:

On Thu, 10 Jun 2021 17:37:13 -0700
Fred  wrote:


On 6/10/21 1:48 PM, Patrick Bartek via Dng wrote:

On Thu, 10 Jun 2021 08:49:24 -0700
Fred  wrote:
   

Hello,

I have a new Beowulf AMD64 install and am having trouble mounting
USB storage devices.

The USB keyboard and mouse work ok.  lsusb shows the storage device
is present.  The usbmount program is apparently no longer available
and I haven't been able to find what took its place.  I have
another computer that had Debian Jessie installed then was
upgraded to Beowulf x86.  It has usbmount and will automatically
mount USB storage devices.

What do I need to install?


I use udisks2 to automount external USB devices.

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

Hi,
I found udisks2 installed on the computer that automatically mounts
USB devices but there is no man page so I would not know how to use
it if installed on the other computer.


Not much to using it: apt-get install udisks2 and everything gets set
up. I used the defaults. Devices are mounted under /media/"your
username". If you run a panel, the udisks2 gadget shows up there with
additional options. Manual unmounting is necessary, but I use only a
window manager (Openbox) and lxpanel for my GUI, so your mileage may
vary if you use a desktop environment.

Others have shown you how to access the mans.  So, I won't repeat that.

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


Hello,
I still need some help with this.
I installed udisks2.  The last line of the installation dialog showed 
what I believe is a warning, maybe of no consequence:


W: 
http://deb.debian.org/debian/pool/main/libb/libblockdev/libblockdev-crypto2_2.20-7+deb10u1_amd64.deb: 
Automatically disabled Acquire::http::Pipeline-Depth due to incorrect 
response from server/proxy. (man 5 apt.conf)


The udisksd man page says the daemon is started by dbus-daemon or 
systemd.  However, it is not started by inserting a USB device.  I tried 
starting it manually (with USB device inserted) and received this:


root@aragog:/home/fred# /usr/lib/udisks2/udisksd &
[1] 523
root@aragog:/home/fred# udisks-Message: 07:27:15.642: udisks daemon 
version 2.8.1 starting


** (udisksd:523): WARNING **: 07:27:15.773: failed to load module 
mdraid: libbd_mdraid.so.2: cannot open shared object file: No such file 
or directory

sh: 1: dmidecode: not found

(udisksd:523): udisks-WARNING **: 07:27:15.776: Failed to load the 
'mdraid' libblockdev plugin
udisks-Message: 07:27:16.017: Acquired the name org.freedesktop.UDisks2 
on the system message bus


If that library file was needed it should have been loaded by the 
installer.  I don't know what to do from here.


I use openbox and xterms if that info. is needed.

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


Re: [DNG] USB mount problem

2021-06-11 Thread Fred

On 6/10/21 11:29 PM, Stefan Krusche wrote:

Hi Fred,

Am Freitag, 11. Juni 2021 schrieb Fred:


I found udisks2 installed on the computer that automatically mounts
USB devices but there is no man page so I would not know how to use
it if installed on the other computer.


You can find man pages like this:

$ apropos udisks
udisks (8)   - Disk Manager
udisks2.conf (5) - The udisks2 configuration file
udisksctl (1)- The udisks command line tool
udisksd (8)  - The udisks system daemon
umount.udisks2 (8)   - unmount file systems that have been mounted by
UDisks2

Does the same:

$ man -k udisks
udisks (8)   - Disk Manager
udisks2.conf (5) - The udisks2 configuration file
udisksctl (1)- The udisks command line tool
udisksd (8)  - The udisks system daemon
umount.udisks2 (8)   - unmount file systems that have been mounted by
UDisks2

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


Hi,
I did find the man page for udisks.  I will study that and the article 
for autofs.  Likely one of them will work fine.


Thanks for the help.
Best regards,
Fred
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] USB mount problem

2021-06-10 Thread Fred

On 6/10/21 1:48 PM, Patrick Bartek via Dng wrote:

On Thu, 10 Jun 2021 08:49:24 -0700
Fred  wrote:


Hello,

I have a new Beowulf AMD64 install and am having trouble mounting USB
storage devices.

The USB keyboard and mouse work ok.  lsusb shows the storage device
is present.  The usbmount program is apparently no longer available
and I haven't been able to find what took its place.  I have another
computer that had Debian Jessie installed then was upgraded to
Beowulf x86.  It has usbmount and will automatically mount USB
storage devices.

What do I need to install?


I use udisks2 to automount external USB devices.

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


Hi,
I found udisks2 installed on the computer that automatically mounts USB 
devices but there is no man page so I would not know how to use it if 
installed on the other computer.

Best regards,
Fred

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


Re: [DNG] USB mount problem

2021-06-10 Thread Fred

On 6/10/21 10:01 AM, Arnt Karlsen wrote:

On Thu, 10 Jun 2021 08:49:24 -0700, Fred wrote in message
:


Hello,

I have a new Beowulf AMD64 install and am having trouble mounting USB
storage devices.

The USB keyboard and mouse work ok.  lsusb shows the storage device
is present.  The usbmount program is apparently no longer available
and I haven't been able to find what took its place.  I have another
computer that had Debian Jessie installed then was upgraded to
Beowulf x86.  It has usbmount and will automatically mount USB
storage devices.

What do I need to install?


..easy now, first find out a few things.
"fdisk -l " as root will tell you which filesystems you have
whenever you stick something into your box.
"mount -v /dev/a_filesystem_found_with_fdisk_-l_ /mnt" will
either confirm it worked, or be a little bit more verbose
about why it failed.
Pile on more "-v" if you want more, or chk "info mount".

.."man -k mount " will tell you what mount like things you have
installed, "apt-cache search mount " will search for more of
these mount like things, e.g. "apt-cache show mount " will give
you more details on each search find.

..I'm really a little too old fashion to advice on those new
fancy usb key etc automount things.  Anyone?



Hi,
fdisk -l showed the device to be /dev/sdb1.
Using your mount command it was mounted and could be accessed.  I guess 
this answers my question but I was hoping for some automation like 
usbmount where the device is plugged in and it just works.  Another 
poster suggested autofs which I found to be already installed.  I 
suspect it is the replacement for usbmount and I just have to study the 
autofs article to get it configured.

Thanks for the help!
Best regards,
Fred

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


[DNG] USB mount problem

2021-06-10 Thread Fred

Hello,

I have a new Beowulf AMD64 install and am having trouble mounting USB 
storage devices.


The USB keyboard and mouse work ok.  lsusb shows the storage device is 
present.  The usbmount program is apparently no longer available and I 
haven't been able to find what took its place.  I have another computer 
that had Debian Jessie installed then was upgraded to Beowulf x86.  It 
has usbmount and will automatically mount USB storage devices.


What do I need to install?

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


Re: [DNG] network measurement

2021-05-07 Thread Fred

On 5/7/21 5:02 PM, Hendrik Boom wrote:

I've been having trouble using zoom recently.
If there's a large meeting, no questions I ask can heard clearly,
even if the meeting uses the protocol of muting everyone else.

I also have problems with short browser delays that may last a few
seconds to a minute or so.

However, the pppoe connection stays up when this happens.

I've been complaining to the ISP, who does what it can and raises
tickets with the phone company.

There has been improvement since two weeks ago, when the ppp connectino
would drop even more frequenty than the delays I'm encountering now.

The problem usually occurs in the daytime, but occasionally in the
evening.

The phone company now opines that the data rate on the connection is
barely sufficient for a multiparty zoom connection, and this is because
of the distance to the exchange.



Now I'd like to measure what's going on in my system.



My home network accesses the rest of the world using a Linux box, whch
also hosts a website, does SMTP, does firewalling/masquerading, and has
a file server for the LAN.  That Linux box is the only thing connected
directly to the DSL modem, which operates in bridge mode.

What tools does Linux have to measure this, so I can find out
what's going on in my network and why.  And maybe even correlate
measurable activity with the perceived hiatuses.

I'd be surprisd if there were none, Linux being born on the net.
(I'd even be more surprised if they were easy to use.)

Maybe I do ned to replace my DSL with a higher-capacity connection of
some kind.  But I'd like to see the numbers.

-- hendrik

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


You can check the internet speed at  www.speedtest.net

Best regards,
Fred

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


Re: [DNG] How to adjust mouse characteristics? SOLVED

2021-02-08 Thread Fred

On 2/7/21 6:36 AM, Steve Litt wrote:

On Fri, 5 Feb 2021 18:33:12 -0700
Fred  wrote:

  

Hello,

The problem was that the mouse was way too sensitive, meaning the
pointer would go too far for a small mouse movement.


Could you please tell me the make and model of the mouse? I love
super-sensitive mice.

Thanks,

SteveT

Steve Litt
Autumn 2020 featured book: Thriving in Tough Times
http://www.troubleshooters.com/thrive
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Hi Steve,

The mouse didn't have any interesting or useful parts inside so it went 
in the garbage.  I didn't notice what the name was.  Sorry!


Best regards,
Fred

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


Re: [DNG] How to adjust mouse characteristics? SOLVED

2021-02-05 Thread Fred

On 2/4/21 11:20 PM, terryc wrote:

On Thu, 4 Feb 2021 17:28:41 -0700
Fred  wrote:


Hello,

Devuan Beowulf AMD64

Is there a configuration file somewhere that allows adjustment of
mouse resolution and acceleration?  Gpm is not installed by default
and I haven't been able to find anything (USB) mouse related.


Using Xfce4 under Applications -> Settings -> Mouse and trackpad
are all the mouse setings.

Otherwise on my Beowulf installation there are 462 files to do with
"mouse" covering its use in various programs. The few looked at didn't
seem to be text config files.

Since i do almost all my work in xterms or a gui, that covers my
needs.

Perhaps if you explained your need exactly, someone may be able to
assist.


FWIW,  my biggest problem with mice is finding one that
fits my hand comfortably and I've never found a solution by spending
$$$. Weirdly, since the days of mouse port cars. basic 'microsoft' mice
have always worked best. YMMV.

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


Hello,

The problem was that the mouse was way too sensitive, meaning the 
pointer would go too far for a small mouse movement.


xset q showed the mouse settings to be the same as another computer 
running Beowulf i386 so the problem was the mouse itself.  I didn't like 
that mouse anyway so I bought a $6.88 mouse from Walmart.  It works fine 
with the default settings and I now know how to change them if needed.


Thanks for the help.

Best regards,
Fred

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


[DNG] How to adjust mouse characteristics?

2021-02-04 Thread Fred

Hello,

Devuan Beowulf AMD64

Is there a configuration file somewhere that allows adjustment of mouse 
resolution and acceleration?  Gpm is not installed by default and I 
haven't been able to find anything (USB) mouse related.


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


Re: [DNG] X startup error SOLVED

2021-01-24 Thread Fred

On 1/24/21 1:35 AM, tito via Dng wrote:

On Sat, 23 Jan 2021 18:27:13 -0700
Fred  wrote:


On 1/23/21 6:02 PM, Florian Zieboll via Dng wrote:

On Sat, 23 Jan 2021 09:53:15 -0700
Fred  wrote:


Hello,

I installed Beowulf amd64 netinst and then installed Xorg and
openbox with apt-get.  Startx grinds for a while then exits with
an error. Here is the end of the Xorg.0.log file:

[261220.123] (==) modeset(0): DPI set to (96, 96)
[261220.123] (II) Loading sub module "fb"
[261220.123] (II) LoadModule: "fb"
[261220.123] (II) Loading /usr/lib/xorg/modules/libfb.so
[261220.123] (II) Module fb: vendor="X.Org Foundation"




Is this running inside a VM, or are you perhaps just lacking the
drivers for the GPU?

libre Grüße,
Florian
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Hi,

No VM, it is just a fresh install on a new MB and new hard drive.

If it needed special drivers for video wouldn't there be a missing
firmware message?  I believe some firmware for Ethernet is missing
but it works ok without it.  What would GPU firmware do?

I just looked through dmesg log.  It says:
i915/skl_dmc_ver1_27.bin
is missing.  This appears to be for runtime power management.
The network firmware:
rtl_nic/rt18168h-2.fw
is missing but the Ethernet is working ok.

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


Hi, did you install:

xserver-xorg-video-intel
X.Org X server -- Intel i8xx, i9xx display driver  ?

Ciao,
Tito


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


Hi,

I received a reply off list on how to find the missing 
skl_dmc_ver1_27.bin.  It is in firmware-misc-nonfree which I installed.


I installed xserver-xorg-video-intel then rebooted and X started up like 
magic!


Thanks for the help!
Best regards,
Fred

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


Re: [DNG] X startup error

2021-01-23 Thread Fred

On 1/23/21 6:02 PM, Florian Zieboll via Dng wrote:

On Sat, 23 Jan 2021 09:53:15 -0700
Fred  wrote:


Hello,

I installed Beowulf amd64 netinst and then installed Xorg and openbox
with apt-get.  Startx grinds for a while then exits with an error.
Here is the end of the Xorg.0.log file:

[261220.123] (==) modeset(0): DPI set to (96, 96)
[261220.123] (II) Loading sub module "fb"
[261220.123] (II) LoadModule: "fb"
[261220.123] (II) Loading /usr/lib/xorg/modules/libfb.so
[261220.123] (II) Module fb: vendor="X.Org Foundation"




Is this running inside a VM, or are you perhaps just lacking the
drivers for the GPU?

libre Grüße,
Florian
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Hi,

No VM, it is just a fresh install on a new MB and new hard drive.

If it needed special drivers for video wouldn't there be a missing 
firmware message?  I believe some firmware for Ethernet is missing but 
it works ok without it.  What would GPU firmware do?


I just looked through dmesg log.  It says:
i915/skl_dmc_ver1_27.bin
is missing.  This appears to be for runtime power management.
The network firmware:
rtl_nic/rt18168h-2.fw
is missing but the Ethernet is working ok.

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


Re: [DNG] X startup error

2021-01-23 Thread Fred

On 1/23/21 4:52 PM, Patrick Bartek via Dng wrote:

On Sat, 23 Jan 2021 09:53:15 -0700
Fred  wrote:


Hello,

I installed Beowulf amd64 netinst and then installed Xorg and openbox
with apt-get.  Startx grinds for a while then exits with an error.
Here is the end of the Xorg.0.log file:


I'm assuming you installed a basic terminal only system first,
then installed xorg and openbox which is exactly how I installed
my Beowulf set up. I experienced no problems.

What packages EXACTLY did you install for the X environment?
Were you root when you did the installs?

B


[261220.123] (==) modeset(0): DPI set to (96, 96)
[261220.123] (II) Loading sub module "fb"
[261220.123] (II) LoadModule: "fb"
[261220.123] (II) Loading /usr/lib/xorg/modules/libfb.so
[261220.123] (II) Module fb: vendor="X.Org Foundation"
[261220.123]compiled for 1.20.4, module version = 1.0.0
[261220.123]ABI class: X.Org ANSI C Emulation, version 0.4
[261220.123] (II) UnloadModule: "fbdev"
[261220.123] (II) Unloading fbdev
[261220.123] (II) UnloadSubModule: "fbdevhw"
[261220.123] (II) Unloading fbdevhw
[261220.123] (II) UnloadModule: "vesa"
[261220.123] (II) Unloading vesa
[261220.123] (EE) modeset(0): drmSetMaster failed: Permission denied
[261220.123] (EE)
Fatal server error:
[261220.123] (EE) AddScreen/ScreenInit failed for driver 0
[261220.123] (EE)
[261220.123] (EE)
Please consult the The X.Org Foundation support
 at http://wiki.x.org
   for help.
[261220.123] (EE) Please also check the log file at
"/home/fred/.local/share/xorg/Xorg.0.log" for additional information.
[261220.124] (EE)
[261220.135] (EE) Server terminated with error (1). Closing log file.

I don't know what drmSetMaster is.  Where should I look for the
problem? Best regards,
Fred

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


Hi,

I did the installation earlier in the week and don't have a list or 
remember exactly what was installed.  The basic installation resulted in 
a command line terminal with a user login.  As su I used apt-get to 
install xorg and then openbox.  As far as I know apt-get will only allow 
root to install anything.  I checked to see if xorg installed several 
programs I knew would be needed such as:  xsetroot, xrdb, xset, xclock. 
 I believe I had to install xdm also.  I copied .xinitrc, .xsession and 
a few openbox menu/config files from the computer I am now on.  Those 
were edited to comment out some programs that are not installed yet.


Best regards,
Fred

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


[DNG] X startup error

2021-01-23 Thread Fred

Hello,

I installed Beowulf amd64 netinst and then installed Xorg and openbox 
with apt-get.  Startx grinds for a while then exits with an error.  Here 
is the end of the Xorg.0.log file:


[261220.123] (==) modeset(0): DPI set to (96, 96)
[261220.123] (II) Loading sub module "fb"
[261220.123] (II) LoadModule: "fb"
[261220.123] (II) Loading /usr/lib/xorg/modules/libfb.so
[261220.123] (II) Module fb: vendor="X.Org Foundation"
[261220.123]compiled for 1.20.4, module version = 1.0.0
[261220.123]ABI class: X.Org ANSI C Emulation, version 0.4
[261220.123] (II) UnloadModule: "fbdev"
[261220.123] (II) Unloading fbdev
[261220.123] (II) UnloadSubModule: "fbdevhw"
[261220.123] (II) Unloading fbdevhw
[261220.123] (II) UnloadModule: "vesa"
[261220.123] (II) Unloading vesa
[261220.123] (EE) modeset(0): drmSetMaster failed: Permission denied
[261220.123] (EE)
Fatal server error:
[261220.123] (EE) AddScreen/ScreenInit failed for driver 0
[261220.123] (EE)
[261220.123] (EE)
Please consult the The X.Org Foundation support
 at http://wiki.x.org
 for help.
[261220.123] (EE) Please also check the log file at 
"/home/fred/.local/share/xorg/Xorg.0.log" for additional information.

[261220.124] (EE)
[261220.135] (EE) Server terminated with error (1). Closing log file.

I don't know what drmSetMaster is.  Where should I look for the problem?
Best regards,
Fred
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] motherboard BIOS update

2021-01-08 Thread Fred

On 1/8/21 1:08 PM, d...@d404.nl wrote:

On 08-01-2021 20:52, Fred wrote:

On 1/8/21 8:09 AM, Antony Stone wrote:

On Friday 08 January 2021 at 15:43:37, Fred wrote:


Is there a Devuan program that can update the motherboard BIOS?  I
don't
do Windows.


I can't imagine there being anything Devuan-specific for this sort of
thing
(ie: it'll either be standard Debian, or generic Linux), but to get a
meaningful answer to the question the main bit of information you
need to
supply is "what make / model of motherboard".


Antony.


I don't understand what you mean.  As far as I know one has to use
Windows to update a BIOS.

I bought a Gigabyte GA-H170-HD3 mb and an Intel i5-7500 CPU which is
listed as compatible with that mb.  Unfortunately that CPU requires
F20 version BIOS and the mb came with F3.  It will not run at all
without F20.  I will need to buy an older CPU that will work with F3
which will allow the computer to power up.  If there is a Linux
program to update the BIOS then I can install Devuan and then update.
Otherwise I will still have to buy the old CPU and find someone that
has a bootable Windows HD useable on the mb and have them update the
BIOS.

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


You do not need Windows to update a BIOS on a Gigabyte mb but can use
Q-Flash from BIOS instead. Too bad you still need a working processor
and memory to make this work. Your motherboard does not support Q-Flash
Plus with which you even do not need a processor to update the BIOS.

Grtz.

Nick



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


Hi Nick,
The Gigabyte web site Q-Flash instructions say it needs a USB-floppy 
device.  Do you know if it will work with a USB flash drive instead? 
And which USB port is to be used?  The update is a zip file.  Does it 
need to be unzipped first?  I have ordered a CPU that supposedly will 
work with the existing F3 BIOS.  Unfortunately it cost $120.


Best regards,
Fred



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


Re: [DNG] motherboard BIOS update

2021-01-08 Thread Fred

On 1/8/21 8:09 AM, Antony Stone wrote:

On Friday 08 January 2021 at 15:43:37, Fred wrote:


Is there a Devuan program that can update the motherboard BIOS?  I don't
do Windows.


I can't imagine there being anything Devuan-specific for this sort of thing
(ie: it'll either be standard Debian, or generic Linux), but to get a
meaningful answer to the question the main bit of information you need to
supply is "what make / model of motherboard".


Antony.

I don't understand what you mean.  As far as I know one has to use 
Windows to update a BIOS.


I bought a Gigabyte GA-H170-HD3 mb and an Intel i5-7500 CPU which is 
listed as compatible with that mb.  Unfortunately that CPU requires F20 
version BIOS and the mb came with F3.  It will not run at all without 
F20.  I will need to buy an older CPU that will work with F3 which will 
allow the computer to power up.  If there is a Linux program to update 
the BIOS then I can install Devuan and then update.  Otherwise I will 
still have to buy the old CPU and find someone that has a bootable 
Windows HD useable on the mb and have them update the BIOS.


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


Re: [DNG] motherboard BIOS update

2021-01-08 Thread Fred

On 1/8/21 10:05 AM, ael wrote:

On Fri, Jan 08, 2021 at 07:43:37AM -0700, Fred wrote:

Is there a Devuan program that can update the motherboard BIOS?  I don't do
Windows.


Maybe https://github.com/fwupd/fwupdi, https://fwupd.org/  ?


 From what I remember, it has a lot of limitations and requires the
cooperation of the motherboard manufacturer.

Presumably libreboot must include a something to write the BIOS.

ael

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


Hi,

fwupd.org doesn't work with Gigabyte.

Best regards,
Fred

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


[DNG] motherboard BIOS update

2021-01-08 Thread Fred

Hello,

Is there a Devuan program that can update the motherboard BIOS?  I don't 
do Windows.


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


Re: [DNG] samba/NAS box problem

2020-12-01 Thread Fred

On 12/1/20 10:03 AM, Rowland penny via Dng wrote:

On 01/12/2020 16:25, Fred wrote:

Hello,

I have a DNS321 NAS box on my local network and samba/cifs to access 
it.  When I upgraded from Debian Jessie to i386 Beowulf the DNS321 was 
no longer accessible by samba.


fred@ragnok:~$ mount /mnt/dns321
Password for fred@//192.168.42.32/Volume_1:
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

This is the /etc/fstab entry:
//192.168.42.32/Volume_1 /mnt/dns321 cifs rw,user 0 0

The dsn321 is accessible with ftp.
The mount.cifs manual pages had lots of interesting options but I 
didn't see any clue about what might be the problem.


Where would one look up error(112) to find out what it means?
Best regards,
Fred
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


This undoubtedly down to SMBv1 (or rather the lack of it), try adding 
'vers=1.0' to the cifs options in /etc/fstab


Rowland


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

Hi Rowland,
That fixed it.  Thanks for the help!
Best regards,
Fred

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


[DNG] samba/NAS box problem

2020-12-01 Thread Fred

Hello,

I have a DNS321 NAS box on my local network and samba/cifs to access it. 
 When I upgraded from Debian Jessie to i386 Beowulf the DNS321 was no 
longer accessible by samba.


fred@ragnok:~$ mount /mnt/dns321
Password for fred@//192.168.42.32/Volume_1:
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

This is the /etc/fstab entry:
//192.168.42.32/Volume_1 /mnt/dns321 cifs rw,user 0 0

The dsn321 is accessible with ftp.
The mount.cifs manual pages had lots of interesting options but I didn't 
see any clue about what might be the problem.


Where would one look up error(112) to find out what it means?
Best regards,
Fred
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Beowulf: 32bit or 64 bit?

2020-11-26 Thread Fred

On 11/26/20 10:45 AM, Patrick Bartek via Dng wrote:

On Wed, 25 Nov 2020 17:34:16 -0700
Fred  wrote:


On 11/25/20 4:56 PM, Patrick Bartek via Dng wrote:

On Wed, 25 Nov 2020 16:07:24 -0700
Fred  wrote:
   

Hello,

I recently upgraded from Debian Jessie to Devuan Beowulf.  I tried
to run a program (ClipGrab-3.9.2-x86_64.AppImage) which would not
run.

bash: ./ClipGrab-3.9.2-x86_64.AppImage: cannot execute binary file:
Exec format error

I asked for help on the Debian user mail list (because of previous
discussion) and was told I am running a 32 bit version.

uname -m
i686

lspci
Architecture:i686
CPU op-mode(s):  32-bit, 64-bit
(the rest cut)

So, is Beowulf 32 bit or 64 bit?


It can be either or both, that is, Multi-Architecture.  It depends
on which version you chose to install. Evidently, you installed or
upgraded to the 32-bit version. Perhaps, your Jessie install was
32-bit to begin with.

B

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

I think Debian Jessie is 32 bit.  To upgrade to Beowulf I just
followed instructions that didn't say anything about 32 or 64.  I
just assumed Beowulf was 64 bit.

My CPU appears to be able to do 64 so how do I change over?


The least problematical way is to back up your data, wipe the current
install and do a clean install of Beowulf 64-bit and all your apps.
However, I surmise, what you want is "the quick fix."  Okay.  Here's
what I'd do, generally speaking -- after considerable research, but mind
you, it's been about 10 years since I set up and ran a 32-bit,
64-bit multi-arch system:

Back up your data!!!  Add AMD64 multi-architecture to get the 64-bit
libraries. This will also work with Intel CPUs. Install the 64-bit
kernel, if it hasn't been installed. Check that during the kernel
install, a new vmlinuz and initrd.img for it was created. Do an apt
update.  Reboot with the 64-bit kernel.  It won't be the default.
So, you'll have to choose it at the boot menu.  Hopefully it will
boot.  (If not, troubleshoot.)  If system boots, check you're running
the 64-bit kernel.  If so, do an apt update and upgrade.  Install the
necessary and wanted 64-bit kernel headers, utilities, apps, etc.  When
all is running well, make the 64-bit kernel your default boot kernel in
grub.

I'd leave all the 32-bit kernels, etc. alone.  Don't try to purge them
to get a 100% 64-bit system.  May cause problems and as long as you're
running 64-bit, all those files will just sit there and do nothing
except take up space on the hard drive.

This will get you started:

   https://wiki.debian.org/Multiarch/HOWTO
   https://wiki.debian.org/Multiarch/Implementation

Good luck

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

I think the easiest solution is to abandon trying to run the 64-bit 
clipgrab binary blob.  youtube-dl is working again for now.


I will plan on doing a fresh install of the AMD64 version of Beowulf 
when I have time.


Thanks for the help!

Best regards,
Fred

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


Re: [DNG] Beowulf: 32bit or 64 bit?

2020-11-26 Thread Fred

On 11/25/20 7:12 PM, wirelessduck--- via Dng wrote:




On 26 Nov 2020, at 13:02, Gregory Nowak  wrote:

On Wed, Nov 25, 2020 at 05:34:16PM -0700, Fred wrote:

I think Debian Jessie is 32 bit.  To upgrade to Beowulf I just followed
instructions that didn't say anything about 32 or 64.  I just assumed
Beowulf was 64 bit.


Debian jessie was available in i386 and amd64 as far as I recall.



My CPU appears to be able to do 64 so how do I change over?


Probably the easiest way is to do a fresh 64 bit install of
Beowulf. There might be a way to do a migration through dpkg
--add-architecture, but I'm not sure about that.

Greg


The debian wiki has an article on doing this transition.
https://wiki.debian.org/CrossGrading <https://wiki.debian.org/CrossGrading>

It also mentions a new package debian-crossgrading from google summer of 
code 2020 that appears to automate some of this.
https://salsa.debian.org/crossgrading-team/debian-crossgrading 
<https://salsa.debian.org/crossgrading-team/debian-crossgrading>



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


Hi,
Crossgrading looks like a huge can of worms.  The wiki page seems to 
imply that systemd must be installed.  If I wanted systemd I would have 
stayed on Debian.


I installed arch-test which says i386.  I am sure an AMD cpu will run 
x86 instructions but I don't see how a x86/i386 cpu will run the 
instructions that AMD presumably added.


fred@ragnok:~$ lscpu
Architecture:i686
CPU op-mode(s):  32-bit, 64-bit
This seems to say I can run 64 bit software.

Is the i386 version of Devuan only 32bit?  Else how is 64 bit installed 
instead?  If you want 64 bit you have to install the AMD64 version which 
means I have to change the MB to one that has an AMD cpu?


Who took the lid off this can of worms?
Best regards,
Fred


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


Re: [DNG] Beowulf: 32bit or 64 bit?

2020-11-25 Thread Fred

On 11/25/20 4:56 PM, Patrick Bartek via Dng wrote:

On Wed, 25 Nov 2020 16:07:24 -0700
Fred  wrote:


Hello,

I recently upgraded from Debian Jessie to Devuan Beowulf.  I tried to
run a program (ClipGrab-3.9.2-x86_64.AppImage) which would not run.

bash: ./ClipGrab-3.9.2-x86_64.AppImage: cannot execute binary file:
Exec format error

I asked for help on the Debian user mail list (because of previous
discussion) and was told I am running a 32 bit version.

uname -m
i686

lspci
Architecture:i686
CPU op-mode(s):  32-bit, 64-bit
(the rest cut)

So, is Beowulf 32 bit or 64 bit?


It can be either or both, that is, Multi-Architecture.  It depends on
which version you chose to install. Evidently, you installed or
upgraded to the 32-bit version. Perhaps, your Jessie install was 32-bit
to begin with.

B

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

I think Debian Jessie is 32 bit.  To upgrade to Beowulf I just followed 
instructions that didn't say anything about 32 or 64.  I just assumed 
Beowulf was 64 bit.


My CPU appears to be able to do 64 so how do I change over?

Best regards,
Fred

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


[DNG] Beowulf: 32bit or 64 bit?

2020-11-25 Thread Fred

Hello,

I recently upgraded from Debian Jessie to Devuan Beowulf.  I tried to 
run a program (ClipGrab-3.9.2-x86_64.AppImage) which would not run.


bash: ./ClipGrab-3.9.2-x86_64.AppImage: cannot execute binary file: Exec 
format error


I asked for help on the Debian user mail list (because of previous 
discussion) and was told I am running a 32 bit version.


uname -m
i686

lspci
Architecture:i686
CPU op-mode(s):  32-bit, 64-bit
(the rest cut)

So, is Beowulf 32 bit or 64 bit?

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


Re: [DNG] Jessie to Ascii upgrade

2020-11-16 Thread Fred

On 11/15/20 10:33 AM, Fred wrote:

On 11/15/20 5:28 AM, Arnt Karlsen wrote:

On Sat, 14 Nov 2020 22:29:06 -0300, Gastón wrote in message
<20201115012856.2w2ojom7elryj...@devuan.devuan.com.ar>:


On Sat, Nov 14, 2020 at 02:36:36PM -0700, Fred wrote:

Hello,

I want to upgrade from Debian Jessie to Devuan.  Apparently all I
need to do is change the sources list and do a dist-upgrade.

Is this likely to go smoothly?  If there are any problems I would
probably not have Internet to ask for help.

How does the upgrade get rid of systemd and everything associated
with it? Or how does one do that?


Migrate from Debian Jessie to Beowulf guide:
https://git.devuan.org/devuan/documentation/src/branch/master/dev1fanboy/en/jessie-to-beowulf.md 



..a wee tweak would be mentioning systemd-free Debian 7 Wheezy
https://en.wikipedia.org/wiki/Debian_version_history#Debian_7_(Wheezy)
as the "final safe" Debian version to upgrade from into Devuan, and not
neccessarily (Devuan) Beowulf.


..there is also that risk of confusion with
https://wiki.debian.org/DebianBeowulf
which is far less desireable for most people
than our Beowulf:
https://duckduckgo.com/?q=Debian+Beowulf=web


..systemd was introduced as an optional init system in Debian 7 Wheezy,
which really makes Debian 6.0 Squeeze the final safe Debian version to
upgrade from into Devuan.

..the upgrade guide(s) for these should IMO start with an earlier
"dpkg --purge systemd" than adviced in your otherwise excellent
https://git.devuan.org/devuan/documentation/src/branch/master/dev1fanboy/en/jessie-to-beowulf.md 



..breaking systemd is totally fine, once it boots safely with any
other init system, the whole point with Devuan is fixing Debian's
systemd blunder coup, and that means purging systemd with whatever
dpkg --force-* it takes.


..the easiest way might be making 2 more "copy" guides, e.g.
"Migrate from Debian Wheezy to Devuan (Beowulf) guide:" and
"Migrate from Debian Squeeze and earlier to Devuan (Beowulf) guide:"
and publish those once we have these tested ok.

..I sort of tested this way back when I found out Devuan Jessie was
here, it took me going from "It's me, I wasted waaay too much time
at https://en.wikipedia.org/wiki/Groklaw " to "Theodore Ts'o has
problems with systemd???"


Hi,
I am trying to upgrade to Devuan Beowulf.  The instructions for doing 
this require Jessie sysvinit to be installed first.  This is why I 
needed the proper Jessie sources.list.


An update with the new sources.list gave some errors but apparently 
worked ok.  I installed sysvinit and rebooted as instructed.  The reboot 
hung at configuring network interfaces.  (I am using static ip and 
/e/n/i was already configured.)  To get around the hang I booted my 
original Jessie netinst DVD and instead of the installer Jessie booted 
normally and top shows sysvinit is now PID 1.  Sometimes life is 
wonderful and will get even better without Trump!


After lunch I will continue the upgrade.

Thanks for the help!

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

Hi,
The upgrade from Debian Jessie to Devuan Beowulf went ok.  I did not 
install a DE as I use Openbox and command line.


Uname -a still shows Debian.  Why?

What would be the difference between the upgrade and a new install of 
Beowulf?


Best regards,
Fred

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


Re: [DNG] Jessie to Ascii upgrade

2020-11-15 Thread Fred

On 11/15/20 5:28 AM, Arnt Karlsen wrote:

On Sat, 14 Nov 2020 22:29:06 -0300, Gastón wrote in message
<20201115012856.2w2ojom7elryj...@devuan.devuan.com.ar>:


On Sat, Nov 14, 2020 at 02:36:36PM -0700, Fred wrote:

Hello,

I want to upgrade from Debian Jessie to Devuan.  Apparently all I
need to do is change the sources list and do a dist-upgrade.

Is this likely to go smoothly?  If there are any problems I would
probably not have Internet to ask for help.

How does the upgrade get rid of systemd and everything associated
with it? Or how does one do that?


Migrate from Debian Jessie to Beowulf guide:
https://git.devuan.org/devuan/documentation/src/branch/master/dev1fanboy/en/jessie-to-beowulf.md


..a wee tweak would be mentioning systemd-free Debian 7 Wheezy
https://en.wikipedia.org/wiki/Debian_version_history#Debian_7_(Wheezy)
as the "final safe" Debian version to upgrade from into Devuan, and not
neccessarily (Devuan) Beowulf.


..there is also that risk of confusion with
https://wiki.debian.org/DebianBeowulf
which is far less desireable for most people
than our Beowulf:
https://duckduckgo.com/?q=Debian+Beowulf=web


..systemd was introduced as an optional init system in Debian 7 Wheezy,
which really makes Debian 6.0 Squeeze the final safe Debian version to
upgrade from into Devuan.

..the upgrade guide(s) for these should IMO start with an earlier
"dpkg --purge systemd" than adviced in your otherwise excellent
https://git.devuan.org/devuan/documentation/src/branch/master/dev1fanboy/en/jessie-to-beowulf.md

..breaking systemd is totally fine, once it boots safely with any
other init system, the whole point with Devuan is fixing Debian's
systemd blunder coup, and that means purging systemd with whatever
dpkg --force-* it takes.


..the easiest way might be making 2 more "copy" guides, e.g.
"Migrate from Debian Wheezy to Devuan (Beowulf) guide:" and
"Migrate from Debian Squeeze and earlier to Devuan (Beowulf) guide:"
and publish those once we have these tested ok.

..I sort of tested this way back when I found out Devuan Jessie was
here, it took me going from "It's me, I wasted waaay too much time
at https://en.wikipedia.org/wiki/Groklaw " to "Theodore Ts'o has
problems with systemd???"


Hi,
I am trying to upgrade to Devuan Beowulf.  The instructions for doing 
this require Jessie sysvinit to be installed first.  This is why I 
needed the proper Jessie sources.list.


An update with the new sources.list gave some errors but apparently 
worked ok.  I installed sysvinit and rebooted as instructed.  The reboot 
hung at configuring network interfaces.  (I am using static ip and 
/e/n/i was already configured.)  To get around the hang I booted my 
original Jessie netinst DVD and instead of the installer Jessie booted 
normally and top shows sysvinit is now PID 1.  Sometimes life is 
wonderful and will get even better without Trump!


After lunch I will continue the upgrade.

Thanks for the help!

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


Re: [DNG] Jessie to Ascii upgrade

2020-11-15 Thread Fred

On 11/14/20 6:29 PM, Gastón via Dng wrote:

On Sat, Nov 14, 2020 at 02:36:36PM -0700, Fred wrote:

Hello,

I want to upgrade from Debian Jessie to Devuan.  Apparently all I need to do
is change the sources list and do a dist-upgrade.

Is this likely to go smoothly?  If there are any problems I would probably
not have Internet to ask for help.

How does the upgrade get rid of systemd and everything associated with it?
Or how does one do that?


Migrate from Debian Jessie to Beowulf guide:
https://git.devuan.org/devuan/documentation/src/branch/master/dev1fanboy/en/jessie-to-beowulf.md




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

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


Hello,
Thanks for the help, everyone.  Upgrading to Beowulf is the goal but I 
was under the impression that it had to be done one step at a time.


I am going to give it a try and see what happens!

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


[DNG] Jessie to Ascii upgrade

2020-11-14 Thread Fred

Hello,

I want to upgrade from Debian Jessie to Devuan.  Apparently all I need 
to do is change the sources list and do a dist-upgrade.


Is this likely to go smoothly?  If there are any problems I would 
probably not have Internet to ask for help.


How does the upgrade get rid of systemd and everything associated with 
it?  Or how does one do that?


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


Re: [DNG] Devuan sparc port

2019-10-29 Thread Fred

On 10/28/19 8:12 PM, Adam Borowski wrote:

On Fri, Oct 25, 2019 at 09:02:13AM -0700, Fred wrote:

Hello,

Will there ever be a sparc64 port of Devuan?

Very very likely no.  The focus of this distribution is fixing systemd
caused regression, not porting.  And reviving the arch would require a lot
of effort:

Sparc is dead.  Oracle killed its hardware in 2016-17, and was mostly
hostile to Linux development for it (and Solaris is now dead, too).  The
kernel maintainer did the last commit in Nov 2018, any newer stuff is
someone doing drive-by work to avoid blockers to an unrelated arch-indep
change, same as happens with other dead archs.

It might be tempting to do that effort to allow some hardware not go to
waste, but human time is expensive, hardware cheap -- thus I'd recommend
migrating to a supported arch sooner.


Meow!


Hi Adam,
Thanks for your response.  I am planning to change from Debian (x86) to 
Devuan but I also have a Sun U10 that has been running Solaris 2.6 for 
21 years that is very useful but will probably have to fall by the wayside.


Best regards,
Fred

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


[DNG] Devuan sparc port

2019-10-28 Thread Fred

Hello,

Will there ever be a sparc64 port of Devuan?

Best regards,
Fred

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


Re: [DNG] A suggestion for an easier upgrade of a DE from ASCII to Beowulf

2018-09-13 Thread Fred DC

On 13/09/2018 15:42, KatolaZ wrote:

 We don't need a duct-tape fix, rather one
that works for everybody and does not need any manual
intervention. .


I agree with that because that is what really everybody ultimately wants 
(IMHO).




We are getting there. Stay tuned.


OK, I will (mumble,mumble) ;-)

Seriously, I appreciate your feedback. Thank you.

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


[DNG] A suggestion for an easier upgrade of a DE from ASCII to Beowulf

2018-09-13 Thread Fred DC
Because I don't know how to file a bug-report against the whole 
merged/beowulf branch which presently does not allow a straight forward 
migration of a DE from ASCII to Beowulf I thought, if I bring up this 
subject in this list some of the Developers might have a look at it.


It is not my desire to be controversial, please don't nuke me.

I do run a Beowulf-based OS with xfce4-desktop with elogind and
lightdm and supplemented with packages which I need for my audio work 
(jackd2, pulseaudio-module-jack, DWS etc). This whole set-up runs very well.


Unfortunately a desktop-environment migration from ASCII to Beowulf is a 
bit clumsy and hazardous due the fact that the below listed 
Buster-Packages create a dependency-problem and if not resolved 
correctly will render the freshly installed Beowulf-Desktop-Environment 
pretty useless.


In order to make it a lot easier to get a Beowulf-Install with 'apt-get
update' and 'apt-get upgrade' (NOT dist-upgrade), my suggestion is to
make 4 packages, because they are *pure* Debian-Buster-Packages, 
invisible in the merged/beowulf branch.


Blacklist/remove in merged/beowulf  policykit-1
libpolkit-agent-1-0
libpolkit-backend-1-0
libpolkit-gobject-1-0

Assuming that it could be done without being too disruptive, I like to
think that many aspiring testers or users who are not too keen on the
backport-route could benefit from it if the Devuan-Developers would
consider this suggestion. Of course some weeding out of the truly 
obsolete packages will have to be done by hand including some pinning to 
preserve the migrated and essential ASCII packages till they can be 
replaced by their Beowulf equivalents.


PS: I know that /merged/beowulf is not ready for a dist-upgrade but
a DE upgrade is do-able because the ASCII packages are presently
*fully* compatible with Beowulf!

   The link below points to a "mini mini" HowTo I wrote some time ago in
   order to demonstrate that a successful DE-Migration is do-able.

https://dev1galaxy.org/viewtopic.php?id=2301

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


Re: [DNG] On a lighter note

2017-01-06 Thread Fred DC

On 06/01/2017 20:27, Dan Purgert wrote:


Maybe I missed something in the original mail - I read Fred's mail as a
"ha, lookie you RedHat, getting the same 'X is now considered legacy'
statements made about one of your things"...


Spot on, it was a spoof on RedHat. Don't they keep on telling us that 
GTK+ is the bleeding new technology and anybody who is not embracing it

is a retard? The same goes also for that systemd-thingy.

The twist is that a repectable Indonesian Distro (afaik) is classifying 
GTK+ as legacy stuff. What an irony - sorry, I just could not resist, 
won't do it again.


Fred

BTW: The subject-line is: On a lighter note


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


Re: [DNG] On a lighter note

2017-01-06 Thread Fred DC

On 06/01/2017 14:59, Anto wrote:


I am not sure why BlankOn Linux is being bought up into this anti
systemd mailing list. They clearly endorse systemd and follow debian,
https://translate.google.co.uk/translate?hl=en=id=http://dev.blankonlinux.or.id/ticket/1415.
But hey, this is an open mailig list so I guess everybody can express
their interest as they like.


My apologies for not realizing that this is an *anti-systemd* mailinglist.

Sorry about that

Fred

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


[DNG] On a lighter note

2017-01-06 Thread Fred DC

Just for the fun.

Does Gnome3 (aka RH) know that they use a technology which is considered
by some a legacy technology?

Me thinks, that maybe by the time s*d is more than just useable it might
also be considered a legacy init-scheme.

Quoting from the Release Notes of the BlankOn Distro:

BlankOn Tambora Goes to The World
[snip}

MANOKWARI
Manokwari is a desktop environment based on GNOME 3 shell. It combined
Gtk+ and HTML5 frontend (Gtk+ is legacy here and would be replaced
totally with HTML5 in the future). It is an evolution from a shell
called blankon-panel. In this release,.

--- end of quote

What is BlankOn? It is a Debian-based distribution developed by the
Indonesian Linux Mover Foundation and BlankOn developer team.

It's all in the eye of the beholder

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


Re: [DNG] Openrc

2016-09-12 Thread Fred DC
On 12/09/2016 10:32, Jaromil wrote:
> ...
> 
> (the above space is left intentionally blank for conspiracy theorists)
> 
> Openrc in Debian coul be labeled as a "self hating package",
> I recommend you compile from source until we provide an openrc
> package.

The same could be said regarding the 'runit-package'. I got bitten!
On Steve Litt's advice I compiled it now from source and I feel a lot
better now.

BTW, I  left sysvinit-core as is - but I diverted some of the
sysvinit-scripts and replaced them with a home-grown stub which checks
what is running as Pid 1 (and a bit more) and based on the result it either
calls the diverted script or uses the "runit-speak". This way it does
not matter if during an debian-upgrade runit-init or sysv-init is Pid 1.

Regards

Fred

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


Re: [DNG] vagrant and devuan guest

2016-09-02 Thread Fred DC
On 02/09/2016 10:04, Attila Soki wrote:
> ...
> Of course a devuan plugin would make all this unnecessary.
> But before i can file a bug, or maybe create a devuan plugin, i must
> know which is the preferred way to identify devuan.
> grepping /etc/issues
> or
> grepping /etc/os-release
> or
> ?

This is not the answer to your question but in Devuan-Ascii:

xxx:~$ cat /etc/issue
Devuan GNU/Linux ascii/ceres \n \l

xxx:~$ cat /etc/os-release
PRETTY_NAME="Devuan GNU/Linux ascii/ceres"
NAME="Devuan GNU/Linux"
ID=devuan
HOME_URL="http://www.devuan.org/;
SUPPORT_URL="http://www.devuan.org/support/;
BUG_REPORT_URL="https://bugs.devuan.org/;

Maybe in a new install of Devuan-Jessie it is already sorted out.

Fred



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


Re: [DNG] Devuan-ascii: Upgrading runit to 2.1.2-5 can hose your system

2016-08-13 Thread Fred DC
On 12/08/2016 19:47, Steve Litt wrote:
Hi Steve

[big snip]
Thanks for your valued thought but I consider the incident "water under
the bridge". All what I wanted is to warn PID 1 'runit' users that the
upgrading is a botched affair. As I said, I was able to recover the
system but belive me, its not funny to have the executable of PID 1
wipped of the disk. Obviously 'runsv. got confused. Enough said now.

> 
> With the ascension of the poetterists within the Debian developer
> community, I have a feeling that, long term, any Devuan packaging of
> Runit (or s6 or Epoch, for that matter) will need to be done by Devuan.
> Therefore, people like you and I should begin the process of defining
> what directories do what in runit, and perhaps define some best
> practices. I'll throw out the first pitch...
> ..
> ..
> The preceding six paragraphs are based on 10 minutes thought: They're
> designed to start things off, and to be modified as needed.
> 

I very much like your idea to start defining a common essential
minimal structure. Just of the cuff, we must *not* forget that
installing/installing/removing of deb-packages must be within
the debian-framework and must be compatible with the debian-tools.
Although Debian has gone the systemd route, it seems to me that the
package-management has remained what I call 'sysv-ish'.

BTW, /etc/sv/s6, /etc/sv/runit, and /etc/sv/dtencore is an excelent
suggestion.

To spin it even futher: /etc/runit | s6| etc and

/run/supervise/runit | s6 | etc
or
/var/lib/supervise/runit | s6 | etc  (the latest trend by Debian is
/var/lib/supervise)

I don't know much about s6 and dtencore but my guess is that
/etc/service would be OK.

IMHO, that would make a lot of sense. This would be the common
minimal structure of all the supervising init-systems.

The question is, are the authors of the these init-system willing to
cooperate or does Devuan have the manpower-resources to patch them?
Maybe the authors are willing to exchange the hardcoded
path-requirements with exposed variables which can be manipulated to
make it conform to a Devuan-Framework. That would be the easiest way.

Yes certainly. I will come back to you with some more of my thought.


my2c

Fred

BTW, feel free to change the subject line.

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


Re: [DNG] Off-list - upgrading runit to 2.1.2-5 can hose your system

2016-08-12 Thread Fred DC
On 12/08/2016 13:43, Tom H wrote:
>> On 12/08/2016 11:49, Tom H wrote:
>>>
>>> Off-list
>>>
>>> Install
>>> runic-init
>>> in order to restore
>>> /sbin/init
>>> and
>>> /sbin/runit
>>
>> Thanks for the suggestion. Unfortunately 'runic-init' it is not in
>> 'ascii' and googling didn't help neither.
> 
> You're welcome.
> 
> runit-init should be in ascii because it's in stretch.
> 

Yes. that is the one which conflicts with sysvinit-core

>
> It's version 2.1.2-5.
> 
>>From the changelog of 2.1.2-4:
> 
> New binary package 'runit-init', that provides /sbin/init replacement
> out-of-box.
> 
> I'd say that it's badly packaged. For sysvinit, there's
> 
> - sysvinit, which provides "/lib/sysvinit/init" so you can boot using
> sysvinit by adding "init=/lib/sysvinit/init" to the kernel cmdline
> 
> - sysvinit-core, which provides "/sbin/init"
>

Thanks for this tip. BTW, sysvinit is a transitional package for people
who are not so sure about systemd-init. So that will go away in not too
distant future.

>
> It would be more work to set things up like sysvinit because it would
> involve others making changes to their packages. For example,
> sysvinit-core and systemd-sysv would have to have conflicts with
> runit-init. Even then, it wouldn't quite right because runit-init
> doesn't provide "/sbin/halt" and friends. So it's simpler to create
> runit-init and hope people using runit as pid 1 install it when
> upgrading.
> 

And in my opinion, it would be even more simpler if 'runit-init' would
just divert the original sysv runlevel, halt/reboot and shutdown befor
it drops it own shims for these modules onto the disk. This means that
the user has choices and he can work with symlinks just as he has to
with runit-init anyway.

Many thanks

Fred

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


Re: [DNG] vdev

2016-08-12 Thread Fred DC
On 13/08/2016 11:52, aitor_czr wrote:
> [Snip}
> 
> Yes, we need testers :)
> 
> Best,
> 
>   Aitor.

Oh yes, I will test it once it hits 'ascii' or
perhaps even the 'unstable' branch. Sorry can't
do better bacause I am just a user with a fairly
good head on its shoulder.

Regards

Fred

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


[DNG] Devuan-ascii: Upgrading runit to 2.1.2-5 can hose your system

2016-08-12 Thread Fred DC
Hi,

My apololgies for sounding a bit emotional about this issue.

If, up to now, you have "runit" running as pid 1 and managed to
maintain the ability to boot from the kernel commandline using
the sysv-init read on.

The latest update to package 'runit' *wipes* out the 2 binaries
/sbin/runit-init and /sbin/runit, in other words, the carpet has been
pulled from under the init. To add injury to insult the /etc/service
which is a link to /etc/runit/runsvdir/current gets wiped out as well.

During the installation it ask you if the existing 3 runlevel scripts
must be preserved and it does execute your choice (during the
*downgrade* it will however wipe out your existing 3 scripts). At no
time during the *upgrade* process you will see any other warning!!
It appears the the 2 vital binaries have been moved to a new package
'runit-init'. 'runit-init' is *not* marked in the package 'runit' as
a 'recommends' nor as 'suggests'.

Next surprise. Package 'runit-init' *cannot* co-exist with sysv-init.
It will *uninstall* package 'sysvinit-core' and why?...because of 3
so-called runit compatabilty scripts (shutdown, halt/reboot and
runlevel. No diversion of these 3 sysv-executables - no, the whole
sysvinit-core with its /sbin/init had to be removed. So the
alternative boot-option is gone!

Be warned!

BTW, there is a ready solution for making the sysv 'halt/reboot' and
'shutdown' work under 'runit as pid 1'. I use it and it works!
See link: https://wiki.debian.org/runit

Regards

Fred

PS: I was able to recover the OS and everything is back to normal, but
I did put package 'runit' on hold in 'aptitude' and it will stay that
way until the package is not of 'grade experimental' quality anymore.
I know that 'ascii' is 'testing' - but I also know it is not 'unstable'
nor 'experimental' and after all, this is DEVUAN. We are dealing here
with the init-system.

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


Re: [DNG] NO_PUBKEY

2016-04-26 Thread Fred DC
On 26/04/2016 20:15, Julien Pinon wrote:
> Le mardi 26 avril 2016 à 18:00,
> Fred DC <a...@webafrica.org.za> écrivait :
> 
>> Maybe I do something wrongly, I am not too familiar with gpg.
>>
>> All as root
>> "apt-get update" says: NO_PUBKEY AF49E19219D58C5D
>>
>> so if I do: gpg --recv-key AF49E19219D58C5D
>>
>> then I get: gpg: requesting key 19D58C5D from hkp server subkeys.pgp.net
>> gpg: keyserver timed out
>> gpg: keyserver receive failed: keyserver error
>>
> 
> apt-key adv --keyserver pgp.mit.edu --recv-key AF49E19219D58C5D
> worked here
> 
Yep, this did work. Many thanks.

Fred

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


Re: [DNG] NO_PUBKEY

2016-04-26 Thread Fred DC
On 26/04/2016 16:43, Florian Zieboll wrote:
> 
> assuming that "$KEY_ID" is the correct Devuan archive signing key, as
> root or sudo'ed:
> 
> $ gpg --recv-key $KEY_ID
> $ gpg --export $KEY_ID | apt-key add -
> 
> resp. in one go:
> 
> $ apt-key adv --keyserver hkp://keys.gnupg.net \
> --recv-key $KEY_ID
> 
> florian

Thank you for the suggestion but it does not seem to do the trick.
Maybe I do something wrongly, I am not too familiar with gpg.

All as root
"apt-get update" says: NO_PUBKEY AF49E19219D58C5D

so if I do: gpg --recv-key AF49E19219D58C5D

then I get: gpg: requesting key 19D58C5D from hkp server subkeys.pgp.net
gpg: keyserver timed out
    gpg: keyserver receive failed: keyserver error

Regards
Fred


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


[DNG] NO_PUBKEY

2016-04-26 Thread Fred DC
By updating devuan ascii I get the following error:

Failed to fetch http://packages.devuan.org/devuan/dists/ascii/InRelease
 The following signatures couldn't be verified because the public key is
not available: NO_PUBKEY AF49E19219D58C5D

Any advise?

Fred

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


Re: [DNG] Update of ascii repo

2016-04-14 Thread Fred DC
On 13/04/2016 17:30, Jaromil wrote:
> ... 
> So now Franco is fixing this as we speak and you should be able to
> upgrade to 13-04-2016 pretty soon...
> 
> ciao
Confirmed, 142 packages to update. The joy of a rolling release ;-).

Thank you and the Team.

Fred


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


[DNG] Update of ascii repo

2016-04-13 Thread Fred DC
I am not sure if the Devuan-Admin is aware that

packages.devuan.org_merged_dists_ascii has not seen an

update since the 9th of April.

Debian Stretch repos show a date of 13-04-2016



Regards

Fred











































































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


Re: [DNG] devuan-ascii: apt-get warning re weak key

2016-04-06 Thread Fred DC
On 06/04/2016 20:36, Rob wrote:
> 
> Debian intend to shut off SHA1 completely on January 1, 2017.
> https://wiki.debian.org/Teams/Apt/Sha1Removal


Ok, I don't need to panic. Thanks Rob.

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


[DNG] devuan-ascii: apt-get warning re weak key

2016-04-06 Thread Fred DC
Does that mean that one of these days I won't be able to
update ascii?

W: http://packages.devuan.org/merged/dists/ascii/InRelease: Signature by
key 72E3CB773315DFA2E464743D94532124541922FB uses weak digest algorithm
(SHA1)

Regards

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


Re: [DNG] audio died again AND GOT RESURRECTED.

2016-03-23 Thread Fred DC
On 23/03/2016 03:32, Hendrik Boom wrote:
> ...
> Assuming pulseaudio was the culprit (which seems likely) it probably 
> was *not* installed when I installed alpha 2.  It must have been 
> entrained with something I installed later, but I can't tell what.  
> Aptitude didn't want to delete anything much as a result of deleting 
> pulseaudio, n=so I can't tell what seemed to need it.  Maybe it was a 
> spurious dependency that was later corrected?
> 
> -- hendrik

xfce4...? because the sound-plugin installs pulseaudio which is
a recommend.

Fred

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


Re: [DNG] Devuan Ascii: Upgrading initramfs-tool breaks current devuan package initscripts

2016-02-25 Thread Fred DC
On 25/02/2016 15:06, Irrwahn wrote:
> On Thu, 25 Feb 2016 13:34:01 +0100, Richard Lucassen wrote:
>> On Thu, 25 Feb 2016 10:03:41 +0100
>> Irrwahn <irrw...@freenet.de> wrote:
> [...] 
>> It simply says "install busybox". Or have I missed a crucial issue
>> somewhere?
> 
> Sorry, but apparently you did: 
> 
>  0. The busybox recommendation is nothing new, and is not the 
> cause of the issue.
> 
>  1. initramfs-tools is now split into initramfs-tools 0.123 and 
> initramfs-tools-core 0.123 packages.
> 
>  2. it requires initscripts >= 2.88dsf-59.3~, but the devuanized 
> package is not available in ascii/testing (yet). 
>
As matter of fact I got the tiny utility busybox installed by default
but a forced upgrade still wants to remove the kernel. hmm..
Yes I would say, the devuan initscript needs to be re-packaged.

BTW, For this box I use a Kernel with a initrd.img and the traditional
sysvinit-system enhanced with runit.

Regards
Fred



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


Re: [DNG] Devuan Ascii: Upgrading initramfs-tool breaks current devuan package initscripts

2016-02-25 Thread Fred DC
On 25/02/2016 11:03, Irrwahn wrote:
> 
>  it indeed declares a "Breaks: initscripts 
> (< 2.88dsf-59.3~)", which is built from the sysvinit source package.
> 
> So, for Devuan testing/ascii we would need an update here, sooner or later.

You spelled it out what I, silly me, omitted. Thank you.

Regards
Fred


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


[DNG] Devuan Ascii: Upgrading initramfs-tool breaks current devuan package initscripts

2016-02-23 Thread Fred DC
I don't know if this is the right place to report this.
Please accept my apologies.

Upgrading initramfs-tools version 0.120 to 0.123
breaks initscripts <2.88dsf-59.3-1
presently installed is 2.88dsf-59.2+devuan2

Right now I have put the package on hold because if force the
install the kernel gets removed.


Regards

Fred


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


Re: [DNG] Lumina . Was Re: Proposals for an xfce-desktop-lite

2015-12-30 Thread Fred DC
On 30/12/2015 17:16, Didier Kryn wrote:
> ...
> It seems, from the dependencies, as being built on top of lxde
> libraries.

May I suggest to visit: lumina-desktop.org
It is much more illuminating as a 1000 words from me.

Regards

Fred

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


Re: [DNG] Lumina . Was Re: Proposals for an xfce-desktop-lite

2015-12-30 Thread Fred DC
On 30/12/2015 14:43, Didier Kryn wrote:
> Le 30/12/2015 00:38, Dragan FOSS a écrit :
>> On 12/30/2015 12:03 AM, Didier Kryn wrote:
>>> Out of the description it seems to come out of a Devuan dream, both for
>>> what it provides and for what it doesn't.
>>
>> You can try, deb packages are there:
>> http://mirror.org.rs/lumina/
>>
> 
> Thanks for the link. I tried to install lumina and I must tell it
> isn't light of dependencies. It requires almost all existing qt5
> packages including extras, many qt5-quick and qt5-phonon packages, plus
> fluxbox, many lxde packages and dozens of others. Since I installed it
> directly with dpkg, I had to install manually (in apt parlance) the
> dependencies and at some point I gave up, in order to stop bloating my
> system.
> 
> Didier
> 
Hi Didier,

With a fairly minimal existing xfce install and using:

apt-get --no-istall-recommends etc lumina-desktop --> additional 102 MB
apt-get  etc lumina-desktop --> additional 152 MB

Compared with some other DE's I think this is not too bad.

It is still under heavy development and is unfortunately not yet ready
for prime time, but it is on my watchlist. I must admit, I did like
what I saw.

Fred

Tip: I am on Ascii: I used the usbmount-package from sid.

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


Re: [DNG] startup scripts (was dng@lists.dyne.org)

2015-07-18 Thread Fred DC
On 18/07/2015 10:49, Laurent Bercot wrote:
 
  Believe me, providing sysv-rc compatibility when you're working on
 a supervision suite is no small feat: the paradigm is very different,
 
 . If it was easy, we would have provided compatibility packages
 long ago, and supervision would already rule the world (with a gentle,
 good hand).
 

I am not saying that runit is better as s6 - all I want to point out is
that debian runit, until recently, intergrates fairly well with sysv-rc.

Yes, the supervised services do need their own service-framework with
their own scripts. For me (as a simple user) the hard nut to crack was
to write stubs and a script which during a debian-update translate the
inet-calls to sv-calls without insserv telling me to take a hike.

I succeded because I accepted the fact that I have the standard
lsb-sysv-scripts in /etc/init.d/ and that the underlying dpkg-system
does use these scripts.

I fully agree with Laurent's sentiments that it is not as simple...
IMHO, it is doeable to make it compatible against an init-system
wich is the required default by the package-manager - but without
an aggreed standard it will get out of hand.

my 2cents

Fred

BTW, and what about rcS, rc0 and rc6a complete re-write?
Naah... KISS... use what we got! Strictly my opinion.



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


Re: [DNG] procps

2015-07-04 Thread Fred DC
On 04/07/2015 10:26, Martin Steigerwald wrote:
 
 So it seems this is not a *direct* dependency. It may be that some of the 
 dependencies depend on libsystemd0.
 
So it is: libprocps4 depends on libsystemd0

Fred

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


  1   2   >