Jump to content

As of July 17, 2015, the LabJack forums here at forums.labjack.com are shut down. New registrations, topics, and replies are disabled. All forums are in a read-only state for archive purposes.

Please visit our current forums at labjack.com/forums to view and make new posts. To post on the current forums, use your labjack.com login account. Your old LabJack forums login credentials have been retired. There are no longer separate logins for labjack.com and LabJack forums.


Photo

Opensuse USB driver

U3

  • Please log in to reply
1 reply to this topic

#1 galtbe

galtbe
  • Members
  • 1 posts

Posted 24 July 2013 - 02:56 PM

Hi,

Has anyone successfully installed the exodriver and the USB driver for the U3 under Opensuse 11.3.  The latest version of the USB driver, when running sudo ./install.sh bombs out at the groupadd command, with the option -f identified as not recognised.  I've been trying to get the Linux drives installed for a while now and always come up with one or more issues.  Is it Opensuse causing the problems or down to finger trouble ?

 

Any advice greatly appreciated.  I am a newbe to Linux and Python, but knowledgeable with Labjack devices under Labview

 

Thanks



#2 LabJack Support

LabJack Support
  • Admin
  • 8677 posts

Posted 24 July 2013 - 03:59 PM

Hi,

 

install.sh is known to work on some Linux distributions, but we have not yet tested with openSUSE so we thank you for submitting this post. We'll look into this issue further, but you could try a workaround in the meantime:

 

It sounds like the installation was almost successful but the groupadd utility does not have the -f flag on openSUSE. -f is the --force flag, so you may be able to edit line 145 of  install.sh to omit the -f flag:

 

go groupadd -f $GROUP

 

If you change this line and the script complains that the adm group already exists, just comment out line 145.

 

It looks like openSUSE also does not have the -a flag for usermod, so line 146 will fail as well. However, you could comment out line 146 (go usermod -a -G $GROUP $user) and manually add your user to the adm group. Line 144 of install.sh will output which user it is trying to add to which group.

 

To recap, we hope to modify install.sh to work on openSUSE, but the above workaround should help you if you want to get started right away.

 

Thanks,

LabJack Support





Also tagged with one or more of these keywords: U3

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users