Re: [Freevo-users] usb mass storage help please
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le mardi 20 Avril 2004 01:20, Mick a écrit : On Tue, 2004-04-20 at 08:14, Mick wrote: mount it 'sync' and 'noatime', also. OK, I've read the man pages on mount and I'm not sure what these to do to USB FS's. sync is related to I/O control, I gather that, but is is faster? Slower? Varified? OK, according to google its alot slower.. Supermount is looking like the 'fastest' way to acheive the same/similar results. Only, its another patch to a kernel on a headless box, So i'm not to keen to do it till I have to.. if you don't mount it sync, you can't unplug it safely your usb(key,whatever) , since copied data could not be flushed to the disk (remember floppy under linux, when you umount it). It's not slower, it's just it write the data immediately on the device. Cheers. - -- 73's de Daniel Der Schreckliche, F1RMB. -=- Daniel Caujolle-Bert -=- [EMAIL PROTECTED] -=- -=- http://naboo.homelinux.org -=- -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFAhSphLToa6iW5KUsRAuKWAJ4gl7A4bk4+cJbXHbBbWgdZO1a5QgCglhu9 GGYb7fjfvgj96EEeLNNa+WQ= =N6ww -END PGP SIGNATURE- --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70alloc_id638op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] usb mass storage help please
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le mardi 20 Avril 2004 02:10, Mick a écrit : mount it 'sync' and 'noatime', also. And for atime, see http://www.linuxjournal.com/article.php?sid=6867 So this makes sense for usbdisks and the like using flash memory, but I don't see the need to do so on a portable hard disk.. yes, of course it's save for memory device only (camera, usbkey and such things). Cheers. - -- 73's de Daniel Der Schreckliche, F1RMB. -=- Daniel Caujolle-Bert -=- [EMAIL PROTECTED] -=- -=- http://naboo.homelinux.org -=- -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFAhSqgLToa6iW5KUsRAq4yAJ9wjgi+rQhqez5UYOJv9fI8GM3SQgCdEkZ2 fXzxmBBH8Z499S7wV3ymls8= =H06R -END PGP SIGNATURE- --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70alloc_id638op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] audio control (5.1 analog)
Georg Künzel wrote: I have a SB 5.1 digital card and using the analog output for 6 speakers. Problem: it is not a 5.1 speaker system with its own remote control. Rear is connected to a hifi-system, front to an active stereo speaker-set, front is the tv itself and subwoofer an active subwoofer. How to control all these speakers at once ? I would like to use my happauge remote or my keyboard, but freevo allows only control over one audio ctrl. Any ideas to control IGaine, Digital, OGaine and Volume at once ? This is a small mixer plugin for freevo. the idea was to control more than one mixer slider at a time and control sliders that are not present in the ossmixer like IEC958 (digital output). You can simply put the script in src/plugins and activate it with: plugin.activate('alsa_mixer'). Be sure to remove the old one with: plugin.remove('mixer'). You then need a config line like this: MAJOR_AUDIO_CTRLS = ['Master','Surround','IEC958'] some problems: - the volume in/decreases not so fast than in the original mixer - in digital audio control in/decreasing isnt supported so it only can mute the channel Good luck. Mike #if 0 /* # --- # Freevo - A Home Theater PC framework # Copyright (C) 2002 Krister Lagerstrom, et al. # Please see the file freevo/Docs/CREDITS for a complete list of authors. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MER- # CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General # Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # --- */ #endif Simple ALSA mixer import fcntl import struct import os import popen2 import config import rc import plugin from event import * class PluginInterface(plugin.DaemonPlugin): # These magic numbers were determined by writing a C-program using the # macros in /usr/include/linux/... and printing the values. # They seem to work on my machine. XXX Is there a real python interface? SOUND_MIXER_WRITE_VOLUME = 0xc0044d00 SOUND_MIXER_WRITE_PCM = 0xc0044d04 SOUND_MIXER_WRITE_LINE = 0xc0044d06 SOUND_MIXER_WRITE_MIC = 0xc0044d07 SOUND_MIXER_WRITE_RECSRC = 0xc0044dff SOUND_MIXER_LINE = 7 SOUND_MASK_LINE = 64 def __init__(self): plugin.DaemonPlugin.__init__(self) self.plugin_name = 'MIXER' self.mixfd = None self.muted = 0 # If you're using ALSA or something and you don't set the mixer, why are # we trying to open it? if config.DEV_MIXER: try: self.mixfd = open(config.DEV_MIXER, 'r') except IOError: print 'Couldn\'t open mixer %s' % config.DEV_MIXER return if 0: self.mainVolume = 0 self.pcmVolume= 0 self.lineinVolume = 0 self.micVolume= 0 self.igainVolume = 0 # XXX Used on SB Live self.ogainVolume = 0 # XXX Ditto if self.mixfd: data = struct.pack( 'L', self.SOUND_MASK_LINE ) try: fcntl.ioctl( self.mixfd.fileno(), self.SOUND_MIXER_WRITE_RECSRC, data ) except IOError: _debug_('IOError for ioctl') pass if config.MAJOR_AUDIO_CTRL == 'VOL': self.setMainVolume(config.DEFAULT_VOLUME) if config.CONTROL_ALL_AUDIO: self.setPcmVolume(config.MAX_VOLUME) # XXX This is for SB Live cards should do nothing to others # XXX Please tell if you have problems with this. self.setOgainVolume(config.MAX_VOLUME) elif config.MAJOR_AUDIO_CTRL == 'PCM': self.setPcmVolume(config.DEFAULT_VOLUME) if config.CONTROL_ALL_AUDIO: self.setMainVolume(config.MAX_VOLUME) # XXX This is for SB Live cards should do nothing to others # XXX Please tell if you have problems with this. self.setOgainVolume(config.MAX_VOLUME) else: _debug_(No appropriate audio channel found for mixer) if config.CONTROL_ALL_AUDIO: self.setLineinVolume(0) self.setMicVolume(0) def eventhandler(self, event = None, menuw=None, arg=None): eventhandler to handle the VOL events
[Freevo-users] Re: cdbackup.py and ID3_V2 insertion
Robert Winder wrote: Monday, April 12, 2004, 7:58:25 AM, Dirk wrote: Robert Winder wrote: Hi, While using cdbackup with the mp3 option it fails after ripping the first track and inserting a ID3_V2 tag. (using freevo/mmpython snapshot dd 21 march) Exception in thread Thread-5: Traceback (most recent call last): File /usr/lib/python2.3/threading.py, line 436, in __bootstrap self.run() File /usr/local/freevocvs/src/audio/plugins/cdbackup.py, line 320, in run self.cd_backup_threaded(self.device, rip_format='mp3') File /usr/local/freevocvs/src/audio/plugins/cdbackup.py, line 440, in cd_backup_threaded tracktotal=len(song_names)) File /usr/local/freevocvs/src/util/misc.py, line 367, in tagmp3 tag.update() File /usr/lib/python2.3/site-packages/mmpython/audio/eyeD3/tag.py, line 508, in update self.__saveV2Tag(version); File /usr/lib/python2.3/site-packages/mmpython/audio/eyeD3/tag.py, line 963, in __saveV2Tag if tmpTag.link(self.linkedFile.name, ID3_V2): File /usr/lib/python2.3/site-packages/mmpython/audio/eyeD3/tag.py, line 440, in link raise TagException(Invalid type passed to Tag.link: + TagException: Invalid type passed to Tag.link: type 'unicode' Fixed (I hope) nope, got the same exception after inserting Revision 1.36 misc.py Strange. Try again, I just added another String() call Or was there a update in mmpython i missed ? No. Dischi -- To know recursion, you must first know recursion --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] 1.5 Pre 1 issues
Hi, Joe could you give some more info on sisfbbootsplash. I have Asus pundit (with sisfb) and would like to get bootsplash and sisfb going... Regards, Robert. - Original Message - From: Joe Piche [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, March 28, 2004 10:03 PM Subject: [Freevo-users] 1.5 Pre 1 issues I installed the latest and greatest. Nice work! A couple issues Freevo doesnt release my sound device when it quits. If I run it from a reset, i get full volume control. If I quit, and restart it says cant find mixer. and crashes when i use the volume controls. I dont think this is a mplayer problem, but I'll mess with it. But the biggest issue I have is with playback. Due to some software problems (ie bootsplash SisFB) I have to start my computer in 800x600. This wasnt a problem in 1.4.1, because I set my mplayer_defaults to -screenw 640 -screenh 480 and all was well. Now freevo defaults the mplayer settings to the setting in freevo.conf (800x600). --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Re: cdbackup.py and ID3_V2 insertion
Dischi, works fine now, thanks :-) /Robert Tuesday, April 20, 2004, 7:14:06 PM, Dirk wrote: Robert Winder wrote: Monday, April 12, 2004, 7:58:25 AM, Dirk wrote: Robert Winder wrote: Hi, While using cdbackup with the mp3 option it fails after ripping the first track and inserting a ID3_V2 tag. (using freevo/mmpython snapshot dd 21 march) Exception in thread Thread-5: Traceback (most recent call last): File /usr/lib/python2.3/threading.py, line 436, in __bootstrap self.run() File /usr/local/freevocvs/src/audio/plugins/cdbackup.py, line 320, in run self.cd_backup_threaded(self.device, rip_format='mp3') File /usr/local/freevocvs/src/audio/plugins/cdbackup.py, line 440, in cd_backup_threaded tracktotal=len(song_names)) File /usr/local/freevocvs/src/util/misc.py, line 367, in tagmp3 tag.update() File /usr/lib/python2.3/site-packages/mmpython/audio/eyeD3/tag.py, line 508, in update self.__saveV2Tag(version); File /usr/lib/python2.3/site-packages/mmpython/audio/eyeD3/tag.py, line 963, in __saveV2Tag if tmpTag.link(self.linkedFile.name, ID3_V2): File /usr/lib/python2.3/site-packages/mmpython/audio/eyeD3/tag.py, line 440, in link raise TagException(Invalid type passed to Tag.link: + TagException: Invalid type passed to Tag.link: type 'unicode' Fixed (I hope) nope, got the same exception after inserting Revision 1.36 misc.py Strange. Try again, I just added another String() call Or was there a update in mmpython i missed ? No. Dischi --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Re: usb mass storage help please [attn Dischi]
Tuesday, April 20, 2004, 5:01:50 PM, Dirk wrote: Mick wrote: Dischi, Can you please explain to me how usbtorage.py is meant to funtion with refference to usb.py? No, I didn't wrote usbtorage.py. I can only say that usb.py will force a menu rebuild when you add/remove usb devices. I can't see any refference to calling mount or umount.. I'm happy to make this my first contribution, but need your advice as to how its meant to work.. It should mount. If it doesn't, it's a bug. Maybe the guy who wrote it used an automounter. It doesn't.. so it's a bug then. Strange thing is i got it working with camera.py a while ago without using automount. And usbstorage.py is basicly the same code as camera.py was. Not sure where it goes wrong but i look into it and i'll try to find out what the diff is. Probably tomorrow. Its such a simple process that I don't see the need to patch a kernel or install another dependancy to get it going.. It should work using mount and umount. What i meant was that for usb storage devices some kernelside options are needed. In other words make sure if USB mounting works outside freevo. :-) But we probably passed that stage. /Robert --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] audio control (5.1 analog)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks for your reply and the plugin. Unfortunately it failed while loading: Traceback (most recent call last): File /home/georg/freevo/src/plugin.py, line 603, in __load_plugin__ p = eval(object)() File /home/georg/freevo/src/plugins/alsa_mixer.py, line 81, in __init__ self.setMainVolume(config.DEFAULT_VOLUME) File /home/georg/freevo/src/plugins/alsa_mixer.py, line 188, in setMainVolume self._setVolumeAlsa(self.mainVolume) File /home/georg/freevo/src/plugins/alsa_mixer.py, line 152, in _setVolumeAlsa for slider in config.MAJOR_AUDIO_CTRLS: AttributeError: 'module' object has no attribute 'MAJOR_AUDIO_CTRLS' Is this plugin for alsa only ? I'm using the emu10k1 module. Can I help with some more detailed debug info ? Georg - -- Mein oeffentlicher Schluessel fuer PGP/GPG - Verschluesselung: pub 1024D/63EB55CA 2002-11-27 Georg Kuenzel [EMAIL PROTECTED] Key fingerprint = 8DA9 55C6 91FA D92D 89C3 7C22 0A1D 790C 63EB 55CA -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFAhX/fCh15DGPrVcoRAs+eAJ43r0z6DkW/ZTTyeZ1s6Zpe/6Z37wCbBpEi VDd5lvx8Q8jydCe2+4sne2g= =303A -END PGP SIGNATURE- --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70alloc_id638op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] audio control (5.1 analog)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Do you now these situations when you'd like to rescind something, like a posting ? So, after adding MAJOR_AUDIO_CTRLS it showed me that amixer could not handle my oss-driven SB Live 5.1 digital. I replaced the amixer-call with aumix and changed MAJOR_AUDIO_CTRLS to ['-v','-o',''] so Volume and OGaine could be handled. Two last questions to the list: 1. aumix doesn't seem to offer unmute when running with command line options. Right ? 2. Center/Subwoofer-Speaker (digital-out connector) doesn't seem to be controlable with aumix. Right ? Maybe anybody knows another command line mixer with these capabilities ? Georg - -- Mein oeffentlicher Schluessel fuer PGP/GPG - Verschluesselung: pub 1024D/63EB55CA 2002-11-27 Georg Kuenzel [EMAIL PROTECTED] Key fingerprint = 8DA9 55C6 91FA D92D 89C3 7C22 0A1D 790C 63EB 55CA -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFAhaSICh15DGPrVcoRAqJuAJ9IupK3O3d+MK7sxB5uYKpnFk+WfACfaKQd wPCCJHGCBfqj+9Gnwvl02RY= =SmlM -END PGP SIGNATURE- --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70alloc_id638op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] ATI Tv Wonder Pro
I was wondering if the ATI Tv Wonder Pro would work with freevo as a capture card. Is anyone using it? Thanks --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] tvmixer for sound recording
hi, I have mandrake 9.2 for amd64. after some effort I'm finally able to record video, now working on the sound ... after reading the wiki I loaded bttvaudio successfully by typing "modprobe btaudio." now I need to load the tvmixer module. there is a file called tvmixer.c located in /usr/src/linux-2.4.22-25/mdk/drivers/media/video ... but when I do "modprobe tvmixer" it reports "module not found." thanks in advance for anysuggestions. Mary
Re: [Freevo-users] ATI Tv Wonder Pro
Does it work with mplayer? On Wed, 2004-04-21 at 06:37, [EMAIL PROTECTED] wrote: I was wondering if the ATI Tv Wonder Pro would work with freevo as a capture card. Is anyone using it? Thanks --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] tvmixer for sound recording
Are you sure your card is btaudio capable? btaudio is when the sound is passed via the pci bus tot he sound card. You might be better off trying to get it working with the passthough to the line in of your sound card.. Is there a Makefile file in the mentioned directory? If modprobe doesn't find it, it wasn't copied across the you ran make install, or if running 2.6, was't made at all.. Mick On Wed, 2004-04-21 at 10:04, Mary Strimel wrote: hi, I have mandrake 9.2 for amd64. after some effort I'm finally able to record video, now working on the sound ... after reading the wiki I loaded bttvaudio successfully by typing modprobe btaudio. now I need to load the tvmixer module. there is a file called tvmixer.c located in /usr/src/linux-2.4.22-25/mdk/drivers/media/video ... but when I do modprobe tvmixer it reports module not found. thanks in advance for any suggestions. Mary --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users