On Nov 29, 2007 3:56 AM, Dirk Meyer <[EMAIL PROTECTED]> wrote:
>
> "mike lewis" wrote:
> > On Nov 26, 2007 2:55 AM, Dirk Meyer <[EMAIL PROTECTED]> wrote:
> >> "mike lewis" wrote:
> >> > Hi Dischi,
> >> >
> >> > Just tried to test the record3 code using included test record.py.  I
> >> > get the same error as previous freevo-tvdev code:
> >> >
> >> > record3:
> >> > ---
> >> > [EMAIL PROTECTED]:~/build/kaa/record3/test$ python record.py
> >> > /var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py:72:
> >> > GtkWarning: could not open displ                ay
> >> >   warnings.warn(str(e), _gtk.Warning)
> >> > Traceback (most recent call last):
> >> >   File "record.py", line 7, in <module>
> >> >     dvb = kaa.record3.get_device('dvb0')
> >> >   File "/usr/lib/python2.5/site-packages/kaa/record3/core.py", line
> >> > 30, in get_device
> >> >     return get_devices().get(device)
> >> >   File "/usr/lib/python2.5/site-packages/kaa/record3/core.py", line
> >> > 21, in get_devices
> >> >     r = ioctl.ioctl(devfd, ioctl.IOR('o', 61, INFO_ST), val)
> >> >   File "/usr/lib/python2.5/site-packages/kaa/ioctl.py", line 91, in ioctl
> >> >     return fcntl.ioctl(fd, code, *args, **kargs)
> >> > IOError: [Errno 22] Invalid argument
> >>
> >> So your device doesn't like our ioctl stuff. I wonder i the rest is
> >> working. The code causing the problem is just to find out what dvb
> >> devices we have you could replace it with the result and do the test.
> >>
> > I could..   what would be an example of successful data?  I can then
> > convert that to what I have on my system (it's a usb dvb-t stick).
>
> Try getting any data :) You should see the product name of the device
> somewhere.
>
Err..  what would this any data look like?  Bear with me I've been
hanging around this email list for a while but my coding skills are
still that of a 6 year old ;-).

Also, dmesg seems to confirm your assumption of the card not liking
the ioctl stuff??
---
[ 2202.272089] ioctl32(python:5087): Unknown cmd fd(3)
cmd(80a86f3d){t:'o';sz:168} arg(ffbb6eab) on /dev/
        dvb/adapter0/frontend0
--- (repeated 4 times)

The DVb setups is as follows under devfs:
---
[EMAIL PROTECTED]:~/build/kaa/record3/src$ ls -lah /dev/dvb/adapter0/
total 0
drwxr-xr-x 2 root root     120 2007-01-30 00:25 .
drwxr-xr-x 3 root root      60 2007-01-30 00:25 ..
crw-rw---- 1 root video 212, 4 2007-01-30 00:25 demux0
crw-rw---- 1 root video 212, 5 2007-01-30 00:25 dvr0
crw-rw---- 1 root video 212, 3 2007-01-30 00:25 frontend0
crw-rw---- 1 root video 212, 7 2007-01-30 00:25 net0
---

I took a stab in the dark and tried to cat the frontend0 (don't laugh ;-).
---
[EMAIL PROTECTED]:~/build/kaa/record3/src$ cat /dev/dvb/adapter0/frontend0
cat: /dev/dvb/adapter0/frontend0: Invalid argument
---

Not sure how else to find out what to put there..

Mick
Mike

> > I think maybe the usb stack is buggy on the powerpc core as I
> > reasonably regular usb-stack kernal panics (at least one every few
> > days) for the ubuntu ps3 release.
>
> Maybe it is a little/big-endian problem.
>
>
> Dischi
>
> --
> When all else failed, she tried being reasonable.
>         -- (Terry Pratchett, Johnny and the Bomb)
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell.  From the desktop to the data center, Linux is going
> mainstream.  Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> _______________________________________________
> Freevo-devel mailing list
> Freevo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
>
>

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to