Ubuntu上でDAQmxBaseのlsdaqが認識しない

お世話になります。
USB-6501をDAQmxBase 3.4.0で使用しています。
サポート外なのは承知していますが、ubuntu 9.04, kernel 2.6.28-19-genericで動作させようとしています。
installは何とかできて、dio-sample(readDigPort.cのみ)のmakeもでき、起動させてもエラーは出ないのですが、
実行させると、
Data read: 0xB770C2A0
の様な形で、ポートのデータが読めていないようです。(スイッチを付けても変化がありません。)
Windows-PCにWindows版DAQmxBase 3.4.0をinstallしてみると、正常にポートのデータが読め、
DAQmxBase版にFirmwareの変更もできます。
ubuntuのlsusb -vでは、
Bus 004 Device 004: ID 3923:718a National Instruments Corp.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x3923 National Instruments Corp.
  idProduct          0x718a
  bcdDevice            1.02
  iManufacturer           1 National Instruments
  iProduct                2 NI USB-6501
  iSerial                 3 01526318
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         0 (Defined at Interface level)
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               5
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               5
can't get device qualifier: Value too large for defined data type
can't get debug descriptor: Value too large for defined data type
Device Status:     0x0000
  (Bus Powered)
で、認識できているようですが、
lsdaq、FWUpdate では何も出てきません。
何か解決策はありませんでしょうか。
主に参考にしたフォーラムは、以下のものです。
http://forums.ni.com/t5/Multifunction-DAQ/Is-there-a-Linux-driver-for-the-NI-DAQ-USB-6211/m-p/792706...
http://forums.ni.com/t5/Multifunction-DAQ/USB-6008-Linux-Ubuntu-doesn-t-show-up-with-lsdaq/m-p/59768...
よろしくお願いいたします。

kondara 様
いつもお世話になっております。
日本ナショナルインスツルメンツ技術部の巳波と申します。
既にご存知とのことですが Ubuntu は弊社のドライバでは正式サポートされておらず、こちらから解決策等はご案内致しかねます。
私から提案できることとしましては、一度下記の Linux ユーザコミュニティに投稿されてはいかがでしょうか。
http://decibel.ni.com/content/groups/linux-users
宜しくお願い致します。
日本ナショナルインスツルメンツ株式会社 技術部 巳波裕介
Yusuke Minami, Applications Engineering, National Instruments Japan
技術サポートウェブページ: http://www.ni.com/support/ja
お問い合わせフリーダイヤル: 0120-527196

