Le 5 oct. 05, à 14:35, Hans Verkuil a écrit :
Still no luck getting$ ivtvctl --log-status to work... ioctl IVTV_IOC_LOG_BOARD_STATUS to work...Can you trace this? I've no idea why this won't work for you. The ioctl should end up in ivtv-ioctl.c, which is fairly straightforward.
I did some troubleshooting in the logs to explain my invalid argument error...
First, using ivtv_debug=3, I notice that the IVTV_IOC_LOG_BOARD_STATUS ioctl gets called correctly.
Oct 9 20:36:00 localhost kernel: ivtv info: current minor 0 Oct 9 20:36:00 localhost kernel: ivtv info: v4l2 ioctl 0x000040d7 Oct 9 20:36:00 localhost kernel: ivtv info: v4l2 close
I assume that d7 is the hexadecimal number of the ioctl wanted (that is 215 in decimal, as seen in the include declaration below)...
ivtv.h:#define IVTV_IOC_LOG_BOARD_STATUS _IO ('@', 215)
So, I logged the cx25840 output, with the cx25840_debug=2 option...All I get in the log is a bunch of warnings about a client adress missing (did I forget to load a module??) :
rt2500 1.1.0 BETA3 2005/07/31 http://rt2x00.serialmonkey.com ivtv warning: i2c client addr: 0x44 not found for command 0x40046403! ivtv warning: i2c client addr: 0x44 not found for command 0x80446468! ivtv warning: i2c client addr: 0x44 not found for command 0x400e6407! ivtv warning: i2c client addr: 0x44 not found for command 0x80446468! ivtv warning: i2c client addr: 0x44 not found for command 0x400e6407! ivtv warning: i2c client addr: 0x44 not found for command 0x80446468! ivtv warning: i2c client addr: 0x44 not found for command 0x400e6407! ivtv warning: i2c client addr: 0x44 not found for command 0x80446468! ivtv warning: i2c client addr: 0x44 not found for command 0x400e6407! ivtv warning: i2c client addr: 0x44 not found for command 0x40046406! ivtv warning: i2c client addr: 0x44 not found for command 0x40046406!
As a reminder, here is my /etc/modules.d/ivtv file (ignore the cx25840 options)
alias char-major-81 videodev alias char-major-81-0 ivtv alias char-major-61 lirc_i2c options ivtv tuner=38 tda9887=0 options tda9887 secam=l port1=1 port2=0 options cx25840 cx25840_debug=2 add below ivtv rtc add above ivtv lirc_dev lirc_i2c
Please tell me if you notice anything abnormal in my config. Cheers, JulienPS: on a totaly different subject, what's up with the lirc driver turning unresponsive after a few minutes with the PVR 150 remote? It starts working just fine, then it silently stops working.
_______________________________________________ ivtv-devel mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-devel
