Device Drivers for USB and parallel p... Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » Device Drivers for USB and parallel port HASP keys « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Kevin Ellwood (ikevin)
Member
Username: ikevin

Post Number: 25
Registered: 06-2003
Posted on Wednesday, November 03, 2004 - 08:08 pm:   

Hello

Since Red Hat no longer has a linux desktop distribution, our company has moved to SUSE linux. The supported version within our company is SUSE 9.1 - soon to be 9.2. Aladdin does not have drivers for either version. Is it possible get flexpde to run with a different license method .ie no USB dongle?

Thanks
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 247
Registered: 06-2003
Posted on Wednesday, November 03, 2004 - 09:32 pm:   

When I follow the link on our download page to http://www.ealaddin.com/support/hasp/enduser.asp
it shows a driver for "SuSe 8.x and 9.x".
Does this driver not work?

Aladdin has introduced a new product, and there is now a second driver download page http://www.ealaddin.com/support/hasp/hasp4/enduser.asp

This has a link to linux drivers on
http://www.ealaddin.com/support/hasp/hasp4/linuxdrv.asp

The latter page seems to have the same contents as the link on our site. Nevertheless, I will change our link.

Top of pagePrevious messageNext messageBottom of page Link to this message

Kevin Ellwood (ikevin)
Member
Username: ikevin

Post Number: 26
Registered: 06-2003
Posted on Thursday, November 04, 2004 - 10:56 am:   

They only have drivers for SUSE 9.0. SUSE (9.1 + 9.2) and the entire linux world moved on to the 2.6.X kernel series.

Just to let you know, the Aladdin folks don't respond to email notes so there is little hope of me finding anything out from them. Perhaps you could call them because you are a vendor.
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 248
Registered: 06-2003
Posted on Thursday, November 04, 2004 - 02:24 pm:   

The SuSe driver available at
http://www.ealaddin.com/support/hasp/hasp4/linuxdrv.asp
claims in the readme.txt that it supports SuSe 9.1.

SuSe 9.1 claims that it uses the 2.6 kernel.

So it would appear that the problem is covered.

Have you tried it?
Top of pagePrevious messageNext messageBottom of page Link to this message

Uwe Herberth (herberth)
New member
Username: herberth

Post Number: 2
Registered: 10-2004
Posted on Friday, November 05, 2004 - 01:56 am:   

Hi
I'm working on Suse Linux 9.1 and Kernel Version
2.6.5-7.111, the 'akusbd' daemon delivered with
FlexPDE Version 4 some Kernel Versions ago works fine.
Top of pagePrevious messageNext messageBottom of page Link to this message

Kevin Ellwood (ikevin)
Member
Username: ikevin

Post Number: 27
Registered: 06-2003
Posted on Friday, November 05, 2004 - 07:04 am:   

Great. I'll give it a shot later today.

Kev
Top of pagePrevious messageNext messageBottom of page Link to this message

James B. Posey (j_posey)
New member
Username: j_posey

Post Number: 1
Registered: 12-2007
Posted on Friday, December 28, 2007 - 07:29 pm:   

Help needed for FPDE to access HASP dongle in Linux

I have FPDE running in demo mode with no problems, but cannot get the Aladdin USB HASP4 driver working.

Aladdin end-user support consists of an automated e-mail reply saying they don't support end users.

Computer: Asus P2 with AMD Athlon64 X2 processor
Firmware: ASUS M2N8L ACPI BIOS Revision 0404
Distro: Ubuntu Gutsy (7.10)
Kernel: Linux 2.6.22-14-generic
USB Controller: nVidia MCP51 (info.linux.driver: ohci_hcd)

Aladdin HASP4 driver: aksusbd (modified Thu 03 Jun 2004 03:42:46 AM MDT --- the most recent version available from Aladdin as far as I can tell)

I tried using the Aladdin scripts dinst and aksusbd.debian which after several modifications no longer produced errors and ran the aksusbd daemon, but the daemon terminates when it cannot find usbdevsfs --- a file system component which seems to have been deprecated. I've had little luck getting information about usbdevfs from Ubuntu or Linux.org, and what I have found has not helped resolve the problem.

=====================================================
This is how I installed the driver:

Me@MyComputer:~/Desktop$ sudo ./dinst3 ./
[sudo] password for Me:
grep: /etc/inittab: No such file or directory
---------------------------------------
Copy AKSUSB daemon to /usr/sbin ...
Copy AKSUSB daemon startup script to /etc/init.d
Setting up to autostart AKSUSB daemon
removing existing link /etc/rc2.d/S90aksusbd
create symbolic link `S90aksusbd' to `/etc/init.d/aksusbd'
Trying to start AKSUSB daemon ...
Starting AKSUSB daemon/usr/sbin/aksusbd: no parallel key driver and no usbdevfs found: aborting
.
Done
---------------------------------------
Me@MyComputer::~/Desktop$

