Linux-Driver Feedback

Hello!
I am working on an embedded linux box targeted for measuring data and presenting the stuff over the web -> acting as webserver.
We had several problems with the Linux-Version of niDAQmx-base and nivisia, I hope those can be fixed in the next version of the Linux-Driver package:
* NVISIA is based on those ugly automatic installers, which are completly useless of you do not use an RPM based distribution (common on embedded systems).
* even the C-only drivers link against libX11, libXext and liblvmesa - whats this? On many systems those libraries are not present at all - and many computers measuring do not even have a CRT.
* No error messages at all (grrr!!!): If you use e.g. daqlistdevices you do not get any error - it just does not find any devices. It seems it does load libX11 or some libraries like that at runtime - and does not print out any error messages at all - even the /tmp/blabla-error files are empty.
We use it conjunction with nivisia, no errors - never.
Not even a single line - thats not funny!!
Conclusion: We needed about 3 days to get our USB-6008 to work, with hours of studying strace-logs (shows syscalls made by application). 3 Days!! With better error messages and maybe distribution-independent packages this could have been done in 2 hourse.
The current software package looks more like a "hey buy NI stuff - we have linux support"...
Please fix this, lg Clemens Eisserer
PS: However to not only complain about issues, the idea to use usbdevfs is really great!Message Edited by Linuxhippy on 04-11-2005 02:13 AM
Message Edited by Linuxhippy on 04-11-2005 02:14 AM
Message Edited by Linuxhippy on 04-11-2005 02:15 AM

* Its not possible to use the c-interface
as through JNI library with Java.
I normally created a shared-library exposing some features to the java-world, but as soon as I linked this shared-library (linking was enough, even if nothing of was used) java really crashed hard at startup.
I wasn't even able to kill it with "kill -15", I really had to terminate it hard.
I do not know exactly where this comes from, but I assume it is nut possible to load any shared libaries that link to the c-interface at runtime - I do not know wether this is threading-dependent or not.
waw - this all is just crap!

Similar Messages

  • QNX or Linux driver that will DMA from a PCI-6052E

    Hi,
    I am planning a QNX or Linux driver that will DMA from a PCI-6052E.
    In the readme at
    ftp://ftp.ni.com/support/daq/linux/Readme
    snip ..
    * DMA is not supported at this time. Doing DMA would require
    programming the mMITE chip on NI's CPCI/PCI/PXI cards, and as of now
    that information is only available under NDA, thus precluding an
    open-source release. Feedback on this issue is appreciated.
    snip ..
    Is this readme up to date? I do need the DMA, and was hoping to get the
    necessary info from the Linux code.
    cheers -- Rick
    Rick Leir
    Pelyco Systems
    rleir at pelyco dot ca replace at and dot
    Sent via Deja.com http://www.deja.com/
    Before you buy.

    Yes sadly I have tried that config.  I did a clean XP install with onboard sound and agp card, after install completes and windows loads for first time it would play most of the login tune then crash with a loud continuous shriek.  Went into BIOS, disabled sound, unjumpered it, reboot, and boom it ran great.
     Would an IDE contoller card be an option here?  or would the stuttering Southbridge still be involved?

  • How to load linux driver module in java

    Hi
    I am currently trying to load a Linux driver module dynamically from java to enable some kind of wireless communication using the System.load() method. But unfortunately, the module is a .ko file rather than a dynamic loadable library .so file in Linux, So that when I try to load this module, I get an error:
    Can't load IA 32-bit .so on a IA 32-bit platform
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
    at java.lang.Runtime.load0(Runtime.java:769)
    at java.lang.System.load(System.java:968)
    at test.main(test.java:10)
    I wonder if this error is caused purely by the type of file or there might be some other reasons? It seems that all the linux drivers are .ko files, can any one help me to figure out a way of loading such linux drivers?
    Thank you
    Song

    Can any one give me some hint?
    I am thinking about one possible solution: write a c program to load this module, then compile the c program to be a shared object library, and use jni to load this shared object library.
    Does this work?
    Thank you

  • HOW TO upload linux drivers to OES SP2 linux driver store

    Hi everyone,
    I couldn't get iprntcmd to upload a linux driver to OES SP2 driver
    store. Tried everything. Drove me crazy.
    The solution I finally came up with is multi-step but it works. Do
    this as root.
    First:
    You can't upload the drivers in compressed form (.gz extension) so to
    expand them all you run
    for filename in /usr/share/cups/model/*.gz; do gunzip
    /usr/share/cups/model/ "$filename";done
    This expands all the zipped files in the driver directory.
    Second:
    Run the following to upload the drivers to the driver store:
    for filename in /usr/share/cups/model/*.ppd; do iprntman driver linux
    -upload -username admin -P novell -from-ppd
    /usr/share/cups/model/"$filename";done
    Obviously, you need to substitute your own username and password (-P
    parameter). If you don't add the username and password, you'll be
    prompted for them for each driver uploaded.
    It's not pretty, but it'll get you there.
    Regards,
    Don

    Don,
    It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at http://support.novell.com in both the "free product support" and "paid product support" drop down boxes.
    - You could also try posting your message again. Make sure it is posted in the correct newsgroup. (http://support.novell.com/forums)
    If this is a reply to a duplicate posting, please ignore and accept our apologies and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Getting started porting Linux driver

    Hello,
    If this question has been posted somewhere else please point me in the right direction.
    I'm new to solaris and my goal is to port a Linux driver (vmebus pci device on Redhat) to Solaris (X86 v5.11). The Linux driver is all written in straight C. I've installed Solaris Express Dev Edition 2/07. I see that gcc is there (under /usr/sfw/bin) but it seems like a bare-bones development environment (no enviroment variables set up , etc).
    My question is is this the right set of development tools to proceed forward with or should I be downloading something else ? Is there some easier to use graphical 'IDE like' set of tools that is more appropriate for a Solaris newbie like me ? I know Forte is a commercial product, what is the best freeware for graphical C development ?
    Regards,
    Brent
    Message was edited by:
    bbartson

    Here's what I would do... go to this website and download an ISO of a live CD. You can burn it, stick it in your CD drive, and start your PC. It will boot to Linux without ever having to format anything, that way you can tinker around with how it feels. After you are happy with that, you can download and install a distro...
    http://www.kubuntu.org/special-cds.php
    As far as disrtos go, I would choose one of the following for a first time user:
    Kubuntu (because it's easy to get started) http://www.kubuntu.org/ or
    Fedora Core 5 (because it's easy to download and add packages -- most in the Add/Remove Programs app) http://fedora.redhat.com/
    Both of these distributions have a lot of help and howtos when it comes to Oracle as well. If you don't like KDE (I do but that's personal preference) then FC5 gives you the option of Gnome or KDE and Ubuntu is the non-KDE version of Kubuntu.
    ~Jer

  • ATI Linux Driver Beta testers

    Well good news for ATI users, ATI is activly seeking people to help beta test linux CATALYST drivers....
    Here is a link to find out more info and fill out an app
    ATI linux Driver Beta tester info
    forgot here is the link to get the app make sure if you e-mail it to use LINUX in the subject line
    Application
    Never mind the powered by part

    maybe i wont have to use my nvidia TNT2 any more now...

  • Sun SCA6000 Linux driver occasional stalls

    Hi,
    We have encountered an issue with our SCA6000 card's kernel driver in RHEL 5.5. It seems that occasionally, in some (yet unknown) circumstances the card's kernel driver stalls and rebooting the server seems to be the only way to get the driver working again. The following syslog entries can be seen after the driver crash:
    kernel: mca0: userRefresh/semTake returned S_objLib_OBJ_TIMEOUT after 120 seconds
    kernel: INFO: task scakiod:3259 blocked for more than 120 seconds.
    kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    kernel: scakiod D ffffffff80150790 0 3259 1 3260 3258 (NOTLB)
    kernel: ffff81023adfdc38 0000000000000082 ffff810200000001 ffff8102f6caf7f8
    kernel: 0000000000000000 0000000000000009 ffff81033d2be080 ffff81010b722080
    kernel: 00056915fb68a1df 0000000001066045 ffff81033d2be268 000000023d042a80
    kernel: Call Trace:
    kernel: [<ffffffff8838a05d>] :mca:mca_dbm_response+0x488/0x63c
    kernel: [<ffffffff8008cf9d>] default_wake_function+0x0/0xe
    kernel: [<ffffffff883b822d>] :mcactl:mcactl_ioctl+0xcb2/0x1cfc
    kernel: [<ffffffff80016e31>] generic_file_aio_read+0x34/0x39
    kernel: [<ffffffff8000ceb5>] do_sync_read+0xc7/0x104
    kernel: [<ffffffff883b929d>] :mcactl:mcactl_ioctl_lin+0x26/0x2d
    kernel: [<ffffffff80042181>] do_ioctl+0x55/0x6b
    kernel: [<ffffffff80030204>] vfs_ioctl+0x457/0x4b9
    kernel: [<ffffffff8000b79a>] vfs_read+0x13c/0x171
    kernel: [<ffffffff8004c633>] sys_ioctl+0x59/0x78
    kernel: [<ffffffff8005d116>] system_call+0x7e/0x83
    We suspect that this is somehow related to the SCA6000 Linux driver and how it works in an SMP environment. As a workaround, we have disabled multiprocessing in our server by setting maxcpus=1 in our GRUB configuration. So far the issue hasn't re-occurred, but it's not sure whether this workaround helps or not, because the issue has occurred earlier very rarely.
    Has anyone else encountered this problem?

    As a follow-up, incase anyone else is wondering:
    I purchased a couple 92mm quiet Zalman fans. Then had a friend solder the connectors (I'd have soldered my own hand to it) from the original Nidec fans from both the power supply and CPU fan shroud and re-installed them. In the process, I cleaned out most of the dust from the system, and put a dust filter in between the plastic front panel and the metal case. Everything seems fine now:
    +$ cat /proc/cpuinfo+
    cpu : TI UltraSparc II (BlackBird)
    fpu : UltraSparc II integrated FPU
    prom : OBP 3.31.0 2001/07/25 20:31
    type : sun4u
    ncpus probed : 2
    ncpus active : 2
    After the old fans were pulled, I plugged them both into a 12V power supply, and they were making quite a racket, as well as showing very unstable current draw. Probably very good that I replaced them before they stopped completely
    The new fans don't move quite as much air as the original ones, but I couldn't find a listing for the air volume of the originals, as those particular models aren't manufactured by Nidec anymore. And apparently the U60 does not support any kind of temperature monitoring: lm-sensors found i2c-ipmi and bmcsensors interfaces, but there's nothing behind them. And prtconf doesn't report any thermal monitoring equipment either. The harddrives are sitting at around 38 degrees C, so the fans appear to be doing their jobs.
    So, if anyone else is wondering: yes, you can replace bad fans in an sun sparc U60 powersupply and CPU shroud with quiet off-the-shelf PC fans, with a bit of rewiring (don't forget to clamp the white sensor cable).

  • Using the TNT4882 Linux Driver Inside Instrument

    I am running Linux as the operating system inside a piece of test equipment I'm designing (embedded application). I am planning on using the National Instruments TNT4882 GPIB IC. The processor is a Pentium class processor. Will the NI Linux driver for the TNT4882 work for this application? Or does this driver make itself the controller on the GPIB bus no matter what?
    Anyone have any experince with this? Thanks!

    Hi Crytan,
    This is the type of application for which NI-Device was developed. Ni-Device is an instrument side driver that allows you to implement Talker/Listener applications. NI-Device maps the IEEE 488.2 Message protocol state machine, so the device would be IEEE 488.2 compliant. This would be the recommended driver.
    There is a DDK for NI-Device 1.4, which is ported to Linux. The driver is written in C++ and the API is also C++.
    This is not a free driver. You can get more info at:
    http://sine.ni.com/apps/we/nioc.vp?cid=7151〈=US
    Let me know if you have any questions.
    DiegoF
    National Instruments.

  • Pxi gpib linux driver

    I am trying to use the 0.6 gpib linux driver with a pxi gpib card.
    The driver compiles fine but when I do insmod it can't find the card.
    The function call ib_init in init_module fails (ib_linux.c).
    I am using redhat linux with 2.2.16 kernel on a pxi-1000b. All the prerequisites to build the kernel are ok.
    This is the output from lspci -v:
    00:13.0 Communication controller: National Instruments: Unknown device c821 (rev 01)
    Flags: bus master, medium devsel, latency 32, IRQ 11
    Memory at d7006000 (32-bit, non-prefetchable)
    Memory at d7000000 (32-bit, non-prefetchable)
    Questions:
    1) Is this driver supposed to work with a pxi gpib card?
    2) What can I do next?
    Thanks
    Rodolfo Saccani

    If you alter the device ID of the device from c801 to c821 within the driver module, you should be able to use the driver with the PXI board.
    In addition to that, I've included a couple of links that may help you get going.
    http://ae.natinst.com/operations/ae/public.nsf/fca7838c4500dc10862567a100753500/f92bc1b164aec1bd86256923006b7802?OpenDocument
    http://ae.natinst.com/operations/ae/public.nsf/fca7838c4500dc10862567a100753500/862567530005f09c8625675b005e1136?OpenDocument
    Good luck!
    Kim L.
    Applications Engineer
    National Instruments

  • Enhanced Performance USB Keyboard - Linux driver

    When will the Linux driver be available?
    Model: SK-8815
    FRU P/N: 41A4970

    Are you refering to the driver which came with the keyboard or this one which has been available to download since Feb. 
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

  • Nigpib-linux driver compile problem

    I am running SUSE 9.0, and while trying to install nigpib-linux-0.8.6.tar.gz, I get the following compile error:
    Your kernel appears to be configured properly to build NI-GPIB for Linux.
    Do you want to proceed? [yn] y
    gcc -c -O2 -D__KERNEL__ -I/lib/modules/2.4.21-260-default/build/include -DMODULE -DMODVERSIONS -include /lib/modules/2.4.21-260-default/build/include/linux/modversions.h -D__GPIBDRIVER__ -o ib_linux-2.4.21-260-default.o ib_linux.c
    ib_linux.c:419:7: missing binary operator before token "("
    make: *** [ib_linux-2.4.21-260-default.o] Error 1
    Couldn't build driver.
    It has to do with the HZ definition.
    Thanks for any help anyone can give!

    dsb,
    Here is a link to a lengthy thread on this very problem. There appears to be a workaround or two mentioned in the post:
    Linux Driver Compiling Problem
    Let me know if the suggestions in that thread help out!
    Craig H.
    NI Applications Engineering

  • Linux driver for Dynadock PA3575E-1PRP

    We have several Dynadock at work and are migrating to Linux. Is there a driver for it?
    Thanks.

    Hello
    Toshiba doesnt offer support for Linux so on official Toshiba download page you will not find any Linux driver for it.

  • Linux driver for wireless PCMCIA card CD54G2

    I puchased a wireless PCMCIA card - doesn't say who produced it, but is says: "Marketing name: CB54G2", so I guess it is made by MSI.
    I have dual boot laptop - WinXP and Linux Suse 9.1 Professional. I have no problem using this card under WinXp, but I am looking for a Linux driver for this card. Any idea where I find it?
    Thanks,
    Zalek

    Hi,
    Download and install the driver for Realtek wireless RTL8185L from  here.
    Use the Windows 7 driver. If there will be problem with the installation process then use the Compatibility mode.
    Resource:
    Windows 8 compatibility mode
    ** Say thanks by clicking the "Thumb up" icon which is on the left. **
    ** Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue. **

  • Linux driver specification

    Does anybody know where you can get the data file format specification for a linux driver? I'm interested in examining the internal structure of the most simple drivers (eg - the keyboard), to see how exactly the protocol is written.
    Note that I am not asking how to write up and compile a linux driver. I am asking, what is the specification of the binary?
    Additionally, where can you find all of these drivers? (keyboard, network card, etc.)
    Thank you,
    LiteHacker

    I mean a specification for binary drivers that can be added to the kernel separately.
    For example, http://aur.archlinux.org/packages.php?ID=19514 <- If you look at the source of the broadcom code, it seems they put considerable amount of effort in making their binary to be compatible with some linux driver specification. It would be nice to know exactly what that was.
    In order to get around your argument that "they all live in the kernel," consider microkernels, like MINIX3. Where are the drivers, and where can one find the binary driver protocol specification?
    Last edited by LiteHacker (2009-12-13 19:01:31)

  • Linux driver for GF4 Ti 4400

    I bought a new computer a couple of months ago. Equipped with the MSI GeForce4 Ti 4400 128 MB DDR graphics card. It works fine in Win XP, but when I boot in Redhat linux 8.0 things get nasty! The X server dies a couple of times and finally comes alive in a low resolution and few coluors with the vesa driver. The nv driver kills the X-server. So I tried to search the CD¶ that came with the board for linux drivers, but could not find any linux SW at all!
    OK. No problem. Just go to MSI website and download it there, I thougt. The product description for my card clearly stated that there were linux drivers for MSI GF4 Ti 4400 DDR. Following the link under "related" named "drivers" I thought I would find something to cure my flickering screen in a resolution so low it is barely readable. But no. Nothing. Only different microsoft drivers for their OS.
    So where are the needed drivers for my card under linux? Any ideas would be gratefully appriciated.

    Quote
    Originally posted by wonkanoby
    http://www.nvidia.com you will find loads of them
    Thanks wonkanoby!

Maybe you are looking for