device is currently in use by another program.
Hi, looks like my modem can not be initialized after update from leap 15.3 to 15.4. The machine is running hylafax+ since ages.... southpole: # faxaddmodem Serial port that modem is connected to []? ttyS0 Sorry, the device is currently in use by another program. There seem to be no open handles on /dev/ttyS0: southpole: # lsof | grep ttyS0 lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. access rights seem to be OK as well: southpole: # dir /dev/ttyS0 crw-rw-rw- 1 uucp dialout 4, 64 13. Jul 15:58 /dev/ttyS0 And no processes that access ttyS0 southpole:~ # ps -ef | grep ttyS0 root 8640 3388 0 16:11 pts/0 00:00:00 grep --color=auto ttyS0 I'm a bit stuck - any idea where to look? Thanks Axel
On 13/07/2022 16.13, Axel Braun wrote:
Hi,
looks like my modem can not be initialized after update from leap 15.3 to 15.4. The machine is running hylafax+ since ages....
southpole: # faxaddmodem Serial port that modem is connected to []? ttyS0 Sorry, the device is currently in use by another program.
There seem to be no open handles on /dev/ttyS0: southpole: # lsof | grep ttyS0 lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete.
access rights seem to be OK as well: southpole: # dir /dev/ttyS0 crw-rw-rw- 1 uucp dialout 4, 64 13. Jul 15:58 /dev/ttyS0
The user that the process runs as should belong to dialout group, but perhaps it runs as root? I think the error message indicates there is a stale lock file for the device, somewhere. -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.3 (Legolas))
On 13. 07. 22, 16:13, Axel Braun wrote:
Hi,
looks like my modem can not be initialized after update from leap 15.3 to 15.4. The machine is running hylafax+ since ages....
southpole: # faxaddmodem Serial port that modem is connected to []? ttyS0 Sorry, the device is currently in use by another program.
Maybe use strace on the above to see what actually fails? regards, -- js suse labs
Am Mittwoch, 13. Juli 2022, 16:13:29 CEST schrieb Axel Braun:
looks like my modem can not be initialized after update from leap 15.3 to 15.4. The machine is running hylafax+ since ages....
I'm almost embarrassed to say that, but the reason was not software (obviously just a coincidence with the upgrade), but hardware....the cable got plugged- out somehow at the PC. Yes, I should have looked at it first...but it did not come into my mind instantly. Sorry for the noise Axel
participants (4)
-
Axel Braun
-
Axel Braun
-
Carlos E. R.
-
Jiri Slaby