Re: [Freevo-users] Re: usb mass storage help please [attn Dischi] NOT FIXED !!!

2004-04-30 Thread Robert Winder
I give up.

It has something to do with the vfs implementation. But where it goes
wrong excactly i really can't tell. But what i said earlier

if line.lower().find('mass storage') != -1:

should be

if line.lower().find('storage') != -1:

in misc.py still stands. Device shows up in menu but doesn't get
mounted. Pretty useless plugin then without the mounting part ;-)
Of course the USB HOTPLUG cmd can be used for mounting but i know
from personal experience that it mounted and umounted the usb device
whithout prob in freevo < 1.4


 /Robert 

Friday, April 30, 2004, 12:23:26 PM, Robert wrote:

> Hi,

> oohps half way there, device shows up in menu but doesn't get mounted
> automaticly. Gonna look a bit further into it.


>  /Robert

> Friday, April 30, 2004, 11:05:21 AM, Robert wrote:

>> Hi,

>> Duh, a search through /proc/bus/usb/devices revealed the culprit.

>> Found the problem in misc.py line 300

>> if line.lower().find('mass storage') != -1:

>> should be

>> if line.lower().find('storage') != -1:

>> Probably kernel 2.4 and 2.6 usb/mass storage module naming is
>> different. A find for 'storage' is enough to get it going for both
>> modules

>> my cat /proc/bus/usb/devices

>> If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=ff Prot=01 Driver=usb-storage

>> Or changing back to usb_id as an identifier is maybe a better solution
>> if one has multiple usb-storage devices.


>>  /Robert 

>> Wednesday, April 28, 2004, 7:11:59 PM, Robert wrote:

>>> Mick,

>>> Sorry no i didn't wrote this stuff but last week i did give it another
>>> try, but as i replied earlier i couldn't make it work also. What i
>>> recall it did work somewhere last august, september. Early this year
>>> camera.py changed into usbstorage.py but from what i can see in CVS
>>> nothing changed substantially when doing a diff. The mounting and
>>> making the mounted dir visible is indeed hacked away somewhere in the
>>> process..

>>> So imo there are two options:

>>> - Find a freevo tarball from august, september last year and debug it
>>> with this code. Problem is i can't find any freevo tarball < 1.4 . If
>>> someone can point me to it ? (complete tarball is bit easier then
>>> browsing cvs, i think)

>>> - as dischi stated earlier this week devel is a bit slow now and if
>>> you doesn't want it to be buried in this list file it as a bug report.
>>> Haven't got the time to this myself right know because i have to leave i
>>> a few secs.



>>>  /Robert 

>>> Wednesday, April 28, 2004, 6:29:08 AM, Mick wrote:

 Hi Robert.

 I tried the best I could, and I cannot get this going...

 Did you write the plugin?  I think wether or not the directory is
 mounting is relavtily easy to fix, the problem is making the directoy
 visible in freevo only when the device is available..  This part of the
 code I simply connot reverse engineer.  To be honest, it looks like this
 part of the code does not exist..  It seems so simple i'm a little bit
 peaved I can't work out whats going on..

 Maybe it is something inferred by something else.. Like the Dir item..
 In any case i can only appoligise for being stupid..  But can someone
 help me with this?

 Mick
 On Wed, 2004-04-21 at 02:49, Robert Winder wrote:
> 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 technologie

Re: [Freevo-users] still no sound on recording, almost ready to throw in towel ...

2004-04-30 Thread Joe Piche
I was having a similar problem. I loaded aumix in xwindows, and moved the
record marker (red dot) around on the channels until i found the one that
mencoder liked.

- Original Message - 
From: "Mary Strimel" <[EMAIL PROTECTED]>
To: "freevo mailing list post" <[EMAIL PROTECTED]>
Sent: Thursday, April 29, 2004 4:00 PM
Subject: [Freevo-users] still no sound on recording, almost ready to throw
in towel ...


