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
Post a Comment