Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Paul Smedley

Pages: 1 ... 137 138 [139] 140 141 ... 167
2071
Networking / Re: Samba 4.9.0 based client
« on: May 29, 2019, 11:33:50 am »
Hi,

It sounds as if your win 10 is the problem.  For supposed security reasons win 10 CIFS/SMB defaults to version 2 and I think that our CIFS/SMB is version 1.  We have been seeing a lot of problems on the D-Link NAS forums where people with win 10 find they are unable to connect to the NAS CIFS/SMB because the NAS uses the 'old' v1 and win uses the 'new' v2.  There should be a setting in win10 that allows you to set CIFS/SMB back to v1.

Hi, it seems I've succeeded to make the proper adjustment under Windows 10 after having applied Sean Casey suggestion; while before I could not obtain any smb> prompt in an OS2 window, now the command line get the correct output from the called Win 10 resource, which should indicate it is working and I could manage everything from there if I were smart enough whith OS2 commands, unfortunately I'm not that good.

Agree that if smbclient can view the windows 10 share, then ndpsmb should be able to as well.

Logs will help us understand what's happening.

Create a file ndpsmb.dbg in the root directory of the drive where netdrive is installed. Restart ndctl (or reboot).

try and access your windows 10 share - and after, send me a copy of ndpsmb.log (not sure where this will get created on a Warp 4 install).

Cheers,

Paul

2072
Programming / Re: Which GCC compiler version do people recommend?
« on: May 05, 2019, 09:19:06 am »
For the brave.... http://smedley.id.au/tmp/gcc-9.1.0-os2-20190505.zip

Builds itself and Samba 4.10.1....

2073
Programming / Re: Which GCC compiler version do people recommend?
« on: May 05, 2019, 01:54:52 am »
I got it to build but it doesn't run. No error message when I tried from command line. I have this in popuplog.os2.

05-04-2019  16:12:33  SYS2070  PID 0ceb  TID 0001  Slot 00f1
G:\PMMAIL\BIN\PMMAIL.EXE
PMMAIL->GCC1.___gthread_os2_mutex_lock
127

Any suggestions? Thanks

libgcc has changed/added functions since the GCC 4.9.2 version and corresponding libgcc1.dll

To avoid having to rely on an updated libgcc1.dll; I recommend you link with -static-libgcc which helps avoid a DLL dependency

Cheers,

Paul

2075
Programming / Re: Which GCC compiler version do people recommend?
« on: May 04, 2019, 10:26:56 pm »
Hi Gregg, I'm using GCC 8.3.0 for my work, and I got GCC 9.1.0 building last night, so I'll probably switch to that soon.

2076
Applications / Re: Using a scanner with hplip?
« on: April 29, 2019, 11:33:56 am »
Hey Pete,

No need to send any logs, just glad it helped diagnose the problem!

Cheers,

Paul

2077
Applications / Re: Using a scanner with hplip?
« on: April 27, 2019, 08:53:07 am »
Hey Pete,

Paul has the same software installed and, judging by his log snippet, it has no problem reading the file so probably not line endings.

In fact I am not convinced that the file is found and think this is the underlying reason that the file is not read.
Reason: I deleted the file but still got the same error message - which includes the correct full /path/filename.

What we cannot work out is why the file is not found on 2 systems (now) here but is found and accessed successfully on Pauls system. I tend to suspect that somewhere in the *nixy support chain I have something that is not at the right version - or is missing completely.

My best idea to move forwards is for you to install the logging version of libc066.dll - which should be in ftp://ftp.netlabs.org/pub/libc/GCC-3.3.5-csd6.zip as libc066.logchk

Copy libc066.logchk to the same directory as scanimage.exe and save it as libc066.dll

Start scanimage with libpathstrict=t or copy c:\programs\firefox!.exe to the same folder as scanimage.exe but calling it scanimage!l.exe to use run! to set libpathstrict=t for you

Send me the resulting libc*.log file - within it, it should show the full path that's being used to open models.dat

