Forums

Altera Byte Blaster Cable on Linux

Started by B. Joshua Rosen February 28, 2007
I'm trying to use the Altera USB Byte Blaster Cable on Linux (Scientific
Linux 4.4, i.e. RHEL 4). The Programmer application sees the cable,
however it says there are insufficient privileges on the port. I've tried
running Quartus as root, that didn't fix the problem. There is no Firewall
and Secure Linux is disabled. Anyone have any suggestions?
On Feb 28, 1:54 pm, "B. Joshua Rosen"
<bjro...@polybusPleaseDontSpamMe.com> wrote:
> I'm trying to use the Altera USB Byte Blaster Cable on Linux (Scientific > Linux 4.4, i.e. RHEL 4). The Programmer application sees the cable, > however it says there are insufficient privileges on the port. I've tried > running Quartus as root, that didn't fix the problem. There is no Firewall > and Secure Linux is disabled. Anyone have any suggestions?
Yes, the program needs to call ioperm() on the printer port address before trying to talk to it. Being root (or an setuid root executable) just means you have the right to make that function call; it doesn't mean it's necessarily been done.
On Wed, 28 Feb 2007 13:45:03 -0800, cs_posting wrote:

> On Feb 28, 1:54 pm, "B. Joshua Rosen" > <bjro...@polybusPleaseDontSpamMe.com> wrote: >> I'm trying to use the Altera USB Byte Blaster Cable on Linux (Scientific >> Linux 4.4, i.e. RHEL 4). The Programmer application sees the cable, >> however it says there are insufficient privileges on the port. I've tried >> running Quartus as root, that didn't fix the problem. There is no Firewall >> and Secure Linux is disabled. Anyone have any suggestions? > > Yes, the program needs to call ioperm() on the printer port address > before trying to talk to it. > > Being root (or an setuid root executable) just means you have the > right to make that function call; it doesn't mean it's necessarily > been done.
I found the instructions on the Altera site. Thanks anyway.