Debian 7 Wheezy install and missing loadrt
- ramaral
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
09 Sep 2020 10:02 #181407
by ramaral
Debian 7 Wheezy install and missing loadrt was created by ramaral
Hey Guys,
After downloding and installing Debain Wheezy 7 on a AMD64 machine, I noticed it did not come with loadrt (and likely other missing programs). My PC, does not have a parallel port, so I bought one but need to install the driver that came with it. I bought a NetMos 9900 board. I built the driver for this board from the source the manufacture supplied and got a 99xx.ko file. Do I simply load this driver into the kernel now - if so how? Also, why didn't my Wheezy installation have loadrt? Thanks.
After downloding and installing Debain Wheezy 7 on a AMD64 machine, I noticed it did not come with loadrt (and likely other missing programs). My PC, does not have a parallel port, so I bought one but need to install the driver that came with it. I bought a NetMos 9900 board. I built the driver for this board from the source the manufacture supplied and got a 99xx.ko file. Do I simply load this driver into the kernel now - if so how? Also, why didn't my Wheezy installation have loadrt? Thanks.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20493
- Thank you received: 6973
09 Sep 2020 13:57 #181445
by tommylight
Replied by tommylight on topic Debian 7 Wheezy install and missing loadrt
Loadrt is a LinuxCNC function, so it is installed and functioning if there is LinuxCNC there.
And there is no need to compile and install any driver for parallel ports, Linux handles that nicely.
NetMos boards have always worked for me ( had over 20 of them).
Now, did you install the board into the PC?
Open a terminal and type
sudo lspci -v | grep par
and paste here
And there is no need to compile and install any driver for parallel ports, Linux handles that nicely.
NetMos boards have always worked for me ( had over 20 of them).
Now, did you install the board into the PC?
Open a terminal and type
sudo lspci -v | grep par
and paste here
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23415
- Thank you received: 4976
09 Sep 2020 15:02 #181454
by andypugh
loadrt is only available inside hal.
Doeswork?
Replied by andypugh on topic Debian 7 Wheezy install and missing loadrt
You are aware that Wheezy is a long time out of support?After downloding and installing Debain Wheezy 7 on a AMD64 machine
I noticed it did not come with loadrt (and likely other missing programs)
loadrt is only available inside hal.
Does
halcmd loadrt hal_parport
Please Log in or Create an account to join the conversation.
- ramaral
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
09 Sep 2020 16:59 #181465
by ramaral
Replied by ramaral on topic Debian 7 Wheezy install and missing loadrt
Sorry, I haven't played with LinuxCNC in awhile, yes, loadrt is an internal HAL command and it is there if I type "halcmd loadrt". When I execute "lspci -v | grep par" I get no results, however if I run without "| grep par" I see this in the long list of stuff:
01:00.0 Parallel controller: NetMos Technology Device 9900 (prog-if 03 [IEEE1284])
Subsystem: Device a000:2000
Flags: fast devsel, IRQ 10
I/O ports at ac00 [disabled]
I/O ports at a800 [disabled]
[virtual] Memory at fdeff000 (32-bit, non-prefetchable) [size=4K]
[virtual] Memory at fdefe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
01:00.0 Parallel controller: NetMos Technology Device 9900 (prog-if 03 [IEEE1284])
Subsystem: Device a000:2000
Flags: fast devsel, IRQ 10
I/O ports at ac00 [disabled]
I/O ports at a800 [disabled]
[virtual] Memory at fdeff000 (32-bit, non-prefetchable) [size=4K]
[virtual] Memory at fdefe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23415
- Thank you received: 4976
09 Sep 2020 17:05 #181467
by andypugh
Replied by andypugh on topic Debian 7 Wheezy install and missing loadrt
Try this:
(you can also try cfg="ac00")
halrun
loadrt hal_parport cfg="0"
show pin
(you can also try cfg="ac00")
Please Log in or Create an account to join the conversation.
- ramaral
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
09 Sep 2020 17:31 #181470
by ramaral
Replied by ramaral on topic Debian 7 Wheezy install and missing loadrt
When I run above, I get:
Error: could not insert module /usr/realtime-3.4-9...../hal_parport.ko: No such device
exit value: 1
insmod for hal_parport failed, returned -1
running dmesg says:
PARPORT: ERROR: linux parport 0 not found
Error: could not insert module /usr/realtime-3.4-9...../hal_parport.ko: No such device
exit value: 1
insmod for hal_parport failed, returned -1
running dmesg says:
PARPORT: ERROR: linux parport 0 not found
Please Log in or Create an account to join the conversation.
- ramaral
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
09 Sep 2020 17:33 #181471
by ramaral
Replied by ramaral on topic Debian 7 Wheezy install and missing loadrt
should I install the 99xx.ko driver that came with the board?
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23415
- Thank you received: 4976
09 Sep 2020 17:39 #181474
by andypugh
Replied by andypugh on topic Debian 7 Wheezy install and missing loadrt
No, don't install any drivers.
See if there is anything in the BIOS (though I wouldn't expect here to be for a PCI card)
And try the ac00 address (and all the others) to see if any of them work.
See if there is anything in the BIOS (though I wouldn't expect here to be for a PCI card)
And try the ac00 address (and all the others) to see if any of them work.
Please Log in or Create an account to join the conversation.
- ramaral
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
09 Sep 2020 18:04 #181478
by ramaral
Replied by ramaral on topic Debian 7 Wheezy install and missing loadrt
Using address "ac00" seemed to work - I don't know why exactly. At least I didn't get an error message. I don't have the machine here to try it. I still don't get anything with sudo lspci -v | grep par, but running sudo lspci -v shows more details in the "Capabilites" section under the parallel port.
I still don't understand what's happening under the hood. Is there some good current tech documentation you can direct me to gives a bigger picture of how things work? Thanks for your help so far!
I still don't understand what's happening under the hood. Is there some good current tech documentation you can direct me to gives a bigger picture of how things work? Thanks for your help so far!
Please Log in or Create an account to join the conversation.
Time to create page: 0.070 seconds