From: PASCHAL,DAVID (HP-Roseville,ex1) <dav...@hp...> - 2000-09-13 21:22:56
|
> You're right David, I've hacked for a few hours since my last > messages, > and I've found that (apparently) the function start_bh_atomic and > end_bh_atomic don't exist any more since 2.3.43. > So I just commented out these functions, and it compiled. > I can insmod the modules, and run hpo devid without errors. Hi, Damcha. I'm glad you got it working, but I would be a little concerned about just removing these calls altogether as opposed to trying to find out if there's a proper replacement in the newer kernels. > But hpo get OID_STATUS_MSG_LINE1_PART1 replies: > Error 11 (system error 22) in file pml.c, line 283: > I got the same error for trap but in line 381, This OID isn't supported on the PSC500. I don't remember if this is the right error or if it's failing for some other reason. Try some of the others, like OID_DEV_MODEL_NAME. > and for scan at line 246... Please try downloading version 0.6. It contains a patch to SANE 1.0.3 to allow scanning on some of the OfficeJets (including the PSC500). > If you want, I think I can go more indepth into this, and try to make > hpoj 2.4-kernel compatible, or is there already someone > working on this > ? If you're willing and able to do some kernel-level hacking like this, I would certainly appreciate it. I'm familiar with the communication protocols but rather ignorant when it comes to kernel issues. :-) It also seems that the kernel-mode drivers are broken for SMP. I'll forward the e-mails I've been exchanging about that, in hopes that you or somebody else might be able to figure it out. David |