[Bug 1156203] Re: pvcam-dkms 4.1.0-2: pvcam kernel module failed to build

2014-07-30 Thread Primoz Pirih
Update:

The package pvcam-dkms (4.1.0-2) will not compile to linux kernels above
3.8, due to changes in the kernel module interfacing.

In order to make it work under 3.11 and 3.11, a trivial change is needed
in the file pvpci.c.

namely, the attributes __devinit, __devexit and __devexit_p have to be removed 
from the definitions of:
static int  pvcam_probe
static void pvcam_remove
static struct pci_driver pvcam_driver

With this, I managed to use dkms to build a kernel module that works
under Linux Mint 17 32-bit (3.13) and Ubuntu 12.04LTS (3.11) 32-bit. I
am discussing packaging options with the original maintainer.

Before that, I may also try the 64-bit version to see whether the kernel
module may actually compile, and the associated ancient 32-bit roper
pvcam library may (through some struck of luck) still work.

Since building drivers makes sense only if there is a popular
application which works with arcane hardware, I will check if
MicroManager (www.micro-manager.org) can perhaps run the camera.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1156203

Title:
  pvcam-dkms 4.1.0-2: pvcam kernel module failed to build

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pvcam-dkms/+bug/1156203/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1156203] Re: pvcam-dkms 4.1.0-2: pvcam kernel module failed to build

2014-06-20 Thread Primoz Pirih
This package will most likely not install under 64-bit version of Linux,
probably due to the fact that the PVCAM library (only available in
binary format) has been built for 32-bit environment in medieval kernel
2.4 epoch :-)

Solution: install 32-bit Linux. (I tested with Mint 16 32-bit).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1156203

Title:
  pvcam-dkms 4.1.0-2: pvcam kernel module failed to build

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pvcam-dkms/+bug/1156203/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs