LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-09-2005, 03:11 PM   #1
Kashra
LQ Newbie
 
Registered: Oct 2002
Posts: 11

Rep: Reputation: 0
Gnomad2 with resmgr


I'm using SuSE 10 and have installed libnjb and gnomad2 using the source RPMS. Gnomad2 works fine when run as root, but I can't get it to work as a user (usb_set_configuration: Operation not permitted).

It seems, from searching archives, that this is a device permissions problem. I've checked the presence of the /etc/hotplug/usb/ files (nomadjukebox and nomad.usermap) and they seem fine. In the nomadjukebox script, there's a region where it checks of I have resmgr present (which I do) and executes the following:

Code:
# Special quirk for SuSE systems using "resmgr"
# (see http://rechner.lst.de/~okir/resmgr/)
if [ -f /sbin/resmgr ]
then
    /sbin/resmgr "${ACTION}" "${DEVICE}" desktop usb
    exit 0
fi
Is there some way I can check if this is working properly? My understanding from reading the resmgr man pages is that this tool is suppoed to allow users access to these devices, even when they're hotplugged.

As root, if I use "resmgr list" I get a report of no devices found, even though I know the device is connected and accessible using gnomad under root.
 
Old 10-09-2005, 07:41 PM   #2
Kashra
LQ Newbie
 
Registered: Oct 2002
Posts: 11

Original Poster
Rep: Reputation: 0
An update:

Haven't solved my problem yet, but I've realized that most distros have switched off of hotplug to the new udev system. This probably means that the files in /etc/hotplug/usb aren't doing a damn thing.

Anyone know if there's a udev rules file that accomplishes the same thing as these scripts, or if this even sounds like a reasonable thing to research?
 
Old 10-12-2005, 04:25 PM   #3
feight
LQ Newbie
 
Registered: Jul 2003
Location: Peoria, IL.
Distribution: Ubuntu Hoary 5.04 amd64 and Suse 10.0 x86_64
Posts: 3

Rep: Reputation: 0
BUMP

Similar problem, similar question. Any convenient way to do this without root?
 
Old 10-12-2005, 05:39 PM   #4
Kashra
LQ Newbie
 
Registered: Oct 2002
Posts: 11

Original Poster
Rep: Reputation: 0
My current (and not satisfying) solution is, as suggested by Oliver Eichler from the libnjb mailing list:

Edit /etc/fstab's entry for the usbfs system to include 'devmode=0666'. Then add a line somewhere in your startup scripts to umount / mount the usbfs system at boot time. (I'm not sure why this entry doesn't make a difference if you don't umount/mount).

This seems to have implications for the entire usb system, not just for libnjb. But I haven't noticed any problems yet.
 
Old 10-12-2005, 09:32 PM   #5
feight
LQ Newbie
 
Registered: Jul 2003
Location: Peoria, IL.
Distribution: Ubuntu Hoary 5.04 amd64 and Suse 10.0 x86_64
Posts: 3

Rep: Reputation: 0
Appreciate the response, and thanks for the proposed solution, I think I'll leave it as it is for now though. I set up my link in my menu to run as root and use the root path, so I have to insert my root password, I suppose that's only slightly inconvenient considering I only hook my nomad up every now and again.

Incidently, I use kZenExplorer but it's a limitation of the libnjb so it obviously affects any program that uses libnjb in the background.
 
Old 10-16-2005, 01:29 PM   #6
Kashra
LQ Newbie
 
Registered: Oct 2002
Posts: 11

Original Poster
Rep: Reputation: 0
I hadn't heard of kZenExplorer, I'll have to look into it. Thanks for the tip!
 
  


Reply



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
Gnomad2 Mr.Bone Linux - Software 9 02-02-2007 02:20 PM
Gnomad2 for SUSE 10.0 Happeren SUSE / openSUSE 7 11-24-2005 09:56 AM
GNomad2 dougbarrett Linux - Newbie 9 07-04-2005 04:37 AM
Help with Gnomad2 linmith Linux - Software 13 04-29-2005 11:06 AM
Gnomad2 ? RobNyc Linux - Software 5 03-20-2005 12:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:55 PM.

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