Re: F38 adding user to dialout group without reboot

2023-12-04 Thread Robert Moskowitz



On 12/4/23 17:41, Samuel Sieb wrote:

On 12/4/23 14:38, Robert Moskowitz wrote:
Got port busy at first, then remembered that I improperly terminated 
screen run from sudo.  So actually screen still was running and 
keeping the port busy.  Easiest fix was pulling the usb cable to the 
esp32 and reinserting.


If you're using Arduino IDE with an ESP32, you might want to check out 
https://esphome.io/ instead.


I am using ESP32s3 for drone Remote ID.  Starting with:

https://github.com/jjshoots/RemoteIDSpoofer/tree/master

I then hope to add to this with more "standard" openremoteID code and 
add support for our IETF DRIP work.


And the person I am working with on this uses Arduino IDE...

--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: F38 adding user to dialout group without reboot

2023-12-04 Thread Jose Maria Terry Jimenez via users

El 4/12/23 a las 22:38, Robert Moskowitz escribió:

I have added me to group dialout:

$ groups rgm
rgm : rgm wheel dialout

But I cannot access /dev/ttyUSB0

screen /dev/ttyUSB0 115200

Does not work but:

sudo screen /dev/ttyUSB0 115200

does.

Dr. Google seems to think I need a reboot for this to work.  I have 
too many things running to want to reboot.


Actually I am trying to get the Arduino IDE stuff to work and it wants 
to use the ttyUSB0 and gets permissions denied.


Is rebooting the only option?




Logout and login again must work
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: F38 adding user to dialout group without reboot

2023-12-04 Thread Robert Moskowitz



On 12/4/23 18:14, Samuel Sieb wrote:

On 12/4/23 14:58, Robert Moskowitz wrote:

the download worked.  Last message was

Hard resetting via RTS pin...

and nothing.

I hope I have not bricked it.   Waiting for my colleague that works 
with these things (but on Win) to get back to me.


You basically can't brick an ESP.  You can always flash it again.
Does your S3 have two USB ports?  If so, then one of them should be 
wired to a UART converter.  That one should give you serial output.
This is rather off-topic for the list, but you can email me directly 
if you want.


Thanks for the offer.

My colleague told me just to push the reset.  And it came up, but other 
issues specific to the code.


Having a bit of fun, but I really want this working by tomorrow so I can 
show up at the symposium and be a bit of a trouble maker...


:)
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: [solved] my function keys for sound up and down do not work, brightness does something else

2023-12-04 Thread Jon LaBadie

On Sun, Dec 03, 2023 at 07:41:20AM -0600, Roger Heflin wrote:

On Sun, Dec 3, 2023 at 1:32 AM Frederic Muller  wrote:


On 03/12/2023 14:07, Samuel Sieb wrote:
> On 12/2/23 20:04, Frederic Muller wrote:
>> As the title says some of my functions key do not work or not
>> properly. I checked in keyboard customized shortcuts, media, all are
>> disabled.
>
> I assume only the laptop keyboard has the brightness function. That is
> usually handled completely differently than through the keyboard
> interface.  Check the logs and see if there are any messages when you
> press the brightness keys.


I just had something similar happen to my desktop system.
My keyboard is a Logitech K850 and it has a toggle sequence
to flip from Fn key to their alternative function.  I was
having trouble with application mapped Fn keys and also
the media (volume) alternative functions.

On the K850 keyboard the toggle sequence is .

--
Jon H. LaBadie  jo...@jgcomp.com
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: F38 adding user to dialout group without reboot

2023-12-04 Thread T.C. Hollingsworth
On 12/4/23, Robert Moskowitz  wrote:
> I have added me to group dialout:
>
> $ groups rgm
> rgm : rgm wheel dialout
>
> But I cannot access /dev/ttyUSB0
>
> screen /dev/ttyUSB0 115200
>
> Does not work but:
>
> sudo screen /dev/ttyUSB0 115200
>
> does.
>
> Dr. Google seems to think I need a reboot for this to work.  I have too
> many things running to want to reboot.
>
> Actually I am trying to get the Arduino IDE stuff to work and it wants
> to use the ttyUSB0 and gets permissions denied.
>
> Is rebooting the only option?

You can invoke the `newgrp` command to enable a new group without
logging out or obtaining a new login shell via `sudo` or the like:

$ newgrp dialout

https://linux.die.net/man/1/newgrp
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: F38 adding user to dialout group without reboot

2023-12-04 Thread Jeffrey Walton
On Mon, Dec 4, 2023 at 5:38 PM Robert Moskowitz  wrote:
>
> Working!
>
> Got port busy at first, then remembered that I improperly terminated
> screen run from sudo.  So actually screen still was running and keeping
> the port busy.  Easiest fix was pulling the usb cable to the esp32 and
> reinserting.
>
> Code now downloading.

Be careful if you want exclusive access to the serial port. You have
to take extra steps to ensure others, like ModemManager and other
users, do not open and probe the serial port while you are using it.

Your C code it will look something like this on an open file descriptor:

fd = open(device_path, O_RDWR | O_NOCTTY | O_SYNC);
if (fd == -1) {
log_error("Failed to open device %s: %s\n", device_path,
strerror(errno));
ret = errno;
goto finished;
}

/* Verify the modem is a terminal we can configure and control */
if (!isatty(fd))
{
log_error("Device %s is not a tty\n", device_path);
close(fd); fd = 0;
ret = ENOTTY;
goto finished;
}

/* NetworkManager and ModemManager will try to open our device */
/* on occasion. Set TIOCEXCL to ensure we get exclusive access */
if (ioctl(fd, TIOCEXCL, NULL) == -1) {
log_warn("Failed to set TIOCEXCL on device: %s\n", strerror(errno));
}

Jeff
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: F38 adding user to dialout group without reboot

2023-12-04 Thread Samuel Sieb

On 12/4/23 14:58, Robert Moskowitz wrote:

the download worked.  Last message was

Hard resetting via RTS pin...

and nothing.

I hope I have not bricked it.   Waiting for my colleague that works with 
these things (but on Win) to get back to me.


You basically can't brick an ESP.  You can always flash it again.
Does your S3 have two USB ports?  If so, then one of them should be 
wired to a UART converter.  That one should give you serial output.
This is rather off-topic for the list, but you can email me directly if 
you want.

--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: F38 adding user to dialout group without reboot

2023-12-04 Thread Samuel Sieb

On 12/4/23 14:49, Robert Moskowitz wrote:

On 12/4/23 17:41, Samuel Sieb wrote:

On 12/4/23 14:38, Robert Moskowitz wrote:
Got port busy at first, then remembered that I improperly terminated 
screen run from sudo.  So actually screen still was running and 
keeping the port busy.  Easiest fix was pulling the usb cable to the 
esp32 and reinserting.


If you're using Arduino IDE with an ESP32, you might want to check out 
https://esphome.io/ instead.


I am using ESP32s3 for drone Remote ID.  Starting with:

https://github.com/jjshoots/RemoteIDSpoofer/tree/master

I then hope to add to this with more "standard" openremoteID code and 
add support for our IETF DRIP work.


And the person I am working with on this uses Arduino IDE...


ok, that's for a specific application.  Carry on.  :-)
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: F38 adding user to dialout group without reboot

2023-12-04 Thread Robert Moskowitz

the download worked.  Last message was

Hard resetting via RTS pin...

and nothing.

I hope I have not bricked it.   Waiting for my colleague that works with 
these things (but on Win) to get back to me.




On 12/4/23 17:41, Samuel Sieb wrote:

On 12/4/23 14:38, Robert Moskowitz wrote:
Got port busy at first, then remembered that I improperly terminated 
screen run from sudo.  So actually screen still was running and 
keeping the port busy.  Easiest fix was pulling the usb cable to the 
esp32 and reinserting.


If you're using Arduino IDE with an ESP32, you might want to check out 
https://esphome.io/ instead.

--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/

List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: F38 adding user to dialout group without reboot

2023-12-04 Thread Samuel Sieb

On 12/4/23 14:38, Robert Moskowitz wrote:
Got port busy at first, then remembered that I improperly terminated 
screen run from sudo.  So actually screen still was running and keeping 
the port busy.  Easiest fix was pulling the usb cable to the esp32 and 
reinserting.


If you're using Arduino IDE with an ESP32, you might want to check out 
https://esphome.io/ instead.

--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: F38 adding user to dialout group without reboot

2023-12-04 Thread Robert Moskowitz

Working!

Got port busy at first, then remembered that I improperly terminated 
screen run from sudo.  So actually screen still was running and keeping 
the port busy.  Easiest fix was pulling the usb cable to the esp32 and 
reinserting.


Code now downloading.

thanks!

On 12/4/23 17:28, Chris Adams wrote:

Once upon a time, Robert Moskowitz  said:

I have added me to group dialout:

$ groups rgm
rgm : rgm wheel dialout

But I cannot access /dev/ttyUSB0

screen /dev/ttyUSB0 115200

Does not work but:

sudo screen /dev/ttyUSB0 115200

does.

