Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CCD device



On 2016-03-28 10:54, Martin Husemann wrote:
On Mon, Mar 28, 2016 at 01:42:23AM +0200, Johnny Billquist wrote:
The error is:
Configuring CCD devices.
ccdconfig: ioctl (CCDIOCSET): /dev/ccd0c: Invalid argument
/etc/rc.d/ccd exited with code 1

Did we do some incompatible change recently? Not too happy with this one.

Nothing obvious, can you add printfs to the two EINVAL returns in the
case CCDIOCSET: section?

Yech! It's more complicated than that.

After trying to just do that and getting nothing, I added:
        printf("ccd ioctl: %lu\n",cmd);

as the first line of  ccdioctl(), and the output is:

Configuring CCD devices.
ccd ioctl: 3223078416
ccdconfig: ioctl (CCDIOCSET): /dev/ccd0c: Invalid argument
/etc/rc.d/ccd exited with code 1
ccd ioctl: 2149606504

So something broken in the syscall handling, the new compiler (this is on a VAX), or something else that I don't get yet... I should point out that apart from ccd, I've successfully booted that same kernel (another on another machine where I was not using ccd).

	Johnny

--
Johnny Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email: bqt%softjar.se@localhost             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


Home | Main Index | Thread Index | Old Index