after modifying dinst (see attachments)
==============================================

Checking to see if the dongle is visible to the system, if not FlexPDE, in response to:

Me@MyComputer:~$ sudo lsusb -v
[sudo] password for Me:

I get (in addition to several working devices):

Bus 001 Device 003: ID 0529:0001 Aladdin Knowledge Systems HASP v0.06
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0529 Aladdin Knowledge Systems
idProduct 0x0001 HASP v0.06
bcdDevice 1.00
iManufacturer 1 AKS
iProduct 2 HASP4 USB 1.33
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 20
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 54mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
UNRECOGNIZED: 02 ff
Device Status: 0x0000
(Bus Powered)

I gather that bInterfaceClass 255 is not supported by the kernel.



application/octet-streamModified install script
dinst3 (4.6 k)
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 1040
Registered: 06-2003
Posted on Saturday, December 29, 2007 - 12:05 am:   

Are you using the 32- or 64-bit version of Ubuntu?

We loaded the driver on Ubuntu 5.1 32-bit and it worked.

( I have referred your question to Aladdin.)
Top of pagePrevious messageNext messageBottom of page Link to this message

Jared Barber (jared_barber)
Member
Username: jared_barber

Post Number: 26
Registered: 01-2007
Posted on Monday, January 07, 2008 - 12:06 pm:   

Hello,

I thought I should post with some findings in case you haven't already come along them yet.

I have been using VMWare to run linux...in particular different versions of Ubuntu. There are a couple of issues to address.

Multiple Core Support: It seems that Ubuntu 6.06 and before do not support multiple core processors. What I mean by that is that, for instance, with a dual-core, they do not seem to utilize both cores. Hence running two FlexPDE programs at once (in different windows) on a 3 GHz single core processor vs a 3 GHz dual core processor on Ubuntu <= 6.06 should look the same. (On an operating system that supports dual cores hopefully one could get somewhere near a speed up of approximately two.) This is, at least, how it has looked on my VMWare tests. If I am wrong hopefully someone can correct me (but at the very least, Ubuntu <= 6.06 can't seem to do dual-core on VMWare).

I also note it seems that, according to VMWare, Ubuntu >= 7.04 does support dual core processing (unfortunately VMWare allows operating systems to use no more than two cores at once...you can't test whether or not an operating system will implement four cores at once because VMWare won't let you, at least in the version I have).

Device Driver Compatibility: I can't get Ubuntu 7.10 to run the device driver installation successfully. I can, however, get Ubuntu 7.04 to run it correctly. In order to get this to happen, however, I used the "dinst3" that is pasted up above. Using the one from the vendor web-site/from the FlexPDE site doesn't seem to work on Ubuntu 7.04 (because of complaints similar to the complaints listed above for Ubuntu 7.10). Device driver installation works normally for Ubuntu <=6.06 (i.e. don't have to use "dinst3" sort of thing). (As a sidenote, it seems from my searching that Ubuntu 7.10 doesn't have the utility function (?) usbdevfs.)

I didn't test Ubuntu 6.10. All tests were for 32-bit versions of the operating systems (though I'm hoping the 64-bit versions will show the same results).

So then, it seems using Ubuntu <= 6.06 is not very good for people with quad or dual core processors (though again correct me if I'm wrong) and that Ubuntu 7.04 is the newest Ubuntu that works in terms of the device driver actually installing.

I feel I should also note that if you run one FlexPDE problem at a time (and no other programs at the same time) then only single processing is needed and one can be content with that. However, if you plan on running more than one simulation (maybe change a parameter here or there, I do this all the time) then multiple cores can be utilized by running two FlexPDEs at once (that is, two different windows for each FlexPDE)...a sort of "parallel processing". While FlexPDE does not perform parallel processing in an isolated program (except for special ideal problems), parallel processing by running multiple programs at once can still be performed and gains can be had from having multiple cores. The time gains vary depending on the problem (sometimes things may actually slow down rather than speed up, I've done many different tests with different problems) but it's worth keeping in mind (in, for instance, choosing an operating system, because it can speed things up).

Hopefully that helps someone sometime.

Also note, if the dongle people finally update their device driver installers for linux, then some of this information will be outdated.

Jared
Top of pagePrevious messageNext messageBottom of page Link to this message

johnp
New member
Username: johnp

Post Number: 1
Registered: 08-2010
Posted on Monday, August 09, 2010 - 05:00 am:   

Hello,

Does anyone use solution for dongle virtualization for Ubuntu such as offered at http://dongleservice.com ?

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration