Re: digikam import fails

2022-06-16 Thread tomas
On Thu, Jun 16, 2022 at 08:39:19PM +0100, Brian wrote:

[...]

> Is this the first time you have tried this?
> 
> Go for another 32 times and you could get success :).
> 
> Just a suggestion, in the light of your recent experiences.

This is unnecessarily rude. If you can't cope with how some
folks ask for help here (shit happens! -- it happens to me
too), it'd be better to shut up instead of pouring snark on
others. That'd make this a better place.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: digikam import fails

2022-06-16 Thread tomas
On Thu, Jun 16, 2022 at 03:19:38PM -0400, gene heskett wrote:
> Greetings all;
> 
> I just took a pix of one of my projects to send to a friend, but
> when I had installed digikam to download the pix from my camera,
> going thru the usual steps to access the camera, which it did as
> usual, but when I had selected the pix, and tried o dl it, the album
> selector window was blanked, empty and even when I typed in the
> full path to the desired directory, which has around 20G of pix
> already in /home/gene/Pictures, there was no response to the
> return key aother than the search bar being blacked, the album
> window remains blanked and the ok on the lower right of that
> album window remains ghosted.
> 
> IOW, I cannot download from the camera. How do I go about
> troubleshooting this?

I can't help with Digikam. Usually I just mount the camera
(most of them can pose as USB mass storage these days).

> The shell I ran digikam from is reporting screens full of
> missing this and that despite the installation of digikam
> pulling in:
>  0 upgraded, 261 newly installed, 0 to remove and 0 not upgraded.
> Need to get 273 MB of archives.
> After this operation, 726 MB of additional disk space will be used.
> 
> Then when I run it, there are hundred of missing that and than lines
> spit out in the shell I launched it from.

Perhaps you might get more help if you could specify some of those
"missing that" a bit more closely. I don't know. WRT to digikam,
most probably not from me, because I keep desktop environments at
a safe distance.

> Its obvious to me there are
> more kde dependencies missing, that just the 261 listed.

If you want some kind of help on that, you'd have to put some
effort into making this "obvious" to us. Why is that obvious
to you?

The package manager seems happy, and these days it tends to
get dependencies right most of the time.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: non installed printer can not be removed

2022-06-16 Thread Gareth Evans


Re: virtualbox kernel modules?

2022-06-16 Thread Keith Bainbridge



On 17/6/22 00:08, Boyan Penkov wrote:

On Thu, Jun 16, 2022 at 12:09 AM Keith Bainbridge  wrote:

Cheers!


Good afternoon Boyan

What happened when you installed to 2 suggested items?

Hey Keith -- yes, thanks for the pointer; you're absolutely correct...
Somehow linux-image-headers was not installed on this machine.  Once
it was, cleaned some stuff up, and this problem went away...

Of course, question for the DMs, then -- why not make the headers a
dependency of virtualbox-dkms?

Thanks kindly!


Been there before.

Yes, it should be a required package for VBox. Perhaps we should record 
this where such difficulties go, but I can never remember the list name 
when I want it (like now).


Frankly, it's part of the reason I prefer LinuxMint Debian. A lot more 
user packages are installed by default.



By the bye, it's good form to reply to the list, not just the responder.

--
All the best

Keith Bainbridge

keithrbaugro...@gmail.com



Re: non installed printer can not be removed

2022-06-16 Thread Gareth Evans



> On 17 Jun 2022, at 01:56, Gareth Evans  wrote:
> On Thu 16 Jun 2022, at 22:13, Hans  wrote:
>> Hi folks,
>> 
>> I am struggeling with a little problem, I can not explain. 
>> 
>> A friend of mine uses a printer (Samsung SL-C480FW), which is connected to 
>> the 
>> router with wireless. However, although there are no drivers and no 
>> ppd-files 
>> installed, the printer is seen by cups (and also by system-printer-config) 
>> but 
>> can not be used (think, because the missing ppd-file).
>> 
>> When this is installed, udev-entries and so on are set, then the printer is 
>> seen for example with ipp://192.168.*.*. 
>> 
>> However, printing does not work, although the printer gets data, but then 
>> hangs. I believe, this is a driver problem (because this appeared, since my 
>> friend got a new router (FritzBox).
>> 
>> I hope, for this I will find a solution, so hints are welcome, buut not the 
>> reason for this thread.
>> 
>> Much more I am interested, to know, why I can not delete the printer in CUPS 
>> or system-config-printer? Any printer I add, can be deleted, but the last 
>> entry can not be deleted. 
>> 
>> What is wrong? Why does the kernel see the correct printer, and where does 
>> it 
>> get its information? It is not connected at the USB-port, so no information 
>> could be taken from this.
>> 
>> Any ideas?
>> 
>> Thanks for any help!
>> 
>> Best regards
>> 
>> Hans
> 
> Various sources (but not HP documentation afaics) suggest this printer is 
> airprint-compatible.
> 
> https://www.amazon.co.uk/Samsung-C480FW-Colour-Multifunction-Printer/dp/B010NE2HKI
> 
> https://productz.com/en/samsung-xpress-sl-c480fw/p/wxnG7
> 
> If so, I would suggest "cannot delete" = continuous autodetection.
> 
> What is the output of
> 
> $ driverless
> 
> As for not actually being able to print, I have a problem like that too which 
> has only recently emerged with an airprint printer which worked until 
> recently.
> 
> You might find you can print (as I do) if you add a queue via lpadmin.  
> 
> As helped me recently:
> 
> "# lpinfo -v
> 
> to get a list of URLs (the one starting with ipp:// is the one 
> necessary), and then something like
> 
> # lpadmin -p Brother2740 -v IPP_URL_FROM_ABOVE -E -m everywhere"
> 
> https://lists.debian.org/debian-user/2022/06/msg00212.html
> 

Can anyone with a fax-capable MFP confirm that driverless autodetected printing 
works with CUPS on Debian 11 with the latest stable CUPS version?

My debug-enabled cups error log includes the following, which makes me wonder 
if it's being identified correctly:

Does this suggest it's being detected as (only) a fax?  (Though this relates to 
a queue manually added with system-config-printer as nothing is autodetected)

D [17/Jun/2022:00:47:45 +0100] [Job 36] Resolving \"Brother MFC-L2740DW 
series\", regtype=\"_ipp._tcp\", domain=\"local.\"...
D [17/Jun/2022:00:47:45 +0100] [Notifier] state=3
D [17/Jun/2022:00:47:45 +0100] [Notifier] PrinterStateChanged
D [17/Jun/2022:00:47:45 +0100] [Job 36] Color Manager: Calibration Mode/Off
D [17/Jun/2022:00:47:45 +0100] [Job 36] PID 2953512 
(/usr/lib/cups/filter/bannertopdf) exited with no errors.
D [17/Jun/2022:00:47:45 +0100] [Job 36] Calling 
FindDeviceById(cups-MFC-L2740DW_DLIPP)
D [17/Jun/2022:00:47:45 +0100] [Job 36] Found device 
/org/freedesktop/ColorManager/devices/cups_MFC_L2740DW_DLIPP
D [17/Jun/2022:00:47:45 +0100] [Job 36] Calling 
org.freedesktop.ColorManager.Device.Get(ProfilingInhibitors)
D [17/Jun/2022:00:47:45 +0100] [Job 36] Calling 
FindDeviceById(cups-MFC-L2740DW_DLIPP)
D [17/Jun/2022:00:47:45 +0100] [Job 36] Found device 
/org/freedesktop/ColorManager/devices/cups_MFC_L2740DW_DLIPP
D [17/Jun/2022:00:47:45 +0100] [Job 36] Calling 
GetProfileForQualifiers(Gray.Stationery.600dpi...)
D [17/Jun/2022:00:47:45 +0100] [Job 36] Found profile 
/org/freedesktop/ColorManager/profiles/MFC_L2740DW_DLIPP_Gray__
D [17/Jun/2022:00:47:45 +0100] [Job 36] Calling 
org.freedesktop.ColorManager.Profile.Get(Filename)
D [17/Jun/2022:00:47:45 +0100] [Job 36] Resolved as 
\"ipp://mfcl2740dw.local:631/ipp/faxout\"...

system-config-printer refuses to persist changes to the driver for autodetected 
queues with previous cups versions which do autodetect it, hanging on to the 
version including "...fax, driverless...".

Thanks,
Gareth





Re: [EXTERNAL] Re: Does DEBIAN BullsEye has FIPS package available

2022-06-16 Thread Bijan Soleymani

On 2022-06-15 18:08, Dan Ritter wrote:

Tapas Das wrote:

Dan,

On Redhat Linux, to enable FIPS, FIPS package is available
	 https://access.redhat.com/discussions/3293631 ==> Explains how 
to validate if FIPS is enabled on Redhat Linux


I am looking for something like that, whereby I can install a package 
and enable FIPS on Debian.


No, if this is important to you, your deployment system should
ensure that the  boot system passes fips=1 to the kernel.

I'm not sure why you would need a package for that; it's a
configuration item that only makes sense if you set it at boot
time.


There may be user space components too. I don't know if Debian still 
ships with openssl or another SSL library now but openssl specifically 
can be compiled in some FIPS compatibility mode.


Bijan



Re: digikam import fails

2022-06-16 Thread gene heskett

On 6/16/22 21:23, Roy J. Tellason, Sr. wrote:

On Thursday 16 June 2022 03:19:38 pm gene heskett wrote:

Greetings all;

I just took a pix of one of my projects to send to a friend, but
when I had installed digikam to download the pix from my camera,
going thru the usual steps to access the camera, which it did as
usual, but when I had selected the pix, and tried o dl it, the album
selector window was blanked, empty and even when I typed in the
full path to the desired directory, which has around 20G of pix
already in /home/gene/Pictures, there was no response to the
return key aother than the search bar being blacked, the album
window remains blanked and the ok on the lower right of that
album window remains ghosted.

IOW, I cannot download from the camera. How do I go about
troubleshooting this?

The shell I ran digikam from is reporting screens full of
missing this and that despite the installation of digikam
pulling in:
   0 upgraded, 261 newly installed, 0 to remove and 0 not upgraded.
Need to get 273 MB of archives.
After this operation, 726 MB of additional disk space will be used.

Then when I run it, there are hundred of missing that and than lines
spit out in the shell I launched it from.  Its obvious to me there are
more kde dependencies missing, that just the 261 listed. I've tried to
install some of them by the names reported, but that universally does
not exit. And I'd druther not install the rest of kde, its not stable
for me.

Thanks all.

Cheers, Gene Heskett.

I must be missing something here...

When I plug in my camera to a US port,  it shows up on the desktop,  at which 
point I can mount it.  Then I can access it and copy/move stuff to wherever,  
using mc or whatever utility you like.  Why is some special program needed for 
this?

Probably the desktop Roy, I'm using xfce4.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis



Re: digikam import fails

2022-06-16 Thread Roy J. Tellason, Sr.
On Thursday 16 June 2022 03:19:38 pm gene heskett wrote:
> Greetings all;
> 
> I just took a pix of one of my projects to send to a friend, but
> when I had installed digikam to download the pix from my camera,
> going thru the usual steps to access the camera, which it did as
> usual, but when I had selected the pix, and tried o dl it, the album
> selector window was blanked, empty and even when I typed in the
> full path to the desired directory, which has around 20G of pix
> already in /home/gene/Pictures, there was no response to the
> return key aother than the search bar being blacked, the album
> window remains blanked and the ok on the lower right of that
> album window remains ghosted.
> 
> IOW, I cannot download from the camera. How do I go about
> troubleshooting this?
> 
> The shell I ran digikam from is reporting screens full of
> missing this and that despite the installation of digikam
> pulling in:
>   0 upgraded, 261 newly installed, 0 to remove and 0 not upgraded.
> Need to get 273 MB of archives.
> After this operation, 726 MB of additional disk space will be used.
> 
> Then when I run it, there are hundred of missing that and than lines
> spit out in the shell I launched it from.  Its obvious to me there are
> more kde dependencies missing, that just the 261 listed. I've tried to
> install some of them by the names reported, but that universally does
> not exit. And I'd druther not install the rest of kde, its not stable
> for me.
> 
> Thanks all.
> 
> Cheers, Gene Heskett.

I must be missing something here...

When I plug in my camera to a US port,  it shows up on the desktop,  at which 
point I can mount it.  Then I can access it and copy/move stuff to wherever,  
using mc or whatever utility you like.  Why is some special program needed for 
this?

-- 
Member of the toughest, meanest, deadliest, most unrelenting -- and
ablest -- form of life in this section of space,  a critter that can
be killed but can't be tamed.  --Robert A. Heinlein, "The Puppet Masters"
-
Information is more dangerous than cannon to a society ruled by lies. --James 
M Dakin



Re: digikam import fails

2022-06-16 Thread gene heskett

On 6/16/22 20:49, Fred wrote:

Hi,
I use this in a script called get_photo for downloading:

#!/bin/sh
gphoto2 --auto-detect --skip-existing -P

Best regards,
Fred 

If that worked it would dl 20 gigs of stuff I've already
dl'd and sorted & renamed. I'd be another week sorting it..
I just needed the last pix. And got it off the card with gimp.

Thanks Fred, take care & stay well.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis



Re: non installed printer can not be removed

2022-06-16 Thread Gareth Evans
On Thu 16 Jun 2022, at 22:13, Hans  wrote:
> Hi folks,
>
> I am struggeling with a little problem, I can not explain. 
>
> A friend of mine uses a printer (Samsung SL-C480FW), which is connected to 
> the 
> router with wireless. However, although there are no drivers and no ppd-files 
> installed, the printer is seen by cups (and also by system-printer-config) 
> but 
> can not be used (think, because the missing ppd-file).
>
> When this is installed, udev-entries and so on are set, then the printer is 
> seen for example with ipp://192.168.*.*. 
>
> However, printing does not work, although the printer gets data, but then 
> hangs. I believe, this is a driver problem (because this appeared, since my 
> friend got a new router (FritzBox).
>
> I hope, for this I will find a solution, so hints are welcome, buut not the 
> reason for this thread.
>
> Much more I am interested, to know, why I can not delete the printer in CUPS 
> or system-config-printer? Any printer I add, can be deleted, but the last 
> entry can not be deleted. 
>
> What is wrong? Why does the kernel see the correct printer, and where does it 
> get its information? It is not connected at the USB-port, so no information 
> could be taken from this.
>
> Any ideas?
>
> Thanks for any help!
>
> Best regards
>
> Hans

Various sources (but not HP documentation afaics) suggest this printer is 
airprint-compatible.

https://www.amazon.co.uk/Samsung-C480FW-Colour-Multifunction-Printer/dp/B010NE2HKI

https://productz.com/en/samsung-xpress-sl-c480fw/p/wxnG7

If so, I would suggest "cannot delete" = continuous autodetection.

What is the output of

$ driverless

As for not actually being able to print, I have a problem like that too which 
has only recently emerged with an airprint printer which worked until recently.

You might find you can print (as I do) if you add a queue via lpadmin.  

As helped me recently:

"# lpinfo -v

to get a list of URLs (the one starting with ipp:// is the one 
necessary), and then something like

# lpadmin -p Brother2740 -v IPP_URL_FROM_ABOVE -E -m everywhere"

https://lists.debian.org/debian-user/2022/06/msg00212.html



Re: digikam import fails

2022-06-16 Thread Fred

On 6/16/22 13:23, gene heskett wrote:

On 6/16/22 15:42, mick crane wrote:

On 2022-06-16 20:19, gene heskett wrote:


The shell I ran digikam from is reporting screens full of
missing this and that despite the installation of digikam
pulling in:
 0 upgraded, 261 newly installed, 0 to remove and 0 not upgraded.
Need to get 273 MB of archives.
After this operation, 726 MB of additional disk space will be used.

Then when I run it, there are hundred of missing that and than lines
spit out in the shell I launched it from.


try gphoto2 ?
if camera is on list
http://gphoto.org/proj/libgphoto2/support.php
should you not be able to mount it as a filesystem ?
I like geeqie for viewing images.

mick


I installed it, but:
gene@coyote:~$ sudo apt install gphoto2
[sudo] password for gene:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
   libcdk5nc6
Suggested packages:
   gthumb
The following NEW packages will be installed:
   gphoto2 libcdk5nc6
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 320 kB of archives.
After this operation, 1,341 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://deb.debian.org/debian bullseye/main amd64 libcdk5nc6 amd64 
5.0.20180306-3 [129 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 gphoto2 amd64 
2.5.27-1 [191 kB]

Fetched 320 kB in 0s (858 kB/s)
Selecting previously unselected package libcdk5nc6:amd64.
(Reading database ... 136011 files and directories currently installed.)
Preparing to unpack .../libcdk5nc6_5.0.20180306-3_amd64.deb ...
Unpacking libcdk5nc6:amd64 (5.0.20180306-3) ...
Selecting previously unselected package gphoto2.
Preparing to unpack .../gphoto2_2.5.27-1_amd64.deb ...
Unpacking gphoto2 (2.5.27-1) ...
Setting up libcdk5nc6:amd64 (5.0.20180306-3) ...
Setting up gphoto2 (2.5.27-1) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.31-13+deb11u3) ...
-.-.-.
gene@coyote:~$ gphoto2
Usage: gphoto2 [-?qvalLnPTDR] [-?|--help] [--usage] [--debug]
     [--debug-loglevel=STRING] [--debug-logfile=FILENAME] [-q|--quiet]
     [--hook-script=FILENAME] [--stdout] [--stdout-size] 
[--auto-detect]
     [--show-exif=STRING] [--show-info=STRING] [--summary] 
[--manual] [--about]
     [--storage-info] [--shell] [-v|--version] [--list-cameras] 
[--list-ports]
     [-a|--abilities] [--port=FILENAME] [--speed=SPEED] 
[--camera=MODEL]

     [--usbid=USBIDs] [--config] [--list-config] [--list-all-config]
     [--get-config=STRING] [--set-config=STRING] 
[--set-config-index=STRING]
     [--set-config-value=STRING] [--reset] [--keep] [--keep-raw] 
[--no-keep]

     [--wait-event=COUNT, SECONDS, MILLISECONDS or MATCHSTRING]
     [--wait-event-and-download=COUNT, SECONDS, MILLISECONDS or 
MATCHSTRING]
     [--capture-preview] [--show-preview] [-B|--bulb=SECONDS] 
[-F|--frames=COUNT]

     [-I|--interval=SECONDS] [--reset-interval] [--capture-image]
     [--trigger-capture] [--capture-image-and-download]
     [--capture-movie=COUNT or SECONDS] [--capture-sound]
     [--capture-tethered=COUNT, SECONDS, MILLISECONDS or MATCHSTRING]
     [-l|--list-folders] [-L|--list-files] [-m|--mkdir=DIRNAME]
     [-r|--rmdir=DIRNAME] [-n|--num-files] [-p|--get-file=RANGE]
     [-P|--get-all-files] [-t|--get-thumbnail=RANGE] 
[-T|--get-all-thumbnails]
     [--get-metadata=RANGE] [--get-all-metadata] 
[--upload-metadata=STRING]
     [--get-raw-data=RANGE] [--get-all-raw-data] 
[--get-audio-data=RANGE]
     [--get-all-audio-data] [-d|--delete-file=RANGE] 
[-D|--delete-all-files]
     [-u|--upload-file=FILENAME] [--filename=FILENAME_PATTERN] 
[-f|--folder=FOLDER]
     [-R|--recurse] [--no-recurse] [--new] [--force-overwrite] 
[--skip-existing]

gene@coyote:~$


IOW, that didn't work either if its supposed to be gnomes answer to 
digikam.


Next?
Thanks Mick. Take care and stay well.

.



Cheers, Gene Heskett.

Hi,
I use this in a script called get_photo for downloading:

#!/bin/sh
gphoto2 --auto-detect --skip-existing -P

Best regards,
Fred




Re: digikam import fails

2022-06-16 Thread Frank

On 2022-06-16 16:23, gene heskett wrote:

On 6/16/22 15:42, mick crane wrote:

On 2022-06-16 20:19, gene heskett wrote:


The shell I ran digikam from is reporting screens full of
missing this and that despite the installation of digikam
pulling in:
 0 upgraded, 261 newly installed, 0 to remove and 0 not upgraded.
Need to get 273 MB of archives.
After this operation, 726 MB of additional disk space will be used.

Then when I run it, there are hundred of missing that and than lines
spit out in the shell I launched it from.


try gphoto2 ?
if camera is on list
http://gphoto.org/proj/libgphoto2/support.php
should you not be able to mount it as a filesystem ?
I like geeqie for viewing images.

mick


I installed it, but:
gene@coyote:~$ sudo apt install gphoto2
[sudo] password for gene:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libcdk5nc6
Suggested packages:
  gthumb
The following NEW packages will be installed:
  gphoto2 libcdk5nc6
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 320 kB of archives.
After this operation, 1,341 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://deb.debian.org/debian bullseye/main amd64 libcdk5nc6 
amd64 5.0.20180306-3 [129 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 gphoto2 amd64 
2.5.27-1 [191 kB]

Fetched 320 kB in 0s (858 kB/s)
Selecting previously unselected package libcdk5nc6:amd64.
(Reading database ... 136011 files and directories currently installed.)
Preparing to unpack .../libcdk5nc6_5.0.20180306-3_amd64.deb ...
Unpacking libcdk5nc6:amd64 (5.0.20180306-3) ...
Selecting previously unselected package gphoto2.
Preparing to unpack .../gphoto2_2.5.27-1_amd64.deb ...
Unpacking gphoto2 (2.5.27-1) ...
Setting up libcdk5nc6:amd64 (5.0.20180306-3) ...
Setting up gphoto2 (2.5.27-1) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.31-13+deb11u3) ...
-.-.-.
gene@coyote:~$ gphoto2
Usage: gphoto2 [-?qvalLnPTDR] [-?|--help] [--usage] [--debug]
    [--debug-loglevel=STRING] [--debug-logfile=FILENAME] [-q|--quiet]
    [--hook-script=FILENAME] [--stdout] [--stdout-size] 
[--auto-detect]
    [--show-exif=STRING] [--show-info=STRING] [--summary] 
[--manual] [--about]
    [--storage-info] [--shell] [-v|--version] [--list-cameras] 
[--list-ports]
    [-a|--abilities] [--port=FILENAME] [--speed=SPEED] 
[--camera=MODEL]

    [--usbid=USBIDs] [--config] [--list-config] [--list-all-config]
    [--get-config=STRING] [--set-config=STRING] 
[--set-config-index=STRING]
    [--set-config-value=STRING] [--reset] [--keep] [--keep-raw] 
[--no-keep]

    [--wait-event=COUNT, SECONDS, MILLISECONDS or MATCHSTRING]
    [--wait-event-and-download=COUNT, SECONDS, MILLISECONDS or 
MATCHSTRING]
    [--capture-preview] [--show-preview] [-B|--bulb=SECONDS] 
[-F|--frames=COUNT]

    [-I|--interval=SECONDS] [--reset-interval] [--capture-image]
    [--trigger-capture] [--capture-image-and-download]
    [--capture-movie=COUNT or SECONDS] [--capture-sound]
    [--capture-tethered=COUNT, SECONDS, MILLISECONDS or MATCHSTRING]
    [-l|--list-folders] [-L|--list-files] [-m|--mkdir=DIRNAME]
    [-r|--rmdir=DIRNAME] [-n|--num-files] [-p|--get-file=RANGE]
    [-P|--get-all-files] [-t|--get-thumbnail=RANGE] 
[-T|--get-all-thumbnails]
    [--get-metadata=RANGE] [--get-all-metadata] 
[--upload-metadata=STRING]
    [--get-raw-data=RANGE] [--get-all-raw-data] 
[--get-audio-data=RANGE]
    [--get-all-audio-data] [-d|--delete-file=RANGE] 
[-D|--delete-all-files]
    [-u|--upload-file=FILENAME] [--filename=FILENAME_PATTERN] 
[-f|--folder=FOLDER]
    [-R|--recurse] [--no-recurse] [--new] [--force-overwrite] 
[--skip-existing]

gene@coyote:~$





You've obviously got GThumb installed - it **usually** comes with the 
Gthumb photo import

tool which I suspect uses the GPhoto2 library(s).

Check with apt whether it's a separate download. I use it all the time
except when I am in Mate when the Caja file manager loads up my camera
automatically. Do you have any desktop  like Gnome or Mate ?




Re: digikam import fails [solved workaround]

2022-06-16 Thread gene heskett

On 6/16/22 16:40, mick crane wrote:

On 2022-06-16 21:23, gene heskett wrote:
[...]

Thanks Mick. Take care and stay well.


It's ages since I did anything with cameras.
In the past I've taken the card out and put it in a reader
does "gphoto2 --auto-detect" do anything ?

--list-cameras does not list my Canon SK 420, which is a
pretty decent camera, but under 2 years old.

So I took out the battery and put it in the charger then pulled
the card, found it in gimp, read it in, and smunched most of
the quality away getting it under half a meg in jpeg.  I'd post
it here, but the server would puke all over itself rejecting it.
So until we figure out what digikam is missing this problem
is solved.


mick


it detect a default camera that is gone when I turn it off,
but does not identify it as the Cannon SK420 it is.
whats next then? If it can do a dir, I need the newest pix in it.
But see above, I pulled the card and read it in gimp.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis



Re: How to change lightdm background in bullseye? (additional: weird stat behaviour)

2022-06-16 Thread Lee
On 6/16/22, Christoph K. wrote:
> Hello,
>
>
> Part 1: lightdm background
>
> I've just upgraded to bullseye and would like to change the background of
> the lightdm greeter.
>
> According to ...
> https://wiki.debian.org/LightDM#Change_the_greeter.27s_background
> ... I'm supposed to edit ...
> /etc/lightdm/lightdm-gtk-greeter.conf
>
> ... which I've done ...
>
> [greeter]
> background=/usr/share/xfce4/backdrops/foo.png
> user-background=/usr/share/xfce4/backdrops/foo.png

Do those files exist?  There's no /usr/share/xfce4/backdrops/ on my machine..

This works for me
$ cat lightdm-gtk-greeter.conf
[greeter]
background = /usr/share/desktop-base/spacefun-theme/login/background.svg

  <.. snip ..>

> I'm suspecting my changes in lightdm-gtk-greeter.conf have no effect.

Try installing lightdm-gtk-greeter-settings
I get a lot of error messages but it did change the background for me.


> Part 2: weird stat behaviour (ext4 filesystem)
>
> I'm not too familiar with stat and access times, although I do believe to
> have some understanding of it. But the following confuses me:

Somebody with a lot more knowledge in that area needs to respond, but
wasn't there a setup question about enabling that or no?  .. along the
lines of updating access times requires a disk write every time a file
is accessed, so one can make things faster by not updating the access
time.

Regards,
Lee



non installed printer can not be removed

2022-06-16 Thread Hans
Hi folks,

I am struggeling with a little problem, I can not explain. 

A friend of mine uses a printer (Samsung SL-C480FW), which is connected to the 
router with wireless. However, although there are no drivers and no ppd-files 
installed, the printer is seen by cups (and also by system-printer-config) but 
can not be used (think, because the missing ppd-file).

When this is installed, udev-entries and so on are set, then the printer is 
seen for example with ipp://192.168.*.*. 

However, printing does not work, although the printer gets data, but then 
hangs. I believe, this is a driver problem (because this appeared, since my 
friend got a new router (FritzBox).

I hope, for this I will find a solution, so hints are welcome, buut not the 
reason for this thread.

Much more I am interested, to know, why I can not delete the printer in CUPS 
or system-config-printer? Any printer I add, can be deleted, but the last 
entry can not be deleted. 

What is wrong? Why does the kernel see the correct printer, and where does it 
get its information? It is not connected at the USB-port, so no information 
could be taken from this.

Any ideas?

Thanks for any help!

Best regards

Hans  




Re: digikam import fails

2022-06-16 Thread mick crane

On 2022-06-16 21:23, gene heskett wrote:


gene@coyote:~$ gphoto2
Usage: gphoto2 [-?qvalLnPTDR] [-?|--help] [--usage] [--debug]
    [--debug-loglevel=STRING] [--debug-logfile=FILENAME] 
[-q|--quiet]
    [--hook-script=FILENAME] [--stdout] [--stdout-size] 
[--auto-detect]

    [--show-exif=STRING] [--show-info=STRING] [--summary]
[--manual] [--about]
    [--storage-info] [--shell] [-v|--version] [--list-cameras]
[--list-ports]
    [-a|--abilities] [--port=FILENAME] [--speed=SPEED] 
[--camera=MODEL]

    [--usbid=USBIDs] [--config] [--list-config] [--list-all-config]
    [--get-config=STRING] [--set-config=STRING] 
[--set-config-index=STRING]
    [--set-config-value=STRING] [--reset] [--keep] [--keep-raw] 
[--no-keep]

    [--wait-event=COUNT, SECONDS, MILLISECONDS or MATCHSTRING]
    [--wait-event-and-download=COUNT, SECONDS, MILLISECONDS or 
MATCHSTRING]

    [--capture-preview] [--show-preview] [-B|--bulb=SECONDS]
[-F|--frames=COUNT]
    [-I|--interval=SECONDS] [--reset-interval] [--capture-image]
    [--trigger-capture] [--capture-image-and-download]
    [--capture-movie=COUNT or SECONDS] [--capture-sound]
    [--capture-tethered=COUNT, SECONDS, MILLISECONDS or 
MATCHSTRING]

    [-l|--list-folders] [-L|--list-files] [-m|--mkdir=DIRNAME]
    [-r|--rmdir=DIRNAME] [-n|--num-files] [-p|--get-file=RANGE]
    [-P|--get-all-files] [-t|--get-thumbnail=RANGE]
[-T|--get-all-thumbnails]
    [--get-metadata=RANGE] [--get-all-metadata] 
[--upload-metadata=STRING]
    [--get-raw-data=RANGE] [--get-all-raw-data] 
[--get-audio-data=RANGE]
    [--get-all-audio-data] [-d|--delete-file=RANGE] 
[-D|--delete-all-files]

    [-u|--upload-file=FILENAME] [--filename=FILENAME_PATTERN]
[-f|--folder=FOLDER]
    [-R|--recurse] [--no-recurse] [--new] [--force-overwrite]
[--skip-existing]
gene@coyote:~$


IOW, that didn't work either if its supposed to be gnomes answer to 
digikam.


Next?
Thanks Mick. Take care and stay well.


It's ages since I did anything with cameras.
In the past I've taken the card out and put it in a reader
does "gphoto2 --auto-detect" do anything ?

mick



Re: digikam import fails

2022-06-16 Thread gene heskett

On 6/16/22 15:42, mick crane wrote:

On 2022-06-16 20:19, gene heskett wrote:


The shell I ran digikam from is reporting screens full of
missing this and that despite the installation of digikam
pulling in:
 0 upgraded, 261 newly installed, 0 to remove and 0 not upgraded.
Need to get 273 MB of archives.
After this operation, 726 MB of additional disk space will be used.

Then when I run it, there are hundred of missing that and than lines
spit out in the shell I launched it from.


try gphoto2 ?
if camera is on list
http://gphoto.org/proj/libgphoto2/support.php
should you not be able to mount it as a filesystem ?
I like geeqie for viewing images.

mick


I installed it, but:
gene@coyote:~$ sudo apt install gphoto2
[sudo] password for gene:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libcdk5nc6
Suggested packages:
  gthumb
The following NEW packages will be installed:
  gphoto2 libcdk5nc6
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 320 kB of archives.
After this operation, 1,341 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://deb.debian.org/debian bullseye/main amd64 libcdk5nc6 amd64 
5.0.20180306-3 [129 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 gphoto2 amd64 
2.5.27-1 [191 kB]

Fetched 320 kB in 0s (858 kB/s)
Selecting previously unselected package libcdk5nc6:amd64.
(Reading database ... 136011 files and directories currently installed.)
Preparing to unpack .../libcdk5nc6_5.0.20180306-3_amd64.deb ...
Unpacking libcdk5nc6:amd64 (5.0.20180306-3) ...
Selecting previously unselected package gphoto2.
Preparing to unpack .../gphoto2_2.5.27-1_amd64.deb ...
Unpacking gphoto2 (2.5.27-1) ...
Setting up libcdk5nc6:amd64 (5.0.20180306-3) ...
Setting up gphoto2 (2.5.27-1) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.31-13+deb11u3) ...
-.-.-.
gene@coyote:~$ gphoto2
Usage: gphoto2 [-?qvalLnPTDR] [-?|--help] [--usage] [--debug]
    [--debug-loglevel=STRING] [--debug-logfile=FILENAME] [-q|--quiet]
    [--hook-script=FILENAME] [--stdout] [--stdout-size] [--auto-detect]
    [--show-exif=STRING] [--show-info=STRING] [--summary] 
[--manual] [--about]
    [--storage-info] [--shell] [-v|--version] [--list-cameras] 
[--list-ports]

    [-a|--abilities] [--port=FILENAME] [--speed=SPEED] [--camera=MODEL]
    [--usbid=USBIDs] [--config] [--list-config] [--list-all-config]
    [--get-config=STRING] [--set-config=STRING] 
[--set-config-index=STRING]
    [--set-config-value=STRING] [--reset] [--keep] [--keep-raw] 
[--no-keep]

    [--wait-event=COUNT, SECONDS, MILLISECONDS or MATCHSTRING]
    [--wait-event-and-download=COUNT, SECONDS, MILLISECONDS or 
MATCHSTRING]
    [--capture-preview] [--show-preview] [-B|--bulb=SECONDS] 
[-F|--frames=COUNT]

    [-I|--interval=SECONDS] [--reset-interval] [--capture-image]
    [--trigger-capture] [--capture-image-and-download]
    [--capture-movie=COUNT or SECONDS] [--capture-sound]
    [--capture-tethered=COUNT, SECONDS, MILLISECONDS or MATCHSTRING]
    [-l|--list-folders] [-L|--list-files] [-m|--mkdir=DIRNAME]
    [-r|--rmdir=DIRNAME] [-n|--num-files] [-p|--get-file=RANGE]
    [-P|--get-all-files] [-t|--get-thumbnail=RANGE] 
[-T|--get-all-thumbnails]
    [--get-metadata=RANGE] [--get-all-metadata] 
[--upload-metadata=STRING]
    [--get-raw-data=RANGE] [--get-all-raw-data] 
[--get-audio-data=RANGE]
    [--get-all-audio-data] [-d|--delete-file=RANGE] 
[-D|--delete-all-files]
    [-u|--upload-file=FILENAME] [--filename=FILENAME_PATTERN] 
[-f|--folder=FOLDER]
    [-R|--recurse] [--no-recurse] [--new] [--force-overwrite] 
[--skip-existing]

gene@coyote:~$


IOW, that didn't work either if its supposed to be gnomes answer to digikam.

Next?
Thanks Mick. Take care and stay well.

.



Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis



Re: digikam import fails

2022-06-16 Thread Brian
On Thu 16 Jun 2022 at 20:39:55 +0100, mick crane wrote:

> On 2022-06-16 20:19, gene heskett wrote:
> 
> > The shell I ran digikam from is reporting screens full of
> > missing this and that despite the installation of digikam
> > pulling in:
> >  0 upgraded, 261 newly installed, 0 to remove and 0 not upgraded.
> > Need to get 273 MB of archives.
> > After this operation, 726 MB of additional disk space will be used.
> > 
> > Then when I run it, there are hundred of missing that and than lines
> > spit out in the shell I launched it from.
> 
> try gphoto2 ?

The OP wants to use digikam. You have no advice on that?

> if camera is on list
> http://gphoto.org/proj/libgphoto2/support.php
> should you not be able to mount it as a filesystem ?

> I like geeqie for viewing images.

That really nice to know. It sorts out the digikam issue?

-- 
Brian.



Re: digikam import fails

2022-06-16 Thread mick crane

On 2022-06-16 20:19, gene heskett wrote:


The shell I ran digikam from is reporting screens full of
missing this and that despite the installation of digikam
pulling in:
 0 upgraded, 261 newly installed, 0 to remove and 0 not upgraded.
Need to get 273 MB of archives.
After this operation, 726 MB of additional disk space will be used.

Then when I run it, there are hundred of missing that and than lines
spit out in the shell I launched it from.


try gphoto2 ?
if camera is on list
http://gphoto.org/proj/libgphoto2/support.php
should you not be able to mount it as a filesystem ?
I like geeqie for viewing images.

mick



Re: digikam import fails

2022-06-16 Thread Brian
On Thu 16 Jun 2022 at 15:19:38 -0400, gene heskett wrote:

> Greetings all;
> 
> I just took a pix of one of my projects to send to a friend, but
> when I had installed digikam to download the pix from my camera,
> going thru the usual steps to access the camera, which it did as
> usual, but when I had selected the pix, and tried o dl it, the album
> selector window was blanked, empty and even when I typed in the
> full path to the desired directory, which has around 20G of pix
> already in /home/gene/Pictures, there was no response to the
> return key aother than the search bar being blacked, the album
> window remains blanked and the ok on the lower right of that
> album window remains ghosted.
> 
> IOW, I cannot download from the camera. How do I go about
> troubleshooting this?
> 
> The shell I ran digikam from is reporting screens full of
> missing this and that despite the installation of digikam
> pulling in:
>  0 upgraded, 261 newly installed, 0 to remove and 0 not upgraded.
> Need to get 273 MB of archives.
> After this operation, 726 MB of additional disk space will be used.
> 
> Then when I run it, there are hundred of missing that and than lines
> spit out in the shell I launched it from.  Its obvious to me there are
> more kde dependencies missing, that just the 261 listed. I've tried to
> install some of them by the names reported, but that universally does
> not exit. And I'd druther not install the rest of kde, its not stable
> for me.

Is this the first time you have tried this?

Go for another 32 times and you could get success :).

Just a suggestion, in the light of your recent experiences.

-- 
Brian.



Re: Epson printer page counting error

2022-06-16 Thread Brian
On Thu 16 Jun 2022 at 13:39:13 +0100, mick crane wrote:

> On 2022-06-16 13:31, Brian wrote:
> 
> > Believe it or believe it not, there are other rechniques to set up a
> > print queue :).
> 
> are these "rechniques" similar to the destructions ?

