Re: CP2110 - no serial device created

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dne 9.11.2015 v 10:11 Krzysztof Opasiak napsal(a):
> Hi,
> 
> On 11/08/2015 08:27 PM, Martin Kozelský wrote:
>> Hi, I have trouble with CP2110 chip (USB-to-serial converter) in kernel,
>> no /dev/ttyUSBx device created after connection.
>>
>> I reported this bug https://bugzilla.kernel.org/show_bug.cgi?id=107501
>>
> 
> Maybe try to blacklisting HID driver for this device would be a good
> place to start?
> 
> Best regards,

HID drivers are compiled-in in kernel, it is not possible to unload/load
module.

I tried manually unbind/bind USB device:

[root@core ~]# echo -n "12-3:1.0" > /sys/bus/usb/drivers/usbhid/unbind
[root@core ~]# echo -n "12-3:1.0" > /sys/bus/usb/drivers/cp210x/bind

It works:

[ 5097.607983] cp210x 12-3:1.0: cp210x converter detected
[ 5097.608316] usb 12-3: cp210x converter now attached to ttyUSB0

But any attempt to open device /dev/ttyUSB0 make an error:

FATAL: cannot open /dev/ttyUSB0: Input/output error

Logs:

[ 5352.421188] cp210x ttyUSB0: cp210x_open - Unable to enable UART

Something is also wrong.

-- 

Martin Kozelsky
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux