Re: Cheap NAS

2022-10-17 Thread Stefan Monnier
>> > It's also worth noting: on my setup with a spinning rust laptop drive
>> > hooked via USB 3 to my RPi, the drive doesn't spin continuously
>> > (apparently). So on occasional use, I wait a couple of seconds for the
>> > drive to spin up before it can transfer at full speed. It's possible an
>> > SSD would solve this, but I had the laptop drive around already.
[...]
> Or try the hdparm command to change spindown time or other power saving
> parameters.  I use this to deliberately spin down my NAS drive after 10
[...]
>if NAS1=`findmnt -n -o SOURCE /nas1/main`; then /sbin/hdparm -S120 $NAS1; 
> fi

Side note:

- In my experience, whether `hdparm -S..` works on a USB drive depends
  on the USB<->SATA adapter in use.  If it doesn't, `hdparm` will tell
  you, tho.
- On my WD drives, the `-S` seems to be completely ignored and instead
  the spin down time is chosen by the drive based on the APM setting
  (i.e. `hdparm -B...`).  I heard there's a `idle3-tools` thingy that
  may be able to provide finer control, but I never tried it.


Stefan



Re: debian freezing

2022-10-17 Thread songbird
Pierre Frenkiel wrote:

> Since I installed Debian11, it happens from time to time (generally when 
> I leave the system unattended), that everything freezes:
>
> keyboard and mouse.
>
> I found on several blogs some silly recommendations, involving typing 
> something. I say "silly" because in that case in I can't do anything:
>
> neither with the keyboard nor the mouse
>
> when I say "frozen" it means "frozen" (may-be "dead" would be a better 
> word, as the computer doesn't answer to ping)

  ...

  have you tested your memory?


  songbird



Re: Apt upgrade problem

2022-10-17 Thread Charles Curley
On Sun, 16 Oct 2022 23:44:00 +0100
Mark Fletcher  wrote:

> "apt list --upgradable" shows a new version of the Amazon Workspaces
> client, version 4.3.0.1766. It also shows that there is one more
> version available.

This may be a silly question, but have you checked with Amazon customer
support? Assuming such beast exists.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: debian freezing

2022-10-17 Thread Pierre Frenkiel

hi,
I wrote some days ago that runing e screensaver doesn't give any 
improvment, but now I see that I was wrong: since I lauch xscreensaver, 
I never got  any freezing.

thanks everybody for your cooperation.
Best regards,
Pierre Frenkiel

On Mon, 17 Oct 2022, The Wanderer wrote:


On 2022-10-17 at 07:05, Pierre Frenkiel wrote:


Since I installed Debian11, it happens from time to time (generally
when I leave the system unattended), that everything freezes:

keyboard and mouse.


Do the lights stay on (frozen), or do they go out? Meaning the NumLock /
CapsLock / ScrollLock lights on the keyboard, and the laser underneath
your mouse (assuming you don't have an old-style ball mouse, or a
trackball, or similar).


I found on several blogs some silly recommendations, involving typing
something. I say "silly" because in that case in I can't do
anything:

neither with the keyboard nor the mouse


At a guess, this "something" might involve the so-called magic SysRq
key?


when I say "frozen" it means "frozen" (may-be "dead" would be a
better word, as the computer doesn't answer to ping)

and the only thing I can do is reboot, being after that obliged to
re-install.


Wait, reinstall? This was sounding a bit like a state I've managed to
get the system into at various times in the past, where everything's
wedged hard (the lights remain but won't toggle, for example), and a
hard power-cycle was necessary to get out of it - but I was always able
to boot back up and run the system normally afterwards; no reinstall was
required.

What is it you observe which leads you to conclude that a reinstall is
needed at this point?


I tried running the screensaver,but the problem remained.

Has anybody a solution?


Not with that little information. The only things I can suggest would be
to find ways of getting more information.

Depending on how the system is configured, there might be copies of the
logs from before the freeze left even after new logs are begun when you
boot up again. Some of them (from X-related logs to the ones holding
dmesg or similar) may be relevant, if you can find them.

If the boot process does wind up blowing away those logs, you may still
be able to get access to them by booting to a live-media environment and
looking at the hard drive from there.

Failing that, you may be able to get some information out by setting up
a process to dump the contents of those logs to another location every
so often in a loop, waiting for the problem to reproduce, and then
checking that location after the next boot.

However, if the problem happens abruptly enough and is a hard-enough
freeze that there's no time for anything to get logged (never mind for
anything to be copied from the logs to another location) before all
processing effectively halts, none of those are likely to help you.

--
  The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw






Re: Creating a Debian derivative (WAS Re: Some of the parameters used in my genisoimage command don't produce a bootable ISO image).

2022-10-17 Thread Mario Marietto
It seems complicated to understand what I can do and what I can't. So,my
idea is to prepare everything and then I will give my github repo (maybe
configured as a private repo) to a debian legal representative hoping that
he/she will tell me precisely where the project needs to be changed. But I
also think that before talking with them,I need that some experienced user
tries to pass his nvidia gpu installing "my" distro,to be sure that it
works. What do you think ?

Il giorno lun 17 ott 2022 alle ore 19:55 Andrew M.A. Cater <
amaca...@einval.com> ha scritto:

> [Title of the mail changed to reflect a new subject and topic following
> the suggestions in the FAQ and mailing list code of conduct.]
> Forwarded to the list as I sent this only to Mario by mistake.
>
> On Mon, Oct 17, 2022 at 06:29:45PM +0200, Mario Marietto wrote:
> > Hello to everyone.
> >
>
> Hi Mario,
>
> > I'm building my debian derivative distro not for business purposes,but to
> > be useful to someone. Maybe I will ask for some money as a donation,but
> I'm
> > not even sure. When I will have created the first stable version,I will
> put
> > it in my github with all the scripts that I have added inside the ISO
> > image.
>
> Money isn't really the issue here.
>
> Don't forget about the need to comply with licences on distribution of
> source and so on. Do track _exactly_ the changes you make from Debian -
> it will help you enormously.
>
> > I've read the guidelines and I've asked for clarifications to the
> > legal debian department. They seemed to be very open in relation with the
> > Debian logo usage,because it is open source,contrary to that of Ubuntu /
> > Canonical and so I've chosen Debian.
>
> See also the Debian trademark guidelines: https://www.debian.org/trademark
>
> > Since my goal is not to earn money,I
> > put the emphasis on the name of "my" distro,but at the same time I kept
> the
> > word Debian inside. It does not seem that this behavior is against some
> > rules. What do you think ?
>
> You do need to chat to the trademark folks - Debian is usually fairly open
> but it is important to get it right. Debian holds trademarks in the US, EU
> China and Japan as a minimum. https://www.debian.org/trademark#trademarks
>
> > I'm not using a complicated preseed file. I'm
> > using more configuration files ad hoc for the goal that I want to achieve
> > (to create a debian distro ready for passing thru every nvidia gpu which
> > work out of the box + various tools for achieving that goal and some
> > premade configurations to use different kind of virtualization tools).
>
> You need to be very careful indeed that you can distribute all the code you
> need to do this: you may also need to talk to Nvidia to work out how to get
> them to distribute firmware updates and so on to you.
>
> Likewise for the visualisation tools - many of these are proprietary and
> you'll
> need to be able to distribute these to your users and also be absolutely
> clear
> that distributing them together on the same media doesn't upset any of the
> individual vendors.
>
> > I
> > want to share the project with you,also. When I am satisfied,I will put
> the
> > first ISO on my github + all the config files added and I would like to
> > know what you think about it. To be honest,the Debian representative that
> > I'm talking with does not reply fast and he / she does not seem to ask a
> > decent amount of details.
>
> I think you need to check really clearly what the references on the Debian
> wiki give: I think you need to think carefully about how much you want to
> commit to this. If it didn't involve debian-live AND non-free code, I'd
> suggest that you talked closely to others about making this a Debian Pure
> Blend. As it is, I don't think that's an option.
>
> There's a lot to do as well as you possibly can before you can pass the
> results of your work to a single user, I'm afraid. Debian-legal folk will
> respond but you may need to be absolutely clear in your own mind exactly
> what you're doing and the extent to which your learning curve will
> get steeper to produce the solution. You may also want to talk to folk who
>
> Ot you're doing and the extent to which your learning curve will
> get steeper to produce the solution. You may also want to talk to folk who
> are already building and distributing distributions based on Debian-live.
>
> Distrowatch.com may help - LWN's distribtion's page is now almost a year
> out
> of date - but both of these may provide pointers to others who've done this
> before you.
>
> With every good wish, as ever,
>
> Andy Cater
>
>
> >
> > Il giorno lun 17 ott 2022 alle ore 13:47 Thomas Schmitt <
> scdbac...@gmx.net>
> > ha scritto:
> >
> > > Hi,
> > >
> > > David Wright wrote:
> > > > they are no longer Debian logos. You
> > > > should give names to your edited files that indicate what they are:
> > > > /your/ images for /your/ derivative. Add them to the archive and
> > > > change the symlinks there.
> > >
> > > I fou

Creating a Debian derivative (WAS Re: Some of the parameters used in my genisoimage command don't produce a bootable ISO image).

2022-10-17 Thread Andrew M.A. Cater
[Title of the mail changed to reflect a new subject and topic following
the suggestions in the FAQ and mailing list code of conduct.]
Forwarded to the list as I sent this only to Mario by mistake.

On Mon, Oct 17, 2022 at 06:29:45PM +0200, Mario Marietto wrote:
> Hello to everyone.
> 

Hi Mario,

> I'm building my debian derivative distro not for business purposes,but to
> be useful to someone. Maybe I will ask for some money as a donation,but I'm
> not even sure. When I will have created the first stable version,I will put
> it in my github with all the scripts that I have added inside the ISO
> image.

Money isn't really the issue here.

Don't forget about the need to comply with licences on distribution of 
source and so on. Do track _exactly_ the changes you make from Debian -
it will help you enormously.

> I've read the guidelines and I've asked for clarifications to the
> legal debian department. They seemed to be very open in relation with the
> Debian logo usage,because it is open source,contrary to that of Ubuntu /
> Canonical and so I've chosen Debian.

See also the Debian trademark guidelines: https://www.debian.org/trademark

> Since my goal is not to earn money,I
> put the emphasis on the name of "my" distro,but at the same time I kept the
> word Debian inside. It does not seem that this behavior is against some
> rules. What do you think ?

You do need to chat to the trademark folks - Debian is usually fairly open
but it is important to get it right. Debian holds trademarks in the US, EU
China and Japan as a minimum. https://www.debian.org/trademark#trademarks

> I'm not using a complicated preseed file. I'm
> using more configuration files ad hoc for the goal that I want to achieve
> (to create a debian distro ready for passing thru every nvidia gpu which
> work out of the box + various tools for achieving that goal and some
> premade configurations to use different kind of virtualization tools).

You need to be very careful indeed that you can distribute all the code you
need to do this: you may also need to talk to Nvidia to work out how to get
them to distribute firmware updates and so on to you. 

Likewise for the visualisation tools - many of these are proprietary and you'll
need to be able to distribute these to your users and also be absolutely clear
that distributing them together on the same media doesn't upset any of the
individual vendors.

> I
> want to share the project with you,also. When I am satisfied,I will put the
> first ISO on my github + all the config files added and I would like to
> know what you think about it. To be honest,the Debian representative that
> I'm talking with does not reply fast and he / she does not seem to ask a
> decent amount of details.

I think you need to check really clearly what the references on the Debian
wiki give: I think you need to think carefully about how much you want to 
commit to this. If it didn't involve debian-live AND non-free code, I'd
suggest that you talked closely to others about making this a Debian Pure
Blend. As it is, I don't think that's an option.

There's a lot to do as well as you possibly can before you can pass the 
results of your work to a single user, I'm afraid. Debian-legal folk will
respond but you may need to be absolutely clear in your own mind exactly
what you're doing and the extent to which your learning curve will
get steeper to produce the solution. You may also want to talk to folk who

Ot you're doing and the extent to which your learning curve will
get steeper to produce the solution. You may also want to talk to folk who
are already building and distributing distributions based on Debian-live.

Distrowatch.com may help - LWN's distribtion's page is now almost a year out
of date - but both of these may provide pointers to others who've done this
before you.

With every good wish, as ever,

Andy Cater


> 
> Il giorno lun 17 ott 2022 alle ore 13:47 Thomas Schmitt 
> ha scritto:
> 
> > Hi,
> >
> > David Wright wrote:
> > > they are no longer Debian logos. You
> > > should give names to your edited files that indicate what they are:
> > > /your/ images for /your/ derivative. Add them to the archive and
> > > change the symlinks there.
> >
> > I found
> >   https://wiki.debian.org/Derivatives/Guidelines
> > which Mario Marietto should check.
> >
> > Naming of files is not mentioned, afaics.
> > But there is much emphasis on not using "Debian" in the name of the
> > "business". This demand applies to various software packages and artwork,
> > too:
> >   https://wiki.debian.org/Derivatives/Guidelines#De-.2FRe-branding
> >
> > I wonder whether a preseeded Debian Live ISO constitutes a derived distro
> > and Mario Marietto's preseeding project qualifies as "business".
> > The changes of which i know use an official Debian mechanism to shorten
> > or hardcode the installation process. The Live personality is completely
> > unchanged, afaik.
> >
> > So for now the only non-Debian thing is the title
> >   "Bri

Re: Some of the parameters used in my genisoimage command don't produce a bootable ISO image

2022-10-17 Thread Mario Marietto
Hello to everyone.

I'm building my debian derivative distro not for business purposes,but to
be useful to someone. Maybe I will ask for some money as a donation,but I'm
not even sure. When I will have created the first stable version,I will put
it in my github with all the scripts that I have added inside the ISO
image. I've read the guidelines and I've asked for clarifications to the
legal debian department. They seemed to be very open in relation with the
Debian logo usage,because it is open source,contrary to that of Ubuntu /
Canonical and so I've chosen Debian. Since my goal is not to earn money,I
put the emphasis on the name of "my" distro,but at the same time I kept the
word Debian inside. It does not seem that this behavior is against some
rules. What do you think ? I'm not using a complicated preseed file. I'm
using more configuration files ad hoc for the goal that I want to achieve
(to create a debian distro ready for passing thru every nvidia gpu which
work out of the box + various tools for achieving that goal and some
premade configurations to use different kind of virtualization tools). I
want to share the project with you,also. When I am satisfied,I will put the
first ISO on my github + all the config files added and I would like to
know what you think about it. To be honest,the Debian representative that
I'm talking with does not reply fast and he / she does not seem to ask a
decent amount of details.

Il giorno lun 17 ott 2022 alle ore 13:47 Thomas Schmitt 
ha scritto:

> Hi,
>
> David Wright wrote:
> > they are no longer Debian logos. You
> > should give names to your edited files that indicate what they are:
> > /your/ images for /your/ derivative. Add them to the archive and
> > change the symlinks there.
>
> I found
>   https://wiki.debian.org/Derivatives/Guidelines
> which Mario Marietto should check.
>
> Naming of files is not mentioned, afaics.
> But there is much emphasis on not using "Debian" in the name of the
> "business". This demand applies to various software packages and artwork,
> too:
>   https://wiki.debian.org/Derivatives/Guidelines#De-.2FRe-branding
>
> I wonder whether a preseeded Debian Live ISO constitutes a derived distro
> and Mario Marietto's preseeding project qualifies as "business".
> The changes of which i know use an official Debian mechanism to shorten
> or hardcode the installation process. The Live personality is completely
> unchanged, afaik.
>
> So for now the only non-Debian thing is the title
>   "BridgeVmOS Debian Custom"
> in
>   https://ibb.co/GHHDQ3H
> It looks like a project name and thus could be regarded as "business".
>
> I wonder whether a title like
>   "Debian , preseeded by BridgeVmOS"
> would be ok.
>
>
> Well, before following the Guideline advise
>   "Consult the DebianProjectLeader meanwhile on a case-by-case basis"
> Mario Marietto should probably list the changes in his ISO towards the
> original ISO. I know of:
>   - Introducing a preseed file.
>   - Changing logo files in the initrd.
>   - (Packing up the ISO with xorrisofs options which are equivalent to
>  those currently used by Debian Live, as far as boot capabilities are
>  concerned. But Debian could move to other layouts for booting.)
>
> Such a list could then be the base of decisions.
>
>
> Have a nice day :)
>
> Thomas
>
>

-- 
Mario.


Re: Apt upgrade problem

2022-10-17 Thread hede
On Sun, 16 Oct 2022 23:44:00 +0100 Mark Fletcher  wrote:

> After "sudo apt update", the system informs me there is 1 package that can
> be upgraded.
> 
> "sudo apt upgrade" reports nothing to do, 0 packages upgraded, 0 newly
> installed, 0 to remove and 0 not upgraded...

One possible reason could be the new package conflict with some other installed 
package. "apt upgrade" doesn't remove packages. Maybe "apt full-upgrade" is at 
hand?

Maybe also "apt policy workspacesclient" gives some help. 

Or maybe "apt install workspacesclient=4.3.0.1766" installs the current version?

(sorry, just some ideas and no safe solution from me, as I'm not using amazons 
workspaceclient)

regards 
hede



Re: Cheap NAS

2022-10-17 Thread Tixy
On Mon, 2022-10-17 at 11:28 -0400, Wayne Sallee wrote:
> 
>  Original Message 
> *Subject: *  Re: Cheap NAS
> *From: * Paulf 
> *To: * Debian-user 
> *CC: *
> *Date: *  2022-10-16  02:31 PM
> > It's also worth noting: on my setup with a spinning rust laptop drive
> > hooked via USB 3 to my RPi, the drive doesn't spin continuously
> > (apparently). So on occasional use, I wait a couple of seconds for the
> > drive to spin up before it can transfer at full speed. It's possible an
> > SSD would solve this, but I had the laptop drive around already.
> > 
> 
> A simple timed read/write script could take care of that.

Or try the hdparm command to change spindown time or other power saving
parameters. I use this to deliberately spin down my NAS drive after 10
minutes so it uses a lot less power and to get rid of the noise. I do
this at boot in /etc/rc.local

   # cat /etc/rc.local 
   #!/bin/sh
   
   # Set spindown time for disk
   if NAS1=`findmnt -n -o SOURCE /nas1/main`; then /sbin/hdparm -S120 $NAS1; fi
   
Rather than hard code the disk as /dev/sdc I use 'findmnt' to get the
disk name from the point it's mounted at (/nas1/main in this case).

I also do this in my daily backup scripts in case the drive setting
gets lost, as it seems to do some times.

-- 
Tixy



Re: Strange syslog behaviour [Solved]

2022-10-17 Thread Wayne Sallee




 Original Message 
*Subject: *  Re: Strange syslog behaviour [Solved]
*From: * Tixy 
*To: * Debian-user 
*CC: *
*Date: *  2022-10-16  12:40 PM

On Sun, 2022-10-16 at 09:09 -0400, Wayne Sallee wrote:

It would be nice if updates presented "old file", "new file", "combined file"; 
choice: (1), (2), (3).

It does offer several choices, one of them is to show a 'diff' of the
old and new files. Only you can know what changes you made and want to
keep, and just automatically merging files is very likely just to
produce a broken config.

Personally, I do a diff first, which usually acts of a reminder of what
I've changed, then I accept the new file and in another terminal edit
that to reapply my changes.



Yes, I did do the diff, but I was in the middle of the update. I like Charles Curley's idea of having another terminal 
to make the needed changes as they come up.


Wayne Sallee
wa...@waynesallee.com
http://www.WayneSallee.com



Re: Strange syslog behaviour [Solved]

2022-10-17 Thread Wayne Sallee




 Original Message 
*Subject: *  Re: Strange syslog behaviour [Solved]
*From: * Charles Curley 
*To: * Debian Users 
*CC: *
*Date: *  2022-10-16  11:09 AM

When I do an upgrade I run the upgrade in one terminal, and have Emacs
running in another. As these differences pop up, I accept one of the
options, then edit away as necessary. It takes a while to do an upgrade,
but I usually get what I want and don't have to go back and make more
edits.


That's a good idea to use 2 terminals like that.

Wayne Sallee
wa...@waynesallee.com
http://www.WayneSallee.com



Re: Cheap NAS

2022-10-17 Thread Wayne Sallee




 Original Message 
*Subject: *  Re: Cheap NAS
*From: * Paulf 
*To: * Debian-user 
*CC: *
*Date: *  2022-10-16  02:31 PM

It's also worth noting: on my setup with a spinning rust laptop drive
hooked via USB 3 to my RPi, the drive doesn't spin continuously
(apparently). So on occasional use, I wait a couple of seconds for the
drive to spin up before it can transfer at full speed. It's possible an
SSD would solve this, but I had the laptop drive around already.



A simple timed read/write script could take care of that.

Wayne Sallee
wa...@waynesallee.com
http://www.WayneSallee.com



Re: debian freezing

2022-10-17 Thread David Wright
On Mon 17 Oct 2022 at 13:05:14 (+0200), Pierre Frenkiel wrote:
> Since I installed Debian11, it happens from time to time (generally
> when I leave the system unattended), that everything freezes:
> 
> keyboard and mouse.
> 
> I found on several blogs some silly recommendations, involving typing
> something. I say "silly" because in that case in I can't do anything:
> 
> neither with the keyboard nor the mouse
> 
> when I say "frozen" it means "frozen" (may-be "dead" would be a better
> word, as the computer doesn't answer to ping)
> 
> and the only thing I can do is reboot, being after that obliged to
> re-install.
> 
> I tried running the screensaver,but the problem remained.
> 
> Has anybody a solution?

Is this the same machine where the file /usr/bin/pulseaudio kept
disappearing from the filesystem, and you had to keep reinstalling
it (just pulseaudio, IIRC)?

That doesn't give much confidence in the hardware.

You wrote sometime ago, "on my laptop". Assuming that means you have
more than one machine, which is this? You could generate and copy a
file of diagnostic information to the other machine each minute
(incorporating a timestamp in the filename). It might not help if
everything falls over together.

My only other advice would be to check out the sleep states in the
CMOS, and errors in dmesg concerning the ACPI. There might be
something that bullseye is capable of using, that buster didn't,
and it just doesn't work correctly on this machine, and so it
falls into an unwakeable slumber.

Cheers,
David.



Custom configuration Re: Mouse / Tablet

2022-10-17 Thread David Wright
On Mon 17 Oct 2022 at 13:12:50 (+), Maude Summerside wrote:
> 
> Does someone has some knowledge how to do some custom configuration for 
> a specific mouse / tablet ?
> 
> I have a tablet that gets recognized properly like a pointing device but 
> I'd like to modify some parameter. Mostly rotate the X and Y axis.

My method is probably more simple-minded that Nicolas's.
It doesn't handle VCs (non-graphical logins) for which I have
manual scripts.

My ~/.xsession calls ~/bin/xinput-xsession which contains the
following fragments:

  Printing="printf" Xinput="xinput" Unique="$(mktemp --suffix=.list "$(printf 
'%s%(%s)T%s' "${Uniquetrash:-/tmp}/xinput-" -1 "-")")"
  xinput > "$Unique"
  [ "$1" != quiet ] && cat "$Unique" || Printing=":" Xinput=":"

… which lists all the devices and their parameters when run
without arguments.

  Matrix="X 0 0 0 X 0 0 0 1"
  Devicetype="pointer"

  Device="Logitech M325" # purple wireless
  Id="$(grep "$Device[[:space:]]*id.*$Devicetype" "$Unique" | sed 
's/^[^=]\+=//;s/\t.*//;')"
  [ -n "$Id" ] && "$Printing" '\nXID %2s %s ' "$Id" "$Devicetype" && "$Xinput" 
--list-props "$Id" && xinput --set-prop "$Id" "Coordinate Transformation 
Matrix" ${Matrix//X/.3} && xinput --set-prop "$Id" "libinput Middle Emulation 
Enabled" 1

… this last paragraph is repeated for each different pointer device.
Note that some devices appear as both a pointer and a keyboard.
I would imagine that the Matrix can transform the axes in any way
required. I just use it to tame the wild sensitivities of most mice.

  Devicetype="keyboard"

  Device="AT Translated Set 2 keyboard" # IBM model M, PS/2 plug, GB layout
  Id="$(grep "$Device[[:space:]]*id.*$Devicetype" "$Unique" | sed 
's/^[^=]\+=//;s/\t.*//;')"
  [ -n "$Id" ] && "$Printing" '\nXID %2s %s ' "$Id" "$Devicetype" && "$Xinput" 
--list-props "$Id" && setxkbmap gb -device "$Id"

… again, repeated.

The reason it's in ~/bin/ is so that you can call it anytime to
examine the properties. More importantly, devices like mice can
lose the sensitivity settings when X blanks the screen, or
require setting when you plug in a new one. I have fvwm set up to
execute the script (quietly) with a Ctrl-Alt-Shift-/ keystroke.

Cheers,
David.



Re: Mouse / Tablet

2022-10-17 Thread Maude Summerside



On 2022-10-17 09:19, Andrew M.A. Cater wrote:
> On Mon, Oct 17, 2022 at 01:12:50PM +, Maude Summerside wrote:
>> Hi,
>>
>> Does someone has some knowledge how to do some custom configuration for
>> a specific mouse / tablet ?
>>
>> I have a tablet that gets recognized properly like a pointing device but
>> I'd like to modify some parameter. Mostly rotate the X and Y axis.
>>
>> Thanks
>> -- 
>> Polyna-Maude R.-Summerside
>> -Be smart, Be wise, Support opensource development
>>
> 
> Hi :)
> 
> Which pointing device is it recognised as - which driver is loaded? You
 may find there's a way to pass
> arguments to, say, a synaptics driver or whatever.
> 
> More information would be helpful if you have it.
> 
Here's a dump from xinput

***
⎡ Virtual core pointer  id=2[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointerid=4[slave  pointer 
 (2)]
⎜   ↳ USB OPTICAL MOUSE id=9[slave  pointer 
 (2)]
⎜   ↳ HID 6901:2701 Mouse   id=11   [slave  pointer 
 (2)]
⎜   ↳ HID 6901:2701 Consumer Controlid=12   [slave  pointer 
 (2)]
⎜   ↳ SZ PING-IT INC.  [T503] Driver Inside Tablet Mouseid=17   [slave 
pointer  (2)]
⎜   ↳ SZ PING-IT INC.  [T503] Driver Inside Tablet Consumer Control 
id=18   [slave  pointer  (2)]
⎣ Virtual core keyboard id=3[master keyboard (2)]
 ↳ Virtual core XTEST keyboard  id=5[slave  keyboard (3)]
 ↳ Power Button id=6[slave  keyboard (3)]
 ↳ Power Button id=7[slave  keyboard (3)]
 ↳ Dell Dell USB Keyboard   id=8[slave  keyboard (3)]
 ↳ HID 6901:2701id=10   [slave  keyboard
 (3)]
 ↳ HID 6901:2701 System Control id=13   [slave  keyboard
 (3)]
 ↳ HS HyperFIDO id=14   [slave  keyboard
 (3)]
 ↳ HP WMI hotkeys   id=15   [slave  keyboard
 (3)]
 ↳ HID 6901:2701 Consumer Control   id=16   [slave  keyboard
 (3)]
 ↳ SZ PING-IT INC.  [T503] Driver Inside Tablet Consumer Control 
id=19   [slave  keyboard (3)]
 ↳ SZ PING-IT INC.  [T503] Driver Inside Tablet Keyboardid=20 
[slave  keyboard (3)]
 ↳ SZ PING-IT INC.  [T503] Driver Inside Tablet id=21   [slave 
keyboard (3)]

***

The device we are talking about should be #17 (T503 Tablet)

Here's the list of props

***
Device 'SZ PING-IT INC.  [T503] Driver Inside Tablet Mouse':
Device Enabled (154):   1
Coordinate Transformation Matrix (156): 1.00, 0.00, 0.00, 
0.00, 1.00, 0.00, 0.00, 0.00, 1.00
libinput Natural Scrolling Enabled (288):   0
libinput Natural Scrolling Enabled Default (289):   0
libinput Scroll Methods Available (290):0, 0, 1
libinput Scroll Method Enabled (291):   0, 0, 0
libinput Scroll Method Enabled Default (292):   0, 0, 0
libinput Button Scrolling Button (293): 2
libinput Button Scrolling Button Default (294): 2
libinput Middle Emulation Enabled (295):0
libinput Middle Emulation Enabled Default (296):0
libinput Accel Speed (297): 0.00
libinput Accel Speed Default (298): 0.00
libinput Accel Profiles Available (299):1, 1
libinput Accel Profile Enabled (300):   1, 0
libinput Accel Profile Enabled Default (301):   1, 0
libinput Left Handed Enabled (302): 0
libinput Left Handed Enabled Default (303): 0
libinput Send Events Modes Available (273): 1, 0
libinput Send Events Mode Enabled (274):0, 0
libinput Send Events Mode Enabled Default (275):0, 0
Device Node (276):  "/dev/input/event22"
Device Product ID (277):2290, 26641
libinput Drag Lock Buttons (304):   
libinput Horizontal Scroll Enabled (305):   1
***

I don't really mind to loose some tablet specific features, if I can get 
the axis properly working.

So the "pressure" level and such is not of importance.

Thanks
> With every good wish, as ever,
> 
> Andy C.
> 

-- 
Polyna-Maude R.-Summerside
-Be smart, Be wise, Support opensource development



Re: Mouse / Tablet

2022-10-17 Thread Nicolas George
Maude Summerside (12022-10-17):
> Does someone has some knowledge how to do some custom configuration for 
> a specific mouse / tablet ?
> 
> I have a tablet that gets recognized properly like a pointing device but 
> I'd like to modify some parameter. Mostly rotate the X and Y axis.

I think some of the answers you seek can be found there:

https://lists.debian.org/debian-user/2020/02/msg00755.html

Regards,

-- 
  Nicolas George



Re: debian freezing

2022-10-17 Thread Joe
On Mon, 17 Oct 2022 13:05:14 +0200
Pierre Frenkiel  wrote:

> Since I installed Debian11, it happens from time to time (generally
> when I leave the system unattended), that everything freezes:
> 
> keyboard and mouse.
> 
> I found on several blogs some silly recommendations, involving typing 
> something. I say "silly" because in that case in I can't do anything:
> 
> neither with the keyboard nor the mouse

Ah, the good old 'Keyboard error: Press F1 to continue' trouble.
> 
> when I say "frozen" it means "frozen" (may-be "dead" would be a
> better word, as the computer doesn't answer to ping)
> 
> and the only thing I can do is reboot, being after that obliged to 
> re-install.

As others have said, it shouldn't be necessary. If your computer fails
to reboot after the problem, there is the way to begin troubleshooting.
I think you have to be fairly unlucky to get a file vital to operation
damaged in a crash.
> 
> I tried running the screensaver,but the problem remained.
> 
> Has anybody a solution?
> 

As the others have said, hardware is the most likely problem. Some
component being more stressed than with previous versions, some new
driver with a bug, some item being used it a way that it wasn't in the
last version, etc.

Having said that, my netbook occasionally doesn't wake up after
suspend, in fact it never goes to sleep properly. The computer's status
LED stays at 'run' on suspend, does not change to 'standby', and nothing
ever works again. Only recoverable by use of the Big Red Switch, which
these days is just a matter of holding down the power button. Boring.
But this occurrence is rare enough that it's not easily investigated
(whoever said 'Insanity is doing the same thing over and over and
expecting different results' had never had to repair an intermittent
fault. Nor rolled dice, either, despite also having said 'God does not
play dice').

I doubt that you will find the logs useful. When this has happened to
me, the logs just stopped at the crash, they never recorded anything
useful just before. Sorry I can't be of more help, but this kind of
thing is very rare these days, even with Windows, so there's not really
a general solution, or even a likely way to troubleshoot.

One long shot: it's worth opening up and clearing out any dust you
find, Debian 11 might just be stressing the CPU a little more, enough
to cause thermal trouble in something else due to increased heat. In
that case, the CPU should detect the higher temperature and slow down,
so it probably isn't that which is failing. If it's a desktop, it's
worth reseating all the connectors, which is also worth doing with a
laptop but is usually much more difficult.

-- 
Joe



Re: Mouse / Tablet

2022-10-17 Thread Andrew M.A. Cater
On Mon, Oct 17, 2022 at 01:12:50PM +, Maude Summerside wrote:
> Hi,
> 
> Does someone has some knowledge how to do some custom configuration for 
> a specific mouse / tablet ?
> 
> I have a tablet that gets recognized properly like a pointing device but 
> I'd like to modify some parameter. Mostly rotate the X and Y axis.
> 
> Thanks
> -- 
> Polyna-Maude R.-Summerside
> -Be smart, Be wise, Support opensource development
>

Hi :)

Which pointing device is it recognised as - which driver is loaded? You may 
find there's a way to pass
arguments to, say, a synaptics driver or whatever.

More information would be helpful if you have it.

With every good wish, as ever,

Andy C. 



Mouse / Tablet

2022-10-17 Thread Maude Summerside
Hi,

Does someone has some knowledge how to do some custom configuration for 
a specific mouse / tablet ?

I have a tablet that gets recognized properly like a pointing device but 
I'd like to modify some parameter. Mostly rotate the X and Y axis.

Thanks
-- 
Polyna-Maude R.-Summerside
-Be smart, Be wise, Support opensource development



Re: debian freezing

2022-10-17 Thread tv.debian

Le 17/10/2022 à 13:05, Pierre Frenkiel a écrit :
Since I installed Debian11, it happens from time to time (generally when 
I leave the system unattended), that everything freezes:


keyboard and mouse.

I found on several blogs some silly recommendations, involving typing 
something. I say "silly" because in that case in I can't do anything:


neither with the keyboard nor the mouse

when I say "frozen" it means "frozen" (may-be "dead" would be a better 
word, as the computer doesn't answer to ping)


and the only thing I can do is reboot, being after that obliged to 
re-install.


I tried running the screensaver,but the problem remained.

Has anybody a solution?

Thanks in advance

Best regards

Pierre Frenkiel

Hello, the issue you describe is very often hardware specific, so giving 
as many information as possible will increase the possibility to "ring a 
bell" with someone on this list. The most common I have seen are bugs in 
some CPU sleep state, graphic driver that crash and put the graphic 
server in an irrecoverable state and lock up the GPU. Huge memory leak 
in a program can also lead to what you describe, if the kernel oom 
doesn't kick in or does but kills an essential part of the session.


Did you try to look into your system logs at a time right before the freeze?



Re: Some of the parameters used in my genisoimage command don't produce a bootable ISO image

2022-10-17 Thread Thomas Schmitt
Hi,

David Wright wrote:
> they are no longer Debian logos. You
> should give names to your edited files that indicate what they are:
> /your/ images for /your/ derivative. Add them to the archive and
> change the symlinks there.

I found
  https://wiki.debian.org/Derivatives/Guidelines
which Mario Marietto should check.

Naming of files is not mentioned, afaics.
But there is much emphasis on not using "Debian" in the name of the
"business". This demand applies to various software packages and artwork,
too:
  https://wiki.debian.org/Derivatives/Guidelines#De-.2FRe-branding

I wonder whether a preseeded Debian Live ISO constitutes a derived distro
and Mario Marietto's preseeding project qualifies as "business".
The changes of which i know use an official Debian mechanism to shorten
or hardcode the installation process. The Live personality is completely
unchanged, afaik.

So for now the only non-Debian thing is the title
  "BridgeVmOS Debian Custom"
in
  https://ibb.co/GHHDQ3H
It looks like a project name and thus could be regarded as "business".

I wonder whether a title like
  "Debian , preseeded by BridgeVmOS"
would be ok.


Well, before following the Guideline advise
  "Consult the DebianProjectLeader meanwhile on a case-by-case basis"
Mario Marietto should probably list the changes in his ISO towards the
original ISO. I know of:
  - Introducing a preseed file.
  - Changing logo files in the initrd.
  - (Packing up the ISO with xorrisofs options which are equivalent to
 those currently used by Debian Live, as far as boot capabilities are
 concerned. But Debian could move to other layouts for booting.)

Such a list could then be the base of decisions.


Have a nice day :)

Thomas



Re: debian freezing

2022-10-17 Thread DdB
Am 17.10.2022 um 13:05 schrieb Pierre Frenkiel:
> Since I installed Debian11, it happens from time to time (generally when
> I leave the system unattended), that everything freezes:
> 
> keyboard and mouse.
> 
> I found on several blogs some silly recommendations, involving typing
> something. I say "silly" because in that case in I can't do anything:
> 
> neither with the keyboard nor the mouse
> 
> when I say "frozen" it means "frozen" (may-be "dead" would be a better
> word, as the computer doesn't answer to ping)
> 
> and the only thing I can do is reboot, being after that obliged to
> re-install.
> 
> I tried running the screensaver,but the problem remained.
> 
> Has anybody a solution?
> 
> Thanks in advance
> 
> Best regards
> 
> Pierre Frenkiel
> 
> 
Hello Pierre,
your description might feel correct, from the user perspective. But it
is lacking valuable information. I am not a guru (only second year at
using debian), but i am surprised that you feel the urge to reinstall
each time. That removes the traces of the previous problem, which can
quite likely be found in the system logfiles.

So i suggest, you explain a little, why you want to reinstall instead of
just rebooting and logging in, when you would be able to inspect the
system a little further.

As i began with my new computer, i had similar problems. It was somewhat
better after i installed from a DVD with nonfree firmware included. Only
after several months, i discoverd a bad setting in computer setup (BIOS)
that was configured by the vendor for the purpose of making Windows
users happy, was causing MY problems.

What may be your problem could be anything from hard- to software, but i
suggest you have a look at /var/log/syslog and at dmesg while your
computer is running fine. And let us know, what you found.




Re: debian freezing

2022-10-17 Thread The Wanderer
On 2022-10-17 at 07:05, Pierre Frenkiel wrote:

> Since I installed Debian11, it happens from time to time (generally
> when I leave the system unattended), that everything freezes:
> 
> keyboard and mouse.

Do the lights stay on (frozen), or do they go out? Meaning the NumLock /
CapsLock / ScrollLock lights on the keyboard, and the laser underneath
your mouse (assuming you don't have an old-style ball mouse, or a
trackball, or similar).

> I found on several blogs some silly recommendations, involving typing
> something. I say "silly" because in that case in I can't do
> anything:
> 
> neither with the keyboard nor the mouse

At a guess, this "something" might involve the so-called magic SysRq
key?

> when I say "frozen" it means "frozen" (may-be "dead" would be a
> better word, as the computer doesn't answer to ping)
> 
> and the only thing I can do is reboot, being after that obliged to
> re-install.

Wait, reinstall? This was sounding a bit like a state I've managed to
get the system into at various times in the past, where everything's
wedged hard (the lights remain but won't toggle, for example), and a
hard power-cycle was necessary to get out of it - but I was always able
to boot back up and run the system normally afterwards; no reinstall was
required.

What is it you observe which leads you to conclude that a reinstall is
needed at this point?

> I tried running the screensaver,but the problem remained.
> 
> Has anybody a solution?

Not with that little information. The only things I can suggest would be
to find ways of getting more information.

Depending on how the system is configured, there might be copies of the
logs from before the freeze left even after new logs are begun when you
boot up again. Some of them (from X-related logs to the ones holding
dmesg or similar) may be relevant, if you can find them.

If the boot process does wind up blowing away those logs, you may still
be able to get access to them by booting to a live-media environment and
looking at the hard drive from there.

Failing that, you may be able to get some information out by setting up
a process to dump the contents of those logs to another location every
so often in a loop, waiting for the problem to reproduce, and then
checking that location after the next boot.

However, if the problem happens abruptly enough and is a hard-enough
freeze that there's no time for anything to get logged (never mind for
anything to be copied from the logs to another location) before all
processing effectively halts, none of those are likely to help you.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


debian freezing

2022-10-17 Thread Pierre Frenkiel
Since I installed Debian11, it happens from time to time (generally when 
I leave the system unattended), that everything freezes:


keyboard and mouse.

I found on several blogs some silly recommendations, involving typing 
something. I say "silly" because in that case in I can't do anything:


neither with the keyboard nor the mouse

when I say "frozen" it means "frozen" (may-be "dead" would be a better 
word, as the computer doesn't answer to ping)


and the only thing I can do is reboot, being after that obliged to 
re-install.


I tried running the screensaver,but the problem remained.

Has anybody a solution?

Thanks in advance

Best regards

Pierre Frenkiel