That is an interesting concept to explore. Let us leave it for another
time.

Meanwhile, we await the OP's provision of information to resolve his
issue without idulging in guessing.

-- 
Brian.



digikam import fails

2022-06-16 Thread gene heskett

Greetings all;

I just took a pix of one of my projects to send to a friend, but
when I had installed digikam to download the pix from my camera,
going thru the usual steps to access the camera, which it did as
usual, but when I had selected the pix, and tried o dl it, the album
selector window was blanked, empty and even when I typed in the
full path to the desired directory, which has around 20G of pix
already in /home/gene/Pictures, there was no response to the
return key aother than the search bar being blacked, the album
window remains blanked and the ok on the lower right of that
album window remains ghosted.

IOW, I cannot download from the camera. How do I go about
troubleshooting this?

The shell I ran digikam from is reporting screens full of
missing this and that despite the installation of digikam
pulling in:
 0 upgraded, 261 newly installed, 0 to remove and 0 not upgraded.
Need to get 273 MB of archives.
After this operation, 726 MB of additional disk space will be used.

Then when I run it, there are hundred of missing that and than lines
spit out in the shell I launched it from.  Its obvious to me there are
more kde dependencies missing, that just the 261 listed. I've tried to
install some of them by the names reported, but that universally does
not exit. And I'd druther not install the rest of kde, its not stable
for me.

