Documentation - Getting Started
Copyright © 2000-02 by Alex Moseley and others
Make sure that your Personal Jukebox is switched on and connected via the USB cable to your computer. Then press the open button on the toolbar. The manager should connect to your Jukebox and display a list of the sets in the right hand panel. The left hand panel should contain a tree representing the contents of your Jukebox.
If the manager is unable to connect to your Jukebox, then it is likely that there is a problem with the driver. You must compile and install the driver. The driver is contained in the usbdrv subdirectory of pjbmanager distribution. Follow these instructions to install the usb driver
This USB driver can be built as a module under Linux 2.2, 2.3 and 2.4 series kernels. Open a terminal. Change to the usbdrv subdirectory of the pjbsdk distribution. Type the following commands:
Note: This first build step might fail under RH8.0. Make sure that there is a soft-link to linux-2.4 for linux, otherwise the build will fail.
gcc -D__KERNEL__ -I/usr/src/linux/include -DMODULE -Wall -O2 -c cpqpjb.c -ocpqpjb.o
In Redhat 8.0, the hotplug mechanism is the default method of controlling the loading and unloading of modules for devices such as the pjbmanager
Add the following entry into the /etc/hotplug/usb.handmap file (this is the file that is used for hand editting of the hotplug modules). It is straightforward enough to copy the line above and change the idVendor and idProduct entries (2nd and 3rd entries) to match that of the pjb (0x049f) and (0x504a).
cpqpjb 0x0003 0x049f 0x504a 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
When the hotplug system is restarted (I rebooted to make sure), check that the module has been installed by running dmesg. You should see something like the following:
Nov 20 20:40:00 localhost kernel: hub.c: USB new device connect on bus1/2/1, assigned device number 5
Nov 20 20:40:00 localhost kernel: usb.c: USB device 5 (vend/prod 0x49f/0x504a) is not claimed by any active driver.
Nov 20 20:40:03 localhost /etc/hotplug/usb.agent: Setup cpqpjb for USB product 49f/504a/100
Nov 20 20:40:03 localhost kernel: Initializing PJB driver
Nov 20 20:40:03 localhost kernel: usb.c: registered new driver cpqpjb
Nov 20 20:40:03 localhost kernel: pjb_probe: looking for devices
Nov 20 20:40:03 localhost kernel: USB PJB is connected
Make sure you are root and execute the following:
mknod /dev/cpqpjb c 10 176
chmod 666 /dev/cpqpjb
Now check that the module has been installed by running dmesg. You should see something like the following:
Initializing PJB driver
usb.c: registered new driver cpqpjb
pjb_probe: looking for devices
USB PJB is connected
usb.c: cpqpjb driver claimed interface c148bee0
Also make sure that the cpqpjb driver is listed when you execute:
If you want the driver to load automatically when pjbmanager is run, then:
cp cpqpjb.o /lib/modules/'kernelversion'/usbdrv
Then add the following to your /etc/modules.conf file:
alias char-major-10-176 cpqpjb
Now try clicking the open button on the toolbar and you should see a list of sets in the right hand pane and a tree representing the contents of your Personal Jukebox in the left hand pane.