happycube / cxadc-linux3

CX2388x direct ADC capture driver, updated for Linux 3.x+ and 64-bit
81 stars 18 forks source link

add support for upto 256 idependantly adjustable cxadc cards, the parameters #34

Closed AR1972 closed 1 year ago

AR1972 commented 1 year ago

directory has moved to /sys/class/cxadc/cxadc[0-7]/device/parameters fix kernel panic caused cxadc_remove() mucking about with device refrences.

atsampson commented 1 year ago

The indentation in this is broken - it looks like it's been edited with 4-space soft tabs. Can you run scripts/checkpatch.pl (from the Linux source tree) over it?

harrypm commented 1 year ago

It would be good to add a sync mode to slave all cards to a single controlled config and if possible an option to synchronous capture on multiple if not all cards available.

AR1972 commented 1 year ago

It would be good to add a sync mode to slave all cards to a single controlled config and if possible an option to synchronous capture on multiple if not all cards available.

there are class attributes that if written to could be applied to all devices or a subset of devices, not sure how to do this at the moment but it seems doable.