linux - updating product/vendor id on Raspberry Pi (CP210X) -


running "uname -a" on raspberry pi yield following: linux tm-gw 4.4.14-v7+ #896 smp sat jul 2 15:09:43 bst 2016 armv7l gnu/linux

my problem have usb device vendor , product id isn't registered in cp210x.c file, - again - means though can found, raspberry not allow communication (/dev/ttyusb0 doesn't exist).

i have tried download kernel, add id pair cp210x.c file, rebuild , install, works. (dmesg show "usb 1-1.4: cp210x converter attached ttyusb0")

since have install program on more 1 raspberry takes long, i'd know if possible inject usb id's without recompiling kernel ??

i did try take cp210x.ko file kernel build , install new raspberry typing "sudo insmod cp210x.ko" didn' work.

/karsten

thanks ian abbott solution.

run "sudo modprobe cp210x"

sudo sh -c 'echo 10c4 84cc > /sys/bus/usb-serial/drivers/cp210x/new_id'

when plugging in device works :-)


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -