thunar-volman misdetects usb serial as removable
Submitted by Kevin Fenzi
Assigned to Jannis Pohlmann
Description
Downstream report: https://bugzilla.redhat.com/show_bug.cgi?id=1585686
"Description of problem:
A pFranc USB Serial adapter type U232-P9 USB serial adapter is recognised and works correctly on a loop-back cable but causes Thunar to report kernel errors.
This is unexpected behavior: a serial adapter cannot contain a filing system and so should either not be passed to Thunar or should be refused by Thunar without causing kernel errors.
Version-Release number of selected component (if applicable):
Thunar 1.6.15
How reproducible:
Happens every time the USB Serial adapter is attached
Steps to Reproduce:
- Plug the USB Serial adapter into a vacant USB port
Actual results:
Jun 4 13:03:20 zappa kernel: usb 2-1: new full-speed USB device number 5 using xhci_hcd Jun 4 13:03:21 zappa kernel: usb 2-1: New USB device found, idVendor=0711, idProduct=0230 Jun 4 13:03:21 zappa kernel: usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Jun 4 13:03:21 zappa kernel: usb 2-1: Manufacturer: USB-RS232 Interface Converter Jun 4 13:03:21 zappa kernel: usb 2-1: SerialNumber: 097465 Jun 4 13:03:21 zappa kernel: mct_u232 2-1:1.0: MCT U232 converter detected Jun 4 13:03:21 zappa kernel: usb 2-1: MCT U232 converter now attached to ttyUSB0 Jun 4 13:03:21 zappa mtp-probe[1955]: checking bus 2, device 5: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-1" Jun 4 13:03:21 zappa mtp-probe[1955]: bus: 2, device: 5 was not an MTP device Jun 4 13:03:21 zappa org.xfce.FileManager[1135]: thunar-volman: Unsupported USB device type "usb". Jun 4 13:03:21 zappa org.xfce.FileManager[1135]: thunar-volman: Unsupported USB device type "mct_u232".
Expected results:
Connecting the serial adaptor should not cause Thunar to raise kernel errors."