Re: udev, usb mouse et Xfree
On Thu, 2005-02-06 at 11:56 -0400, Nicolas wrote: > The problem is when I remove and try to replug my mouse. I can't get it to > work anymore. If I use a symlink from /dev/usbmouse to /dev/input/mouse0, > when I replug the mouse, the /dev/input/mouse0 is not accessible anymore > (used by X?) and udev set the mouse to mouse1 (or mouse2 then my touchpas is > active). Configure X to use /dev/input/mice instead. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Where to put the PDA ?
On Sat, 2005-01-01 at 11:27 -0500, J.F.Gratton wrote: > > My computer has 2 hi-speed (USB 2) ports as well as 2 USB 1.1 ports. > When I run dpkg-reconfigure gnome-pilot (or kpilot), it asks on where > port will the PDA be connected, giving my a choice of ttyUSB0 or > ttyUSB1. How do I know which port is which ? Try either one. For my Tungsten T3, I use ttyUSB1. Never tried ttyUSB0 myself. > So basically kpilot/gpilot/etc use a specific naming convention > (ttyUSB[01]) while the kernel uses another one.. How do I make a > relationship between the two ? The visor.ko module will only make the 2 serial ports available when you manually initiate a HotSync on the CliƩ, and they go away once HotSync is done. -- Steven Yap <[EMAIL PROTECTED]>
Re: Is life with 'udev' good?
On Sat, 2004-20-11 at 01:19 -0600, Ron Johnson wrote: > On Fri, 2004-11-19 at 21:29 -0800, Steven Yap wrote: > > > > So, there's a hack - use the all_partitions property for the NAME. > > Here's what I use to get access to my CF slot on my multi-card reader: > > > > BUS="scsi", SYSFS{vendor}="Zynet*",SYSFS{model}="USB Storage-CFC*", > > NAME{all_partitions}="compact_flash" > > Where does this go? /etc/udev/udev.rules? You could, but I just mine in /etc/udev/rules.d/local.rules, or you could just put it in its own file under /etc/udev/rules.d/. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Is life with 'udev' good?
On Fri, 2004-19-11 at 15:35 -0500, H. S. wrote: > > My experience has been great with udev except in the case of multi-card > reader that I have (not sure how to set that up). Most (if not all) card readers (multi or otherwise) don't provide media change information, so there's no way for the kernel to generate a hotplug event for udev. So, there's a hack - use the all_partitions property for the NAME. Here's what I use to get access to my CF slot on my multi-card reader: BUS="scsi", SYSFS{vendor}="Zynet*",SYSFS{model}="USB Storage-CFC*", NAME{all_partitions}="compact_flash" This will create 16 partition device files for the CompactFlash LUN. Do the same for the rest of the LUNs on your multi-reader, and you should be set. The cards put into the reader would normally be accessible as the first partition. I then creat /etc/fstab entries for /dev/compact_flash1 etc. and I can access them through the "Computer" folder in nautilus. It's not as cool as having the card show up on the desktop when I plug it in, but hey, it works. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: GTK 1.2 fonts not recognized after in GNOME
On Sun, 2004-10-10 at 18:06 -0400, Rohan Deshpande wrote: > > I have been using Gnome2 lately, and I've noticed that any font changes > I make or theme changes to .gtkrc are completely ignored. However, > when I start x in something other than gnome that does not load the > control-center, gtk 1.2 fonts work when I use gtk-theme-switch. So, > it must be something that gnome2 is doing to override any changes i > make to gtk1.2 stuff. any ideas? thanks! Make your changes to .gtkrc-1.2-gnome2. That's apparently the new file that GTK 1.2 applications will pickup when running in a Gnome 2 environment. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: alsa
On Fri, 2004-08-10 at 14:09 +0900, Luke Kearney wrote: > I have a Terratec Aureon 7.1 sound card configured to run with Alsa ( > installed from apt-get ). I can get ordinary playback on the analog > ports but I cannot get playback through the optical ports. I have the > computer hooked up to a pair of Sony surround sound speakers connected > via a TOSlink cable. Can anyone shed some light on how to get playback > through those digital speakers - preferrably at the same time as the > analog ports. Have you tried unmuting and/or increasing the volume of the various IEC958 "devices" using alsamixer? -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Mouse Pointer
On Wed, 2004-09-29 at 11:42, yo mero wrote: > > I have 1 mouse pointer working normally > and 1 X mouse pointer at the center of the screen without motion > > any clue ? > Try disabling hardware mouse cursor. Probably a driver problem. -- steven -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Alsa in Debian Sarge? How to?
On Tue, 2004-09-28 at 20:17, Rob Benton wrote: > The thing that gave me the most headache is hotplug/alsa kept picking up > my onboard audio as slot-0 so all my apps were using that instead of my > SBLive card. Only way I was able to resolve it was to disable the > onboard stuff in the BIOS. There may be another way but I couldn't find it. > If you don't mind having your onboard sound disabled, place the module name in /etc/hotplug/blacklist I think you should be able to assign the sound-slot-n ordering through judicious use of the alias directive in /etc/modprobe.d/sound like so: alias snd-card-0 snd-emu10k1 alias sound-slot-0 snd-emu10k1 alias snd-card-1 snd-cmpci alias snd-slot-0 snd-cmpci -- steven -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: hotplug PS2 keyboard
On Wed, 2004-09-01 at 23:39, Li Daobing wrote: > > I have a linux server, the system is Debian sarge, kernel version is > 2.6.7. > I want to know how to make the PS2 keyboard hotplug. > PS2 is not designed for hotplugging. Try using a USB keyboard. -- steven -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ALSA on 2.6
On Tue, 2004-08-31 at 03:41, Tom Allison wrote: > How to I check if ALSA is actually working on my system? If the proper ALSA driver is loaded, the directory /proc/asound should be populated. Here's what mine looks like: obsolescence[12]> ls /proc/asound/ card0 cards CMI8738 devices hwdep modules oss pcm seq timers version > but I can't find anything in the xine menus to tell me > what it's using for sound. Open the xine setup window, click on the "audio" tab and scroll to the item labelled "audio driver to use". > I made an assumption that kernel 2.6 provided alsa without additional > configuration other than loading the hardware drivers. It should mostly work. When I upgraded to kernel 2.6 earlier in the year, I had a problem with the OSS module being loaded first before the ALSA module. Putting the offending OSS module name in /etc/hotplug/blacklist allowed the ALSA module to finally load. -- steven -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: USB harddrives and device associations
On Mon, 2004-08-30 at 11:10, Darryl Clarke wrote: > > I have a lot of USB drives that I deal with and I'm getting quite > annoyed that whenever I switch drives the /dev/sdX association changes > too. I started on /dev/sda and now I'm currently on /dev/sdp and I > have to edit my fstab every time I switch drives around. Are you running a 2.6 kernel? If so, use udev with hotplug. With udev you can create naming rules which will provide you with stable names for use in /etc/fstab. udev works off of information exporting by the kernel drivers to the sysfs filesystem (usually mounted on /sys). For example, I use the following udev rule (all one line) to create a symlink called "ipod" in the /dev/ directory to the data partition on my iPod when it's plugged in: BUS="scsi", SYSFS{model}="iPod", KERNEL="sd?3", NAME="%k", SYMLINK="ipod" Hope that helps, -- steven -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: jewel for lcd users
On Mon, 2004-07-05 at 11:22, Thomas Adam wrote: > --- Randall Smith <[EMAIL PROTECTED]> wrote: > > > > xset dpms force off > > This action is usually the default for some kind of screen-blanking > anyway. Interestingly, my BenQ FP231W doesn't respond to any of the "force" options even though "xset q" shows DPMS is enabled, and the monitor itself claims VESA DPMS and EPA compliancy for power management. I'm connecting through DVI-D if that matters any. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: new gnome file selection
On Wed, 2004-07-07 at 23:31, jakob bratkovic wrote: > > At the command prompt type: > > gconf-editor > > Then navigate to apps -> nautilus -> preferences > and chech the "always_use_browser" value. That actually changes the behaviour and look of the file selection dialogue? -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: new gnome file selection
On Wed, 2004-07-07 at 22:51, [EMAIL PROTECTED] wrote: > I just started using sid, and I've run into the new gnome file > selection interface. It's almost unusable: > there's no way to enter an absolute path (or any path for that matter), Ctrl-L will bring an "Location" dialog where the path can be entered. > and no way to go up in the file system, Did you click on the "Browse for other folders" "button"? As you traverse the file system, the "path" is expressed as a series of clickable buttons at the top of the directory content "window". Click on the part of the path you want to show. > or to even see any dot files. Right-click on the directory content "window" to bring up the "Show hidden files" option. Click to select. > Is there a way to change all this? It's horrible! It's not that bad, actually. When the Location dialog is up, typing a partial directory name and pausing for a bit causes a list of possible completions to pop-up. Personally, I prefer the new dialog to the old one. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Looking for video card to drive 1920x1200 LCD monitor
I've just recently purchased a 1920x1200 LCD monitor that I am currently driving with an ATI Radeon 7500 over DVI-D (surprised me that it would actually work). While the combination does does work (quite crisply too, thank you), moving windows opaquely shows tearing. So, I'm on the lookout for a new video card. I had hopes for the ATI Radeon 9200 (I did track one down) but it does not have DVI-D output. I would like to be able to play some occasional bzflag and crack-attack, and would like to stay with the XFree86 driver. That would restrict me to the Radeon 9200s and below. I've read that the ATI proprietary driver has worse 2D performance than that of the XFree86 driver, but it does have the advantage of working with ALL of the Radeon revisions (except for the 7000 series). So, my choices seem to be: 1. Get a somewhat current generation Radeon & stay with the XFree86 drivers, forsaking the pleasures of bzflag, crack-attack and OpenGL screensavers. 2. Get a somewhat current generation Radeon & install the ATI proprietary drivers, and possibly reducing my system's stability. 3. Same as (2) but using an NVidia card instead (I wonder how much accelerated 2D support the XFree86 nv driver has). 4. Scrounge for a Radeon 9000 PRO or older card with DVI output. 5. Return my LCD and use my old monitor. :) If you're using the ATI proprietary driver, please post your experience with it. Does your windows tear when being moved? Are screen updates slow when a high resolution (> 1280x1024) is in use? Thanks, -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Pros/Cons Kde vs Gnome?
On Wed, 2004-06-16 at 11:05, Paul Scott wrote: > Steven Yap wrote: > >The window list is a gnome-panel applet. Add it to a Gnome panel and > >you're done. It essentially is the taskbar. > > > Meaning it's always visible and doesn't take up any more screen space? > If your panel is not set to "auto-hide" then, yes. > >In my case with metacity as the window manager, Alt-Tab allows me to > >cycle/select windows within the current workspace, while Alt-Ctrl-Left > >and Alt-Ctrl-Right switch workspaces. > > > Even if you're sure that Ctrl-Fn doesn't switch desktops with metacity > we're pretty close here. Luckily for you, metacity allows for keyboard shortcuts to be assigned to switch to individual workspaces. :) -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Pros/Cons Kde vs Gnome?
On Tue, 2004-06-15 at 10:04, Paul Scott wrote: > Steven Yap wrote: > > > > >Errm, doesn't the "Show windows from all workspaces" option for the > >window list applet work for you? > > > I don't have Gnome installed at the moment. Is the window list > displayed in the taskbar? If it's something I have to use the mouse to > get then it's less efficient than just looking at the taskbar and using > the keyboard to switch desktops and windows. To be fair I sometimes > have multiple copies of Firebird and XTerm open and use the mouse to > select the one I want. The window list is a gnome-panel applet. Add it to a Gnome panel and you're done. It essentially is the taskbar. I'm not aware of any keyboard shortcuts that are specific to it, so as you said, it would be less efficient for you. It has the option of listing all your windows across all workspaces or to only list windows in your current workspace. If the "all workspaces" option is chosen, clicking on a window listing whose window resides in a workspace different from the current workspace switches you to that workspace and bring the selected window to the top. In my case with metacity as the window manager, Alt-Tab allows me to cycle/select windows within the current workspace, while Alt-Ctrl-Left and Alt-Ctrl-Right switch workspaces. HTH. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Pros/Cons Kde vs Gnome?
On Mon, 2004-06-14 at 22:40, Paul Scott wrote: > > As to the original topic a strong reason for my using KDE over Gnome is > having all tasks in the taskbar instead of only those on the current > desktop. If someone knows how to easily fix this in Gnome I might give > it another look. Errm, doesn't the "Show windows from all workspaces" option for the window list applet work for you? -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: a pair of questions
On Sun, 2004-06-13 at 04:00, Antonio Rodriguez wrote: > > Hi Steven, I also have a 4-slot card reader, is a HP pavilion a250y > modified (customized). I tried the name{all_partitions} trick as > suggested by john fj... (sorry, hard spelling) and didn't > work. The thing is, I didn't do anything other than install the 2.6 kernel and udev. The only I did do was write udev rules. I'm assuming that the kernel detects your 4-slot reader at boot time, and you can see something like following in dmesg: usb 1-1.3: new full speed USB device using address 5 SCSI subsystem initialized Initializing USB Mass Storage driver... scsi0 : SCSI emulation for USB Mass Storage devices Vendor: Zynet Model: USB Storage-SMC Rev: I03A Type: Direct-Access ANSI SCSI revision: 02 Vendor: Zynet Model: USB Storage-CFC Rev: I03A Type: Direct-Access ANSI SCSI revision: 02 Vendor: Zynet Model: USB Storage-MMC Rev: I03A Type: Direct-Access ANSI SCSI revision: 02 Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 Attached scsi removable disk sdb at scsi0, channel 0, id 0, lun 1 Attached scsi removable disk sdc at scsi0, channel 0, id 0, lun 2 Vendor: Zynet Model: USB Storage-MSC Rev: I03A Type: Direct-Access ANSI SCSI revision: 02 Attached scsi removable disk sdd at scsi0, channel 0, id 0, lun 3 USB Mass Storage device found at 5 usbcore: registered new driver usb-storage USB Mass Storage support registered. If you see only 1 of the slot, make sure your kernel is compiled to probe all LUNs. I'm using Debian's stock 2.6 kernel. If so, the only stanza required would be udev rules. I place mine in /etc/udev/rules.d/local.rules: # # CompactFlash/MemoryStick/SmartMedia/SecureDigital/MultiMediaCard # Storage Reader # # Create ALL 16 partitions of a block device because most card # readers are too dumb to implement an actual media change # notification. # BUS="scsi", SYSFS{model}="USB Storage-MMC*", NAME{all_partitions}="securedigital" BUS="scsi", SYSFS{model}="USB Storage-CFC*", NAME{all_partitions}="compactflash" BUS="scsi", SYSFS{model}="USB Storage-SMC*", NAME{all_partitions}="smartmedia" BUS="scsi", SYSFS{model}="USB Storage-MSC*", NAME{all_partitions}="memorystick" The above should actually be 4 lines. The key to writing udev rules is find the proper SYSFS{} attribute to use to identify your devices. In my case, a "udevinfo -a -p /sys/block/sda" gives me the following for the SCSI bus: follow the class device's "device" looking at the device chain at '/sys/devices/pci:00/:00:07.2/usb1/1-1/1-1.3/1-1.3:1.0/host0/0:0:0:0': BUS="scsi" ID="0:0:0:0" SYSFS{detach_state}="0" SYSFS{device_blocked}="0" SYSFS{max_sectors}="240" SYSFS{model}="USB Storage-SMC " SYSFS{queue_depth}="1" SYSFS{rev}="I03A" SYSFS{scsi_level}="3" SYSFS{state}="running" SYSFS{type}="0" SYSFS{vendor}="Zynet " The value of the SYSFS{model} attribute allows me to use it to identify the various slots. One other thing. You need to force new hotplug events to be created after writing your udev rules. Since mine is an external card-reader, I simply unplugged it and plug it back into the USB port. I think the same effect can be had by "rmmod usb-storage && modprobe usb-storage". Hope that helps. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Gnome 2.6 and MAC OSX-like panel
On Sat, 2004-06-12 at 13:51, Elimar Riesebieter wrote: > On Sat, 12 Jun 2004 the mental interface of > Elimar Riesebieter told: > > > On Sat, 12 Jun 2004 the mental interface of > > Mark Roach told: > > > > > > Check out gdesklets. That's probably what you've seen. > > > > Nice features ;-) But what I've seen is > > > > http://fgo-temp.acc.umu.se/pub/GNOME/teams/marketing/en/2004/two-six-screenshots/html/large/Witek_Tarchalski_2.png > > > > The panel on botton. > > OK, I created a new panel, placed apps from the Main menu, but is it > possible to enlarge the symbols while touching with the cursor? Not with the standard Gnome panel. gdesklets does have a panel which behaves that way. Give a spin. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: a pair of questions
On Sat, 2004-06-12 at 05:45, Antonio Rodriguez wrote: > On Sat, Jun 12, 2004 at 01:01:51PM +0100, Jonathan Dowland wrote: > > > > I'd like to see some software to manage and track devices and associate > > them with a fixed fstab entry. It would probably work in conjunction w/ > > hotplug. > > The name is udev, it already exists. It seems to work very well, > unfortunately, in my case, I haven't been able to make it work with my > memory stick slot, otherwise works very good. In what way does it not work? I have a 4-slot card reader and have tested both the CF and SD slots (I have no memory sticks so could test that slot). I did have a problem where udev wouldn't create the partition entries (sda1 etc.) for slots which does not already contain a card. The problem was the reader not implementing a media change notification. Using udev's NAME{all_partitions} to create all 16 partition entries worked around the issue. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why No Sound from Audio CD?
On Fri, 2004-06-11 at 21:31, Ed Sutherland wrote: > I'm trying to play an audio CD from XMMS. The problem: while the CD is > detected and plays, there is no music. > > Anyone have a clue what I'm missing? Thanks. Did you connect the analogue audio out from your cd drive to your soundcard's internal CD input? If not, did you enable the "Read Digital CD Audio" option in XMMS's AudioCD Reader plugin? -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ALSA strangeness
On Mon, 2004-05-24 at 19:30, Steven Yap wrote: > On Mon, 2004-05-24 at 13:26, Alex Malinovich wrote: > > > > I had thought that all ALSA drivers had support for multiple audio > > streams. Is this not the case? > > Yes and no. On hardware with built-in multi-stream playback (like in > your home PC), nothing special needs to be done. > > For hardware without built-in multi-stream playback, ALSA provides a > software emulation (sort of), but it requires you to configure > /etc/asoundrc. > [ snipped my /etc/asoundrc ] One thing I found out was that the ALSA plugin in gstreamer0.8 does not like the 48000Hz sampling frequency I had configured. Switching it to 44100Hz made it happy however. :) > -- > Steven Yap <[EMAIL PROTECTED]> -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ALSA strangeness
On Wed, 2004-05-26 at 03:05, John L Fjellstad wrote: > Where did you find the documentation for asoundrc? I couldn't find any > (went to the alsa site, and found what to put in the file, but not what > to call the file, nor where to put it). See http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php3 -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ALSA strangeness
On Mon, 2004-05-24 at 13:26, Alex Malinovich wrote: > > I had thought that all ALSA drivers had support for multiple audio > streams. Is this not the case? Yes and no. On hardware with built-in multi-stream playback (like in your home PC), nothing special needs to be done. For hardware without built-in multi-stream playback, ALSA provides a software emulation (sort of), but it requires you to configure /etc/asoundrc. Here's what mine looks like (see below). The "pcm.!default" directive should cause ALSA-aware applications to use the dmixer plugin that provides the software mixing. Applications which supports only OSS can participate also through the "aoss" application. "aoss " should redirect the OSS-output BUT only if the application uses the standard "open()" calls instead of "fopen()". For example, bzflag version 1.10.4 does not work with aoss. Hope that helps. -- my /etc/asoundrc -- pcm.!default { type plug slave.pcm "dmixer" } pcm.dsp { type plug slave.pcm "dmixer" } pcm.dsp0 { type plug slave.pcm "dmixer" } pcm.dmixer { type dmix ipc_key 1024 slave { pcm "hw:0,0" period_time 0 period_size 1024 buffer_size 8192 #periods 128 #rate 44100 rate 48000 } bindings { 0 0 1 1 } } ctl.mixer0 { type hw card 0 } -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: A better sound system than esd and arts?
On Sun, 2004-05-16 at 19:03, Karsten M. Self wrote: > on Mon, May 17, 2004 at 12:42:57AM +0100, Joseph Jones ([EMAIL PROTECTED]) wrote: > > > > One thing I would like is Quake 3 compatibility. Sound is the only > > problem I currently have with Quake 3. I can only get it to work by > > using artsdsp -m, which is a real system hog, reduces Q3 to unplayable. > > > > Can ALSA do sound mixing all on it's own? > > I believe so. There's two ways that ALSA does sound mixing - hardware & software. Hardware mixing requires your sound to have multiple DACs and for ALSA to support them. Software mixing in ALSA is achieve through the use of the dmixer plugin. Only ALSA-aware software can use it though. Not all is lost, for OSS-aware software can be made to use ALSA without loading ALSA's own OSS emulation layer through "aoss" which works somewhat like artsdsp. http://www.thepenguin.org.uk/alsa/ has setup instructions for an "integrated sound card based on the intel i810 device" which doesn't do hardware mixing. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What happened to the Compose Key?
On Sat, 2004-04-17 at 06:52, Adam Funk wrote: > > > See /usr/X11R6/lib/X11/xkb/rules/xfree86 for the complete list of > > available options. > > I had a look at that but it doesn't really explain what the options do. Oops! Sorry. Please look at /usr/X11R6/lib/X11/xkb/rules/xfree86.lst which contains descriptive text of what the various options are. > How could I get my right alt key (which as far as I can tell does > nothing at present) to imitate the left alt key? Is your left Alt key also a Meta meta key, or is that function taken over by left Win? Your right Alt might be mapped to Mode_Switch/AltGr. If your keys have 3 or more characters on them, Mode_Switch/AltGr lets you use them. Try "alt:rightaltismeta" which should make right Alt generate the Alt_R keysym and assign Meta_R to it as well. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What happened to the Compose Key?
On Tue, 2004-04-13 at 11:16, Jan Willem Stumpel wrote: > > From Google, it appears this can be set in modern versions of > /etc/X11/XF86Config-4, as an "Option" in the "InputDevice" section. But > which Option? I could not find a list of such "Options" anywhere. This is what I have in the InputDevice section of my XF86Config-4: Option "XkbOptions""ctrl:swapcaps,compose:ralt" The first one "ctrl:swapcaps" switches the Caps Lock key with Left Control. The second one "compose:ralt" assigns the Compose key to Right Alt. In your case, using "compose:rwin" will put Compose on the Right Windows key. See /usr/X11R6/lib/X11/xkb/rules/xfree86 for the complete list of available options. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: autoloading of modules in 2.6.x kernels
On Mon, 2004-04-12 at 00:22, Pim Bliek wrote: > > I just want to load some modules... What was wrong with the > previous modell? Why was this changed? /etc/modules with just a list of > modules to load was working fine for mein 2.4.x world... /etc/modules still works in the 2.6.x world. I'm running the 2.6.5 Debian kernel image. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: modporbe boot time
On Sun, 2004-04-11 at 01:28, Umar Draz wrote: > > any option available in debian that my ethernet automatically boot > when my computer start? List your modules in /etc/modules and they will be loaded on boot. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Where'd my ALSA sound go?
On Fri, 2004-03-26 at 12:12, Kirk Strauser wrote: > I recently rebooted after a few weeks of uptime, and ALSA no longer works on > my machine (sid with a Debian 2.6.3-686 kernel). Specifically, even though > all of the sound modules appear to be loaded, I get errors like: > I have the same problem with my onboard C-Media chip. Try downgrading hotplug from version 0.0.20040311 to 0.0.20040105. If I do this, I'll get ALSA back. With hotplug 0.0.20040311, I get the following from dmesg when I do "modprobe cmpci": unable to grab ports 0xe000-0xe0ff C-Media PCI: probe of :00:0f.0 failed with error -16 One thing to note though is that it looks like the OSS driver gets loaded instead. Can you play sounds through the OSS device? It seems to me that the OSS drivers gets loaded first before the ALSA drivers. I'm planning to experiment some more before submitting a bug report. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: kpilot and palm TT
On Fri, 2004-01-23 at 07:33, Chris Searle wrote: > > Hit the hotsync button, wait 3 and then run > > pilot-xfer -p /dev/usb/tts/0 -L > > lists all the files on the palm. > > However - I can't get kpilot to run the sync. > The newer Palm OS devices uses /dev/ttyUSB1 for HotSync. Try that. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Opengl Support for debian -- ATI rage 128 video card
On Mon, 2004-01-12 at 11:20, George App wrote: > How do you configure opengl support for debian? I am currently running > sarge and my computer has a ATI rage 128 video card. I presume by sarge you mean the testing distribution, with XFree86 4.2. You need to configure XFree86 to load both the "dri" and "glx" modules, and to use the "ati" driver. I'm assuming the card is a PCI card. If it's AGP, you also need to have the agpgart kernel module loaded as well. You'll also need the xlibmesa3* packages. If glxinfo in X11 does not show something like: ... direct rendering: yes ... ... OpenGL vendor string: VA Linux Systems, Inc. OpenGL renderer string: Mesa DRI Rage128 20010405 Pro AGP 4x x86/MMX/3DNow! OpenGL version string: 1.2 Mesa 3.4.1 ... then you only have software 3D rendering. In my experience, failure to get direct rendering operational lies in the version mismatch between the DRM kernel modules and the XFree86 DRI modules. If you're using XFree86 4.2, I think the DRM kernel modules packaged with 2.4.* kernels should work, except for the 2.4.23 onwards - those are compatible with the DRI modules packaged with XFree86 4.3 (which is currently in experimental). NOTE: I have an ATI Radeon 7500, so take above with a grain of salt, or two. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: smart media card reader problem
On Mon, 2004-01-12 at 03:25, Richard Lyons wrote: > > [ Removable storage tale of woe elided ] > > Any insights, please. The removable storage devices plug in to the SCSI subsystem. The dev entries they get mapped to is determined by the order in which they are found and/or plugged into the computer. You need to rescan the SCSI bus, either manually: echo "scsi add-single-device C B T U" >/proc/scsi/scsi where C = Controller (host) no. B = Bus (Channel) T = Target (SCSI ID) U = Unit (SCSI LUN) or run the shell script rescan-scsi-bus.sh (see http://sethbuckley.com/wiki/moin.cgi/rescan_2dscsi_2dbus_2esh) No reboots required. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: switching user in X without logging out previous user
On Wed, 2004-01-07 at 08:20, Micha Feigin wrote: > Is it possible to switch the active user in X without actually logging > out using the graphical interface( (x|g|k)dm ) like with the change > users option of m$ XP ? Not quite, but there something similar. If you're using Gnome 2.4, there's a "New Login" item in System Tools under the Application menu item. This will create a new X11 session on a different virtual terminal, complete with (x|k|g)dm. I uses gdm as my graphical login and the instance on the second X11 session now has a new item (Quit). Your current session still exist and you can get back to it either by selecting the Quit item on the second gdm screen or doing the Ctrl+Alt+F# where # is the virtual terminal of your original X11 session (most likely # = 6). -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: /dev/cdrom is not a valid block device`
On Thu, 2004-01-01 at 19:28, Jan Minar wrote: > On Thu, Jan 01, 2004 at 07:32:45PM -0800, Steven Yap wrote: > > /dev/cdrom is a symbolic link to hdc. Is your CDROM drive really on hdc? > > Try using the full path (/dev/hdc). > > There's no difference between an absolute and a relative path here. The > symlinks are relative to the directly they reside in. Oh, good to know. Stylistically, I'm rather fond of absolute paths in a symlink. Not sure why though hrmmm. My New Years resolution: More involvement with debian-user. :) -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: /dev/cdrom is not a valid block device`
On Thu, 2004-01-01 at 18:42, root wrote: > note I'm having the same issue > it says > lrwxrwxrwx for access 1 root root 3 (date) /dev/cdrom -> hdc > I had a harddrive hooked up to the same place previously could this be > the reason it isn't mounting? /dev/cdrom is a symbolic link to hdc. Is your CDROM drive really on hdc? Try using the full path (/dev/hdc). -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
US Feds being spammed? (was RE: C'mon, let's get free movie tickets!)
On Wed, 2003-12-31 at 08:28, Libre, Alex wrote: > Before going further how did you get my e-mail address. Do I know you? > Please identify yourself. > > Alex > > Well, dhs.gov is the U.S.A Department of Homeland Security. It's rather amusing if Alex Libre is an actual person working there. :) > __ Reply Separator > _ > Subject: C'mon, let's get free movie tickets! > Author: "Julia Leonardo" at HQ-IRM-001 > Date:12/29/2003 2:20 PM > > > Don't forget! > > Go here and we'll both get free movie tickets! > http://freeflixtix.com/v.html?m=c0e9ba9&v=62634b > > seeya, > Julia -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Struggling with Palm Pilot
On Tue, 2003-12-30 at 15:10, Alan Chandler wrote: > > Bingo, that seems to be it - I get two devices, a 0 and 1 created when I hit > the hotsync button. Which one needs to be symlinked to /dev/pilot ? For HotSync, I believe the second serial port (device 1) is used. With my T3, I hotsync using /dev/ttyUSB1. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Struggling with Palm Pilot
On Tue, 2003-12-30 at 14:35, Hubert Chan wrote: > >>>>> "Alan" == Alan Chandler <[EMAIL PROTECTED]> writes: > > Alan> I have a palm pilot m505 with usb cradle. All the intructions I > Alan> have read assume that (assuming devfs is being used) that > Alan> /dev/usb/tts/* exists. > > Alan> The directory certainly does, but it is empty. > > I'm not sure about the m505, but with my Visor, /dev/usb/tts/ only gets > populated when I hit the hotsync button (and becomes empty shortly after > the hotsync is complete). The equivalent happens with non-devfs systems as well. /dev/ttyUSB[01] becomes "real" serial ports only after the PDA initiates a connection (either through HotSync or Network). Don't know why that is so. I think this behaviour is common to all PalmOS devices with USB cradles. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: apple MSWord files
On Mon, 2003-12-22 at 04:50, Matt Price wrote: > > Matt Price <[EMAIL PROTECTED]> writes: > > > > > A student has sent me a paper as an email attachment. It's an > > > MSWord document -- which should be fine, since OOo and AbiWord and > > > KWord all open MS docs -- but it comes from a Mac, I'm assuming a > > > pre-osX mac. Mutt tells me it's of type: application/x-macbinary > > > anyway, I can open the file in OpenOffice, but it's a total mess -- > > > control characters everywhere, illegible garbage top and bottom, no > > > footnotes. > > > > > Is there, then, a general strategy for dealing with these icky MacOS > > > files? Pardon me if this was already brought up. MacBinary is an encoding format for transferring the complete file (data + resource fork) from HFS to non-HFS capable systems. The other popular encoding is BinHex. Did you install the macutils package? It contains macunpack which will separate out the data and resource fork into two files? -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Font references and info
"legacy" X11 font mechanism) you have to do the steps in (1) above. For openoffice.org and other Xft-aware (both version 1 and 2) applications, you have to do the steps in (2) above. Hope that helps. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Font references and info
On Wed, 2003-07-09 at 20:34, Aaron wrote: > On -3359-Wed, Jul 09, 2003 at 08:44:02PM +0200, David Fokkema > <[EMAIL PROTECTED]> spake thus, > > > > I'll have to take some time to understand fonts. I really don't have a > > clue... For example, in Knoppix, openoffice.org uses a font for the > > menus etc. that looks quite good, while in my Sid, it looks ugly as > > hell. To get OpenOffice to use a nice anti-aliased font for the application menus and such, you need to do something rather non-obvious. Go to Tools | Options ... and select the OpenOffice.org | Font Replacement view. Select the "Apply replacement table" check box. Type "Andale Sans UI" in the combo-box labelled "Font". Select the replacement font from the drop-down of the combo-box labelled "Replace with". Click on the button with the "check mark" to add the new replacement entry. Make sure the "Always" and "Screen" check boxes of the replacement entry are selected. This should give you a better looking OpenOffice.org. :) > This is my current understanding of the basic requirements for > TrueType fonts in X11: > > 1. Get FreeType (I am using FreeType2, downloaded today). > 2. Make sure you've got 'Load "freetype"' in XF86Config-4. > 3. Put all your .ttf files somewhere, and afaik there is no specific >location where they have to live. > 4. Add that path to XF86Config-4 as 'FontPath "/path/to/ttfs/"' > 5. Run something like ttmkfdir to create the fonts.scale file, and >also mkfontdir to create the fonts.dir file within that >"/path/to/ttfs" directory. > 6. Somehow this should magically work. > > I think I'm getting hung up on number 6 ;-) I load xfontsel and take a > look at the families and I see no verdana ;-( I let defoma manage the fonts installed on my sid installation. When you do that, the your FontPath for TrueType fonts should contain something like "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType". So far, all of the fonts I use, and need, have debian packages for them. Installing them automatically registers the fonts with defoma and makes them available to applications. Xft and FreeType are not font servers. Xft is a client-side font API for X11 applications. I believe bitmap fonts are not made available by default through Xft. Come to think of it, I'm not even sure if bitmap fonts can be made available through Xft. /etc/fonts/fonts.conf is the configuration file for fontconfing and it determines what fonts are available to applications through the Xft API. Xft uses the fontconfig mechanism to select fonts. To render the selected fonts, Xft uses the standard X11 drawing protocol. If the Render extension is available, that will be used to accelerate the rendering and reduce network traffic. See http://fontconfig.org/ for more on Xft and fontconfig FreeType is a TrueType font renderer. This is the module you load in the XF86Config-4 file. Hope this shed some light. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: firebird + character display
On Wed, 2003-07-02 at 20:13, Emma Jane Hogbin wrote: > > Ugh. I must be missing a required package that isn't listed. I've gone > through and updated all "depends" packages and it hasn't made a > difference. The fact that it's happening to all mozilla variants (moz, > firebird and phoenix) but NOT Opera makes me think that I'm missing a > package somewhere... Are your JIS fonts bitmaps or scalables? Do you have some of the following TrueType fonts installed? ttf-arphic-bkai00mp ttf-arphic-bsmi00lp ttf-arphic-gbsn00lp ttf-arphic-gkai00mp ttf-bitstream-vera ttf-kochi-gothic ttf-kochi-mincho xfonts-thai-ttf The dependencies for mozilla-browser shows a dependency on libpango, which in turn has a dependency on libfontconfig1, which implies that mozilla and variants require scalable fonts. :) Hope this helps. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: No 3D support after custom kernel compilation [solved]
On Sat, 2003-06-21 at 17:53, Marino Fernandez wrote: > On Saturday 21 June 2003 03:26 am, Marino Fernandez wrote: [Adventures with DRI and Custom kernel elided ] > > Any ideas. Thank you. > > I just needed to reboot... JUST LIKE IN WINDOWS!!! Actually, you don't. I'm sorry that I didn't see your earlier email and saved you the reboot. All you would have needed to to stop X (either by logging out, or stopping xgm/gdm/kdm), rmmod the currently loaded drm module (if present), insmod the newly compiled drm module, and restart X (startx, starting xdm/gdm/kdm). -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Unsollicited video screen always on top
On Tue, 2003-05-13 at 12:21, Nick Lidakis wrote: [ Description XVideo problem with Radeons elided ] > Another solution pointed out to me on the list a while back, was the > GATOS enhanced ati modules, which supposedly fix this issue. It entails > (this from the gatos webstite, http://www.gatos.sourceforge.net): Joy! If you're up to it, grab the XFree86 4.3 experimental debs. The radeon driver in 4.3 fixes the XVideo problem. Plus brightness & contrast controls for XVideo also works now. Full hardware TCL is also available but you will need to compile a new radeon.o module for the your kernel (xlibmesa4-drm-src). The X Strike Force is working on making XFree86 4.3 debs available, based on the work done by Daniel Stone. If you can't wait, try these repositories: # XFree86 4.3 Debs #deb http://penguinppc.org/~daniels/sid/i386 ./ # XFRee86 4.3 Debs - Mirror deb ftp://ftp.cs.umn.edu/pub/debian-misc/daniels/current/sid/$(ARCH) ./ NOTE: I believe only i386 and PPC is available for now. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: opengl on radeon
On Tue, 2003-03-18 at 02:44, Herve Lombaert wrote: > Hello, > > OpenGL always worked here on computers with ati radeon. But since last > month, where I had the OpenGL display, I now have a black display. For > example glxgears still starts correctly with no error messages, but > displays nothing. It's a black window. > I bet that you have xlibmesa3-gl installed right? If so, downgrade to xlibmesa3 OR simply replace the file radeon_dri.so in /usr/X11R6/lib/modules/dri/ with the one from xlibmesa3. Apparently, it's the result of a GCC bug. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: glx-no-gears
On Sun, 2003-03-02 at 09:27, [EMAIL PROTECTED] wrote: > This is just a sumptom. When I run glxgears all I get is a black > window. No animation of three rotating gears. Other > opengl-enabled programs and plug-ins I tried launch and run as > usual. I'm able to shut them down without resorting to anything > stronger than Ctrl-C. But all I see is an image of unrelenting > nothing. Hah! Further reading on debian-x and browsing the bugs filed against xlibmesa3, it appears that the radeon_dri.so module did not build correctly with GCC 3.2. Downgrading to xlibmesa3-4.2.3 (in testing) should fix the problem. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: glx-no-gears
On Sun, 2003-03-02 at 09:27, [EMAIL PROTECTED] wrote: > This is just a sumptom. When I run glxgears all I get is a black > window. No animation of three rotating gears. Other > opengl-enabled programs and plug-ins I tried launch and run as > usual. I'm able to shut them down without resorting to anything I take it that you mean that other OpenGL programs run but show the same symptoms as with glxgears. > stronger than Ctrl-C. But all I see is an image of unrelenting > nothing. The symptom you've describe sounds like a mismatch between DRI and the kernel. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: File systems -- reiser vs. ext3
On Tue, 2003-02-18 at 18:23, Daniel B. wrote: > Paul Johnson wrote: > > ... > > My pick of ext3 was the fact that all the tools that work with ext2 > > work just as readily with ext3. I was also able to convert within a > > few minutes from ext2 on the command line. > > What do you use to convert? tune2fs -j. ext3 is ext2 with a journal, unlike reiserfs and XFS. Those two are quite different from ext2. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: GTK, GTK2 Fonts
On Fri, 2003-02-07 at 23:16, Cameron Matheson wrote: > On Fri, Feb 07, 2003 at 07:02:48PM -0500, Richard Beri wrote: > > For some reason gdm wants to always use the ugly default font and > > I cannot change it, gnome-control-center run Run gdmconfig as root and it should set you right. Under the "Login Behaviour" tab (in the Basic options), there's a default font selector. Alternatively, create a gtkrc file containing the font you want and point gdm to it in the "Login Appearance" tab. I believe gdm2 is not yet available in unstable. > > > > Thats problem one, problem 2 is that now GTK2 apps like rox now default > > to some tiny unreadable anti-aliased font, and again I use > > gnome-control-center to try and set the font, but again gtk2 apps > > ignore the settings. > > Yeah i have been getting this too... i think there is a config server > type thing in gnome2 GTK2 uses Xft2 which is configured through /etc/fonts/fonts.conf. Add the following to /etc/fonts/fonts.conf to turn off anti-aliasing for point sizes less than 13 points: 13 false I like the look of anti-aliased oblique fonts though, so I want anti-aliasing to happen for all oblique fonts regardless of size. So I added another element like so: roman This way, antialiasing will be turned off for all upright fonts less than 13 points. > > I know that ~/.gtkrc controls the fonts in gtk1 apps (except for root > > user for some reason), what config file is controlling the gtk2 apps? > > ~/.gtkrc-2.0 > I'm running Gnome2 as my main desktop, but to configure the fonts and themes for Gnome1 applications, I'm using gtk-theme-switch. If you're using Gnome1 as your desktop with some Gnome2 applications, I guess you will have to manually edit ~/.gtkrc-2.0. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: The kernel (file system) in Debian supports replacing files evenwhile they're being used.
On Wed, 2003-01-01 at 17:37, Ron Johnson wrote: > On Wed, 2003-01-01 at 15:50, Frank Gevaerts wrote: > > On Wed, Jan 01, 2003 at 02:45:22PM -0600, Ron Johnson wrote: > > > > > > Shaul knows that *that* works. He wants to know how dpkg can > > > update active/open files, while he can't... > > > > It can't, but it doesn't need to. An upgrade is a sequence of remove and > > install, while leaving the configuration intact. The remove step is > > equivalent to the 'rm mysleep' step above. > > But then what happens when one of these loaded binaries calls a > function in a library that has been replaced? > A reference count is associated with each file opened by any process. A binary which loads a library increments the reference count of said library. If the library is deleted, as long as one process is have the library open, the kernel will not physically free up the inodes making up that library until the reference count for that library drops to zero. This way, running binaries still have access to the library. The same thing also happens with the binaries themselves. > Or, say, a loaded binary goes to re-read a data file who's lay- > out happens to have changed between versions? Depends on how the running binary is coded. In the usual case where the data file is opened, read, and then closed, then whether the running binary will choke or not depends on whether its parsing routine and data file format is forward-compatible. If not, then it's up to Debian policy to say that when appropriate, running binaries must be restarted on upgrades. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: what's everyone's favorite audio setup?
On Mon, 2002-12-02 at 15:28, Xavier Bestel wrote: > > How do you multiplex sound with ALSA ? I use the ALSA driver on an > ESS1371 but I can't get more than one app outputing sound, be it with > ALSA native or with OSS device driver. With ALSA, you have to use hardware which supports hardware mixing of PCM channels. Examples include: Yamaha Waveforce 192 XG Yamaha Waveforce 192 Digital Turtle Beach Santa Cruz Trident 4DWave DX/NX Creative Labs Soundblaster Live series Cards with the Cirrus Logic CS46xx chipsets See http://www.alsa-project.org/alsa-doc/ for a more complete listing. If you're willing to use the commercial OSS drivers, I believe they include software mixer. This of course means higher CPU utilization, but depending on your purposes, may work out quite well. -- Steven Yap <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Sound problems in Gnome
On Fri, 2002-11-08 at 22:39, Vladimir Chalupecky wrote: > To tell the truth, I don't understand the reason why I can't > have this gnome sound server and xmms and other apps > working at the same time? Could anyone explain this? Because software mixing of multiple sound streams in the sound card drivers are not implemented. The commercial OSS drivers include software mixing (I think). ALSA drivers only implement hardware mixing. That is, if your sound card only accepts one PCM stream, only one application can use the soundcard at a time. Sound daemons attempt to hide this by having applications connect to them instead of the sound device directly, and perform the mixing in software. So, theorectically, if all of your applications would connect to the sound daemons (in the case of XMMS, you will need either an esd or artsd output plugin), you're set. However, sound daemons introduces latencies and that's not so good in games. Also, if your system is loaded, you will get crap output. Best bet is to get soundcards with hardware mixing. See the soundcard matrix at http://www.alsa-project.org/alsa-doc/ and look for cards with the notation "(4)" in the Notes column. Either that or splurge for the Commercial OSS drivers. Steven -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: alsa help needed desperately!
On Fri, 2002-09-27 at 17:31, Martin A. Hansen wrote: > sorry. here goes: > > root@homer:/etc/alsa/modutils# ls -l /dev/mixer0 /dev/dsp0 > crwxrwxrwx1 root audio 14, 3 18 sep 20:34 /dev/dsp0 > crw-rw1 root audio 14, 0 18 sep 20:34 /dev/mixer0 > Is your userid part of the audio group? If not, add yourself to it. > > by the way, i can provoke some errors with xamixer2: xamixer2 uses the 0.4 ALSA API. If your alsa version is 0.9, that would explain why xamixer failed. steven yap -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: cdrecord -scanbus examples, please.
On Sun, 2002-09-22 at 05:30, Jesus Climent wrote: > > Thus I would like some people to send me some "cdrecord -scanbus" > outputs where they have grep'ed the writer and reader entries. Using libscg version 'schily-0.6' scsibus0: 0,0,0 0) 'AOPEN ' 'CD-RW CRW3248 ' '1.10' Removable CD-ROM 0,1,0 1) * -- Steven -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Services
On Sat, 2002-09-21 at 09:12, Elizabeth Barham wrote: > > Speaking of which, is there a tool for automatically installing and/or > removing the links from the /etc/rc.d directory to the init scripts in > /etc/init.d ? Yes there is, update-rc.d in /usr/sbin. Steven -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: sound card question
On Sun, 2002-06-23 at 21:13, Geoff Ludwiczak wrote: > Anyways, that's beside the point. What other sound cards can do this > or is there some other alternative? > Check the Alsa project pages at www.alsa-project.org, and also their mailling list archives. The one that have been reported to work well are sound cards which uses the ymfpci Alsa driver. Steven Yap -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: SOLVED! sound problems...
On Tue, 2002-06-18 at 11:06, [EMAIL PROTECTED] wrote: > > All I needed to do the entire time was to set permissions on /dev/dsp0! You shouldn't need to change the permissions for /dev/dsp0 or any of the audio devices. Merely add yourself to the "audio" group (as root): adduser yourUserId audio Logout and log back in. Steven -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Nautilus lost all my icon captions
On Sat, 2002-06-15 at 11:39, Dave Carrigan wrote: > After doing an upgrade from sid yesterday, Nautils no longer shows my > icon captions. It shows the icons, but the caption below is blank. You > can see the problem at > > http://www.rudedog.org/nautilus-bogosity/ > > Thinking it was a nautilus bug, I tried filing a bug (#150084) and got > the terse and useless response: "It is your font setting problem. not a > bug. closing." > > That's all well and good, but something was upgraded in debian that > broke Nautilus, since it was working just fine a couple of days ago. > Does anybody know what happened? > I encountered this problem as well. I installed gconf-editor and change the font used for "smooth" graphics to be a TrueType font. Restarting nautilus, I now captions under my icons in the "smoother but slower" graphics mode. If this works for you as well, I think it seems to be a bug somewhere that's preventing PostScript Type1 fonts from being rendered. Maybe not in nautilus itself, but some library it depends on. Hope this helps. Steven -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to get the ALSA driver to start at boot?
On Fri, 2002-06-14 at 07:18, Ivo Wever wrote: > Simon Law wrote: > > You should add the correct module lines (that you would put in > > modconf) in /etc/alsa/modutils/0.9 > > > I couldn't gather the format of a module line from the alsa docs and it > isn't in the example. What should such a line look like? > Here's what I added to /etc/modutils/aliases: # ALSA portion alias char-major-116 snd # OSS/Free portion alias char-major-14 soundcore #ALSA portion alias snd-card-0 snd-cmipci # OSS/Free portion alias sound-slot-0 snd-card-0 # OSS/Free portion - card #1 alias sound-service-0-0 snd-mixer-oss alias sound-service-0-1 snd-seq-oss alias sound-service-0-3 snd-pcm-oss alias sound-service-0-12 snd-pcm-oss Replace the snd-cmipci above with snd-via8233. You can also place the lines above in their own file under /etc/modutils/. Run /sbin/update-modules to regenerate the /etc/modules.conf file. Install alsa-utils and use alsamixer-0.9 to set your output levels. That should do it. Steven -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: "Daddy, something's wrong with the filesystem..."
On Fri, Oct 26, 2001 at 04:17:56PM -0500, Joanne Hunter wrote: > > Type df to check this. It reports 0 blocks available on /usr. > > /dev/hda7 963911923613 0 100% /usr It's not a bug. A default of 10% of a filesystem is reserved for root's use when a filesystem is created. The amount of blocks available which df reports is the amount usable by anybody (modulo any quotas). It does not include the amount reserved for root. When you "apt-get install wmmatrix", you were doing it as root. That is why it succeeded. -- steven
Re: gif support grayed out..
On Thu, Oct 25, 2001 at 10:40:09PM -0500, Rohan Deshpande wrote: > Hi, > > Using gimp1.2, i notice the GIF save as file type is grayed. I have > gimp1.2-nonfree installed; is it because of the type of image im making? > i made a new, 300x300 pixel white background workspace, and in save-as > it is still grayed. What to do? Were you working on an RGB image? If yes, you will need to convert the working image into an Indexed image as GIF is limited to a 256 colour palette first. -- steven
Re: Galeon problem ...
On Fri, Aug 24, 2001 at 12:24:11PM -0500, Richard Cobbe wrote: > Lo, on Friday, August 24, Steven Yap did write: > > > I had that problem as well, but I got it to work. One difference is that > > built galeon from a tarball (ver 0.12) and installed it in /usr/local/ > > instead of a deb source package. > > Yeah, I've done the same. I can't actually get to the debian packages. I > don't know if it's significant, but I didn't supply any arguments to > ./configure. Neither did I. :) > > > I made a link in /etc/gconf/schemas to > > /usr/local/etc/gconf/schemas/galeon.schemas. > > Ok, done. As you say, it didn't work---same error. > > > That should have worked but it didn't. Then I discovered the entries in > > ~/.gconf/schemas/apps/galeon/ had owners.group values of group.group > > instead of yap.yap . Changed that, and galeon now starts up fine. > Oops! The above was a red herring. Using a different user account which had never ran galeon before, I started galeon and I got the "starting galeon for the first time" dialogues. So the galeon schema directories I had mentioned above should not play any role on whether galeon starts or not. Mind you, I did just recompile galeon to use the 0.9.3 Mozilla package I had installed today. > [rcclinux:~]$ /bin/ls -AlF ~/.gconf > total 4 > drwx--S---2 cobbecobbe4096 Aug 24 12:17 > %gconf-xml-backend.lock/ > > I'm obviously missing something here. I tried creating the directory you > mentioned, but that didn't help either---same error. Oh...I should have mentioned that ~/.gconf/schemas/apps/galeon contains a whole heirachy of directories which seems to be mirroring the contents of /usr/local/etc/gconf/schemas/galeon.schemas, like so: -> begin snippet < ~ Fri Aug 24 obsolescence[51]> ls -AFl .gconf/schemas/ total 1 -rw---1 yap yap 0 Aug 19 15:33 %gconf.xml drwx--3 yap yap 1024 Aug 19 15:33 apps/ ~ Fri Aug 24 obsolescence[52]> ls -AFl .gconf/schemas/apps/ total 1 -rw---1 yap yap 0 Aug 19 15:33 %gconf.xml drwx--9 yap yap 1024 Aug 19 15:33 galeon/ ~ Fri Aug 24 obsolescence[53]> ls -AFl .gconf/schemas/apps/galeon/ total 8 -rw---1 yap yap 654 Aug 19 15:33 %gconf.xml drwx--6 yap yap 1024 Aug 19 15:33 Advanced/ drwx--5 yap yap 1024 Aug 19 15:33 Browsing/ drwx--5 yap yap 1024 Aug 19 15:33 Handlers/ drwx--2 yap yap 1024 Aug 19 15:33 Print/ drwx--4 yap yap 1024 Aug 19 15:33 Rendering/ drwx--7 yap yap 1024 Aug 19 15:33 State/ drwx--6 yap yap 1024 Aug 19 15:33 UI/ ~ Fri Aug 24 obsolescence[54]> ls -AFl .gconf/schemas/apps/galeon/Advanced/ total 4 -rw---1 yap yap 0 Aug 19 15:33 %gconf.xml drwx--2 yap yap 1024 Aug 19 15:33 Crash/ drwx--2 yap yap 1024 Aug 19 15:33 Filtering/ drwx--2 yap yap 1024 Aug 19 15:33 Network/ drwx--2 yap yap 1024 Aug 19 15:33 Persistent/ ~ Fri Aug 24 obsolescence[55]> ls -AFl .gconf/schemas/apps/galeon/Advanced/Crash/ total 1 -rw---1 yap yap 642 Aug 19 15:33 %gconf.xml ---> end snippet < Looking in the .gconf directory of the other user, I can't find the schemas directory, although the ~/.gconf/apps/galeon hierachies were created by galeon when it was ran. Hmm ... ... try this: gconftool --install-schema-file /etc/gconf/schemas/* as root, which should make the galeon schema available. Found this at http://developer.gnome.org/feature/archive/gconf/impl.html If that fails, well, Karsten's advice to use a pre-gconf galeon may be the most convenient way to go for now. > > I don't actually use the gnome desktop. Is that system perhaps creating > some files that galeon's looking for? I don't know. I shouldn't think so. -- steven yap
Galeon problem ...
On Fri, Aug 24, 2001 at 08:49:36AM -0500, Richard Cobbe wrote: > Lo, on Friday, August 24, Karsten M. Self did write: > > > Solve these two problems by ditching the proprietary crap. On a 300MHz+ > > CPU, Galeon kicks Netscape's ass off the planet. On older hardware, > > life's a bit more difficult, but Dillo's good enough for basic browsing, > > w3m has ssl support, and there's BrowseX (not packaged for Debian) which > > is full-featured from what I understand. > > Sounds great. I have, however, just blown an hour trying to get the thing > working, with no success. It builds, but every time I start it, I get a > dialog informing me that it ``Cannot find schema for galeon preferences. > Check your gconf setup, look at galeon FAQ for more information.' Tried > the FAQ, followed its instructions; it was not helpful. > > I can't access the pre-built Debian packages at > deb ftp://galeon.sourceforge.net/pub/galeon/nightly/debian galeon/ > I'm not sure, but I think it has something to do with my employer's > firewall---I can't even get through with a traditional FTP client. (Well, > I can log on, but the first data transfer I try fails with a `Passive mode > refused' error.) > > As attractive as galeon may be, I don't have this kind of time. I had that problem as well, but I got it to work. One difference is that built galeon from a tarball (ver 0.12) and installed it in /usr/local/ instead of a deb source package. I made a link in /etc/gconf/schemas to /usr/local/etc/gconf/schemas/galeon.schemas. That should have worked but it didn't. Then I discovered the entries in ~/.gconf/schemas/apps/galeon/ had owners.group values of group.group instead of yap.yap . Changed that, and galeon now starts up fine. -- steven yap
Re: Soundblaster 16
On Wed, Aug 22, 2001 at 12:27:29PM +0200, Markus Hansen wrote: > Bob Nielsen > > i tried to install my isa pnp soundblaster like you discribed, a > sound system should be activated in the kernel... (now it is a different > installation) i used the things you wrote but it said output dma timeout > probably irq/dma conflict what can i do? i already used different settings > for dma16 and irq > > > Many SB16 cards can be configured to select PnP or a fixed IRQ. If > > yours has that capability, you should definitely use a fixed IRQ. In > > my case, I created /etc/modutils/sb with the following line: > > > > options io=0x220 irq=7 dma=1 dma16=5 mpu_io=330 > > > > I then ran 'update-modules' (which creates /etc/modules.conf) and > > 'insmod sb' and sound was working. > > > > I put this line in /etc/modules, so sound would be enabled after boot: > > sb #Soundblaster 16 Another posibility you could try is installing the sndconfig package. I know it available in sid (unstable) but I don't know if it's packaged for stable. -- steven yap