edit: I also think you're using models.dat from rpm still? Try unzipping http://smedley.id.au/tmp/models.zip

Cheers,

Paul

2078
Applications / Re: Using a scanner with hplip?
« on: April 27, 2019, 12:15:25 am »
If I put hplip.conf in %ETC% - that is M:\MPTN\ETC - I prefix the drive letter "J:" - the drive hplip,cups,sane are installed to - to the paths in hplip.conf which will respond with "no envy_photo_6200_series attributes found in J:/hplip/share/hplip/data/models/models.dat"

Can I suggest you *don't* modify paths in hplip.conf ?

Provided sane and /hplip are on the same drive, drive letters won't be required. It's possible that hplip needs to be educated on drive letters, and that because you have a drive letter, it's considering that path to be a relative path, and pre-pending the current working directory, resulting in the path not being found.

Good news on the printing!

Cheers,

Paul

2079
Applications / Re: Using a scanner with hplip?
« on: April 26, 2019, 05:21:55 am »
Mea Culpa - I had an old hpaio.dll in place.  However, similar results to what I had previously:

[dll] sane_open: trying to open `hpaio:/net/envy_photo_6200_series?ip=192.168.1.252'
[dll] load: searching backend `hpaio' in `./lib/sane;/sane/lib/sane'
[dll] load: trying to load `./lib/sane/hpaio.dll'
[dll] load: dlopen()ing `./lib/sane/hpaio.dll'
[dll] init: initializing backend `hpaio'
[sanei_debug] Setting debug level of hpaio to 255.
[hpaio] sane_hpaio_init(): scan/sane/hpaio.c 348
[dll] init: backend `hpaio' is version 1.0.0
[hpaio] sane_hpaio_open(/net/envy_photo_6200_series?ip=192.168.1.252): scan/sane/hpaio.c 387 scan_type=7 scansrc=1
MIB search path: C:\Home/.snmp/mibs;/net-snmp/share/snmp/mibs
Cannot find module (:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:HOST-RESOURCES-TYPES:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-FRAMEWORK-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:UCD-DLMOD-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-MIB): At line 0 in (none)
U:\sane\scanimage.exe: open of device hpaio:/net/envy_photo_6200_series?ip=192.168.1.252 failed: Error during device I/O
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `hpaio's exit function
[hpaio] sane_hpaio_exit(): scan/sane/hpaio.c 363
[dll] sane_exit: finished

Cheers,

Paul

2080
Applications / Re: Using a scanner with hplip?
« on: April 26, 2019, 01:30:52 am »
Hey Pete,

I notice that you do not mention where you got the hpaio.dll involved from - presumably an updated build as it appears to work.

Having spent a few hours trying to understand why hpaio.dll cannot get the data from models.dat here regardless of how I tweaked the hplip.conf file and noticing the different code line numbers in our logs I suspected that you could be using a different build of hpaio.dll - Yes, seems I currently have the naff one...  ;-)

I'm at work right now, so can't confirm the hpaio.dll in use - I should be able to do this when I get home tonight, ie in 8 hours or so - assuming I get to this before I go out for dinner with some ex-Holden colleagues :)

Cheers,

Paul.

2081
Applications / Re: Using a scanner with hplip?
« on: April 25, 2019, 11:56:31 pm »
Hi Pete,

I'm in Adelaide - which is GMT+8.5 - so not quite 12 hours :)

Can I suggest you keep things simple, and not bring Tame into the mix until things are known to be working?

For my testing, I had the /hplip directory from my post yesterday; and /sane from the Sane 1.0.27 package on my site.

I copied hpaio.dll to \sane\lib\sane ; added hpaio to  \sane\etc\sane.d\dll.conf and copied hpaio.conf to %ETC%

Then started scanimage with the command line provided.

I ran with:
set SANE_DEBUG_HPAIO=255
set SANE_DEBUG_DLL=0

I had DLL at 255 initially, but once I knew hpaio was being loaded, set it back to 0.

Yes, I believe the numbers in:
[hpaio] sane_hpaio_init(): scan/sane/hpaio.c 317

Are line numbers in the code. So one of us is running a different hpaio - it's just a matter of which one of us :)

PS - my setup appears to be working :P

Cheers,

Paul

2082
Applications / Re: Using a scanner with hplip?
« on: April 25, 2019, 07:57:46 am »
Hey Pete,

Obviously no problem reading the device attributes from models.dat in your setup as "scan_type=7 scansrc=1" are correct for the scanner.

Now to figure out what I have mis-configured...

Just in case I had left any traces of the rpm hplip files within the /hplip directory tree I deleted the tree and reinstalled files. No, that did not resolve the problem.

Not sure what to use in hplip.conf for the "bin= setting" which is currently set as m:/user/bin where the rpm installed *nixy programs live.

Another thought: Does hpaio.dll parse the models.dat file directly or does it call an external program?

I don't believe hpaio calls any external programs. My hpaio.conf is at http://smedley.id.au/tmp/hplip.conf

I'll be lurking in #netlabs on IRC in freenode on and off for the next few hours if you want to debug live...

Cheers,

Paul

2083
Applications / Re: Using a scanner with hplip?
« on: April 25, 2019, 01:41:28 am »
Hey Pete,

This is with:
 Directory of  U:\hplip\share\hplip\data\models\models.dat
 3/12/18  17:40       1,203,541    124   ___A_  models.dat

?

Here, when running 'scanimage -d hpaio:/net/envy_photo_6200_series?ip=192.168.1.252 1>ENVY.pnm'

I only get the following in syslog.msg:
[localhost] Apr 25 09:08:51 scanimage.exe: io/hpmud/jd.c 93: unable to read device-id

Scanimage output is:
{1}[u:\sane] scanimage -d hpaio:/net/envy_photo_6200_series?ip=192.168.1.252 1>ENVY.pnm
[sanei_debug] Setting debug level of dll to 0.
[sanei_debug] Setting debug level of hpaio to 255.
[hpaio] sane_hpaio_init(): scan/sane/hpaio.c 317
[hpaio] sane_hpaio_open(/net/envy_photo_6200_series?ip=192.168.1.252): scan/sane/hpaio.c 351 scan_type=7 scansrc=1
MIB search path: C:\Home/.snmp/mibs;/net-snmp/share/snmp/mibs
Cannot find module (:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB
:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:UCD-SNMP-MIB:UCD-DEMO
-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:HOST-RESOURCES-TYPES:SNMP-MPD-MIB:SNMP-U
SER-BASED-SM-MIB:SNMP-FRAMEWORK-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:N
ET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:UCD-DLMOD-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-
TM:NET-SNMP-VACM-MIB): At line 0 in (none)
U:\sane\scanimage.exe: open of device hpaio:/net/envy_photo_6200_series?ip=192.168.1.252 failed: Error during device I/O
[hpaio] sane_hpaio_exit(): scan/sane/hpaio.c 330

Cheers,

Paul

2084
Applications / Re: Using a scanner with hplip?
« on: April 24, 2019, 11:31:36 pm »
Hey Pete,

You need a models.dat from hplip 3.18.12 - try http://smedley.id.au/tmp/hpaio-3.18.12-os2-20190425.zip

With that, and:
scanimage -d hpaio:/net/envy_photo_6200_series?ip=192.168.1.252 1>ENVY.PNM

I finish with:
[localhost] Apr 25 06:57:47 scanimage.exe: io/hpmud/jd.c 93: unable to read device-id

Which is not unexpected as I don't have a HP Envy on that IP :)

Hopefully this gets you further

Cheers,

Paul

2085
Applications / Re: Using a scanner with hplip?
« on: April 24, 2019, 07:34:58 am »
So, looks like hpaio starts but cannot access/read the scanner settings from models.dat...


Do you want the complete debug-L.log emailed?

Not yet, I'll see if I can test locally first...

Cheers,

Paul

Pages: 1 ... 137 138 [139] 140 141 ... 167