jrobinson@laptop:~$ cd /Desktop
bash: cd: /Desktop: No such file or directory
jrobinson@laptop:~$ cd Desktop
jrobinson@laptop:~/Desktop$ alien
bash: alien: command not found
jrobinson@laptop:~/Desktop$ sudo apt-get install alien
Password:
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
debconf-utils debhelper html2text libbeecrypt6 librpm4 rpm
Suggested packages:
lsb-rpm lintian dh-make
The following NEW packages will be installed:
alien debconf-utils debhelper html2text libbeecrypt6 librpm4 rpm
0 upgraded, 7 newly installed, 0 to remove and 14 not upgraded.
Need to get 2387kB of archives.
After unpacking 7913kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com dapper/main html2text 1.3.2a-3 [95.5kB]
Get:2 http://us.archive.ubuntu.com dapper/main debconf-utils 1.4.72ubuntu9 [30.9kB]
Get:3 http://us.archive.ubuntu.com dapper/main debhelper 5.0.7ubuntu13 [506kB]
Get:4 http://us.archive.ubuntu.com dapper/main libbeecrypt6 4.1.2-4 [121kB]
Get:5 http://us.archive.ubuntu.com dapper/main librpm4 4.4.1-5ubuntu2 [933kB]
Get:6 http://us.archive.ubuntu.com dapper/main rpm 4.4.1-5ubuntu2 [597kB]
Get:7 http://us.archive.ubuntu.com dapper/main alien 8.64 [104kB]
Fetched 2387kB in 32s (73.2kB/s)
Selecting previously deselected package html2text.
(Reading database ... 113899 files and directories currently installed.)
Unpacking html2text (from .../html2text_1.3.2a-3_i386.deb) ...
Selecting previously deselected package debconf-utils.
Unpacking debconf-utils (from .../debconf-utils_1.4.72ubuntu9_all.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_5.0.7ubuntu13_all.deb) ...
Selecting previously deselected package libbeecrypt6.
Unpacking libbeecrypt6 (from .../libbeecrypt6_4.1.2-4_i386.deb) ...
Selecting previously deselected package librpm4.
Unpacking librpm4 (from .../librpm4_4.4.1-5ubuntu2_i386.deb) ...
Selecting previously deselected package rpm.
Unpacking rpm (from .../rpm_4.4.1-5ubuntu2_i386.deb) ...
Selecting previously deselected package alien.
Unpacking alien (from .../archives/alien_8.64_all.deb) ...
Setting up html2text (1.3.2a-3) ...
Setting up debconf-utils (1.4.72ubuntu9) ...
Setting up debhelper (5.0.7ubuntu13) ...
Setting up libbeecrypt6 (4.1.2-4) ...
Setting up librpm4 (4.4.1-5ubuntu2) ...
Setting up rpm (4.4.1-5ubuntu2) ...
Setting up alien (8.64) ...
jrobinson@laptop:~/Desktop$ alien -help
Usage: alien [options] file [...]
file [...] Package file or files to convert.
-d, --to-deb Generate a Debian deb package (default).
Enables these options:
--patch=<patch> Specify patch file to use instead of automatically
looking for patch in /var/lib/alien.
--nopatch Do not use patches.
--anypatch Use even old version os patches.
-s, --single Like --generate, but do not create .orig
directory.
--fixperms Munge/fix permissions and owners.
---*test*-('") Test generated packages with lintian.
-r, --to-rpm Generate a Red Hat rpm package.
--to-slp Generate a Stampede slp package.
-l, --to-lsb Generate a LSB package.
-t, --to-tgz Generate a Slackware tgz package.
Enables these options:
--description=<desc> Specify package description.
--version=<version> Specify package version.
-p, --to-pkg Generate a Solaris pkg package.
-i, --install Install generated package.
-g, --generate Generate build tree, but do not build package.
-c, --scripts Include scripts in package.
-v, --verbose Display each command alien runs.
--veryverbose Be verbose, and also display output of run commands. -k, --keep-version Do not change version of generated package.
--bump=number Increment package version by this number.
-h, --help Display this help message.
-V, --version Display alien's version number.
jrobinson@laptop:~/Desktop$ alien -i ops-for-linux-1.i386.rpm
Must run as root to convert to deb format (or you may use fakeroot).
jrobinson@laptop:~/Desktop$ sudo alien -i ops-for-linux-1.i386.rpm
jrobinson@laptop:~/Desktop$ ops
Closing device
No device to close
ERROR: (open_camcorder.c, 140): Error: Couldn't find camcorder.
ERROR: (open_camcorder.c, 153): Init() == FALSE
ERROR: (unlock_camcorder.c, 8): Open camcorder first
Closing device
No device to close
ERROR: (open_camcorder.c, 140): Error: Couldn't find camcorder.
ERROR: (open_camcorder.c, 153): Init() == FALSE
Closing device
No device to close
ERROR: (open_camcorder.c, 140): Error: Couldn't find camcorder.
ERROR: (open_camcorder.c, 153): Init() == FALSE
Closing device
No device to close
ERROR: (open_camcorder.c, 140): Error: Couldn't find camcorder.
ERROR: (open_camcorder.c, 153): Init() == FALSE
mplayer zz
MPlayer 1.0pre7try2-3.4.4 (C) 2000-2005 MPlayer Team
AltiVec found
CPU: PowerPC
85 audio & 196 video codecs
Playing zz.
TiVo file format detected.
MPEG: No audio stream found -> no sound.
MPEG: FATAL: EOF while searching for sequence header.
Video: Cannot read properties.
No stream found.
Exiting... (End of file)
PoweBook ops-for-linux # lsmod
Module Size Used by
zr364xx 45104 0
videodev 11360 1 zr364xx
cpufreq_ondemand 7548 0
psmouse 32132 0
snd_powermac 53796 1
I changed the source in the zr364xx.c file to have
{USB_DEVICE (0x167b, 0x0101)}, // add your custom entry here ...
{ 0x167b, 0x0101, 0, "CVS Camcorder" }, // ... and here !
here is my cat /proc/bus/usb/devices
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 4 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=167b ProdID=0101 Rev= 0.00
S: Manufacturer=Pure Digital Inc.
S: Product=Saturn
S: SerialNumber=PS0000010
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 96mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=(none)
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
and dmesg
usb 1-2: new high speed USB device using ehci_hcd and address 2
Linux video capture interface: v1.00
usbcore: registered new driver zoran
/home/abdulmajed/down/zr364xx-0.61/zr364xx.c: Zoran 364xx module loaded
if you need some more info please tell me.
your /proc/bus/usb/devices shows the saturncam as running the full 480Mbps! is your video transfer faster with the zr364xx driver loaded?
this just might be what we needed...i'll try it here. i was hoping a driver override would be what we needed to force a speed changeWARNING: (update_directory_listing.c, 130): unknown file type: 0x5a attr 0x4d
WARNING: (update_directory_listing.c, 130): unknown file type: 0x2e attr 0x50
WARNING: (update_directory_listing.c, 130): unknown file type: 0x2e attr 0x42
To fix this I changed the update_directory_listing.c line 128-134 from:
default:
Log(WARNING, "unknown file type: 0x%02x attr 0x%02x", data.filetype, data.fileattr);
case 0x20:
thisfileinfo->filetype = FIFILE;
break;
to
case 0x20:
thisfileinfo->filetype = FIFILE;
break;
default:
// Log(WARNING, "unknown file type: 0x%02x attr 0x%02x", data.filetype, data.fileattr);
break;
# Third problem: the "download last movie" button worked, but "donwload file" button did not. The symptom was
that only an empty file was generated.
The fix was to change the download_file.c file:
line 106 add:
char my_dir[STRINGSIZE];
line 128 add:
if (CheckCameraOpen() == FALSE)
return FALSE;
change line 133 from:
if(ChangeDirectory(currently_selected_file->dirpath)== FALSE) {
to
//if(ChangeDirectory(currently_selected_file->dirpath)== FALSE) {
strcpy(my_dir,currently_selected_file->dirpath);
if (my_dir[strlen(my_dir)-1]=='/') {
my_dir[strlen(my_dir)-1]=0;
}
if(ChangeDirectory(my_dir)== FALSE) {
# Fourth problem: the "download all movies" button was hunging OPS with the error:
Xlib: unexpected async reply (sequence 0xe93)!
the fix for this was to change the download_all_movies.c fle:
change line 53, from:
char* foldername = get_download_folder();
to:
char* foldername = data;
comment out line 55:
// free(foldername);
change line 78 from:
if (!g_thread_create((GThreadFunc)download_all_movies_start_thread, NULL, FALSE, &error)) {
to:
char* foldername = get_download_folder();
if (!g_thread_create((GThreadFunc)download_all_movies_start_thread, foldername, FALSE, &error)) {
line 83, change from:
EnableControls(TRUE);
to (add free):
free(foldername);
EnableControls(TRUE);
# Fifth problem (and current one): the "camera setting" button doesn't work. When I click on it I'm getting
the following error:
ERROR: (usp.c, 598): bad magic2a
and nothing cames up;
I traced it down to the function: verify_usp_data called by change_camera_settings at line 596 and in
particular to the line 184 in the same file:
if(memcmp(ud->magic2a, "\x6c\x0f\x00\x03\x00\x01\x15\x03\x01\x01\x01\xff", sizeof ud->magic2a))
But here I stop I have no idea what this mean and how to fix it, so my work around was to comment out the
call to this function in line 596:
//const char *msg = verify_usp_data(&original_usp.data);
//if(msg){
// Log(ERROR, "%s", msg);
// return FALSE;
//}
But off course I don't consider this a fix ;-)
Somebody can help me here?
Thanks,