LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-23-2007, 12:39 AM   #1
go939
LQ Newbie
 
Registered: Jun 2007
Posts: 15

Rep: Reputation: 0
Eclipse cannot open usb


hey there!

I'm having an error in usb port opening in eclipse (fedora) when i run the program. But when i run my program in terminal/konsole window it runs successfully. i already installed libusb.
can somebody explain to me why it cannot run in eclipse? or i have lacking library that need to be installed?

thank you.
 
Old 10-23-2007, 07:16 PM   #2
goens
Member
 
Registered: Mar 2006
Location: San Salvador, El Salvador
Distribution: Gentoo
Posts: 32

Rep: Reputation: 15
I didn't really get what your problem is. Are you running eclipse from within the USB Stick or are you trying to access the USB Stick through an eclipse instance that was run from your hard drive? If the second one is the case, then check if you have even mounted the usb stick.

If you don't, try running the following as a root: mount -t vfat -o rw /dev/sda1 /mnt/usb (i'm assuming here that sda1 is your usb stick and you have an empty directory called /mnt/sub)
If you want to save again to the usb stick, you have to edit your fstab and give permission to a normal user to mount filesystems, try changing the line referring to the usb device in your fstab to something like this:

dev/sda1 /mnt/usb auto noauto,users,rw,umask=00 0 0

or look at the fstab tutorial in linuxquestions
 
Old 10-23-2007, 08:30 PM   #3
go939
LQ Newbie
 
Registered: Jun 2007
Posts: 15

Original Poster
Rep: Reputation: 0
I have a project, mobile robot that connects to the pc that is usb based.
 
Old 10-23-2007, 09:18 PM   #4
go939
LQ Newbie
 
Registered: Jun 2007
Posts: 15

Original Poster
Rep: Reputation: 0
the error are:
could not claim interface 0: operation not permitted
could not release intf 0: operation not permitted

thanks
 
Old 10-24-2007, 10:21 PM   #5
goens
Member
 
Registered: Mar 2006
Location: San Salvador, El Salvador
Distribution: Gentoo
Posts: 32

Rep: Reputation: 15
i'm sorry but you've confused me more about what your problem is. Could you be more specific. How are you trying to acces this robot? Did you build it yourself or did it come with a driver? what are you supposed to do with it and how? and where exactly does eclipse come to the issue? Post more outputs, the commands you run and the output or the function you are calling to access the robot. It is really hard to try and help withouth fully understanding the problem
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to compile open source in eclipse xushi Programming 3 01-28-2009 02:54 PM
LXer: New Eclipse IDE Eases Open Source SOA LXer Syndicated Linux News 0 09-14-2006 03:21 AM
LXer: Bi Tools: Future of Eclipse Open Source? LXer Syndicated Linux News 0 08-02-2006 07:54 PM
LXer: Eclipse Foundation Releases 10 Open Source Projects LXer Syndicated Linux News 0 06-30-2006 10:21 PM
Eclipse 3.0.1 USB Mouse Scrolling greven21 Linux - Software 3 11-28-2004 04:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration