public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: "TonicLab.ru" <info@toniclab.ru>
Cc: linux-usb@vger.kernel.org
Subject: Re: /dev/ttyUSB0 file disappears on Ubuntu 22.04
Date: Thu, 2 Jun 2022 08:02:45 +0200	[thread overview]
Message-ID: <YphShbNo8cTU65Qj@kroah.com> (raw)
In-Reply-To: <4b9e024d14c40cba7c04d5879ae64866@toniclab.ru>

On Wed, Jun 01, 2022 at 07:37:45PM +0300, TonicLab.ru wrote:
> Hi all,
> 
> This problem appeared on a freshly installed Ubuntu 22.04 desktop. Not sure
> I need to post this here.
> 
> When I'm attaching a ftdi device into usb everything looks great but there's
> no /dev/ttyUSB0 file. Seems it created and then disappeared. I tried to
> remove brltty package (as some recommends on the net) but it didn't help.
> The same ftdi device works on older Ubuntu version w/o any problems.
> 
> I'm having this in syslog:
> Jun  1 16:58:09 qgs-comp kernel: [  538.642086] usb 2-1.5: new full-speed
> USB device number 5 using ehci-pci
> Jun  1 16:58:10 qgs-comp kernel: [  538.756437] usb 2-1.5: New USB device
> found, idVendor=0403, idProduct=6001, bcdDevice= 6.00
> Jun  1 16:58:10 qgs-comp kernel: [  538.756445] usb 2-1.5: New USB device
> strings: Mfr=1, Product=2, SerialNumber=3
> Jun  1 16:58:10 qgs-comp kernel: [  538.756448] usb 2-1.5: Product: USB
> Serial
> Jun  1 16:58:10 qgs-comp kernel: [  538.756450] usb 2-1.5: Manufacturer:
> FTDI
> Jun  1 16:58:10 qgs-comp kernel: [  538.756452] usb 2-1.5: SerialNumber:
> FT0KKBIF
> Jun  1 16:58:10 qgs-comp kernel: [  538.759677] ftdi_sio 2-1.5:1.0: FTDI USB
> Serial Device converter detected
> Jun  1 16:58:10 qgs-comp kernel: [  538.759713] usb 2-1.5: Detected FT232RL
> Jun  1 16:58:10 qgs-comp kernel: [  538.760546] usb 2-1.5: FTDI USB Serial
> Device converter now attached to ttyUSB0

It was created here.

> Jun  1 16:58:01 qgs-comp colord-sane: message repeated 2 times: [
> io/hpmud/musb.c 2101: Invalid usb_open: Permission denied]
> Jun  1 16:58:10 qgs-comp mtp-probe: checking bus 2, device 5:
> "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5"
> Jun  1 16:58:10 qgs-comp mtp-probe: bus: 2, device: 5 was not an MTP device
> Jun  1 16:58:10 qgs-comp systemd-udevd[5394]: 2-1.5: Failed to create/update
> device symlink '/dev/ttyUSB0', ignoring: File exists

See it's still there.

> Jun  1 16:58:10 qgs-comp snapd[942]: hotplug.go:199: hotplug device add
> event ignored, enable experimental.hotplug
> Jun  1 16:58:10 qgs-comp mtp-probe: checking bus 2, device 5:
> "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5"
> Jun  1 16:58:10 qgs-comp mtp-probe: bus: 2, device: 5 was not an MTP device
> Jun  1 16:58:10 qgs-comp colord-sane: io/hpmud/musb.c 2101: Invalid
> usb_open: Permission denied

I do not see it going away.

Are you sure it is gone?  Any further log messages?

thanks,

greg k-h

  reply	other threads:[~2022-06-02  6:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-01 16:37 /dev/ttyUSB0 file disappears on Ubuntu 22.04 TonicLab.ru
2022-06-02  6:02 ` Greg KH [this message]
2022-06-02  8:47   ` Yuri
2022-06-03  6:44     ` Greg KH
2022-06-04  5:31       ` Yuri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YphShbNo8cTU65Qj@kroah.com \
    --to=greg@kroah.com \
    --cc=info@toniclab.ru \
    --cc=linux-usb@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox