View previous topic :: View next topic |
Author |
Message |
lamaistres Apprentice
Joined: 17 Dec 2002 Posts: 268 Location: Seattle
|
Posted: Thu Sep 18, 2003 10:02 pm Post subject: HowTo setup a Nomad II MP3 Player |
|
|
UPDATE: libnomadii/lowlevel.c needs editing in order for the libs to compile if using the 2.6 kernel.Go to line 296. Note the capital letters.
Code: | msg.bRequestType = USB_TYPE_VENDOR | reqtype | USB_RECIP_OTHER;
msg.bRequest = req;
msg.wValue = val;
msg.wIndex = idx;
msg.wLength = len;
msg.data = d; |
I'll clean up the instructions for the how-to at a later date. Besides me, how many people still use their nomad II player anyways? I have about an hour of free time between classes, and since the Nomad II holds about 90 min. of music, it fills my needs for a small music player.
HowTo setup a Nomad II MP3 Player for Gentoo w/ nomadii-0.9-alpha
This howto describes how I setup my NomadII 0mb MP3 Player for my Gentoo box.
First you need to enable USB support in the kernel;
Code: | # make menuconfig
USB Support--->
(M) Support for USB
---Miscellaneous USB Options
(*) Preliminary USB Device filesystem
---USB Host Controller Drivers
(M) UHCI (VIA Support) {choose the appropriate module for your motherboard chipset} |
Then, download both libnomadii-0.9-alpha and nomadii-0.9-alpha (the nomadii-gui package is optional. Install instructions are below).
The nomadii website is http://sourceforge.net/projects/nomadii/
Untar the files;
Code: | # tar zxvf libnomadii-0.9-alpha.tgz
# tar zxvf nomadii-0.9-alpha.tgz
# tar zxvf gnoii2-0.3-alpha3.tar.gz (optional gui) |
Libnomadii needs /usr/local/include/ directory to install nomadii.h;
Code: | # su
# Password: (root password)
# mkdir /usr/local/include |
Now, change to the libnomadii directory and install the nomadii libraries;
Code: | # cd libnomadii/
# make
# make install |
Next, change to the
nomadii directory and edit two lines in the Makefile.
Code: | # cd ../nomadii
# nano -w Makefile |
Change "LIBTERMCAP=-ltermcap" to "LIBTERMCAP=-lncurses" (no quotes).
Change "BINMODE=0755" to "BINMODE=4775" (no quotes) this allow users to access the MP3 player.
After editing the Makefile, install nomadii,
Code: | # make
# make install |
Nomadii-0.9-alpha is now installed. To try it out, type "nomadii" in a terminal (have your Nomad II plugged into the USB port before typing the command). You should see somethng like
this,
Code: | # nomadii
Creative Nomad II successfully found
nomadii> |
to exit type "bye" or "exit".
Read the nomadii manpage for all the commands and switches.
Installing Gnoii2 (optional)
If you want a graphical interface then install the latest gnoii2 (nomadii-gui).
You will need a few dependencies first before installing gnoii2,
Code: | # emerge python pygtk gtkglarea gtk+ |
After that short interuption, untar gnoii2 if not already done, and then change to the gnoii2 directory using a terminal. Make sure you are in X or the installation will fail. From a terminal, type;
Code: | # ./setup.py install
# exit (to exit root) |
Then, run gnoii2 with the following command,
That should be about all we need to do. You should now be able to transfer songs to the Nomad II player using the Gnomadii gui.
Edit: fixed format and typos. _________________ "Always do what you want, and say what you feel,
because those who mind don't matter, and those
who matter don't mind." -- Dr. Suess
Last edited by lamaistres on Sat May 06, 2006 6:49 am; edited 3 times in total |
|
Back to top |
|
|
DarkSorcerer Tux's lil' helper
Joined: 15 Oct 2003 Posts: 138 Location: Mannheim, GER
|
Posted: Fri Oct 24, 2003 8:43 am Post subject: |
|
|
Does this also work with Nomad Jukebox Zen? _________________ Desktop: 2,2 GHz P4 | 1 GB RAM | 80 GB HDD | GF4 Ti 4200 | EMU10K1
Notebook: Toshiba Satellite M30-642 |
|
Back to top |
|
|
pointzero n00b
Joined: 30 Sep 2003 Posts: 2 Location: Canada
|
Posted: Thu Oct 30, 2003 3:32 pm Post subject: IT WORKS! |
|
|
I love you!
Well... ok I don't... but thanks dude! |
|
Back to top |
|
|
Idiot_Circus_Boy n00b
Joined: 07 Oct 2003 Posts: 6
|
Posted: Mon Nov 03, 2003 6:12 pm Post subject: Package in Portage |
|
|
If I am not mistaken this package in in portage. So should be all you need. Although I haven't tried it yet |
|
Back to top |
|
|
AmosMutke Apprentice
Joined: 24 Dec 2003 Posts: 235 Location: Akita, Japan.
|
Posted: Sat Apr 15, 2006 1:20 pm Post subject: Re: HowTo setup a Nomad II MP3 Player |
|
|
lamaistres wrote: | UPDATE: libnomadii does not compile. Here is the error;
Code: | gcc -Wall -Wreturn-type -DWITH_USBDEVFS -g -c -o lowlevel.o lowlevel.c
lowlevel.c: In function `nomadII_ctl_msg':
lowlevel.c:296: error: structure has no member named `requesttype'
lowlevel.c:297: error: structure has no member named `request'
lowlevel.c:298: error: structure has no member named `value'
lowlevel.c:299: error: structure has no member named `index'
lowlevel.c:300: error: structure has no member named `length'
make: *** [lowlevel.o] Error 1 |
If anyone knows a workaround, please send me the information so I can update this thread. Thanks
|
This has been fixed in the app-misc/nomadii-utils.0.8-r1 ebuild. It's currently masked however.
The problem was caused by variable name changes in the kernel.
cheers. |
|
Back to top |
|
|
lamaistres Apprentice
Joined: 17 Dec 2002 Posts: 268 Location: Seattle
|
Posted: Tue Apr 18, 2006 1:48 am Post subject: |
|
|
The compile error was indeed fixed as indicated by bug number 107065. However, The player isn't recognized, hence can't transfer songs to the player because I was getting some i/o error, no player found. Are you able to transfer songs with the patched ebuild?
Edit: Well, I dusted off my nomad II and edited the lines in lowlevel.c (0.9-alpha version). The libs and modules compiled without error and I can upload songs to my nomad II player again . The nomad-utils ebuild (I think it's a deprecated 0.8 version), on the other hand, doesn't recognize the nomad player. _________________ "Always do what you want, and say what you feel,
because those who mind don't matter, and those
who matter don't mind." -- Dr. Suess |
|
Back to top |
|
|
mikjik n00b
Joined: 03 Aug 2003 Posts: 19 Location: Left Coast, USA
|
Posted: Mon Sep 18, 2006 3:18 am Post subject: We still exist! |
|
|
lamaistres, yes, there are still Nomad II users out here.
Mine is still alive and kicking, and I use it almost every day when I go running. I'll break down and buy an iPod or something when my NIIc finally kicks the bucket, but in the meantime it works fine for me too.
Thanks for keeping your doc up to date. It just saved me after rebuilding my box.
MikJik |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|