From sjh at adfa.edu.au Thu Apr 15 14:21:16 2010 From: sjh at adfa.edu.au (Stephen Harker) Date: Thu, 15 Apr 2010 15:21:16 +1000 Subject: [ydl-gen] xrandr and multiple screens Message-ID: <20100415052116.GA23895@h42180.pems.adfa.edu.au> This may be of some interest to those struggling with second screens. I recently modified my xorg.conf following information given in . The basic proposition is that xorg.conf kludges should not be needed to get clone or dual monitor setups. I based my xorg.conf on one generated from Xautoconfig with some of the modifications suggested in the above document (mainly the visual line). With this done I could plug in an external monitor to my iBook and get a display doing (for example): xrandr --output LVDS --auto --output VGA-0 --auto --same-as LVDS or xrandr --output LVDS --auto --output VGA-0 --auto --below LVDS For all fonts to diplay correctly the generated xorg.conf assumes all font directories are found by the X Font server. I ensured that all font directories were added to /etc/fs/config using: chkfontpath --add directoryname After this I ran (i) mkfontdir on each directory and then ran (ii) 'fc-cache -fv'. -- Stephen Harker s.harker at adfa.edu.au PEMS UNSW at ADFA -------------- next part -------------- # Xorg configuration created by system-config-display Section "Files" # RgbPath is the location of the RGB database. Note, this is the name of the # file minus the extension (like ".txt" or ".db"). There is normally # no need to change the default. # Multiple FontPath entries are allowed (they are concatenated together) # By default, Red Hat 6.0 and later now use a font server independent of # the X server to render fonts. FontPath "unix/:7100" EndSection Section "Module" Load "dbe" Load "extmod" Load "fbdevhw" Load "glx" #Load "record" Load "freetype" #Load "type1" Load "dri" EndSection Section "InputDevice" # Change "XkbModel" to "macintosh_old" if you are using # the deprecated adb keycodes. Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "macintosh" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "ZAxisMapping" "4 5" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mice" EndSection # ********************************************************************** # Monitor section # ********************************************************************** # Any number of monitor sections may be present Section "Monitor" Identifier "Generic Monitor" # ModelName "LCD Panel 1024x768" ### Comment all HorizSync and VertSync values to use DDC: #HorizSync 31.5 - 48.5 #VertRefresh 40.0 - 90.0 Option "DPMS" EndSection Section "Monitor" Identifier "VGA-0" Option "Ignore" "false" Option "DPMS" EndSection Section "Monitor" Identifier "LVCD" Option "DPMS" EndSection Section "Monitor" Identifier "TV" Option "Ignore" "True" EndSection Section "Device" ### Available Driver options are:- #Option "SWcursor" Identifier "Card0" Driver "radeon" VendorName "ATI Technologies Inc" BoardName "ATI Radeon Mobility M10/M11" #Option "HWcursor" Option "fbdev" "/dev/fb0" Option "UseFBDev" "true" #Option "CloneMode" "1024x768" #Option "CloneMode" "False" #BusID "PCI:0:16:0" #Option "MergedFB" "on" #Option "MergedNonRectangular" "true" #Option "BusType" "PCI" #Option "AGPMode" "2" #Option "AccelMethod" "XAA" Option "AccelMethod" "EXA" #Option "EnablePageFlip" "On" Option "LVDSProbePLL" "true" #Option "CRT2VRefresh" "40.0-90.0" #Option "CRT2Position" "Clone" #Option "CRT2Position" "RightOf" EndSection Section "Screen" Identifier "Default Screen" Device "Card0" Monitor "Generic Monitor" DefaultDepth 24 SubSection "Display" Depth 8 Modes "1600x1200" "1600x900" "1280x1024" "1024x768" "800x600" "640x480" Virtual 2048 2048 EndSubSection SubSection "Display" Depth 16 Modes "1600x1200" "1600x900" "1280x1024" "1024x768" "800x600" "640x480" Virtual 2048 2048 EndSubSection SubSection "Display" Depth 24 Modes "1600x1200" "1600x900" "1280x1024" "1024x768" "800x600" "640x480" Virtual 2048 2048 EndSubSection EndSection Section "ServerLayout" Identifier "Default Layout" #Screen 0 "Screen0" # LeftOf "Screen1" Screen "Default Screen" #Option "Xinerama" "true" #Option "MergedFB" "On" #Option "Clone" "On" # Option "Clone" "False" InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" #Option "OffTime" "10" EndSection Section "DRI" Group 0 Mode 0666 EndSection -------------- next part -------------- # # Default font server configuration file for Red Hat Linux # # allow a max of 10 clients to connect to this font server client-limit = 10 # when a font server reaches its limit, start up a new one clone-self = on # alternate font servers for clients to use #alternate-servers = foo:7101,bar:7102 # where to look for fonts # catalogue = /usr/share/X11/fonts/misc:unscaled, /usr/share/X11/fonts/75dpi:unscaled, /usr/share/X11/fonts/100dpi:unscaled, /usr/share/X11/fonts/OTF, /usr/share/X11/fonts/100dpi, /usr/share/X11/fonts/75dpi, /usr/share/X11/fonts/Type1, /usr/share/fonts/default/Type1, /usr/share/fonts/bitmap-fonts, /usr/share/fonts/bitstream-vera, /usr/share/fonts/default/ghostscript, /usr/share/fonts/msfonts, /usr/share/fonts/msfonts-style, /usr/share/ghostscript/fonts, /usr/local/share/ghostscript/fonts, /usr/share/X11/fonts/TTF, /usr/local/TeX/texmf-dist/fonts/truetype/public/belleek, /usr/share/fonts/ISO8859-2/misc:unscaled, /usr/share/fonts/ISO8859-2/75dpi:unscaled, /usr/share/fonts/ISO8859-2/100dpi:unscaled, /usr/share/fonts/ISO8859-2/misc, /usr/share/fonts/ISO8859-2/75dpi, /usr/share/fonts/ISO8859-2/100dpi, /usr/share/fonts/KOI8-R/misc:unscaled, /usr/share/fonts/KOI8-R/100dpi:unscaled, /usr/share/fonts/KOI8-R/misc, /usr/share/fonts/KOI8-R/100dpi, /usr/share/fonts/japanese/misc:unscaled, /usr/share/fonts/japanese/misc, /usr/share/fonts/japanese/TrueType # in 12 points, decipoints default-point-size = 120 # 100 x 100 and 75 x 75 default-resolutions = 75,75,100,100 # use lazy loading on 16 bit (usually Asian) fonts deferglyphs = 16 # how to log errors use-syslog = on # don't listen to TCP ports by default for security reasons no-listen = tcp From jwest184 at gmail.com Mon Apr 19 09:35:39 2010 From: jwest184 at gmail.com (Julian West) Date: Sun, 18 Apr 2010 20:35:39 -0400 Subject: [ydl-gen] Powerbook G4 '12 1.33 GHz shutdown issue Message-ID: Hello everyone, I just installed Yellow Dog 6.2 on my Powerbook G4 '12, 133 GHz. Seems to be working great, exept one issue. I've updated all the packages to the latest and it still shuts down when it's on idle which happens after about 30 minutes of being idle. this doesn't appear to be from excessive cpu usage. I've observed the cpu via system monitor and that seems to be working fine. I'm suspecting it's a power configuration issue. I didn't have this problem when I had Panther installed. Does anyone have any ideas? Let me know if you need any more information. Regards, Julian -------------- next part -------------- An HTML attachment was scrubbed... URL: From sjh at adfa.edu.au Mon Apr 19 11:40:18 2010 From: sjh at adfa.edu.au (Stephen Harker) Date: Mon, 19 Apr 2010 12:40:18 +1000 Subject: [ydl-gen] Powerbook G4 '12 1.33 GHz shutdown issue In-Reply-To: References: Message-ID: <20100419024018.GA30728@h42180.pems.adfa.edu.au> Hi Julian, > I've updated all the packages to the latest and it still shuts down when > it's on idle which happens after about 30 minutes of being idle. this > doesn't appear to be from excessive cpu usage. I've observed the cpu via > system monitor and that seems to be working fine. This could be due to the settings for pbbuttonsd. There are two power related utilities that I recall: pbbuttons and pmud. To check the former try the command 'powerprefs' from the command line (or equivalent to invoke 'PowerPrefs' from a gui). Look for the settings under both AC and battery. There is a setting for the number of seconds until suspend occurs. You can change this to a more appropriate value or set to 0 (no suspend). If you choose the latter then the machine will run till the battery is close to running out (this is set by pmud). The pmud setting is in /etc/power/levels, I don't recall if there is a gui to set it. If this is not the problem I don't have any other ideas at the moment. -- Stephen Harker s.harker at adfa.edu.au PEMS UNSW at ADFA From jwest184 at gmail.com Tue Apr 20 02:58:25 2010 From: jwest184 at gmail.com (Julian West) Date: Mon, 19 Apr 2010 10:58:25 -0700 Subject: [ydl-gen] Powerbook G4 '12, 1.33 GHz runs hot and shuts down Message-ID: Hello everyone, I'm afraid I didn't accurately describe my issue. My install of Yellow Dog 6.2 went fine. I left my mac on after using it for over an hour or so. I like to leave my computer on because I know how turning it on and off is hard on a computer. Anyways, when I wasn't using it, the fan seemed go full blast. I glanced at the system monitor and the cpu seem to go to 100% without me doing anything on the computer (besides running system monitor of course.) It then shutdown a few seconds after that. Any help with this would be appreciated. > Julian -------------- next part -------------- An HTML attachment was scrubbed... URL: From sjh at adfa.edu.au Tue Apr 20 06:54:11 2010 From: sjh at adfa.edu.au (Stephen Harker) Date: Tue, 20 Apr 2010 07:54:11 +1000 Subject: [ydl-gen] Powerbook G4 '12, 1.33 GHz runs hot and shuts down In-Reply-To: References: Message-ID: <20100419215411.GA5572@h42180.pems.adfa.edu.au> Hi Julian, > I left my mac on after using it for over an hour or so. I like to leave my > computer on because I know how turning it on and off is hard on a computer. > Anyways, when I wasn't using it, the fan seemed go full blast. I glanced > at the system monitor and the cpu seem to go to 100% without me doing > anything on the computer (besides running system monitor of course.) It > then shutdown a few seconds after that. This sounds like a scheduled task running. I am not sure what the system monitor reports (have not used it). Does it report a task running? One way to check is, from a shell window, type 'top'. This command shows a list of active tasks and what percentage of cpu and memory they consume (this is a standard unix command, also available in OS/X). Some system housekeeping tasks do use a fair amount of cpu for a short while. Once we know which task is running and using the cpu heavily we can say more about it. One old but useful description of unix scheduled tasks is: I hope this is more helpful. -- Stephen Harker s.harker at adfa.edu.au PEMS UNSW at ADFA From sjh at adfa.edu.au Tue Apr 20 07:41:00 2010 From: sjh at adfa.edu.au (Stephen Harker) Date: Tue, 20 Apr 2010 08:41:00 +1000 Subject: [ydl-gen] Powerbook G4 '12, 1.33 GHz runs hot and shuts down In-Reply-To: References: Message-ID: <20100419224100.GA8313@h42180.pems.adfa.edu.au> Hi Julian, A couple of further comments. A quick Google search did not find reports that seem to match exactly what you are reporting. As an alternative to the previous suggestion (since it might not duplicate itself for some time) you may need to look at the log files. After rebooting you will probably need to use sudo or su to root to gain access, but from a shell go to /var/log, the most likely log files to have information of relevance are messages, syslog and secure. Look for the date and time at which the high cpu usage occurred. See what is listed and if anything looks like it was running at the time or other information reported. Since it is just before the shutdown it should be relatively easy to find. -- Stephen Harker s.harker at adfa.edu.au PEMS UNSW at ADFA From angelo_da_re at alice.it Sat Apr 24 02:25:44 2010 From: angelo_da_re at alice.it (angelo) Date: Fri, 23 Apr 2010 19:25:44 +0200 Subject: [ydl-gen] Printer for YDL 6.2 on a PS3 Message-ID: <4BD1D818.7070504@alice.it> Hello everyone, is there anyone who can suggest me an inkjet color printer that is available now for which there is the YDL 6.2 driver ? Maybe HP or Epson USB printer. I bought an Epson Stylus S20 , but it's not compatible. I also had a look at CUPS, but the latest Epson driver is of August 2008. Please help me ! Thanks in advance, Angelo From dcenteno at ydl.net Sun Apr 25 07:07:15 2010 From: dcenteno at ydl.net (Derick Centeno) Date: Sat, 24 Apr 2010 18:07:15 -0400 Subject: [ydl-gen] Powerbook G4 '12, 1.33 GHz runs hot and shuts down In-Reply-To: References: Message-ID: <20100424180715.755f6d3a@arakus> On Mon, 19 Apr 2010 10:58:25 -0700 Julian West wrote: > Hello everyone, > > I'm afraid I didn't accurately describe my issue. > > My install of Yellow Dog 6.2 went fine. > > I left my mac on after using it for over an hour or so. I like to leave my > computer on because I know how turning it on and off is hard on a computer. > Anyways, when I wasn't using it, the fan seemed go full blast. I glanced > at the system monitor and the cpu seem to go to 100% without me doing > anything on the computer (besides running system monitor of course.) It > then shutdown a few seconds after that. > > Any help with this would be appreciated. > > > Julian Hi Julian: I did a little research on this problem and am sharing with you the link: http://www.ehmac.ca/mac-ipod-help-troubleshooting/9004-powerbook-g4-fan-noise.html If you read through the discussion you'll notice a section discussing the wiring and the fan proper. It just may be the case that you'll have to have your powerbook checked out by Apple certified engineers to insure that more serious problems don't exist. I also found this link: http://discussions.apple.com/thread.jspa?threadID=504823 However, essentially the solution is the same, take the powerbook to be examined. All the best... -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: not available URL: Date: Sat, 24 Apr 2010 18:18:37 -0600 Subject: [ydl-gen] Time Machine is the Devil To all, I share a ~300GB partition between YDL and OSX on both my 12" PowerBook and G5 Power mac workstation. For a few years now, this scheme has worked flawlessly, using rsync to migrate data (add, delete, mod) from one to the other, often more than once a day as I leave or return to my office. The formatting of this shared partition is "OSX Extended, Case Sensitive", but without "Journaling" in order that the YDL kernel may read/write to this partition, as auto-mounted in /etc/fstab. However, last week I was playing with Apple's Time Machine (and other backup software systems to determine which is most appropriate for my parents' home office. Little did I know that Time Machine modified my shared Data partition to "OSX Extended, Case Sensitive, Journaled" without so much as a warning block or query. It took 2+ hrs to determine whey I could not auto-mount nor manually mount the /Data partition in read/write mode until a friend suggested I use Disk Utility to see if Journaling had been enabled. Sure enough, it had. Unfortunately, just turning it off does not allow for Linux to again write to this partition, and so I had to reformat it using OSX with intent to copy over 200GB of data back to this partition. Once again, OSX exhibited its independent will and modified my entire partition table, save the Apple and HFS boot partitions (sda1, sda2), meaning that I had to modify /etc/yaboot and run ybin in Rescue Mode from the YDL v6.2 DVD (thank you Owen and Chris for taking my half dozen exasperated calls today). 8 hours later, I am back up and running on my workstation. It seems the "simpler" OSX is to use, the more is can really f&%! with your system, completely out of your control. If I did not need to review movies for the Almost Famous Film Festival a few times a year and use iTunes to manage my iPod, I would very quickly remove it completely from my computers. Ugh. BTW, if anyone is interested in how to build a shared partition (which works very well, if you don't use Time Machine), feel free to contact me. From dcenteno at ydl.net Sun Apr 25 08:21:56 2010 From: dcenteno at ydl.net (Derick Centeno) Date: Sat, 24 Apr 2010 19:21:56 -0400 Subject: [ydl-gen] Printer for YDL 6.2 on a PS3 In-Reply-To: <4BD1D818.7070504@alice.it> References: <4BD1D818.7070504@alice.it> Message-ID: <20100424192156.1934f30c@arakus> On Fri, 23 Apr 2010 19:25:44 +0200 angelo wrote: > Hello everyone, is there anyone who can suggest me an inkjet color > printer that is available now for which there is the YDL 6.2 driver ? > Maybe HP or Epson USB printer. I bought an Epson Stylus S20 , but it's > not compatible. I also had a look at CUPS, but the latest Epson driver > is of August 2008. Please help me ! Thanks in advance, Angelo Hi Angelo: I recall that back in March (between March 10 - 12, 2010) a number of people commented on this problem you reported. I'm not sure that you read what was posted back then but the general idea is that YDL as open source Linux relies upon CUPS which collects drivers from HP, Epson and other companies which also contribute open source version of the commercial drivers they make. The commercial drivers prepared for Windows or the Mac OS have all the features associated with a particular printer. You can expect to have the printer's scanner and other components to be fully supported within Windows or the Mac OS. However, it is best to be very clear and understand that under no circumstances can you expect to have every feature supported within either x86 or ppc based Linux even though you are the same owner of the printer and that printer is connected to the same computer. It may be useful to keep in mind that the entire Linux market is so small that companies find it more economical (and financially sensible) to support Windows, and Macs. This means that any consumer looking to have the full functional capability of a printer available needs to be using almost exclusively either Windows or the Mac. CUPS, which is available for Linux, is very flexible and useful however there is no way that the drivers available can have the features or capabilities of drivers available for commercial operating systems. Some open source drivers are designed, on purpose, to allow a printer to have standard or basic printing capability for a range of printer models sometimes across several manufacturers. Commercial drivers are specialized for one model printer often emphasizing the special components of that one model, maybe one or two within one company. Hopefully, this won't frustrate you. You may indeed have a great printer, just remember to use that printer within Windows if you want the full features of that printer to be utilized. As you are using a PS3, you could build or install (using yum) Wine or other programs which allow you to run Windows from within YDL. Using Wine (or similar programs) you would have the full capabilities of the printer available to you as the printer would believe that it was connected to a Windows machine. If this idea interests you, I recommend that you consult with and become a member of the YDL Board community. There are some really saavy and skilled people there who could help you explore this idea and even guide you. Implementing this idea isn't easy but it isn't impossible either. As a project it's an interesting means of exploiting the PS3's potential in a direction which few take advantage of. All the best... -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From sjh at adfa.edu.au Mon Apr 26 11:22:59 2010 From: sjh at adfa.edu.au (Stephen Harker) Date: Mon, 26 Apr 2010 12:22:59 +1000 Subject: [ydl-gen] Printer for YDL 6.2 on a PS3 In-Reply-To: <20100424192156.1934f30c@arakus> References: <4BD1D818.7070504@alice.it> <20100424192156.1934f30c@arakus> Message-ID: <20100426022259.GA5362@h42180.pems.adfa.edu.au> On Sat, Apr 24, 2010 at 07:21:56PM -0400, Derick Centeno wrote: > On Fri, 23 Apr 2010 19:25:44 +0200 > angelo wrote: > > > Hello everyone, is there anyone who can suggest me an inkjet color > > printer that is available now for which there is the YDL 6.2 driver ? > > Maybe HP or Epson USB printer. I bought an Epson Stylus S20 , but it's > > not compatible. I also had a look at CUPS, but the latest Epson driver > > is of August 2008. Please help me ! Thanks in advance, Angelo > > Hi Angelo: > > I recall that back in March (between March 10 - 12, 2010) a number of people > commented on this problem you reported. I'm not sure that you read what was > posted back then but the general idea is that YDL as open source Linux relies > upon CUPS which collects drivers from HP, Epson and other companies which also > contribute open source version of the commercial drivers they make. I looked up the Epson Stylus S20 in the OpenPrinting database, see . I did not find it, then I did a google search on 'linux Eson Stylus S20' and found a reference (on OpenPrinting!) as follows: The properties of this printer are not yet entered into the database This printer is only listed here because it is in the list of supported printers of the entries for the drivers shown below. Then it refers to the GutenPrint drivers. The GutenPrint drivers are a successor to the Gimp-Print drivers see it now says GutenPrint! Unfortunately YDL 6.2 does not come with GutenPrint. You may be able to get GutenPrint rpms from Fedora to work for you. I recompiled the gutenprint source rpm from fedora fc 10 when faced with a similar problem. It worked for me. The source rpm was gutenprint-5.2.4-4.fc10.src.rpm. Otherwise you may try to download the fc10 ppc.rpm and install those. A final option would be to download, compile and install the source from the GutenPrint source on sourceforge as listed above. On my machine I have the following: rpm -qa | grep gutenprint gutenprint-5.2.4-4 gutenprint-extras-5.2.4-4 gutenprint-cups-5.2.4-4 gutenprint-plugin-5.2.4-4 gutenprint-foomatic-5.2.4-4 -- Stephen Harker s.harker at adfa.edu.au PEMS UNSW at ADFA Date: Thu, 29 Apr 2010 17:48:42 -0600 Subject: [ydl-gen] Sony sued over removal of Linux support from PS3 http://www.wired.com/threatlevel/2010/04/playstation-linux/