Package Details: cp210x 2019.7.12-6

Git Clone URL: https://aur.archlinux.org/cp210x.git (read-only, click to copy)
Package Base: cp210x
Description: Silicon Labs CP210x RS232 serial adaptor driver
Upstream URL: https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers
Licenses: GPL
Submitter: amenzhinsky
Maintainer: amenzhinsky
Last Packager: amenzhinsky
Votes: 2
Popularity: 0.020540
First Submitted: 2019-07-30 07:13
Last Updated: 2020-07-02 14:40

Required by (0)

Sources (2)

Latest Comments

1 2 3 Next › Last »

politas commented on 2020-07-07 01:27

cp210x-dkms now works for me. Thanks!

zackteo commented on 2020-07-04 01:57

@amenzhinsky Yeap, cp210x-dkms works for me! Thanks!

amenzhinsky commented on 2020-07-02 14:45

@politas, @zackteo had to give up on the package splitting because I haven't found a way to build just one package from PKGBUILD, that clearly blocks you.

Created separate dkms version of the package: https://aur.archlinux.org/packages/cp210x-dkms/

Try it out and please let me know if something goes wrong.

zackteo commented on 2020-07-02 02:27

@politas Thank you! Your changes to PKGBUILD allowed me to build it too

politas commented on 2020-06-28 06:14

This is very weird that package_cp210x() is invoked when you're installing cp210x-dkms.

Not really, it's the same PKGBUILD for both, just selecting the DKMS conf if that package is being installed.

politas commented on 2020-06-28 06:11

Can I propose a test on the existence of /usr/src/linux/version to use KVERSION="$(</usr/src/linux/version)", failing over to KVERSION=uname -r if /usr/src/linux/version does not exist?

politas commented on 2020-06-28 06:01

Maybe there's a difference in the Manjaro kernel headers releases? - Ok, there definitely is. Manjaro has a system to support multiple installed kernels, allowing you to select at boot time which to use. Not sure just how it interacts with dkms installation.

politas commented on 2020-06-28 06:00

Surely you want the build to fail if the running kernel is not matching the current installed kernel? Otherwise, you'll be building something that will break after a reboot.

$ pacman -Qo /usr/src/linux/version
error: No package owns /usr/src/linux/version

I note that "/usr/src/linux/version" != "/usr/lib/modules/5.7.4-arch1-1/build/version", so something has created a symlink there, by the look of it.

amenzhinsky commented on 2020-06-23 19:56

This is very weird that package_cp210x() is invoked when you're installing cp210x-dkms.

uname -r is not an option, because the package won't build with an upgraded kernel.

Sure I did try to build both packages

% pacman -Qo /usr/src/linux/version
/usr/lib/modules/5.7.4-arch1-1/build/version is owned by linux-headers 5.7.4.arch1-1
makedepends=('linux-headers')

politas commented on 2020-06-23 00:34

These changes to PKGBUILD fix it:

-  make KVERSION="$(</usr/src/linux/version)"
-  install -Dt "$pkgdir/usr/lib/modules/$(</usr/src/linux/version)/extramodules" -m644 *.ko
+  make KVERSION=`uname -r`
+  install -Dt "$pkgdir/usr/lib/modules/$KVERSION/extramodules" -m644 *.ko

This uses the currently running kernel version's modules. I don't know what creates the file /usr/src/linux/version but it clearly isn't in the dependencies for this package. Maybe it's in the kernel source package?