Dr. Google seems to think I need a reboot for this to work.  I have
too many things running to want to reboot.

No, you don't need to reboot... but you do need to logout (which might
be close to the same thing).  Group modifications are only applied to
new user sessions; you can see this with the "id" command.

For terminal stuff, you can get away with re-authenticating that
terminal, like "exec sudo -su $(id -un)".


--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: F38 adding user to dialout group without reboot

2023-12-04 Thread Robert Moskowitz

I tried:

exec sudo -E -u "$USER" "$SHELL"

No longer no permissions but now

Error opening serial port '/dev/ttyUSB0'. (Port busy)



On 12/4/23 16:38, Robert Moskowitz wrote:

I have added me to group dialout:

$ groups rgm
rgm : rgm wheel dialout

But I cannot access /dev/ttyUSB0

screen /dev/ttyUSB0 115200

Does not work but:

sudo screen /dev/ttyUSB0 115200

does.

Dr. Google seems to think I need a reboot for this to work.  I have 
too many things running to want to reboot.


Actually I am trying to get the Arduino IDE stuff to work and it wants 
to use the ttyUSB0 and gets permissions denied.


Is rebooting the only option?

--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/

List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: F38 adding user to dialout group without reboot

2023-12-04 Thread Chris Adams
Once upon a time, Robert Moskowitz  said:
> I have added me to group dialout:
> 
> $ groups rgm
> rgm : rgm wheel dialout
> 
> But I cannot access /dev/ttyUSB0
> 
> screen /dev/ttyUSB0 115200
> 
> Does not work but:
> 
> sudo screen /dev/ttyUSB0 115200
> 
> does.
> 
> Dr. Google seems to think I need a reboot for this to work.  I have
> too many things running to want to reboot.

No, you don't need to reboot... but you do need to logout (which might
be close to the same thing).  Group modifications are only applied to
new user sessions; you can see this with the "id" command.

For terminal stuff, you can get away with re-authenticating that
terminal, like "exec sudo -su $(id -un)".

-- 
Chris Adams 
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


F38 adding user to dialout group without reboot

2023-12-04 Thread Robert Moskowitz

I have added me to group dialout:

$ groups rgm
rgm : rgm wheel dialout

But I cannot access /dev/ttyUSB0

screen /dev/ttyUSB0 115200

Does not work but:

sudo screen /dev/ttyUSB0 115200

does.

Dr. Google seems to think I need a reboot for this to work.  I have too 
many things running to want to reboot.


Actually I am trying to get the Arduino IDE stuff to work and it wants 
to use the ttyUSB0 and gets permissions denied.


Is rebooting the only option?

--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Login loop in KDE sddm

2023-12-04 Thread Frank Bures
I am having a problem with login page in Fedora39 KDE.

Everything was fine after original installation on a new HW, then in about
two days it stopped working.

When I log in I get black screen for a fraction of a second and then I'm
back in the login screen.  The system behaves the same for my account and
the root account.  I created a new account and it behaves the same as well,
so it must be a system problem - as opposed to user config problem.

Workaround:  Switch to CLI, log in and do "startplasma-wayland".  The
correct plasma desktop for the user appears and is fully functional.

Though the workaround exists, it is still quite annoying.  Any solution
would be greatly appreciated.

Thanks
Frank
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Samsung SSD firmware

2023-12-04 Thread Patrick O'Callaghan
On Mon, 2023-12-04 at 12:17 +0100, Heinz Diehl wrote:
> > "Will or may delete all the data"? WTF does that mean?
> 
> Exactly that.

"Will or may" is not an intelligible statement. If it definitely will,
than say so. If it's not certain that it will, then say that it may.
Saying both is simply nonsense.

poc
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Samsung SSD firmware

2023-12-04 Thread Heinz Diehl
On 03.12.2023, Patrick O'Callaghan wrote: 

> "Will or may delete all the data"? WTF does that mean?

Exactly that.

> I do have backups of my data, but what are the chances I'll have to
> reinstall the system if I do this?

Unfortunately, nobody knows..
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Disabling lockscreen in GNOME for specific apps?

2023-12-04 Thread Tim via users
Tim:
>> Running a game as root?!  Not a good idea!
   

Frederic Muller:
> Well it didn't run either way... hence my question. As I said I thought 
> it would be the executable in a kind of database.

In general, you do everything that affects *you* as your own user. 
Applications, your screensaver settings, etc.

And if you do things as root, they affect the root user's settings,
rather than setting things for all users.  There are exceptions, of
course, but when you think of it that way, first, it helps to avoid
making mistakes.
 
-- 
 
uname -rsvp
Linux 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue