happycube / cxadc-linux3

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

Vmux not set corretly #39

Open peppi001 opened 1 year ago

peppi001 commented 1 year ago

A fresh install of Ubuntu 22.04 and the latest version of cxadc I can't change the vmux. The default vmux=2 is working properly. I use vmux=1 for CVBS decode, but with the latest version the "captured" file contains no data.

harrypm commented 1 year ago

What card is being used?

peppi001 commented 1 year ago

My card is: Leadtek TV2000 XP Expert PCI (CX23883-39) I double checked that "error". The problem is: the /etc/modprobe.d/cxadc.conf parameters are not set after rebooting the system. All the parameters stay the default values after reboot.

And the other problem in my system:

./cxvalues output: /sys/class/cxadc/cxadc0/device/parameters/sixdb 1 /sys/class/cxadc/cxadc0/device/parameters/tenbit 0 /sys/class/cxadc/cxadc0/device/parameters/audsel -1 /sys/class/cxadc/cxadc0/device/parameters/center_offset 8 /sys/class/cxadc/cxadc0/device/parameters/latency -1 /sys/class/cxadc/cxadc0/device/parameters/crystal 28636363 /sys/class/cxadc/cxadc0/device/parameters/vmux 2 /sys/class/cxadc/cxadc0/device/parameters/tenxfsc 0 /sys/class/cxadc/cxadc0/device/parameters/level 16

And all the files from the utils are /sys/module/cxadc/parameters/....

Are these 2 thing related? Maybe the cxadc.conf uses the /sys/module/cxacd/parameters/.... too?

(Sorry for my English :( )