Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 42 |
Nodes: | 6 (0 / 6) |
Uptime: | 01:24:56 |
Calls: | 220 |
Calls today: | 1 |
Files: | 824 |
Messages: | 121,522 |
Posted today: | 6 |
It seems I need to use sudo on minicom,
but not for sudo, to access the USB port.
It is annoying but not fatal.
Is there any way to turn off this reqmt?
It seems I need to use sudo on minicom,
but not for sudo, to access the USB port.
It is annoying but not fatal.
Is there any way to turn off this reqmt?
vjp2.at@at.BioStrategist.dot.dot.com writes:
It seems I need to use sudo on minicom,
but not for sudo, to access the USB port.
It is annoying but not fatal.
Is there any way to turn off this reqmt?
On some Linux systems, maybe even typically, permissions are like this
for serial devices:
crw-rw---- 1 root dialout 188, 0 Oct 12 12:07 /dev/ttyUSB0
So it might be all you need to do is add your user to the dialout
group. Then again, /dev/ttyAMA0 on my Raspberry Pi running Ubuntu
doesn't follow this convention, so YMMV.
The Natural Philosopher <tnp@invalid.invalid> wrote:
On 16/10/2024 13:04, Anssi Saari wrote:
On some Linux systems, maybe even typically, permissions are like
this for serial devices:
crw-rw---- 1 root dialout 188, 0 Oct 12 12:07 /dev/ttyUSB0
[ that device does not exist on my installation,
It appears dynamically when you plug in a USB serial device to a USB
port.
On 16/10/2024 13:04, Anssi Saari wrote:
On some Linux systems, maybe even typically, permissions are like
this for serial devices:
crw-rw---- 1 root dialout 188, 0 Oct 12 12:07 /dev/ttyUSB0
[ that device does not exist on my installation,
The Natural Philosopher <tnp@invalid.invalid> wrote:
On 16/10/2024 13:04, Anssi Saari wrote:
On some Linux systems, maybe even typically, permissions are like
this for serial devices:
crw-rw---- 1 root dialout 188, 0 Oct 12 12:07 /dev/ttyUSB0
[ that device does not exist on my installation,
It appears dynamically when you plug in a USB serial device to a USB
port.
On 16/10/2024 13:04, Anssi Saari wrote:
crw-rw---- 1 root dialout 188, 0 Oct 12 12:07 /dev/ttyUSB0
[ that device does not exist on my installation...
On Wed, 16 Oct 2024 19:55:54 +0100, The Natural Philosopher wrote:
On 16/10/2024 13:04, Anssi Saari wrote:
crw-rw---- 1 root dialout 188, 0 Oct 12 12:07 /dev/ttyUSB0
[ that device does not exist on my installation...
Like any USB device, it only exists while the physical hardware is plugged in.
Plugging in the device will create the /dev entry only if the package modemmanager is installed.
On Thu, 17 Oct 2024 00:58:01 -0400, David W. Hodgins wrote:
Plugging in the device will create the /dev entry only if the package
modemmanager is installed.
I don’t have modemmanager installed. I plugged in a USB-serial adapter,
and /dev/ttyUSB0 appeared. It disappeared when I unplugged the adapter.
Lawrence D'Oliveiro <ldo@nz.invalid> writes:
On Thu, 17 Oct 2024 00:58:01 -0400, David W. Hodgins wrote:
Plugging in the device will create the /dev entry only if the package
modemmanager is installed.
I don’t have modemmanager installed. I plugged in a USB-serial adapter,
and /dev/ttyUSB0 appeared. It disappeared when I unplugged the adapter.
Same here, for example the LTE module on my router has five USB-serial interfaces (ttyUSB0-ttyUSB4) and modemmanager isn't installed.
In fact, I think It would be quite odd if modemmanager were required for USB-serial adapter udev rules.
Anssi Saari wrote this copyrighted missive and expects royalties:
Lawrence D'Oliveiro <ldo@nz.invalid> writes:
On Thu, 17 Oct 2024 00:58:01 -0400, David W. Hodgins wrote:
Plugging in the device will create the /dev entry only if the package
modemmanager is installed.
I don’t have modemmanager installed. I plugged in a USB-serial adapter, >>> and /dev/ttyUSB0 appeared. It disappeared when I unplugged the adapter.
Same here, for example the LTE module on my router has five USB-serial
interfaces (ttyUSB0-ttyUSB4) and modemmanager isn't installed.
In fact, I think It would be quite odd if modemmanager were required for
USB-serial adapter udev rules.
I've used USB-to-serial adaptors to connect a laptop to (for example) a Cisco router. No modem manager needed to get /dev/ttyUSB0. Used gtkterm IIRC.
This was years ago.
On Thu, 17 Oct 2024 06:51:12 -0400, Chris Ahlstrom <OFeem1987@teleworm.us> wrote:...
I've used USB-to-serial adaptors to connect a laptop to (for
example) a Cisco router. No modem manager needed to get
/dev/ttyUSB0. Used gtkterm IIRC. This was years ago.
On my system ...
$ grep ttyUSB0 /lib/udev/rules.d/* /lib/udev/rules.d/77-mm-fibocom-port-types.rules:# ttyUSB0 (if #0): QCDM port
/lib/udev/rules.d/77-mm-quectel-port-types.rules:# ttyUSB0 (if #0): QCDM/DIAG port
Those two files are from the modemmanager package.
What package has the ttyUSB0 udev rules on your system?
What package has the ttyUSB0 udev rules on your system?
On Wed, 16 Oct 2024 17:01:13 -0400, Lawrence D'Oliveiro
<ldo@nz.invalid> wrote:
On Wed, 16 Oct 2024 19:55:54 +0100, The Natural Philosopher wrote:
On 16/10/2024 13:04, Anssi Saari wrote:
Plugging in the device will create the /dev entry only if the package modemmanager is installed. That's the package with the udev rules toLike any USB device, it only exists while the physical hardware iscrw-rw---- 1 root dialout 188, 0 Oct 12 12:07 /dev/ttyUSB0[ that device does not exist on my installation...
plugged in.
create /dev/ttyUSB0 devices.