Similar Messages

  • Using USB 6009 on Ubuntu 12.04

    So I've read many forums on this and it seems to be a common issue, which no one has figured out (from what I've read so far). I need to have the USB 6009 working on Ubuntu 12.04 for some field experiments and I don't have alternatives / options.
    I decided to go ahead and try installing the drives. I found this page (http://maztories.blogspot.sg/2013/03/ni-usb-6008-card-can-be-installed-in.html) which I thought explained the steps in a simple way. I was able to install the latest versions of NI-KAL and NI-VISA with the steps mentioned. But I had problems installing NI-DAQmx Base.
    I reached this point (alien -k --scripts *.rpm) where I got the error, the rpm packages are 32-bit (i386) and cannot be extracted on a 64-bit machine. I started looking at alternative ways to convert the RPM files to DEB.
    I tried the steps below mentioned in this link (http://askubuntu.com/questions/215624/alien-cannot-built-package-for-architecture-ubuntu-amd64) but was stuck again at "...labview2010 / 2011 / 2012..." RPM files, which didn't have an "install" folder.
    alien --to-tgz --scripts file.i386.rpm
    mkdir unpack
    cd unpack
    tar -xpzf ../file.tgz
    mv install ..
    cp -rv * /
    cd ../install
    ./doinst.sh
    I continued looking for alternatives and found this link
    and I followed the steps below.
    The process is quite easy, in short you need to modify the control file and that's it.
    sudo alien -g package-name.rpm
    cd package-dir/
    sudo vi debian/control
    Now change the architecture (i386 in my case) to be the one you need. For example, I added the amd64 archicture and this is how the line ended up:
    Architecture: i386, amd64
    Last step:
    sudo debian/rules binary
    This will produce the .deb file.
    I was able to create the DEB files successfully. I tried the next step of installing DEB file (dpkg -i *.deb) and it worked! I followed the remaining steps until ./updateNIDrivers and everything worked fine.
    After this, I updated the firmware on DAQ to that of DAQmx base since I had used it on windows machine with DAQmx earlier. I followed the steps in these links:
    https://decibel.ni.com/content/docs/DOC-12153
    http://digital.ni.com/public.nsf/websearch/91CBCFE9E171C845862572CF0077D8F9?OpenDocument
    I went back to Linux and tried connecting the USB DAQ. The LED light on the DAQ blinks. I tried the lsusb command and I get the following:
    $ lsusb
    Bus 002 Device 003: ID 0a5c:5800 Broadcom Corp. BCM5880 Secure Applications Processor
    Bus 002 Device 004: ID 3923:717b National Instruments Corp.
    Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 003: ID 05ca:1814 Ricoh Co., Ltd HD Webcam
    Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    I see National Instruments Corp. as one device which means the DAQ is being recognized. But when I type lsdaq I get the following: 
    /usr/local/natinst/nidaqmxbase/bin$ lsdaq
    Detecting National Instruments DAQ Devices
    Found the following DAQ Devices:
    /usr/local/bin/lsdaq: line 7: /etc/natinst/nidaqmxbase/bin/daqmxbase_listdevices: No such file or directory
    I'm not sure what to do after this point. Since the error says No such file or directory, I don't know if the NI DAQmx base installed properly. Are the steps that I followed correct? Is converting RPM to DEB in the way I mentioned the right way? 
    Any suggestions would be greatly appreciated. I really need to get this working.
    Thanks!

    Hello all,
    I am also having a problem getting this working. 
    It was installed on an old i386 machine with Redhat, but I am now trying to move it to a new amd64 machine with Ubuntu as the old PC died.
    I have used alien -g name.rpm and /debian/rules library to create the deb files.  dpkg -i installed them ok.
    When I try to compile any code that has #INCLUDE "NIDAQmxBase.h" it gives a fatal error : No such file or directory.
    I added the location of this file /usr/local/natinst/nidaqmxbase/include/ to the path but still got the same error when I run gcc.
    I created a Makefile and added includes=I/usr/local/natinst/nidaqmxbase/include/
    This has got me past the missing NIDAQmxBase.h problem but now it cannot find lnidamxbase lnidaqmxbaselv and llvrtdark
    I tried adding nilibs=-lnidamxbase -lnidaqmxbaselv -llvrtdark to the makefile with out any luck. 
    I do not know much about LD so I am not sure if I still have an issue there.
    I also do not have the lsdaq command in the bin directory so I may not have successfully installed the ni software packages.
    Has anyone managed to solve the USB6009 on a 64 bit Debian base at all?
    I am running Ubuntu 12.04 64bit.
    Hopefully between us all we can crack this for debian based machines.
    s.vignesh  wrote:
    I continued looking for alternatives and found this link
    and I followed the steps below.
    The process is quite easy, in short you need to modify the control file and that's it.
    sudo alien -g package-name.rpm
    cd package-dir/
    sudo vi debian/control
    s.vignesh, your link to these steps is not showing up.  Can you repost it.  I am not sure what other steps you did after the dpkg -i
    Regards,
    Phil

  • DAQmxbase with pci 6220

    I have developed C code to sample a USB-9215A using nidaqmxbase on windows xp. Installing only nidaqmxbase (not nidaqmx) the code ran well. Now on the same machine I have installed a PCI-6220 card and am trying to reuse the same code (for both devices  Dev1, Dev2). After trying many different strategies it is not working and the USB device no longer works either. Sequence of events:
    1) There did not appear to be a driver for the 6220 using nidaqmxbase
    2) So removed nidaqmxbase and installed nidaqmx (940f1) , the device is now found (Usb on Dev1 and PCI on Dev2)
    3) Tried to compile the code but it appears  nidaqmxbase is not a subset of nidaqmx as indicated in the documentation (e.g. calls to "DAQmxBase****" functions are not found when linking against NIDAQmx.lib) and code will not compile
    4) So reinstalled nidaqmxbase (345) over the top of nidaqmx, code now compiles (linking against nidaqmxbase.lib) but will not run (for either USB or PCI)
    5) Error is DAQmxBase Error: 2288296
    6) The devices do not appear to be available to nidaqmxbase e.g. program "lsdaq" does not show devices
    So the question is do I need to ditch the nidaqmxbase software and re-write it using nidaqmx functions or can nidaqmxbase be made to work with the pci-6220 (my preference)

    Solution found
    It seems that 6220 is not supported in nidaqmxbase, so removed all ni software and installed nidaqmx only
    Then the code can easily be ported by changing all DAQmxBase**** function calls to DAQmx***** function calls

  • Daqmxbase 3.2 vi examples

    I've installed NIKAL19.iso, NI-VISA-4.5.iso, nidaqmxbase-3.2.0.iso and finally LabVIEW8.6.1 in that order on Scientific Linux 5.2 which is essentially RHEL5.  Once I put the PCI controller in the correct slot and boot the machine with the PXI crate on, well, I'm floored to find out that
    # lsdaq
    Detecting National Instruments DAQ Devices
    Found the following DAQ Devices:
    NI 6221:     "Dev1"    (PXI15::15::INSTR)
    Which is exactly what I wanted.  The next step seems to be to figure out how to use this device.  Best way is through examples, right?  They aren't there.  Oh sure, I have C API examples for daqmxbase, but nothing in LabVIEW examples or nidaqmxbase/examples.  Can't find anything to download on ni.com.  So, where are they?
    Dan

    Run the DAQmx Base INSTALL script again. Since LabVIEW 8.6 was installed after Base, the script didn't know that you wanted any LV examples ;-)
    Joe Friedchicken
    NI VirtualBench Application Software
    Get with your fellow hardware users :: [ NI's VirtualBench User Group ]
    Get with your fellow OS users :: [ NI's Linux User Group ] [ NI's OS X User Group ]
    Get with your fellow developers :: [ NI's DAQmx Base User Group ] [ NI's DDK User Group ]
    Senior Software Engineer :: Multifunction Instruments Applications Group
    Software Engineer :: Measurements RLP Group (until Mar 2014)
    Applications Engineer :: High Speed Product Group (until Sep 2008)

  • Interface via DAQmxBase to USB6501 daq

    Hello,
    I have a USB6501 which is a 24 line digital I/O. I have no problem
    using it using the the standard "DAQmx" functions. However as I need to
    use the device in Linux (redhat enterprise WS3, which is suported), The
    only vi package available for labview 7.1 Linux is the "DAQmxBase
    version 1.5". This installs fine and the command "lsdaq" gives a
    listing of my device "Dev1". However when I attempt to run either my
    own or one of the examples, it says "Error-200170 occured at physical
    channel specified does not exist on this device"
    Something similiar happens when I use the DAQmxBase in windows. Any help would be great.
    Cheers

    Hello BJ_phy,
    There is a firmware "switch" necessary to move the device from NI-DAQmx to NI-DAQmx Base and vice versa.  Check out this KB:  Using the USB-6008/9 and USB-6501 with NI-DAQmx or NI-DAQmx Base.  That should do the trick, re-post if this does not solve your problem. 
    -Alan A.

  • Droits usb pour carte 6501 Linux (ubuntu 10.04)

    Bonjour à tous,
    Je suis en train de configurer un pc d'acquisition pour une manip,
    et je dois être sous Ubuntu 10.04 pour des raisons qui non rien à
    voir.
    Je me suis débrouillé avec ce que j'ai trouvé sur ce forum
    (alien, bum...) et tout à l'air de bien marcher, la compilation des
    exemples, lsdaq ect.
    Mais tous ça ne fonctionne que sous root (ou sudo). Je suspecte
    un problème de droit usb (ça m'est déjà arrivé avec un
    thermomètre, mais ça n'a pas était résolu).
    Quelqu'un sait-il résoudre ce problème s'il vous plaît ?
    ps: résultat de lsdaq:
    Detecting National Instruments DAQ Devices
    Found the following DAQ Devices:
    NI USB-6501: "Dev1"    (USB0::0x3923::0x718A::013D2F80::RAW)
    Merci

    Bonjour IceFinger,
    Je vous remercie d'avoir posté sur le forum de National Instruments.
    En terme de configuration de votre matériel, il n'est pas anormal que vous ne puissiez le faire qu'en tant qu'Admin de votre machine. Parcontre en tant qu'utilisateur, avez-vous la possibilité de vérifier que vous pouvez executer un exemple en appelant Dev1?
    Merci d'avance,
    Bonne journée,
    Flo
    Open Diagram First

  • Installation problem on Ubuntu 8.04

    When I tried to install SJSWS7 on Ubuntu 8.04 (Chinese Simplified), words on the installation windows are all unreadable words (except for the English characters). Please tell me what I can do!
    Thanks.
    Owen

    to sandycn: You are really a treasure Sandy!!!! Thanks a lot. Last night I used your way and it really worked! ^o^
    to joe.mccabe: Your solution, I believe, will work too! I'll write down both you and Sandy's suggestion and for further reference!! But I really want to know what is the default font used in WS7? I have several Chinese fonts installed in my Ubuntu 8.04, but you see none is right for WS7! Not every people is an expert for WS7, someone might be just learning how to use WS, so I believe we can make it easier for beginners!!! Or maybe all these have been written in the distribution document and I didn't find them! :-(((((((
    By the way, where can I find a handbook on how to use Netbeans6.5? My feeling is that the Java language is difficult to learn, and the IDE is also something we should learn thoroughly if we want learn Java really well! There are a lot of things written for Java, but nowhere can I find a document about how to use the IDE! The online help is not really so helpful, and the infomation provided in the Netbeans6.5 HELP is not very complete!
    The problem I encountered now is: I'm trying to write a small application for looking up phone numbers. The phone numbers are listed in a CSV file. The problem is where I should put the CSV file and how to access it! (I'm using the Netbeans IDE, and the application I'm doing on is a desktop application)
    I guess the solution must be quite easy, but I just cann't find any document to tell me the way!
    Edited by: Owen.Wang on Nov 24, 2008 4:44 PM
    Edited by: Owen.Wang on Nov 24, 2008 5:22 PM

  • Lenovo Yoga 2 13, Kali Linux 1.0.7, Ubuntu 14.04, Windows 8.1 install, config, and wifi fix.

    Lenovo Yoga 2 13, Kali Linux 1.0.7, Ubuntu 14.04, Windows 8.1 install, config, and wifi fix.
    I wanted to share an experience with everyone I hope will help others avoid what I have gone through the past 3 days. I bought a Yoga 11s that I loved but had some issues with the wireless, Lenovo being awesome replaced it with a Yoga 2 13. I love this laptop but ran into some issues with Linux install/wireless, which I wanted to show how to resolve in one place. Hopefully this will help someone else get through this quicker
    I am going to try and write this for someone with little Linux experience, if I miss the mark please let me know and I will clarify the best I can.
    For work I need Windows 8.1 and Kali Linux, while for home I prefer Ubuntu.
    My Yoga 2 13:
    I5 1.6 ghz
    8 GB ram
    256 GB SSD
    ORANGE!
    My requirements: 
    I need Windows
    I need Kali Linux (livecd, even with persistent mode was not an option as it would not save the wireless fix or system updates) – I would also like this on a USB drive and not the internal SSD
    I would like Ubuntu
    Needed to do this:
    1. 2 USB thumb drives (at least 8gb in size each) I used 2 Leef Supra 32GB drives. They are my favorite right now and are only about $27 at amazon.
    2. Phone that can USB Tether or a USB Ethernet card (External USB wireless will show as "Hardware Locked"). Again you can pick one up for sub $10 if you need the USB Ethernet route. I used my Galaxy S5, you will need to download 200-300 mb of items through this so make sure you have the data if you go that route.
    3. You may be able to get a USB wifi card to work if you do the following after boot. This only worked once for me.
                    a.Type ‘sudo rmmod iwlmvm’
    b.Type ‘sudo rmmod iwlwifi’
    4. ISOs of Ubuntu and Kali Linux (I used Ubuntu 14.04 and Kali Linux 1.0.7)
    5. Software to unzip the ISOs. I recommend 7-ZIP and will be referencing this in this guide.
    6. I will include the EFI boot files and the WiFi fix files if I can attach. Otherwise I will provide a link to them.
       Link: https://www.dropbox.com/s/puxnnoft3gn2b6l/WiFiFix.zip
    Recommended (these are just in case you corrupt something making your system not see any OS
    1.  I would call Lenovo beforehand and get a set of recover disks (this will take 2-3 days)
    2. In the meantime a USB Windows 8.1 or 8 ISO (the repair feature may save you)
    *Note: At many points in this guide I detail steps and commands. Please double check that you understand the step before proceeding. There are multiple points where a mistyped command or clicking the wrong option will cause your entire system to fail and you will need to reformat the entire drive and start over. This also will make One Touch recovery not work. Proceed with caution.*
    I did not need to disable ‘secure boot’ to do this, but keep in mind that you may need to.
    Steps:
    First let’s go through the installs, and then we will go through grub config and wireless fix
    1. In Windows scroll to computer and right click, select manage.
    2. Go to “Disk Management”
    3. Select the main HDD (notice Lenovo puts a stupid number of partitions on here)
    a. I deleted the D: drive on here, if you do this make sure to copy the drives over to your main C: drive. You will want to run each of the installers and repair the drivers after.
    4. I used the space from the D: drive and pulled a little more creating a 50 GB partition for Ubuntu and my swap file
    a. You can also add more space by right clicking your C drive and selecting shrink
    b. Do not format the partitioned data as this will make identifying it later much easier.
    5. Open a command line
                    a. Swipe from the right of the screen and select search
                    b. Type ‘cmd’
                    c. right click and select ‘run as admin’
    6. For Ubuntu: Type ‘diskpart’ into the command line
                    a. type ‘list disk’
    i. You should see 2-3 disks depending on if you have one or both usb drives in the laptop at the time. I would suggest only doing 1 at a time so you don’t lose track.
                    b. type ‘select disk $’ (Replace the $ with the number of the drive)
    c. ***** Before proceeding make sure you have the correct drive selected or you can ruin your Windows install and Lenovo one touch recovery will not fix it since we have changed the partitions *****
    d. type ‘clean’
    e. type ‘create partition primary’
    f. type ‘active’
    g. type ‘format  fs=fat32 quick’
    h. type ‘assign’
    i. type ‘exit’
    6. For Kali Linux: Type ‘diskpart’ into the command line
                    a. type ‘list disk’
    i. You should see 2-3 disks depending on if you have one or both usb drives in the laptop at the time. I would suggest only doing 1 at a time so you don’t lose track.
                    b. type ‘select disk $’ (Replace the $ with the number of the drive)
    c. ***** Before proceeding make sure you have the correct drive selected or you can ruin your Windows install and Lenovo one touch recovery will not fix it since we have changed the partitions *****
    d. type ‘clean’
    e. type ‘create partition primary size= 3272
    f. type ‘active’
    g. type ‘format  fs=fat32 quick’
    h. type ‘assign’
    i. type ‘exit’
    j. By doing this we can maintain a portion of this drive as the install CD and still have linux install/ liveCD if we need to run it on another machine.
    7. At this point the drive is ready to have the contents of the ISO copied over.
    8. Right click the ISO and select 7-zip then ‘zip to /’ This should unzip the ISO to the location of the ISO into a folder named exactly the same as the ISO.
    9. Once this is done for Ubuntu ISO it is done
    10. Kali requires a little bit more to be ready
                    a. Kali will need some files added for EFI boot. --$--
                                   i. Thanks to: https://forums.kali.org/showthread.php?271-How-to-EFI-install-Kali-Linux
                                   ii. EFI files are located within the wifi fix folder https://www.dropbox.com/s/puxnnoft3gn2b6l/WiFiFix.zip
    11. Now let’s start with Ubuntu
    Ubuntu install
    1.     Place USB drive into the laptop and press the “Lenovo boot” button next to the power button
    2.     Select ‘Boot Menu’
    3.     Select ‘EFI USB Device (Name of drive)’ Mine stated Leef Supra
    4.     Select ‘install Ubuntu’
    5.     Go through the Ubuntu install until you get to select the install drive
    6.     Once you get to the install portion it will ask you to select from one of 4 options. Select ‘Manually select partition’
    7.     Select the “Free Space” where we opened up some of the drive
    8.     You will need to create 2 partitions, I usually create the swap partition at the end of the drive
    a.     First I create the swap
                                              i.    Set at the end of the drive
                                             ii.    Set size to 1024 mb
                                            iii.    Set type to ‘swap’
    b.     Second create the ext 4 partition
                                              i.    Set to beginning of drive
                                             ii.    Set to remainder of the space
                                            iii.    Set type to ext4
                                            iv.    Set mount point to /
    9.     Finish the install and boot into Ubuntu
    10.   You will notice that your wireless is ‘disabled by hardware’ This is fine for the time being and we will worry about this after the kali install. If we fix it now for some reason after installing kali we get the error again and would just need to fix it again.
    Kali Linux install
    1.     Place USB drive into the laptop and press the “Lenovo boot” button next to the power button
    2.     Select ‘Boot Menu’
    3.     Select ‘EFI USB Device (Name of drive)’ Mine stated Leef Supra
    4.     From the grub menu select ‘install kali linux’ both graphical and text work. I much prefer text install
    5.     You will get a few errors through the install but that is fine
    6.     The first we see is about network hardware and ‘load missing firmware from removable media?’ – Select ‘no’
    7.     Then select no ethernet card
    8.     It will have you name your machine then it will ask you for the root password
    a.     If you want to just use root *not recommended* place the password here
    b.     If you wish to use a non-root account then leave these blank and it will ask you for a name, username, and password of the new machine *Very Recommended* - this will also add this user to the sudoers file
    9.     It will then ask you to ‘partition disks’
    10.   Select manual
    11.   Now here is where it can get a little confusing so read twice click once
    12.   Select the USB drive from this list
    13.   Mine shows up under (sdb) – Leef Supra
    a.     It could be sdc, sdd, sde, etc… depending on how many drives you have plugged in.
    14.   You should see one primary drive that is 3gb or so that is formatted as FAT32. – DO NOT TOUCH THIS PARTITION!
    15.   You should see the remainder of this drive as ‘FREE SPACE’ select that
    16.   Create a partition at the end at size 1024mb and swap
    17.   Then create another one for the remainder of the drive and set it to ext4 with mountpoint of /
    18.   Continue through the install after you should see an error warning you that ‘you may not be able to boot’ that is fine, select continue
    19.   Then select from the menu of all the options ‘continue without bootloader’
    20.   It should finish up then reboot on its own.

    First setup/boot/fix grub
    1.     You should  be able to boot up into GRUB2 menu now.
    2.     You may not see kali linux in this menu (make sure you have your towel and don’t panic!)
    3.     Boot into Ubuntu
    4.     Once you log in you should see that you still cannot use wireless due to being locked by hardware
    5.     This is expected
    6.     Let’s fix grub then we will come back to fixing wireless
    7.     Plug in your device to connect to the internet (USB Tethering or USB Ethernet)
    8.     Once you verify that you now have an internet connection run the following from terminal
    a.     ‘sudo add-apt-repository ppa:danielrichter2007/grub-customizer’
    b.     ‘sudo apt-get update’
    c.     ‘sudo apt-get install grub-customizer’
    9.     You can also edit the grub.cfg manually if you know what you are doing… I did not
    10.   Open grub  customizer
    11.   It should auto populate and you should see ‘debian (kali linux)’ somewhere in the list
    12.   It should be mounted to /dev/sdb2 or /dev/sdc2 depending on how many devices you have
    13.   At this point go ahead and save
    14.   Reboot and test that you can get into each OS
    15.   This is where my inexperience got me. I spent 2 of my days so I am including this error: If when you boot into Kali you get an error somewhere that says ‘/bin/sh: can’t access tty: job control turned off’ look above it for an error that looks similar to ‘ALERT! /dev/sdc2 does not exist. Dropping to a shell!!’
    a.     That error is due to the mount point being incorrect in grub, reboot and from within grub highlight the kali boot. Press ‘e’ then towards the bottom you should see ‘root=/dev/sdc2’ change this to ‘root=/dev/sdb2’ again the number doesn’t matter just make sure it stays the same.
    b.     Press F10
    c.     If this boots fine then you will need to go back and fix the grub.cfg or load into Ubuntu and open grub customizer again, it should fix this
    16.   Now you have 3 working OS on the machine with one being on a USB! Congrats!
    17.   You can remove the USB with no worry of screwing up your install, but you will not be able to boot into Kali Linux until you replace it. I would suggest only removing it and replacing it while the machine is powered off, but that’s just me.
    Fix Wireless
    Now is the time to do what probably ¾ of you came here for. FIX THE DANG WIRELESS. This is a huge problem from Lenovo’s side that I hope they realize how important Linux is and will fix. I won’t hold my breath though.
    Log into Ubuntu : This is well documented in the following forum post on page 3 by user Haohe:
    http://ubuntuforums.org/showthread.php?t=2215044&page=3
    His has you download quite a large file, mine should be much smaller.
    https://www.dropbox.com/s/puxnnoft3gn2b6l/WiFiFix.zip
    1.     Download the attached package with the fix.
    2.     Connect your USB internet device (tether or ethernet)
    3.     Place the packages somewhere easy to access, in this example I will place them under ~/Desktop/WiFiFix
    4.     Type ‘cd ~/Desktop/WiFiFix/’
    5.     Now we need to prep the tools we need.
    6.     Type ‘sudo apt-get update’ – we did this before, but you know, just in case
    7.     Type ‘sudo apt-get install linux-headers-`uname –r`’   Note around uname-r they are the ` symbol not the ‘ this is located just above the tab on the same key as ~.
    8.     Type ‘make’
    9.     Type ‘sudo cp /lib/modules/3.13.0-24-generic/kernel/drivers/platform/x86/ideapad-laptop.ko ~/ideapad-laptop.ko.backup’
    10.   Type ‘sudo cp ~/Desktop/WiFiFix/ideapad-laptop.ko /lib/modules/3.13.0-24-generic/kernel/drivers/platform/x86/’
    11.   Type ‘sudo modprobe -r ideapad-laptop’
    12.   Type ‘sudo modprobe ideapad-laptop’
    13.   Type ‘sudo rfkill unblock all’
    14.   Type ‘sudo modprobe -r ideapad-laptop’
    15.   Type ‘sudo mv ~/ideapad-laptop.ko.backup /lib/modules/3.13.0-24-generic/kernel/drivers/platform/x86/ideapad-laptop.ko’
    16.   Next we need to blacklist the ideapad module
    17.   Type ‘sudo echo 'blacklist ideapad-laptop' > /etc/modprobe.d/blacklist-ideapad.conf’
    a.     The first time I tried this it wouldn’t work. So I did the following
    b.     ‘sudo touch /etc/modprobe.d/blacklist-ideapad.conf’
    c.     ‘sudo vim /etc/modprobe.d/blacklist-ideapad.conf’
    d.     Enter     blacklist ideapad-laptop
    e.     Exit and save
    18.   Reboot your Yoga 2 13
    19.   Boot into kali and see if you have wireless, if you do then you are done. If not we will need to repeat this process with one small little change.
    Kali Wifi Fix
    1.     Copy the sources.list from the package provided
    2.     Replace /etc/apt/sources.list with the included
    3.     Some of the file path changes but the process remains the same from here.
    Congratulations you now have 3 OSes one portable to other machines and working wifi!
    Thank you
    SirGed

  • Ubuntu, Windows, and iTunes can't see my iPod. What can I do?

    I have an iPod 5g and i have been messing around with it and i discovered the problem of iTunesLock preventing me from accessing the iPod and putting itself back on. Well in a stroke of genius I deleted the Play Counts and iTunesLock files also trying to see if that would stop iTunesLock from reappearing every time i plug in my iPod.
    Now my computer (running Ubuntu 7.10) does not see it at all. Also windows does not see it, until i remove it then it says my iPod is corrupted, but when i connect it, iTunes denies any knowledge of seeing it.
    I tried to use this website to help and it did nothing for me.
    http://www.macworld.com/article/38851/2004/09/trubipod.html
    Right now when i turn it on it shows the "Connect to computer. Use iTunes to restore iPod."
    then it goes into disk mode. Strangely, even in disk mode neither windows nor Linux can see it.
    I went into the diagnostics menu and everything seems to check out fine.
    i know there is a .Trash-matthew file on the iPod and i have a great suspicion that if i can get on the iPod and see the hidden files then i could just put the file back.
    Also BIOS does see it so I don't think its completely bricked yet.
    I am using linux but I have access to Windows Vista. So I can work in either format.
    for those versed in Linux here are some commands and their outputs for you to use:
    This is the immediate output of dmesg
    [CODE]matthew@matthew-laptop:~$ dmesg | tail
    [ 4127.628000] scsi 9:0:0:0: Direct-Access Apple iPod 1.62 PQ: 0 ANSI: 0
    [ 4127.632000] sd 9:0:0:0: [sdb] 58605120 512-byte hardware sectors (30006 MB)
    [ 4127.632000] sd 9:0:0:0: [sdb] Write Protect is off
    [ 4127.632000] sd 9:0:0:0: [sdb] Mode Sense: 68 00 00 08
    [ 4127.632000] sd 9:0:0:0: [sdb] Assuming drive cache: write through
    [ 4127.632000] sd 9:0:0:0: [sdb] 58605120 512-byte hardware sectors (30006 MB)
    [ 4127.636000] sd 9:0:0:0: [sdb] Write Protect is off
    [ 4127.636000] sd 9:0:0:0: [sdb] Mode Sense: 68 00 00 08
    [ 4127.636000] sd 9:0:0:0: [sdb] Assuming drive cache: write through
    [ 4127.636000] sdb:
    [/CODE]
    This is the output of dmesg after it has been connected for like 5 or 10 minutes
    [CODE]matthew@matthew-laptop:~$ dmesg |tail
    [ 9694.884000] Buffer I/O error on device sdb, logical block 0
    [ 9775.112000] sd 19:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVEROK,SUGGESTRETRY
    [ 9775.112000] end_request: I/O error, dev sdb, sector 0
    [ 9775.112000] Buffer I/O error on device sdb, logical block 0
    [ 9853.396000] sd 19:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVEROK,SUGGESTRETRY
    [ 9853.396000] end_request: I/O error, dev sdb, sector 0
    [ 9853.396000] Buffer I/O error on device sdb, logical block 0
    [ 9933.328000] sd 19:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVEROK,SUGGESTRETRY
    [ 9933.328000] end_request: I/O error, dev sdb, sector 0
    [ 9933.328000] Buffer I/O error on device sdb, logical block 0[/CODE]
    Realizing it wasn't mounted tried to mount it and got this response:
    [CODE]matthew@matthew-laptop:~$ sudo mount /media/sdb
    [sudo] password for matthew:
    mount: can't find /media/sdb in /etc/fstab or /etc/mtab[/CODE]
    I tried to fdsk it and got this:
    [CODE]matthew@matthew-laptop:~$ sudo fdisk /dev/sdb
    last_lba(): I don't know how to handle files with mode 40755
    You will not be able to write the partition table.
    Unable to read /dev/sdb[/CODE]
    The last thing that I tried was mkfs.vfat /dev/sdb2:
    [CODE]matthew@matthew-laptop:~$ mkfs.vfat /dev/sdb2
    mkfs.vfat 2.11 (12 Mar 2005)
    ]/dev/sdb2: No such file or directory[/CODE]
    Any input would help would be greatly appreciated.

    Try these:  iPhone, iPad, or iPod touch: Device not recognized in iTunes for Mac OS X, http://support.apple.com/kb/TS1591

  • Could use help dual booting windows 8 and ubuntu 13.04

    I have a Lenovo G580 with windows 8 + Ubuntu 13.04 installed. I've been trying to get Dual-boot to work for the past few hours with no success. I've been following this guide. After setting up the partitions similar to the ones in the guide i downloaded easyBCD on windows 8. I then added Ubuntu 13.04 to the grub menu. When i restart my laptop i get the menu with lenovo recovery, windows 8, and Ubuntu(not Ubuntu 13.04 like i labeled) when clicking Ubuntu it says windows failed to load, insert media for recovery. I can't do anything to access Ubuntu at this point. I don't know what it is i'm doing wrong but could use some help. Below are some pictures of the process. I'll post any needed info that i may have forgotten. When choosing OS it's in uefi mode.
    partitions
    OS's

    I have a Lenovo G580 with windows 8 + Ubuntu 13.04 installed. I've been trying to get Dual-boot to work for the past few hours with no success. I've been following this guide. After setting up the partitions similar to the ones in the guide i downloaded easyBCD on windows 8. I then added Ubuntu 13.04 to the grub menu. When i restart my laptop i get the menu with lenovo recovery, windows 8, and Ubuntu(not Ubuntu 13.04 like i labeled) when clicking Ubuntu it says windows failed to load, insert media for recovery. I can't do anything to access Ubuntu at this point. I don't know what it is i'm doing wrong but could use some help. Below are some pictures of the process. I'll post any needed info that i may have forgotten. When choosing OS it's in uefi mode.
    partitions
    OS's

  • How to Install the Forms and Reports 6i in Ubuntu 6.06 LTS

    Dear All,
    I need to install Forms and Reports 6i in Ubuntu 6.06 LTS.
    I had downloaded the d2k6irelease2.tar also and extracted the tar file.
    I don't know how to start up with the installation further., Is there any document available for the installation process inubuntu.. or what are the steps that i need to follow to make it work..?
    Many thanks in advance...

    Hi,
    Here's the Forms and Reports Services Deployment Guide for OAS 10g 10.1.2:
    http://download-east.oracle.com/docs/cd/B14099_11/web.1012/b14032/toc.htm
    You will need to modify your default.env to point to the directory where your .fmx is located and formsweb.cfg to run the specific form, e.g. foo.fmx (default is test.fmx).
    HTH,
    Jim

  • Will Ubuntu work?

    I'm having a hard time gauging whether Ubuntu will install on particular HP laptops, since there are so many models out there.
    Specifically, I was looking to get the HP PAVILION 15-P241ND for use at my job, because it has 16GB RAM, and I don't care much about the other specs.
    My question is whether Ubuntu 14.04 or later will install without major problems. So, no overheating, no fans going wild, no random lock-ups, no wifi troubles, no disk thrashing, etc.. I basically just want to use the machine to its full potential under Ubuntu.
    As I understand, HP and Dell have quite a few Ubuntu-certified laptops, so the outlook is good, but it's still difficult to figure out what to expect for a particular machine.
    I hope you can help me, or give me some pointers to further my investigations.

    pritam2015 wrote:
    Every pc is made for run Operating system it will does not matter which OS you have as OEM or come from manufucturar.
    If your pc having following specification your pc is 100% supported for ubutun 14.04
    700 MHz processor (about Intel Celeron or better)
    512 MiB RAM (system memory)
    5 GB of hard-drive space (or USB stick, memory card or external drive but see LiveCD for an alternative approach)
    VGA capable of 1024x768 screen resolution
    Either a CD/DVD drive or a USB port for the installer media
    (These requirements are taken from ubutuns official webside)
    That's is also misleading as well...
    What you should consider is driver support first before going to a Linux based O/S system. And should consider Windows O/S has more driver and software support as opposed to Linux O/S there  is so many distro out there there isn't one main O/S to go with. If you want to know more you should really go and ask on the Ubuntu forum for your questions.
    Beyond hardware requirements. Things to consider.
    1. Custom software supported for the O/S
    2. Driver updated supported
    3. How well after the laptop is bought is the laptop still being supported by the hardware manufacture for the O/S not the company selling the laptop.
    I am a Volunteer to help others on here-not a HP employee.
    Replies aren't online 24/7 because of Time Zone differences.
    Remember in this Day and Age of Computing the Internet is Knowledge at your fingertips if you choose understand it. -2015-

  • Firefox running under Linux Mint (based on Ubuntu) 12 (KDE) won't install extensions for Firefox

    Linux Mint (based on Ubuntu) 12, KDE desktop
    Firefox 10.0
    Started up Firefox right after Mint was installed. On the add-ons page video download helper was shown as a featured extension and I installed it, then rebooted when prompted. After that, Firefox would never install another extension again. Just gives download error.
    I google searched and in a forum I found a post about uninstalling and reinstalling Firefox. I tried it. First time I started it up, it installed video download helper again, but then would not install any other extension after that. I tried numerous extensions I '''KNOW''' are working in Firefox 10.0 because they are working in Firefox over on my Win 7. Everytime I get a download error, either from the addons site or from the Add-ons Manager in Firefox.
    Someone told me on the Mint forums that I needed to add a subdirectory on a certain directory, so I did that. Didn't work.
    It seems Ubuntu disables the root, or cripples it, and I guess Mint does too. You can still use sudo when doing things in Ubuntu (and Mint I would assume, since it's based on Ubuntu) but you can't get true 'superuser' access as I understand it. But, I don't think this would have any bearing on the problem, or my search of the Mint forums would have come up with all kinds of threads screaming about this.

    Problem solved - it was caused by an add-on called "PDF Download 3.0.0.2)
    To fix - in Firefox :
    Click on '''Tools''' command (top of screen)
    Select '''Extensions'''
    click on "'''disable''' button beside '''PDF Download'''
    Close Firefox and restart it.
    Clicking on any pdf file should open a new tab now and the document will appear there.

  • Ubuntu running under Hyper-V with high load

    I'm running a VM for Ubuntu Server 12.04 LTS under Hyper-V and with no web server or any other public server installed, the system load is 1.0
    The VM is using a 75GB fixed VHD on its own partition (the hard drive is using raid 0).
    Is this normal for running a linux OS under Hyper-V?
    Here's what top shows (i restarted the vm for fresh numbers, but it still shows a load of 1.00 even after its been running for a day):
    top - 16:58:17 up 23 min,  1 user,  load average: 1.00, 0.58, 0.24
    Tasks: 235 total,   1 running, 234 sleeping,   0 stopped,   0 zombie
    Cpu(s):  0.0%us,  0.0%sy,  0.0%ni, 98.8%id,  1.0%wa,  0.0%hi,  0.2%si,  0.0%st
    Mem:   4040336k total,   870384k used,  3169952k free,    13232k buffers
    Swap:  7812092k total,        0k used,  7812092k free,   225396k cached
    The host OS is running Windows 2012 R2 and it too isint running anything else that would put a lot of load on the server.

    Hi Sir,
            The following daemons must be installed manually for Ubuntu distributions:
    VSS Snapshot daemon – This daemon is required to create live Linux virtual machine backups.
    KVP daemon – This daemon allows setting and querying intrinsic and extrinsic key value pairs.
    To install both daemons, please use the following command:
    Copy
    # sudo apt-get update
    # sudo apt-get install hv-kvp-daemon-init
    # uname –r
    <kernel release>
    # sudo apt-get install linux-tool-<kernel release>
    # sudo apt-get install linux-cloud-tools-<kernel release>
    Please refer to note 5 , 9 within following article :
    https://technet.microsoft.com/en-us/library/dn531029.aspx
    As for linux VM running on hyper- v, I would suggest you to try to get further assistance from this forum:
    https://social.technet.microsoft.com/Forums/en-US/home?forum=linuxintegrationservices&filter=alltypes&sort=lastpostdesc
    Best Regards,
    Elton Ji
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] .

  • My system failed the anti-phishing/malware test. What can I do to fix it? I have Firefox 7 in Ubuntu

    I clicked on a link in an e-mail from Mozilla Firefox <[email protected]> It took me to http://www.mozilla.org/firefox/its-a-trap.html which assured me that I was not protected from phishing. I didn't follow the instruction to download Firefox because I already have Firefox 8 and run it in Ubuntu 10.04 Lucid Lynx.

    Those domains have changed recently from mozilla.com to mozilla.org and the mozilla.org sites are not yet in the phishing protection database.
    You can use the .com versions if you want to test.
    *http://www.mozilla.com/firefox/its-a-trap.html
    *http://www.mozilla.com/firefox/its-an-attack.html
    Bug 693389 - Update urlclassifier DB for Mozilla com->org move

Maybe you are looking for

  • Problem with premiere pro effects controls

    Hi, Merry Christmas; I have a problem using keys with the opacity effect in the effects control panel; the following pictures should I think make my problem clearer to understand: The image above shows that the opacity control of the correction gopro

  • Showing dates in Projects view like iPhoto does in Events view

    Hello, I recently imported my iPhoto library into Aperture and am overall pleased with all that Aperture has to offer. However, there are a couple things that are really frustrating to me that I miss in iPhoto. For instance, in iPhoto when I scroll t

  • ITunes will not open, install or uninstall

    When I attempt to open iTunes a window pops up saying "please wait while Windows is configuring iTunes" then it says "error writing to file C:\Program Files\itunes\itunes.resources\itunes.dll verify that you have access to that directory". I also tri

  • Image loading via URL with resources in packages

    And another newbie-question: When I want to access local media-files (for example images) in a subdirectory, I can use a url to get a local path/filename. For example: url = getClass().getResource("/path/image-name.gif"); image = getToolkit().getImag

  • Making some columns non-resizable in JTable

    Hi, In my Application i need to make some columns non-resizable and some columns needs resizability. If anybody done this,please help me. Thanks in advance. Vattikuti