From: Gerard H. P. <gh...@sk...> - 2001-05-07 21:09:17
|
Finally, the days of scanning with HP Officejet T65 are neigh. David, if you weren't so ugly, I could kiss you. After recompiling a 2.4.4 kernel without parport, xojpanel appeared, showing almost exactly what was on the Officejet's display itself. Only the dust was lacking. Even after dusting, xojpanel was still better readable than the actual display. I suppose this will improve in later releases. Still, the feeling I had when I saw there was something at the other end of the parallel cable, will only be surpassed when intelligent life will be found on earth. hp-devid reports: # ptal-devid mlc:par:0 ptalInit(): debug level set to 2. ptalInit() ptalDeviceAdd(provider=<mlc>,name=<par:0>): dev=0x08049A18. MFG:Hewlett-Packard;MDL:OfficeJet T Series;CMD:MLC,PCL,PML;CLASS:PRINTER;DESCRIPTION:Hewlett-Packard OfficeJet T Series;VSTATUS:$HB0$FC0,FF,DN,IDLE,CUT; ptalDone() ptalDeviceDelete(dev=0x08049A18) ptalDeviceClose(dev=0x08049A18) But I am less lucky with scanimage, it hangs after: -- # scanimage -v -d hp:mlc:par:0 [sanei_debug] Setting debug level of hp to 128. [hp] sane_init called ptalInit(): debug level set to 2. ptalInit() [hp] sane_init will finish with Success [hp] sane_open called [hp] hp_read_config: hp backend v0.93 starts reading config file [hp] hp_read_config: processing line <mlc:par:0> [hp] hp_read_config: processing line <option connect-ptal> [hp] hp_read_config: attach mlc:par:0 [hp] hp_get_dev: New device mlc:par:0, connect-ptal, scsi-request=0 [hp] sanei_hp_device_new: mlc:par:0 ptalDeviceAdd(provider=<mlc>,name=<par:0>): dev=0x08054618. ptalChannelAllocate(dev=0x08054618): chan=0x080546B8. ptalChannelSetRemoteService(chan=0x080546B8,serviceType=2,socketID=0,serviceName=<>) [hp] scsi_flush: writing 2 bytes: [hp] 0x0000 1B 45 .E ptalChannelOpen(chan=0x080546B8): fd=5. ptalChannelWrite(chan=0x080546B8,buffer=0x08053DE6,count=2) ptalChannelWrite(chan=0x080546B8,buffer=0x08053DE6,count=2) returns 2. [hp] scsi_flush: writing 7 bytes: [hp] 0x0000 1B 2A 73 32 35 37 45 .*s257E ptalChannelOpen(chan=0x080546B8): already open (fd=5). ptalChannelWrite(chan=0x080546B8,buffer=0x08053DE6,count=7) ptalChannelWrite(chan=0x080546B8,buffer=0x08053DE6,count=7) returns 7. I'm attaching strace output from the same session. I am running a 2.4.4 SMP kernel on a Abit VP6 with two Intel 866Mhz PIII's. CVS hpoj dates from yesterday, and I'm using sane-backends-1.0.4. Had to specify --with-ptal=/usr/local and --enable-shared allthough these are supposed to be default. Otherwise sane configure did not find -lptal (there is no libptal.a and configure runs a test compiling -static). Come on David, I know you can do it. Gerard H. Pille |