Difference between revisions of "Main Page"

From Freephile Wiki
Jump to navigation Jump to search
(change intro line)
(info about DVD on Linux)
(69 intermediate revisions by 12 users not shown)
Line 1: Line 1:
We used to make "QualityBox" which was a hosted enterprise-grade knowledge platform with Wikipedia at it's core. That is discontinued, however most of this site is dedicated to showcasing the [[features]] and solutions of "Enterprise MediaWiki" - defined as the Knowledge Platform for organizations.
+
[[Image:Wall--02290102062003.jpg|thumb|Inspired by the Free Software Foundation]]
  
Check out our latest [[Video]]s !
+
=Newburyport GNUS=
 +
''That is pronounced '''News'''''
  
== Freephile Wiki ==
+
Please join the community here, login (not necessary, [http://meta.wikimedia.org/wiki/Help:Logging_in but a good idea]) and start creating some useful content.
Freephile Wiki is a site about [[FreeSoftware|free technology]]. It was started by [[User:Freephile|Greg Rundlett]] of {{CompanyName}}. This site is a ''[[wp:Wiki|wiki]]'' that ''you'' can edit.  Contact [[User:Freephile|Greg]] to request an account.
 
  
<table style="border: dotted 1px gray; -moz-border-radius:15px;">
+
DVD and video playback on Linux[[Image:Example.jpg]]
<tr>
+
My latest adventure had involved getting video and dvd playback from Debian (Sarge) and Fedora Core 1. With Debian, getting xine installed was as easy as apt-get install xine-ui, because apt-get took care of the dependencies (namely xine lib). Once xine was installed, I found a neat site about xine in general, and found out that you can install various skins for the xine player user interface (the picture shows Celoma Gold).  To download a new skin, you press Ctrl+d  while window focus is on the Xine application. You should definately visit http://cambuca.ldhs.cetuc.puc-rio.br/xine/ for instructions on how to get xine, and how to get various codecs to support Windows and Mov file formats.
<td style=" -moz-border-radius:15px;background-color:#FDFFD0;width:50%; padding:10px;">
 
<!-- panel 1 -->
 
<div class="floatright">[[Image:Tux.png|FOSS Experts|128px|right|link=Local experts]]</div> [[People]] and [[Local experts]] are available to answer your specific questions and go beyond what you can do on your own.
 
</td>
 
<td style=" -moz-border-radius:15px;background-color:#D0E3FF;width:50%; padding:10px;">
 
<!-- panel 2 -->
 
<div class="floatright">[[Image:Krfb.svg|Free Software|128px|right|link=Applications]]</div> [[Applications]] are specific tools that you can use in business, home, education and life.
 
</td>
 
</tr>
 
<tr>
 
<td style=" -moz-border-radius:15px;background-color:#E5FFD0; padding:10px;">
 
<!-- panel 3 -->
 
<div class="floatright">[[Image:Help-contents.svg.green.png|Help|128px|right|link=Help:Contents]]</div>
 
The [[Help:Contents|Help system]] will get you started quickly, and is a trusty resource whenever you need [[Help]].
 
</td>
 
<td style=" -moz-border-radius:15px;background-color:#FFD0D0; padding:10px;">
 
<!-- panel 4 -->
 
<div class="floatright">[[Image:Edit-find.svg|Search|128px|right|link=Special:Search]]</div>
 
The [[Special:Search|powerful search]] in this wiki will help you find whatever you are looking for.
 
See the [[Index]] for a complete list of articles.  [[Search]] is also a complete category.
 
</td>
 
</tr>
 
</table>
 
__NOTOC__
 
  
 +
Of course, once xine was installed, I found out quickly that I could not access my CD-R drive, or my external DVD drive.  I would get an error to the effect that "only root could mount dev/scd0 on mnt/dvdram".  I was pretty sure that when I installed Debian on my system originally that I had chosen to allow normal users to mount devices (like floppy, cd-writer, dvd) -- mostly because this is my computer and I want to do what I want without having to invoke special super-user privileges.  Also, this is what I'm accustomed to doing in a Windows environment.  I think it is great that Linux allows you to precisely configure access to various resources, but for a desktop system, this feature can get in the way.  So, I went hunting for the proper way to turn these devices on.
  
<!-- @FIXME this section needs to be served over https
+
ls -al /mnt
== Status ==
+
showed that there was indeed a mount point defined called /mnt/dvdram. I tried to change the ownership of the mount point
{{#widget:Embed|param1=http://wiki.freephile.org:20000/api/v1/badge.svg?chart=elasticsearch_local.cluster_health_status&alarm=elasticsearch_last_collected&refresh=auto}}
+
  chown greg:greg /mnt/dvdram
 
+
but that didn't work
-->
+
ls -al /dev/scd0
== What's New ==
+
showed that the device was owned by root, and the group cdrom. I checked into the group to see if I was a member by using the graphical tool kuser (System -> User Manager).  That showed I was a member of the cdrom group and the floppy group.
=== POTD ===
+
brw-rw-rw-   1 root    cdrom    11,  0 May 20 21:22 /dev/scd0
[[File:Potd-logo.svg|link=http://commons.wikimedia.org/wiki/Commons:Picture_of_the_day|thumb|click here for the Picture Of The Day]]
+
I read somewhere that I should do a 'modprobe ide-scsi' which didn't show any results.
 
+
The next command I found was
=== Articles ===
+
cdrecord -scanbus
{{Special:Newpages/limit=10,shownav,namespace=Main}}
+
which did show that my DVD drive was there, and also my scanner.
[[Special:Newpages/namespace=Main|more]] [[Image:Go-next.svg|16px|more|link=Special:Newpages/namespace=Main]]
+
I made sure the device was indeed mounted on the /mnt/dvdram mountpoint
 
+
mount /dev/scd0 /mnt/dvdram
=== Revisions ===
+
and, since Xine looks for DVDs at /dev/dvd by default, I created a symbolic link from /dev/dvd to the existing /dev/scd0
{{Special:RecentChanges/days=90,limit=10,hidebots,hideminor}}
+
ln -s /dev/scd0 /dev/dvd
[[Special:RecentChanges|more]] {{More|Special:RecentChanges}}
+
I also read that you need to have mtrr compiled into your kernel, which you can tell by this command
 
+
cat /proc/mtrr
=== Files ===
+
According to this article, http://linux.omnipotent.net/article.php?article_id=11799,  you need DMA (Direct Memory Addressing) enabled on the drive in order to avoid jumpy playback. 
See the following links:
+
hdparm -d /dev/dvd
[[Special:NewImages|more]] {{More|Special:NewImages}}
+
Told me I didn't have the hdparm tool, which I confirmed with a
 
+
locate hdparm
=== Templates ===
+
So, I installed hdparm
{{Special:Newpages/limit=10,shownav,namespace=Template}}
+
apt-get install hdparm
[[Special:Newpages/namespace=Template|more]] [[Image:Go-next.svg|16px|more|link=Special:Newpages/namespace=Template]]
+
But now, when I run the same command, it tells me that this operation is not allowed on a SCSI drive.  As far as I know, this is not a scsi drive, but an ide drive using scsi emulation...Then again, I just a user, and I'm feeling pretty lucky that I know it's a DVD drive.  So, I'm not sure how to cure my jumpy playback issues.  Anyway, at least I've got the permission problems licked, and Xine is installed with a nice UI, and I can playback a DVD from my external DVD drive.

Revision as of 21:50, 3 August 2004

File:Wall--02290102062003.jpg

Newburyport GNUS[edit | edit source]

That is pronounced News

Please join the community here, login (not necessary, but a good idea) and start creating some useful content.

DVD and video playback on LinuxExample.jpg My latest adventure had involved getting video and dvd playback from Debian (Sarge) and Fedora Core 1. With Debian, getting xine installed was as easy as apt-get install xine-ui, because apt-get took care of the dependencies (namely xine lib). Once xine was installed, I found a neat site about xine in general, and found out that you can install various skins for the xine player user interface (the picture shows Celoma Gold). To download a new skin, you press Ctrl+d while window focus is on the Xine application. You should definately visit http://cambuca.ldhs.cetuc.puc-rio.br/xine/ for instructions on how to get xine, and how to get various codecs to support Windows and Mov file formats.

Of course, once xine was installed, I found out quickly that I could not access my CD-R drive, or my external DVD drive. I would get an error to the effect that "only root could mount dev/scd0 on mnt/dvdram". I was pretty sure that when I installed Debian on my system originally that I had chosen to allow normal users to mount devices (like floppy, cd-writer, dvd) -- mostly because this is my computer and I want to do what I want without having to invoke special super-user privileges. Also, this is what I'm accustomed to doing in a Windows environment. I think it is great that Linux allows you to precisely configure access to various resources, but for a desktop system, this feature can get in the way. So, I went hunting for the proper way to turn these devices on.

ls -al /mnt

showed that there was indeed a mount point defined called /mnt/dvdram. I tried to change the ownership of the mount point

 chown greg:greg /mnt/dvdram

but that didn't work

ls -al /dev/scd0

showed that the device was owned by root, and the group cdrom. I checked into the group to see if I was a member by using the graphical tool kuser (System -> User Manager). That showed I was a member of the cdrom group and the floppy group.

brw-rw-rw-    1 root     cdrom     11,   0 May 20 21:22 /dev/scd0

I read somewhere that I should do a 'modprobe ide-scsi' which didn't show any results. The next command I found was

cdrecord -scanbus

which did show that my DVD drive was there, and also my scanner. I made sure the device was indeed mounted on the /mnt/dvdram mountpoint

mount /dev/scd0 /mnt/dvdram

and, since Xine looks for DVDs at /dev/dvd by default, I created a symbolic link from /dev/dvd to the existing /dev/scd0

ln -s /dev/scd0 /dev/dvd

I also read that you need to have mtrr compiled into your kernel, which you can tell by this command

cat /proc/mtrr

According to this article, http://linux.omnipotent.net/article.php?article_id=11799, you need DMA (Direct Memory Addressing) enabled on the drive in order to avoid jumpy playback.

hdparm -d /dev/dvd

Told me I didn't have the hdparm tool, which I confirmed with a

locate hdparm

So, I installed hdparm

apt-get install hdparm

But now, when I run the same command, it tells me that this operation is not allowed on a SCSI drive. As far as I know, this is not a scsi drive, but an ide drive using scsi emulation...Then again, I just a user, and I'm feeling pretty lucky that I know it's a DVD drive. So, I'm not sure how to cure my jumpy playback issues. Anyway, at least I've got the permission problems licked, and Xine is installed with a nice UI, and I can playback a DVD from my external DVD drive.