LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-20-2006, 01:26 PM   #1
shocktrooper
LQ Newbie
 
Registered: Jul 2006
Posts: 11

Rep: Reputation: 0
Zen Micro Error using Gnomad2 and Fedora core5


OK, i installed gnomad2(and hotplug + libnjb) through the package manager provided with fedora. I then plugged in my MP3 player and started gnomad. As soon as i opened the program i got this error:

Could not open jukebox:
usb_set_configuration: Operation not permitted

should i try again as root, and if i should, how do i run the program as root? Thanks for your time.
 
Old 07-22-2006, 04:14 PM   #2
seanybaby
LQ Newbie
 
Registered: Jun 2006
Location: Notts
Distribution: Kubuntu
Posts: 20

Rep: Reputation: 0
Hi,

I kind of have the same problem

Code:
sean@mong:~$ gnomad2
usb_set_configuration: Operation not permitted
When running it as root:

Code:
mong:/home/sean# gnomad2
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
(gnomad2:14027): Gtk-WARNING **: cannot open display:
When i run gnomad through kde i get "No jukeboxes found on USB bus" when my zen touch is unpluged. When it's pluged in "Could not open jukebox"

Code:
sean@mong:~$ lsusb
Bus 004 Device 004: ID 041e:411b Creative Technology, Ltd Nomad Jukebox Zen Touch MP3 player
Bus 004 Device 002: ID 0781:9393 SanDisk Corp.
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
My puter obviously sees the player, just will not work with any software

Running debian sarge BTW 2.6.8-2-386.

Please help, been at it for a few days now.
Cheers

Last edited by seanybaby; 07-22-2006 at 04:16 PM.
 
Old 07-27-2006, 01:45 PM   #3
seanybaby
LQ Newbie
 
Registered: Jun 2006
Location: Notts
Distribution: Kubuntu
Posts: 20

Rep: Reputation: 0
Finally sorted the problem

I did this which i found on another site:

Create a new file /etc/hotplug/usb/nomad.usermap with the following:

Code:
# Creative Nomad Jukebox
nomadjukebox    0x0000  0x0471  0x0222  0x0000  0x0000  0x00    0x00    0x00    0x00    0x00    0x00     0x00000000
# Creative Nomad Jukebox 2
nomadjukebox    0x0000  0x041e  0x4100  0x0000  0x0000  0x00    0x00    0x00    0x00    0x00    0x00     0x00000000
# Creative Nomad Jukebox 3
nomadjukebox    0x0000  0x041e  0x4101  0x0000  0x0000  0x00    0x00    0x00    0x00    0x00    0x00     0x00000000
# Creative Nomad Jukebox Zen
nomadjukebox    0x0000  0x041e  0x4108  0x0000  0x0000  0x00    0x00    0x00    0x00    0x00    0x00     0x00000000
# Creative Nomad Jukebox Zen USB 2.0
nomadjukebox    0x0000  0x041e  0x410b  0x0000  0x0000  0x00    0x00    0x00    0x00    0x00    0x00     0x00000000
# Creative Nomad Jukebox Zen NX
nomadjukebox    0x0000  0x041e  0x4109  0x0000  0x0000  0x00    0x00    0x00    0x00    0x00    0x00     0x00000000
# Creative Nomad Jukebox Zen Xtra
nomadjukebox    0x0000  0x041e  0x4110  0x0000  0x0000  0x00    0x00    0x00    0x00    0x00    0x00     0x00000000
# Dell Digital Jukebox
nomadjukebox    0x0000  0x041e  0x4111  0x0000  0x0000  0x00    0x00    0x00    0x00    0x00    0x00     0x00000000
Then, create a nomadjukebox file in the same directory with:

Code:
#!/bin/sh
# Lifts a plugged in nomad jukebox to user space and
# optionally runs a client program.
# Written by Linus Walleij 2004, based on the "usbcam"
# script by Nalin Dahyabhai.
DEVICEOWNER=root
DEVICEPERMS=0666
PROGRAM="cd ~; gnomad2 --display=localhost:0"

if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ]
then
    # New code, using lock files instead of copying /dev/console permissions
    # This also works with non-gdm logins (e.g. on a virtual terminal)
    # Idea and code from Nalin Dahyabhai <nalin@redhat.com>
    if [ "x$DEVICEOWNER" = "xCONSOLE" ]
    then
        if [ -f /var/run/console.lock ]
        then
            DEVICEOWNER=`cat /var/run/console.lock`
        elif [ -f /var/lock/console.lock ]
        then
            DEVICEOWNER=`cat /var/lock/console.lock`
        else
            DEVICEOWNER=
        fi
    fi
    if [ -n "$DEVICEOWNER" ]
    then
        chmod 0000 "${DEVICE}"
        chown "${DEVICEOWNER}" "${DEVICE}"
        chmod "${DEVICEPERMS}" "${DEVICE}"
        # Then run an optional program - this does not work yet.
        # su "${CONSOLEOWNER}" -c "${PROGRAM}"
    fi
fi
Now chmod nomadjukebox to 775.

BTW - This is pinched from a linix site where the owner pinched it from somewhere else. I don't know how it works, but i know that you do not have to be root to run gnomad2 after doing this.
 
Old 08-28-2006, 04:00 PM   #4
ernz
LQ Newbie
 
Registered: Aug 2006
Posts: 1

Rep: Reputation: 0
Working Solution for Ubuntu Dapper Creative Zen Microphoto 4GB USB MP3 MTP

Quote:
Originally Posted by shocktrooper
OK, i installed gnomad2(and hotplug + libnjb) through the package manager provided with fedora. I then plugged in my MP3 player and started gnomad. As soon as i opened the program i got this error:

Could not open jukebox:
usb_set_configuration: Operation not permitted

should i try again as root, and if i should, how do i run the program as root? Thanks for your time.
I have spent absolutely ages searching for missing dependancies, going in circles with Gnomad, KZenExplorer abd MTPDude with missing dependancies, conflicting versions and more to boot. Finally I got desperate and "Googled" 'Zen creative ubuntu HELP!'. I came across this solution >>

ubuntuforums.org/showthread.php?t=199250

Using the auto-installer script half way down the page it took less than 30 seconds to get my Creative Zen Microphoto MP3 player working. I recommend this to anyone with the following setup:
  • Ubuntu Dapper Drake 6.06
  • Creative Zen Microphoto 4GB

If you have been searching and have hit dead ends on other forums please do what I have done and reply to any live forums explaining the solution to this so than anyone else with this product doesn't get as frustrated as us!
 
  


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
Creative Zen MP3 Player & Gnomad2 zaphod_es Linux - Hardware 4 08-04-2006 07:45 AM
Creative Zen Vision:M player & Gnomad2 edM Slackware 2 07-17-2006 09:44 AM
Cannot mount Creative Zen Micro dreamlax Debian 1 12-25-2005 06:25 PM
Zen Micro doublejoon Linux - Software 1 12-13-2005 12:52 PM
Zen Micro Gnomad2 problems gungner Linux - Hardware 0 02-24-2005 02:10 PM

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

All times are GMT -5. The time now is 09:18 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