Hello.
I had an old server that I installed with one temperature sensor and one humidity sensor, and they were connected on the parallel port, with the sensor I also purchased a Linux program that was acting as a daemon and sending information and stuff on request, everything was ok for two years. Now we replaced the server with a new powerful i7, but the motherboard didn't come with a parallel port, like all the new ones, so I purchased an add-on parallel port card PCI Parallel Gembird LPC, installed it and all was ok,freebsd FreeBSD detected it, added the stuff in /dev , lpt0, lpt0.ctl, ppi0.
Started the daemon for the sensors, and it didn't work, it tries to connect 0x378, but the address for the board is 0xd250 (not 0x378 like the one on the other server). Disused with the company I purchased the software from, and they sent me the same stuff but with using ioctl (remember both softwares are used in linux compatibility mode), after I symlinked /dev/lp0 -> /dev/ppi0 but with this version I get:
I have no clue how to make this work, or if I could find an add-on card that has the physical address 0x378 so I can use the old version or daemon, and I really don't want to not use the sensors any more.
FreeBSD 8.2-RELEASE
generic kernel
Thanks for your time, and sorry for my English.
I had an old server that I installed with one temperature sensor and one humidity sensor, and they were connected on the parallel port, with the sensor I also purchased a Linux program that was acting as a daemon and sending information and stuff on request, everything was ok for two years. Now we replaced the server with a new powerful i7, but the motherboard didn't come with a parallel port, like all the new ones, so I purchased an add-on parallel port card PCI Parallel Gembird LPC, installed it and all was ok,
Started the daemon for the sensors, and it didn't work, it tries to connect 0x378, but the address for the board is 0xd250 (not 0x378 like the one on the other server). Disused with the company I purchased the software from, and they sent me the same stuff but with using ioctl (remember both softwares are used in linux compatibility mode), after I symlinked /dev/lp0 -> /dev/ppi0 but with this version I get:
Code:
linux: pid 42593 (pcmeasure): ioctl fd=4, cmd=0x60b ('\^F',11) is not implemented
I have no clue how to make this work, or if I could find an add-on card that has the physical address 0x378 so I can use the old version or daemon, and I really don't want to not use the sensors any more.
Code:
#cat /var/run/dmesg.boot | grep -i ppc
ppc1: <NetMos NM9805 1284 Printer port> port 0xd250-0xd257,0xd240-0xd247,0xd230-0xd237,
0xd220-0xd227,0xd210-0xd217,0xd200-0xd20f irq 19 at device 0.0 on pci9
ppc1: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppc1: [ITHREAD]
ppbus0: <Parallel port bus> on ppc1
ppc0: cannot reserve I/O port range
ppc1: <NetMos NM9805 1284 Printer port> port 0xd250-0xd257,0xd240-0xd247,0xd230-0xd237,
0xd220-0xd227,0xd210-0xd217,0xd200-0xd20f irq 19 at device 0.0 on pci9
ppc1: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppc1: [ITHREAD]
ppbus0: <Parallel port bus> on ppc1
ppc0: cannot reserve I/O port range
generic kernel
Thanks for your time, and sorry for my English.