> Hi again,
> sorry to be a bother, I'm feeling a bit stupid that I cant seem to get
> sound on my tv recording, after studying the wiki and trying to follow
> it very carefully:
>
> btaudio will just not work for me, the driver loads correctly but
> mencoder crashes when I try to use it.
>
> attempting the OSS / line in method, I plugged my patch cable in and
> tried:
>
> aumix -1 80 -1 R -i 1; mencoder -tv
>
on:driver=v4l:input=0:norm=NTSC:channel=5:width=320:height=240:adevice=/dev/
dsp:audiorate=32000:forceaudio:forcechan=1:buffersize=128 -oac
mp3lame -lameopts br=128:cbr:mode=3 -ovc lavc --ffourcc divx -o
/home/mary/movies/recorded/fox.avi tv://
>
> on the above command mencoder will record a video, and report that a
> sound file has been created of X size, but the recording is silent!
> mplayer plays tv properly with audio thru the patch cable.  the one
> wrinkle in my setup is that I am trying to use the PCI sound card rather
> than the onboard VIA controller ... but should that matter? xmms and
> mplayer use the PCI card just fine.  maybe my "aumix" line needs a tweak
> to point it to the correct sound card some how?  I'm just at a loss, I
> don't want to give up on freevo yet but can't get used to watching
> recorded shows without sound :(
>
> thanks in advance,
> Mary
>
>
>
> ---
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... Oracle 10g.
> Take an Oracle 10g class now, and we'll give you the exam FREE.
> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
> ___
> Freevo-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-users




---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=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] FIXED !!!

2004-04-30 Thread Robert Winder
Hi,

oohps half way there, device shows up in menu but doesn't get mounted
automaticly. Gonna look a bit further into it.


 /Robert

Friday, April 30, 2004, 11:05:21 AM, Robert wrote:

> Hi,

> Duh, a search through /proc/bus/usb/devices revealed the culprit.

> Found the problem in misc.py line 300

> if line.lower().find('mass storage') != -1:

> should be

> if line.lower().find('storage') != -1:

> Probably kernel 2.4 and 2.6 usb/mass storage module naming is
> different. A find for 'storage' is enough to get it going for both
> modules

> my cat /proc/bus/usb/devices

> If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=ff Prot=01 Driver=usb-storage

> Or changing back to usb_id as an identifier is maybe a better solution
> if one has multiple usb-storage devices.


>  /Robert 

> Wednesday, April 28, 2004, 7:11:59 PM, Robert wrote:

>> Mick,

>> Sorry no i didn't wrote this stuff but last week i did give it another
>> try, but as i replied earlier i couldn't make it work also. What i
>> recall it did work somewhere last august, september. Early this year
>> camera.py changed into usbstorage.py but from what i can see in CVS
>> nothing changed substantially when doing a diff. The mounting and
>> making the mounted dir visible is indeed hacked away somewhere in the
>> process..

>> So imo there are two options:

>> - Find a freevo tarball from august, september last year and debug it
>> with this code. Problem is i can't find any freevo tarball < 1.4 . If
>> someone can point me to it ? (complete tarball is bit easier then
>> browsing cvs, i think)

>> - as dischi stated earlier this week devel is a bit slow now and if
>> you doesn't want it to be buried in this list file it as a bug report.
>> Haven't got the time to this myself right know because i have to leave i
>> a few secs.



>>  /Robert 

>> Wednesday, April 28, 2004, 6:29:08 AM, Mick wrote:

>>> Hi Robert.

>>> I tried the best I could, and I cannot get this going...

>>> Did you write the plugin?  I think wether or not the directory is
>>> mounting is relavtily easy to fix, the problem is making the directoy
>>> visible in freevo only when the device is available..  This part of the
>>> code I simply connot reverse engineer.  To be honest, it looks like this
>>> part of the code does not exist..  It seems so simple i'm a little bit
>>> peaved I can't work out whats going on..

>>> Maybe it is something inferred by something else.. Like the Dir item..
>>> In any case i can only appoligise for being stupid..  But can someone
>>> help me with this?

>>> Mick
>>> On Wed, 2004-04-21 at 02:49, Robert Winder wrote:
 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=1470&alloc_id=3638&op=click
 ___
 Freevo-users mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/freevo-users


>>> ---
>>> This SF.Net email is sponsored by: Oracle 10g
>>> Get certified on the hottest thing ever to hit the market... Oracle 10g.
>>> Take an Oracle 10g class now, and we'll give you the exam FREE.
>>> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
>>> ___
>>> Freevo-users mailing list
>>> [EMAIL PROTECT

Re: [Freevo-users] Re: usb mass storage help please [attn Dischi] FIXED !!!

2004-04-30 Thread Robert Winder
Hi,

Duh, a search through /proc/bus/usb/devices revealed the culprit.

Found the problem in misc.py line 300

if line.lower().find('mass storage') != -1:

should be

if line.lower().find('storage') != -1:

Probably kernel 2.4 and 2.6 usb/mass storage module naming is
different. A find for 'storage' is enough to get it going for both
modules

my cat /proc/bus/usb/devices

If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=ff Prot=01 Driver=usb-storage

Or changing back to usb_id as an identifier is maybe a better solution
if one has multiple usb-storage devices.


 /Robert 

Wednesday, April 28, 2004, 7:11:59 PM, Robert wrote:

> Mick,

> Sorry no i didn't wrote this stuff but last week i did give it another
> try, but as i replied earlier i couldn't make it work also. What i
> recall it did work somewhere last august, september. Early this year
> camera.py changed into usbstorage.py but from what i can see in CVS
> nothing changed substantially when doing a diff. The mounting and
> making the mounted dir visible is indeed hacked away somewhere in the
> process..

> So imo there are two options:

> - Find a freevo tarball from august, september last year and debug it
> with this code. Problem is i can't find any freevo tarball < 1.4 . If
> someone can point me to it ? (complete tarball is bit easier then
> browsing cvs, i think)

> - as dischi stated earlier this week devel is a bit slow now and if
> you doesn't want it to be buried in this list file it as a bug report.
> Haven't got the time to this myself right know because i have to leave i
> a few secs.



>  /Robert 

> Wednesday, April 28, 2004, 6:29:08 AM, Mick wrote:

>> Hi Robert.

>> I tried the best I could, and I cannot get this going...

>> Did you write the plugin?  I think wether or not the directory is
>> mounting is relavtily easy to fix, the problem is making the directoy
>> visible in freevo only when the device is available..  This part of the
>> code I simply connot reverse engineer.  To be honest, it looks like this
>> part of the code does not exist..  It seems so simple i'm a little bit
>> peaved I can't work out whats going on..

>> Maybe it is something inferred by something else.. Like the Dir item..
>> In any case i can only appoligise for being stupid..  But can someone
>> help me with this?

>> Mick
>> On Wed, 2004-04-21 at 02:49, Robert Winder wrote:
>>> 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=1470&alloc_id=3638&op=click
>>> ___
>>> Freevo-users mailing list
>>> [EMAIL PROTECTED]
>>> https://lists.sourceforge.net/lists/listinfo/freevo-users


>> ---
>> This SF.Net email is sponsored by: Oracle 10g
>> Get certified on the hottest thing ever to hit the market... Oracle 10g.
>> Take an Oracle 10g class now, and we'll give you the exam FREE.
>> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
>> ___
>> Freevo-users mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/freevo-users




  
 



> ---
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... Oracle 10g.
> Take an Oracle 10g class now, and we'll give you the 

SV: [Freevo-users] still no sound on recording, almost ready to t hrow in towel ...

2004-04-30 Thread Peter Svensson
 Mary, maybe someone already mentioned this, or it might not be applicable.
However, I also had a problem with no sound from tv, and noticed after a
while that the sound channels where forced to zero.  I then used this script
in the beginning of my /usr/bin/freevo  script;

--
aumix -m+70
xmodmap /root/.xmodmaprc
xset s noblank
--

The two last lines are only for loading my own keymappings in X and to turn
off screensaver. The first line sets the microphone line-in to 70% since I
have to get tv-out sound into the sound card.

/PS

-Ursprungligt meddelande-
Från: [EMAIL PROTECTED]
Till: freevo mailing list post
Skickat: 2004-04-30 00:00
Ämne: [Freevo-users] still no sound on recording, almost ready to throw in
towel ...

Hi again,
sorry to be a bother, I'm feeling a bit stupid that I cant seem to get
sound on my tv recording, after studying the wiki and trying to follow
it very carefully:

btaudio will just not work for me, the driver loads correctly but
mencoder crashes when I try to use it.

attempting the OSS / line in method, I plugged my patch cable in and 
tried:

aumix -1 80 -1 R -i 1; mencoder -tv
on:driver=v4l:input=0:norm=NTSC:channel=5:width=320:height=240:adevice=/
dev/dsp:audiorate=32000:forceaudio:forcechan=1:buffersize=128 -oac
mp3lame -lameopts br=128:cbr:mode=3 -ovc lavc --ffourcc divx -o
/home/mary/movies/recorded/fox.avi tv://

on the above command mencoder will record a video, and report that a
sound file has been created of X size, but the recording is silent! 
mplayer plays tv properly with audio thru the patch cable.  the one
wrinkle in my setup is that I am trying to use the PCI sound card rather
than the onboard VIA controller ... but should that matter? xmms and
mplayer use the PCI card just fine.  maybe my "aumix" line needs a tweak
to point it to the correct sound card some how?  I'm just at a loss, I
don't want to give up on freevo yet but can't get used to watching
recorded shows without sound :(

thanks in advance,
Mary



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.

Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id66&op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users