Jump to content

xxbeanxx

Members
  • Posts

    37
  • Joined

  • Last visited

xxbeanxx's Achievements

New Here

New Here (1/7)

0

Reputation

  1. urpmi memtest86+ and it should show up in lilo on next reboot.
  2. I'm having a problem with my dual-head setup when the second monitor is plugged in prior to Xorg loading. I have a Toshiba A60 laptop, and dual head works perfect when I wait until Xorg is loaded to plug in the external monitor. If I plug it in too early, however, my laptop LCD goes all weird, with vertical black lines distorting the view. Also, if I plug it in too early, the external monitor doesn't even turn on. Here's a copy of my xorg.conf file. This is the only way that I could get dual-head to work. I tried xinearama and two 'screen' sections, but nothing worked until I tried this. I'm sure I'm overlooking something stupid, but who knows. My guess is that when the second monitor is plugged in, Xorg is detecting its DDC modes and perhaps using one that is out of range. But I specify the exact vrefresh and hsync that works on my laptop LCD, which it seems to be ignoring. Section "Files" FontPath "unix/:-1" EndSection Section "ServerFlags" AllowMouseOpenFail EndSection Section "Module" Load "dbe" # Double-Buffering Extension Load "v4l" # Video for Linux Load "extmod" Load "type1" Load "freetype" Load "synaptics" Load "dri" # direct rendering Load "/usr/X11R6/lib/modules/extensions/libglx.a" EndSection Section "InputDevice" Identifier "Keyboard1" Driver "keyboard" Option "XkbModel" "pc104" Option "XkbLayout" "en_US" Option "XkbOptions" "compose:rwin" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/mouse" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "SynapticsMouse1" Driver "synaptics" Option "Protocol" "auto-dev" Option "Device" "/dev/input/mice" Option "MinSpeed" "0.09" Option "MaxSpeed" "0.18" Option "BottomEdge" "4200" Option "SHMConfig" "on" Option "FingerLow" "25" Option "LeftEdge" "1700" Option "MaxTapMove" "220" Option "MaxTapTime" "180" Option "FingerHigh" "30" Option "VertScrollDelta" "100" Option "TopEdge" "1700" Option "AccelFactor" "0.0015" Option "RightEdge" "5300" EndSection Section "Monitor" Identifier "monitor1" VendorName "Generic" ModelName "Flat Panel 1024x768" HorizSync 31.5-48.5 VertRefresh 40-70 EndSection Section "Device" Identifier "device1" VendorName "ATI" BoardName "ATI Radeon (fglrx)" Driver "radeon" Option "DPMS" Option "MergedFB" "True" Option "MonitorLayout" "TMDS, LVDS" Option "CRT2Position" "RightOf" Option "CRT2HSync" "31.5-48.5" Option "CRT2VRefresh" "40-70" Option "MetaModes" "1024x768-1024x768" EndSection Section "Screen" Identifier "screen1" Device "device1" Monitor "monitor1" DefaultColorDepth 24 Subsection "Display" Depth 8 Modes "1024x768" Virtual 2048 768 EndSubsection Subsection "Display" Depth 15 Modes "1024x768" Virtual 2048 768 EndSubsection Subsection "Display" Depth 16 Modes "1024x768" Virtual 2048 768 EndSubsection Subsection "Display" Depth 24 Modes "1024x768" Virtual 2048 768 EndSubsection EndSection Section "ServerLayout" Identifier "layout1" InputDevice "Keyboard1" "CoreKeyboard" InputDevice "Mouse1" "CorePointer" InputDevice "SynapticsMouse1" "AlwaysCore" Screen "screen1" EndSection [moved from Software by spinynorman]
  3. I need to use PHP to connect to an oracle database and am having loads of trouble. phpinfo() tells me that I can install php-oci8, but this package is not available. Grrrr.. Does anyone have instructions for getting php working with oracle on 2005LE?? I've seen a few outdated pages for older versions of mandrake, but they all say I should install php-oci8 which is not available for 2005LE. Please someone help me. I've been wasting a week trying to figure this out.. Greg
  4. Can anyone tell me how to get both 2048x768 AND 1024x768 in krandrtray? Currently I can only get one or the other. I use dual head and I'd like to be able to switch resolutions on the fly for when I am not using an external monitor. Thanks.. Greg
  5. I figured it out.. So for anyone trying to get an ati laptop card to do dual head, try this configuration: # File generated by XFdrake. # ********************************************************************** # Refer to the XF86Config man page for details about the format of # this file. # ********************************************************************** Section "Files" # Multiple FontPath entries are allowed (they are concatenated together) # By default, Mandrake 6.0 and later now use a font server independent of # the X server to render fonts. FontPath "unix/:-1" EndSection Section "ServerFlags" #DontZap # disable <Crtl><Alt><BS> (server abort) AllowMouseOpenFail # allows the server to start up even if the mouse does not work #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching) EndSection Section "Module" Load "dbe" # Double-Buffering Extension Load "v4l" # Video for Linux Load "extmod" Load "type1" Load "freetype" Load "synaptics" Load "dri" # direct rendering Load "/usr/X11R6/lib/modules/extensions/libglx.a" EndSection Section "InputDevice" Identifier "Keyboard1" Driver "keyboard" Option "XkbModel" "pc104" Option "XkbLayout" "en_US" Option "XkbOptions" "compose:rwin" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/mouse" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "SynapticsMouse1" Driver "synaptics" Option "Protocol" "auto-dev" Option "Device" "/dev/input/mice" Option "MinSpeed" "0.09" Option "MaxSpeed" "0.18" Option "BottomEdge" "4200" Option "SHMConfig" "on" Option "FingerLow" "25" Option "LeftEdge" "1700" Option "MaxTapMove" "220" Option "MaxTapTime" "180" Option "FingerHigh" "30" Option "VertScrollDelta" "100" Option "TopEdge" "1700" Option "AccelFactor" "0.0015" Option "RightEdge" "5300" EndSection Section "Monitor" Identifier "monitor1" VendorName "Generic" ModelName "Flat Panel 1024x768" HorizSync 31.5-48.5 VertRefresh 40-70 EndSection Section "Device" Identifier "device1" VendorName "ATI" BoardName "ATI Radeon (fglrx)" Driver "radeon" Option "DPMS" Option "AGPMode" "4" Option "AGPFastWrite" "True" Option "DynamicClocks" "True" Option "MergedFB" "True" Option "MonitorLayout" "TMDS, LVDS" Option "CRT2Position" "RightOf" Option "CRT2HSync" "31.5-48.5" Option "CRT2VRefresh" "40-70" Option "MetaModes" "1024x768-1024x768" EndSection Section "Screen" Identifier "screen1" Device "device1" Monitor "monitor1" DefaultColorDepth 24 Subsection "Display" Depth 8 Virtual 2048 768 EndSubsection Subsection "Display" Depth 15 Virtual 2048 768 EndSubsection Subsection "Display" Depth 16 Virtual 2048 768 EndSubsection Subsection "Display" Depth 24 Virtual 2048 768 EndSubsection EndSection Section "ServerLayout" Identifier "layout1" InputDevice "Keyboard1" "CoreKeyboard" InputDevice "Mouse1" "CorePointer" InputDevice "SynapticsMouse1" "AlwaysCore" Screen "screen1" EndSection The only thing I have problems with now, is that since my card cannot correctly detect there's an external card plugged in, I have to use the "MonitorLayout" option. This makes my desktop always 2048x768. I constantly have to exit the xorg.conf file to change the virtual display size. Does anyone know of a way to load certian X configurations on startup?
  6. There IS an xorg.conf file attached?!?! I never noticed.. Wow.. Also, I tried that exact A65 config with no luck. Using this config it only appears on the external monitor, and not the LCD. I'll go check out the A60 config. Thanks for noticing that for me.. UPDATE:: Actually, I did notice that config file.. This is not the one used for dual-head. It only works for one monitor. :( Back to square one. Maybe I can get that A65 to work with some messing around. Thx again
  7. Could someone give me some guidance on getting dual head working with my Toshiba A60 laptop? I've read all the HOWTOs and seemingly tried everything, but I can never get it working. The best I can do is to get xorg to come up on the external monitor. I should state that I believe this can be done because I found this page off of linux-on-laptops.org http://delphi.homelinux.org/toshiba/ This guy claims that he has done it, but of course doesn't provide his config files. Here's my config file for xorg, perhaps you can see an error with it: Section "Files" FontPath "unix/:-1" EndSection Section "ServerFlags" Option "Xinerama" "true" EndSection Section "Module" Load "dbe" # Double-Buffering Extension Load "v4l" # Video for Linux Load "extmod" Load "type1" Load "freetype" Load "synaptics" Load "dri" # direct rendering Load "/usr/X11R6/lib/modules/extensions/libglx.a" EndSection Section "InputDevice" Identifier "Keyboard1" Driver "keyboard" Option "XkbModel" "pc104" Option "XkbLayout" "en_US" Option "XkbOptions" "compose:rwin" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/mouse" Option "ZAxisMapping" "6 7" EndSection Section "InputDevice" Identifier "SynapticsMouse1" Driver "synaptics" Option "Protocol" "auto-dev" Option "Device" "/dev/input/mice" Option "MinSpeed" "0.09" Option "MaxSpeed" "0.18" Option "BottomEdge" "4200" Option "SHMConfig" "on" Option "FingerLow" "25" Option "LeftEdge" "1700" Option "MaxTapMove" "220" Option "MaxTapTime" "180" Option "FingerHigh" "30" Option "VertScrollDelta" "100" Option "TopEdge" "1700" Option "AccelFactor" "0.0015" Option "RightEdge" "5300" EndSection Section "Monitor" Identifier "monitor1" VendorName "Toshiba" ModelName "Satellite A60" EndSection Section "Monitor" Identifier "monitor2" VendorName "Unknown" ModelName "Generic" EndSection Section "Device" Identifier "device1" VendorName "ATI" BoardName "ATI Radeon (fglrx)" Driver "radeon" BusID "PCI:1:5:0" Option "DPMS" EndSection Section "Device" Identifier "device2" VendorName "ATI" BoardName "ATI Radeon (fglrx)" Driver "radeon" BusID "PCI:1:5:0" Option "DPMS" EndSection Section "Screen" Identifier "screen1" Device "device1" Monitor "monitor1" EndSection Section "Screen" Identifier "screen2" Device "device2" Monitor "monitor2" EndSection Section "ServerLayout" Identifier "layout1" InputDevice "Keyboard1" "CoreKeyboard" InputDevice "Mouse1" "CorePointer" InputDevice "SynapticsMouse1" "AlwaysCore" Screen "screen1" Screen "screen2" RightOf "screen1" EndSection Also, in the laptop bios there was a setting for what video port to enable (lcd+external or auto) I tried both of these settings with no luck. Thanks to anyone who helps!
  8. Hmm.. No, I meant 'custom'.... The Makefile in the linux source dir has an option EXTRAVERSION = -6mdkcustom which causes some modules to be placed in this module directory. For example, when I did a make install for my madwifi drivers, they ended up in /lib/modules/2.6.11-6mdkcustom instead of /lib/modules/2.6.11-6mdk I simply moved /lib/modules/2.6.11-6mdkcustom/net to /lib/modules/2.6.11-6mdk and everything worked fine. EDIT:: If the compile went okay for you, you could mkdir the 'net' directory I mentioned and place the following files in there: [root@nimba greg]# ls /lib/modules/2.6.11-6mdk/net/ ath_hal.ko ath_rate_onoe.ko wlan_ccmp.ko wlan_tkip.ko wlan_xauth.ko ath_pci.ko wlan_acl.ko wlan.ko wlan_wep.ko
  9. had the same problem.... It's because the kernel source has your module directory set to /lib/modules/'kernel version'custom ..if you want to get this working move /lib/modules/"kernel version"custom/net to /lib/modules/"kernel version" This will put the modules somewhere that the kernel can see them. I also ran a depmod -a, not sure if that was needed or not. Now you should be able to modprobe ath_pci without problems. Hope this makes sense to you.. Write back if not.
  10. xxbeanxx

    DJ Software

    Hey guys. Can anyone tell me if the following software exists: A set of PHP/CGI/Perl scripts that will allow me to create an "internet radio box" with the following requirements... 1) It plays INTERNET RADIO streams. I've found lots that can do playlists of locally stored MP3s, but I want internet radio. 2) Admin interface to add/delete these internet stations 3) Ability for users to log in to change the currently playing station 4) Volume control 5) Able to be cron'd (ie, start at 7am, stop at 5pm) Here's what its for: for years we've had a radio in the dining hall of our university. The administrative staff of the hall had keys to the closet containing the radio and amplifier so they could turn on/off the radio or adjust the volume. Eventually we found that a) our local radio stations suck (we've only 4) B) the administrative staff don't have a clue how to operate a sophisticated amplification system. So we want to either download or create a web-based interface that can give them access via the network. The staff can log in, click a drop down box to change station, and be happy. Also, the staff complain that when they work nights, the radio is playing rock and they want country. So we want to be able to script the thing so at certian times, certian stations will play. I have no problem writing this up myself, but if it's already been done then I'd use that. I wrote a prototype at the beginning of last summer to use, and it was so popular that other people on campus want the same type of thing. My prototype is not very secure though (using setuid CGI) and has lots of problems. I was using perl and was making system calls to mplayer to play the stations. I would like to use the mplayer libs and API if I need to rewrite it. Any suggestions? ::EDIT:: Thought I'd add this, since when I asked on IRC everyone misunderstood me.. I want to play other people's internet stations, not broadcast my own. I want to get a collection of stations from shoutcast and use the interface to switch between these. Also failed to mention that the computer would be interfaced with the amplifier via the computer's line out, which is self-evident, I guess. Thanks again.
  11. Well I fixed my problem.. I figured I'd post it here in case someone in the future encounters it. Actually, its all over google so I'm sure lots of people have the problem, just no solution... Anyway, add this to your http config file: <Files *.pdf> RequestHeader unset Range RequestHeader unset If-Modified-Since RequestHeader unset Unless-Modified-Since RequestHeader unset If-Range RequestHeader unset ETag </Files> All these together will make IE think that the cached version of its PDF is out of date, and will load it from the webserver. What a pain...
  12. Come on, one of you MDK techs should know how to do this...
  13. Thanks for the reply, I really appreciate it.. I tried the .pdf extension thing, adding &foo=.pdf to the end of the URL, to no avail. Also, I am not generating the PDFs on the fly. The PDFs are saved on disk already. The PHP code uses a header("location: http://bla/file.pdf"); command to bounce the browser to the PDF file. I tried hard linking to the PDF, (a href, instead of file.php?pdf=whatever.pdf) and cleared my cache, restarted, and still get this problem. It's very disheartening. I read on the apache buglist that it can be fixed by patching apache to never return a 304 code..... I don't want to do this.. :( I never had this problem when using gentoo and apache2. It seems to have started when using MDK10.1.. So perhaps I should look at the differences.
  14. Thanks for the reply. I don't think this is the problem, however. For example, if I open the temporary internet files on the box with IE, the file shows as whatever.pdf. One thing I've noticed though is whever a user clicks on the pdf the first time, it works okay. Subsequent times apache2 returns a 304, which is basically telling the IE box to load the cached version. If I open the cached version in notepad, I see a bunch of chunks in arbitrary order. I mean, the end of the file may be at the beginning, while the middle could be at the end...etc. However, the very first chunk is never present. I dunno if this makes sense to you...but if I were to take each piece and put them in the correct order, I would get an almost complete PDF. Anyhow, I've tried making apache rewrite headers so that it tells IE not to cache the files, but it seems like IE never listens. It is quite annoying. I know that chunking is a feature of apache. Basically it sends large files out in packets which get reassembled on the other end. It seems like this works for the first time, but the file that gets cached is not the reassembled one. I dunno if my analysis is correct.. Maybe I'm looking in the wrong spot for clues. Anyway, thanks for your help..
×
×
  • Create New...