Thanks all.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis



Re: user perms

2022-06-16 Thread David Wright
On Thu 16 Jun 2022 at 12:22:48 (+0300), Anssi Saari wrote:
> David Wright  writes:
> 
> > As it happens, I find I have (but don't use):
> 
> > $ grep -i ttyusb /lib/udev/rules.d/*
> 
> I actually found this in 50-udev-default.rules:
> 
> KERNEL=="tty[A-Z]*[0-9]|ttymxc[0-9]*|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*",
>  GROUP="dialout"
> 
> So that should set the group for ttySx and ttyUSBx also to dialout and
> in fact I see exactly that happening in my Debian 11 router which has
> devices ttyS0-ttyS3 and ttyUSB0-ttyUSB4:
> 
> $ ls -l /dev/ttyUSB* /dev/ttyS*
> crw-rw 1 root dialout   4, 64 Jun 13 12:12 /dev/ttyS0
> crw-rw 1 root dialout   4, 65 Jun 13 12:12 /dev/ttyS1
> crw-rw 1 root dialout   4, 66 Jun 13 12:12 /dev/ttyS2
> crw-rw 1 root dialout   4, 67 Jun 13 12:12 /dev/ttyS3
> crw-rw 1 root dialout 188,  0 Jun 13 12:12 /dev/ttyUSB0
> crw-rw 1 root dialout 188,  1 Jun 13 12:12 /dev/ttyUSB1
> crw-rw 1 root dialout 188,  2 Jun 13 12:12 /dev/ttyUSB2
> crw-rw 1 root dialout 188,  3 Jun 13 12:12 /dev/ttyUSB3
> crw-rw 1 root dialout 188,  4 Jun 13 12:12 /dev/ttyUSB4
> 
> I didn't find a rule which sets the perms for these to 0660 but
> something does that for me.
> 
> This rule comes with the udev package itself so it should be always
> installed in a Debian installation.
> 
> Still, it seems for Gene these are overwritten somehow but I don't know
> why or how. I have exactly one USB-to-serial cable I can try to plug in
> and see what happens. However it's a CP210x and I think Gene's stuff is
> FTDI.

I don't have any of these devices, so the closest I can manage is a
mouse that keeps disconnecting and reconnecting every few minutes,
which means it loses its acceleration settings.

I've run

$ udevadm monitor -k -p

and

$ udevadm monitor -u -p

in two xterms, dumping the output to files, and I've kept a copy of
the corresponding kern.log to match up with them. I need to find
time to peruse it all.

I was going to suggest to Gene to run these commands, to see where
the serial numbers of his two devices are given, and which attribute
gives them, as Gene plugs the devices into the ports.

If you have /lib/udev/rules.d/60-serial.rules, which runs after the
above, you can see some more specific rules for ttyUSB[0-9]* devices.
I need to read up on what IMPORT{builtin}="usb_id" does, as that's
a udev rule that I've not used before.

(Actually, /I/ need to read up on stuff like
IMPORT{builtin}="hwdb 
'mouse:$env{ID_BUS}:v$attr{id/vendor}p$attr{id/product}:name:$attr{nam
e}:'", …
whatever that does, from 70-mouse.rules.)

But it looks as if a file /etc/udev/rules.d/60-serial.rules
could be coerced into creating symlinks called /dev/
for each device (solves the "swapping" problem), and setting
the group/permissions for the ttyUSBn itself. Of course, we
don't know what permissions /do/ work yet, from Gene's posts.

Gene needs to copy that file, and add a simple rule to do something,
anything, to check it works, like touching a file or creating a
symlink (named with a timestamp). Gene might get a feel for how udev
operates, by doing something simple like that.

Cheers,
David.



Re: user perms

2022-06-16 Thread gene heskett

On 6/16/22 05:25, Anssi Saari wrote:

David Wright  writes:


As it happens, I find I have (but don't use):
$ grep -i ttyusb /lib/udev/rules.d/*

I actually found this in 50-udev-default.rules:

KERNEL=="tty[A-Z]*[0-9]|ttymxc[0-9]*|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*", 
GROUP="dialout"

So that should set the group for ttySx and ttyUSBx also to dialout and
in fact I see exactly that happening in my Debian 11 router which has
devices ttyS0-ttyS3 and ttyUSB0-ttyUSB4:

$ ls -l /dev/ttyUSB* /dev/ttyS*
crw-rw 1 root dialout   4, 64 Jun 13 12:12 /dev/ttyS0
crw-rw 1 root dialout   4, 65 Jun 13 12:12 /dev/ttyS1
crw-rw 1 root dialout   4, 66 Jun 13 12:12 /dev/ttyS2
crw-rw 1 root dialout   4, 67 Jun 13 12:12 /dev/ttyS3
crw-rw 1 root dialout 188,  0 Jun 13 12:12 /dev/ttyUSB0
crw-rw 1 root dialout 188,  1 Jun 13 12:12 /dev/ttyUSB1
crw-rw 1 root dialout 188,  2 Jun 13 12:12 /dev/ttyUSB2
crw-rw 1 root dialout 188,  3 Jun 13 12:12 /dev/ttyUSB3
crw-rw 1 root dialout 188,  4 Jun 13 12:12 /dev/ttyUSB4

I didn't find a rule which sets the perms for these to 0660 but
something does that for me.

This rule comes with the udev package itself so it should be always
installed in a Debian installation.

Still, it seems for Gene these are overwritten somehow but I don't know
why or how. I have exactly one USB-to-serial cable I can try to plug in
and see what happens. However it's a CP210x and I think Gene's stuff is

>FTDI

Yes, I had so much trouble with prolific crap I eventually threrw it away.

$40 1998 dollars for junk. At Radio Shack of course. :(
And I wish someone could tell me how to fix tbirds busted quoting, I wrote
what starts with "yes" above and "I" CANNOT remove the quoting that 
looks like
Anssi Saari wrote it. tbird is buggier than 10 day old road kill in 
August! I

just did fix it, but extensive keyboard calisthentics were required.

Thanks Anssi Saari, take care & stay well.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis



Re: user perms

2022-06-16 Thread gene heskett

On 6/16/22 03:58, Anssi Saari wrote:

gene heskett  writes:


now my additional reply is munged, backspaces or Del's will not "take"
What the heck is this vertical bar it uses for a quote level, whats wrong
with > >> etc for quote indicators? There's a button containing an A
overlaid by a graphical double square as the last line above the window
that claims to "remove text styling" but it does nothing. Under options
->delivery format, plain text is checked, but obviously its still sending
and rendering what I see as HTML. That's not the end of the bug list

Just a note, in my end your post is just text:
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Not HTML, not multipart/alternative with one part text and one HTML. I
don't know if there's any filtering in-between, I read this list via
Gmane's NNTP server.


This install feels good yet, but at 36 hours uptime, I've used
half the typical uptime I've managed in 30 previous installs.
I have had to replace some memory, but now memtest can't
be found, I guess because it is a 16 bit build, and can't be
changed. But it ran ON THIS 6 core i5, probably 8 or 9 times
pre bullseye.

Debian 11 packages memtest86 and memtest86+ in the main repository with
those package names exactly. Those are quite old and if you managed a
UEFI installation they aren't bootable.


So what replaces it? From the thread about its MIA status, I
am not the only one wanting it or a 64 bit substitute back
on the grub menu.

I have a $100 bill for the talented coder who brings that
or a new 64 bit from scratch version back.

The commercial memtest86 v9 Pro from Passmark goes for $44 today. They
have a free edition too with limited features.

I now have that one installed on an sd card in a reader, works fine.
I rebooted, found it in the bios, and ran it one pass, no errors.

It does not!! That's what I'm screaming about.
It sets the perms so only root can use them. I just
plugged at least one of them in:
root@coyote:/lib/udev/rules.d# ls -l /dev/ttyUSB*
crw-rw 1 root dialout 188, 0 Jun 15 05:31 /dev/ttyUSB0

020660. The common user can't touch it. So what IS
the "approved fix" so the user CAN use it? A fix that
will actually survive a reboot.  That's the question
asked that every reply so far has ignored.

I've looked into this and I have a draft of another post about that but
basically it looks like it'll amount to just "I don't know why" and "it
works for me." I need to test a few things though.

A rude hack to fix the permissions would be to setup /etc/rc.local and
do your chgrps and/or chmods in there. Instructions at

https://blog.wijman.net/enable-rc-local-in-debian-bullseye/ for example.

I just did all that, so now I have an /etc/rc.local but not an rc-local
but he changes from rc.local to rc-local in the middle. confusing.

So which is it. I originally created an rc.local, changed it to 
rc-local, and back with mv.

But a
root@coyote:/etc# systemctl status rc-local
● rc-local.service - /etc/rc.local Compatibility
 Loaded: loaded (/lib/systemd/system/rc-local.service; 
enabled-runtime; vendor preset: enabled)

    Drop-In: /usr/lib/systemd/system/rc-local.service.d
 └─debian.conf
 Active: active (exited) since Thu 2022-06-16 07:50:14 EDT; 19min ago
   Docs: man:systemd-rc-local-generator(8)
    Process: 49522 ExecStart=/etc/rc.local start (code=exited, 
status=0/SUCCESS)

    CPU: 764us

Jun 16 07:50:14 coyote systemd[1]: Starting /etc/rc.local Compatibility...
Jun 16 07:50:14 coyote systemd[1]: Started /etc/rc.local Compatibility.

Which looks good. So now I put what I want in which file? in this rc.local?
or do I create an rc-local and put the needed chowns, chgrps chmods in
yet another new file?

What I have done is unplugged them in order to delete the /dev entries,
so an ls -l /dev/ttyUSB* returns this:
ls: cannot access '/dev/ttyUSB*': No such file or directory

Then I plugged  them back in, getting this for an ls -l /dev/ttyUSB*
root@coyote:/etc# ls -l /dev/ttyUSB*
crw-rw 1 root dialout 188, 0 Jun 16 08:18 /dev/ttyUSB0
crw-rw 1 root dialout 188, 1 Jun 16 08:18 /dev/ttyUSB1

Now, I'm not aware of who heyu runs as, probably gene since I'm the
one running it and there is no user heyu.

Now, 2 new questions:

So what do I put in this rc.local to allow me, gene, to use /dev/ttyUSB0,
which has the cm11a on the other side of an fdti adaptor?

Then:
root@coyote:/etc# grep nut group
nut:x:122:
root@coyote:/etc# grep nut passwd
nut:x:115:122::/var/lib/nut:/usr/sbin/nologin

So what do I put in this rc.local to enable nut to use /dev/ttyUSB1, 
which is

an APC 1500 UPS.

Both are returning no perms errors now
gene@coyote:~$ heyu info
starting heyu_relay
HEYU: Can't open tty line.  Check the permissions.
and as root:
root@coyote:/dev# /etc/init.d/nut-server start
Starting nut-server (via systemctl): nut-server.service.
root@coyote:/dev# /etc/init.d/nut-client start
Starting nut-clien

Re: Epson printer page counting error

2022-06-16 Thread mick crane

On 2022-06-16 13:31, Brian wrote:


Believe it or believe it not, there are other rechniques to set up a
print queue :).


are these "rechniques" similar to the destructions ?

mick



Re: Epson printer page counting error

2022-06-16 Thread Brian
On Wed 15 Jun 2022 at 13:45:14 -0700, Gary L. Roach wrote:

> localhost:631 brings up a web page that lists most all manufacturers and
> models. The process is the same for all cups print drivers. Using that is
> what I meant as "as usual". I've never used anything else. I don't thing
> anyone else does either.

Believe it or believe it not, there are other rechniques to set up a
print queue :).

A bullseye installation is assumed. What application was used to print?
A USB connection or wireless? Please give

 lpstat -l -e
 lpstat -t
 lpoptions -p PRINT_QUEUE_NAME

-- 
Brian.



Re: Frozen mouse and keyboard

2022-06-16 Thread mick crane

On 2022-06-15 09:21, Mick Ab wrote:
I have a fairly new desktop PC running Debian 11. Recently there have 
been

a few occasions when the PC has failed to
be woken up in the morning after being left overnight. The mouse and
keyboard are frozen. Sometimes the monitor appears to be off and on
one occasion it was on.


I have had a separate issue which I think might be the monitor power 
saver communicating with PC.
If I turn off the monitor but leave PC on monitor will not wake up when 
turned back on.
disconnecting the power supply to the monitor and plugging back in 
resolves that.
It used to be that the monitor would not turn back on after going in 
standby mode so I have deselected all power savers in monitor menu.

so rather than hard setting the PC, try power cycle the monitor

mick



How to change lightdm background in bullseye? (additional: weird stat behaviour)

2022-06-16 Thread Christoph K.
Hello,


Part 1: lightdm background

I've just upgraded to bullseye and would like to change the background of
the lightdm greeter.

According to ...
https://wiki.debian.org/LightDM#Change_the_greeter.27s_background
... I'm supposed to edit ...
/etc/lightdm/lightdm-gtk-greeter.conf

... which I've done ...

[greeter]
background=/usr/share/xfce4/backdrops/foo.png
user-background=/usr/share/xfce4/backdrops/foo.png

... with no success. Background sticks to dark blue image with debian
artwork.

Before, I had already tried to get a language selector in lightdm by
changing the indicators:

indicators=~host;~spacer;~session;~language;ally;~clock;~power

But lightdm doesn't show a language selector.

I'm suspecting my changes in lightdm-gtk-greeter.conf have no effect.


Question 1:
How do I properly change the lightdm background image?


Question 2:
Is lightdm-gtk-greeter.conf the right place to configure the lightdm
greeter in bullseye?



Part 2: weird stat behaviour (ext4 filesystem)

I'm not too familiar with stat and access times, although I do believe to
have some understanding of it. But the following confuses me:

The question related to lightdm was: Is the file
/etc/lightdm/lightdm-gtk-greeter.conf
actually read by lightdm?
To find out I edited the file and restartet lightdm. "stat" didn't show
any access to the file so I did a system reboot because I suspected the
missing access change was due to caching.

But after the reboot the file still had the old access time!
(I removed addional output of the stat command):

/etc/lightdm$ date
Do 16. Jun 11:11:05 CEST 2022
/etc/lightdm$ stat lightdm-gtk-greeter.conf 
 Datei: lightdm-gtk-greeter.conf
Zugriff: 2022-06-16 10:43:18.769291459 +0200

FYI: "Zugriff" is access time in german

Reboot was at 10:45,
access time is 10:43.

Is it correct to conclude that the file has not been read during bootup?
Or am I overlooking something?


To further elaborate I did another test on a test.txt file.
Procedure:
1. touch test.txt
2. stat test.txt -> correct access time from touch
3. cat test.txt
4. stat test.txt -> access time changed due to cat - fine
5. cat test.txt
6. stat test.txt -> still the same access time as in step 4 - caching?
7. reboot
8. cat test.txt
9. stat test.txt -> STILL the same access time as in step 4 - WTF?

Expectations:
1) After a reboot there is no cache to read from.
2) The cat command accesses the file.
3) Stat shows the time of "cat" in the access time stamp.

But 3) does not happen. More precisely: It only happens sometimes.


Question 3:
Could someone please explain to me what's going on here with stat?


Thanks,
Christoph



Re: user perms

2022-06-16 Thread Anssi Saari
David Wright  writes:

> As it happens, I find I have (but don't use):

> $ grep -i ttyusb /lib/udev/rules.d/*

I actually found this in 50-udev-default.rules:

KERNEL=="tty[A-Z]*[0-9]|ttymxc[0-9]*|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*",
 GROUP="dialout"

So that should set the group for ttySx and ttyUSBx also to dialout and
in fact I see exactly that happening in my Debian 11 router which has
devices ttyS0-ttyS3 and ttyUSB0-ttyUSB4:

$ ls -l /dev/ttyUSB* /dev/ttyS*
crw-rw 1 root dialout   4, 64 Jun 13 12:12 /dev/ttyS0
crw-rw 1 root dialout   4, 65 Jun 13 12:12 /dev/ttyS1
crw-rw 1 root dialout   4, 66 Jun 13 12:12 /dev/ttyS2
crw-rw 1 root dialout   4, 67 Jun 13 12:12 /dev/ttyS3
crw-rw 1 root dialout 188,  0 Jun 13 12:12 /dev/ttyUSB0
crw-rw 1 root dialout 188,  1 Jun 13 12:12 /dev/ttyUSB1
crw-rw 1 root dialout 188,  2 Jun 13 12:12 /dev/ttyUSB2
crw-rw 1 root dialout 188,  3 Jun 13 12:12 /dev/ttyUSB3
crw-rw 1 root dialout 188,  4 Jun 13 12:12 /dev/ttyUSB4

I didn't find a rule which sets the perms for these to 0660 but
something does that for me.

This rule comes with the udev package itself so it should be always
installed in a Debian installation.

Still, it seems for Gene these are overwritten somehow but I don't know
why or how. I have exactly one USB-to-serial cable I can try to plug in
and see what happens. However it's a CP210x and I think Gene's stuff is
FTDI.



Re: user perms

2022-06-16 Thread Anssi Saari
gene heskett  writes:

> now my additional reply is munged, backspaces or Del's will not "take"
> What the heck is this vertical bar it uses for a quote level, whats wrong
> with > >> etc for quote indicators? There's a button containing an A
> overlaid by a graphical double square as the last line above the window
> that claims to "remove text styling" but it does nothing. Under options
> ->delivery format, plain text is checked, but obviously its still sending
> and rendering what I see as HTML. That's not the end of the bug list

Just a note, in my end your post is just text:
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Not HTML, not multipart/alternative with one part text and one HTML. I
don't know if there's any filtering in-between, I read this list via
Gmane's NNTP server.

> This install feels good yet, but at 36 hours uptime, I've used
> half the typical uptime I've managed in 30 previous installs.
> I have had to replace some memory, but now memtest can't
> be found, I guess because it is a 16 bit build, and can't be
> changed. But it ran ON THIS 6 core i5, probably 8 or 9 times
> pre bullseye.

Debian 11 packages memtest86 and memtest86+ in the main repository with
those package names exactly. Those are quite old and if you managed a
UEFI installation they aren't bootable.

> So what replaces it? From the thread about its MIA status, I
> am not the only one wanting it or a 64 bit substitute back
> on the grub menu.
>
> I have a $100 bill for the talented coder who brings that
> or a new 64 bit from scratch version back.

The commercial memtest86 v9 Pro from Passmark goes for $44 today. They
have a free edition too with limited features.

> It does not!! That's what I'm screaming about.
> It sets the perms so only root can use them. I just
> plugged at least one of them in:
> root@coyote:/lib/udev/rules.d# ls -l /dev/ttyUSB*
> crw-rw 1 root dialout 188, 0 Jun 15 05:31 /dev/ttyUSB0
>
> 020660. The common user can't touch it. So what IS
> the "approved fix" so the user CAN use it? A fix that
> will actually survive a reboot.  That's the question
> asked that every reply so far has ignored.

I've looked into this and I have a draft of another post about that but
basically it looks like it'll amount to just "I don't know why" and "it
works for me." I need to test a few things though.

A rude hack to fix the permissions would be to setup /etc/rc.local and
do your chgrps and/or chmods in there. Instructions at

https://blog.wijman.net/enable-rc-local-in-debian-bullseye/ for example.