Talk:WIS Go7007 Linux driver
From nikosapi.org
Any idea on if the Ubuntu source should work in Debian etch or not? I'm getting some errors from it when I try to use it, but I would think that it should work... Mito 18:00, 8 June 2007 (EDT)
I don't see why it wouldn't work under Debian etch (it's all the same source, there are just different ways to install it), what problems are you having? --Nikosapi 01:13, 10 June 2007 (EDT)
Contents |
thanks, and a quick question
Thanks so much for doing this. It is a huge help. I am close to success, I think.
Everything went smoothly until I got to:
# composite input: -input 0; svideo input: -input 1 (sleep 22; killall gorecord) & gorecord -input 1 test-video.avi
I get "syntax error near unexpected token `('". But, that's not such a big deal. I was having bigger problems, but after a bit of digging around, I realized I should have explicitly followed the troubleshooting instructions for Feisty about moving that file in 'rules'. (I did "ln" instead of "mv", which didn't work.) So now I get expected output from dmesg, but I still get that syntax error. Ideas?
I feel like I am getting close, though: the regular "gorecord" seemed to work (I didn't have a live video source hooked up, but it did make a playable AVI, and MythTV now recognizes the device in the configuration screen. Last step seems to be to get an actual TV signal to show up. I am having trouble with this, though:
2007-07-18 11:55:08.585 EITHelper: localtime offset -4:00:00
2007-07-18 11:55:08.587 TVRec(1) Error: Problem finding starting channel, setting to default of '3'.
2007-07-18 11:55:08.587 ChannelBase(1) Error: InitializeInputs():
Could not get inputs for the capturecard.
Perhaps you have forgotten to bind video
sources to your card's inputs?
ERROR: no valid capture cards are defined in the database.
Much more troubleshooting led to the revelation that this was a bogus error and it was a permissions problem (what else is new!). Got that straightened out, and now I am all set -- EXCEPT when I try to watch TV, I get a crazy staticky green screen, like when you used to get dust in your Intellivision cartridges.
Since there are no cartridges to remove and blow on, do you have any idea how to get the tv signal to adjust properly?
Update: According to this great thread, you just have to go into the Settings for the MythTV front-end and change it 640 x 480.
So now I am left with one problem: I get one channel, which seems to be scrambled, and I can't change it.
Anyway, thanks again. Thousandrobots 12:35, 18 July 2007 (EDT) trouble with Ubuntu 9.04 Return of command line is this: patching file mountdevsubfs.sh Hunk #1 FAILED at 39. 1 out of 1 hunk FAILED -- saving rejects to file mountdevsubfs.sh.rej
Troubles with Mythbuntu 8.04
I've tried all the steps in this guide but can't get my plextor to show up on Mythbuntu-8.04. The device shows up in lsusb. The module gets loaded but no /dev/video is created. I also noticed that the kernel shipped with the distro doesn't have CONFIG_SND enabled. Anyone get this working in Hardy Heron?
YES take a look-see here... [1]
New: Jun 19 2008
It is not necessary to recompile the kernel!
CONFIG_SND is not enabled in the kernel, but alsa driver is provided via linux-ubuntu-modules (or LUM)
There's a simple workaround to compile the go7007 driver: install the packages:
linux_headers-lum-...-generic linux_headers-...-generic
rename
/usr/src/linux-headers-2.6.24-19-generic/include/sound
to
/usr/src/linux-headers-2.6.24-19-generic/include/sound-blacklisted
(it is not the correct headers, they should never be used)
in the wis-go7007 source, add at the beginning of kernel/Makefile:
EXTRA_CFLAGS += -I /usr/src/linux-headers-lum-2.6.24-19-generic -I /usr/src/linux-headers-lum-2.6.24-19-generic/sound -include config.h
Compile and install normally.
Troubles with Fedora 9
Thanks so much for this great work! Here's my sys config:
Linux version 2.6.25.3-18.fc9.x86_64 (mockbuild@) (gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) ) #1 SMP Tue May 13 04:54:47 EDT 2008
go7007-usb: probing new GO7007 USB board i2c-adapter i2c-2: SMBus Quick command not supported, can't probe for chips i2c-adapter i2c-2: SMBus Quick command not supported, can't probe for chips go7007: registering new Plextor PX-TV402U-NA wis-saa7115: initializing SAA7115 at address 32 on WIS GO7007SB EZ-USB wis-uda1342: initializing UDA1342 at address 26 on WIS GO7007SB EZ-USB wis-sony-tuner: initializing tuner at address 96 on WIS GO7007SB EZ-USB wis-sony-tuner: type set to 202 (Sony NTSC (BTF-PB463Z)) usbcore: registered new interface driver go7007
However, take a look at this:
[mdlemay2@localhost wis-go7007-linux-0.9.8-2]$ gorecord /dev/video0 is a GO7007 device at USB address 2-4:1.0 Attempting to determine audio device... Unable to find associated ALSA device node
Do you know where I should start debugging this?
UPDATE: I fixed this by switching back to kernel 2.6.24. The newer kernel had been complaining in dmesg about something in the ALSA subsystem. I might go back and get the exact error message in a little while...
Problems on Playstation 3
--Johnniec 16:48, 10 July 2008 (EDT)
Hi,
Firstly, this site is the ONLY real source of information for this subject. Congratulations for an EXCELLENT job!!!
My problem is that I am unable to record video from the ConvertX. My Setup: Ubuntu 7.10 (gutsy) Kernel Linux 2.6.22-15-cell Hardware : Playstation 3 uname -a Linux johns-ps3 2.6.22-14-cell #1 SMP Sun Oct 14 23:42:29 GMT 2007 ppc64 GNU/Linux
I have followed all instructions for setting up drivers with no problems. In the steps before compiling the driver, the instructions state: # Install required development packages (this is a big download) sudo apt-get install linux-headers-generic fxload libncurses5-dev I wasn't able to use linux-headers-generic but instead had to use linux-headers-2.6.22-14-cell instead. There were no other problems!
When I plugged in the Plextor ConvertX it was correctly detected:
[ 1238.065347] Linux video capture interface: v2.00 [ 1238.099319] go7007-usb: probing new GO7007 USB board [ 1238.360205] go7007: registering new Plextor PX-TV402U-EU [ 1238.396878] wis-saa7115: initializing SAA7115 at address 32 on WIS GO7007SB EZ-USB [ 1238.478795] wis-uda1342: initializing UDA1342 at address 26 on WIS GO7007SB EZ-USB [ 1238.509982] wis-sony-tuner: initializing tuner at address 96 on WIS GO7007SB EZ-USB [ 1238.511268] wis-sony-tuner: setting MPX to mode 1 [ 1238.518499] wis-sony-tuner: type set to 200 (Sony PAL+SECAM (BTF-PG472Z)) [ 1238.519731] usbcore: registered new interface driver go7007
When I try to do the recording test I get a problem:
$ gorecord -input 0 -duration 20 test-video.avi
/dev/video0 is a GO7007 device at USB address 3-2.4:1.0
Attempting to determine audio device...using audio device /dev/dsp1
VIDIOC_QUERYCAP: Invalid argument
Then, then I call dmesg I get an extra line:
[ 1287.268108] ioctl32(gorecord:5688): Unknown cmd fd(3) cmd(40685600){t:'V';sz:104} arg(ffcdb464) on /dev/video0
(All this is from a fresh install of Ubuntu 7.10 from the install CD)
Have you seen this before? Can you help?
Could this have something to do with the linux headers I used?
Please can you help..? I am SOOOO close to getting this working!!! :-)
Many Thanks, John
--Johnniec 16:48, 10 July 2008 (EDT)
You need some patches to support the PS3's architecture, you can find them here.
--Nikosapi 13:12, 13 July 2008 (EDT)
Thanks for the input. I was able to patch the driver using ps3-go7007.patch BUT could not find anythign to patch using the ps3-compat-ioctl32.patch The ps3-compat-ioctl32.patch patches a file linux-20061208.orig/drivers/media/video/compat_ioctl32.c unfortunately I dont have that anywhere on my system.
Am I missing some steps?
John --Johnniec 16:21, 14 July 2008 (EDT)
Finally worked out that I have to download the Kernel source and then patch the /usr/src/linux-source-2.6.22/drivers/media/video/compat_ioctl32.c file.
I downloaded the kernel source by calling: sudo apt-get install linux-source
I found excellent instructions on how to do all this at: http://www.howtoforge.com/roll_a_kernel_debian_ubuntu_way
I'm building the kernel now... so fingers crossed. --Johnniec 20:57, 17 July 2008 (EDT)
No luck... The kernel build goes well but fails to boot at all (this seems to be an issue with the PS3 's architecture). I'm looking for other alternatives. --Johnniec 19:49, 18 July 2008 (EDT)
Just an update... I'm having a nightmare finding a way to recompile ANY kernel for the PS3 (need to do this to install the patch for the compat_ioctl32.c file). So far, I've tried Ubuntu 7.10, 7.04, Fedora 5 and now trying Fedora 8. I never thought it would be so hard... Usually what happens is the build goes well and on reboot the PS3 gets stuck. (this has happened for all kernels I've tried so far). I'm sure the issue is config related (I've tried a bunch of these too including the existing one from \boot). I'll keep trying until I give up or get some help from someone. Without the rebuild with the patch the Plextor ConvertX I'm trying to install wont work. (Have I mentioned I've been at this for weeks?) I'll keep trying. IF I do find a way I'll be sure to post a full guide. Never give up...! --Johnniec 19:59, 21 July 2008 (EDT)
After many attempts I finally managed to install, patch, build and boot from Fedora 8. I followed these instructions exactly: http://www.bohmer.net/ps3_stuff/install-fedora-8-on-PS3.html (everything you need is there)
So the kernel was patched with the patch for the compat_ioctl32.c file.
Next I had to download, patch and build the WIS Go 7007 driver. I did this and everything seemed to go well.
When I tried the gorecord' example on this page, the kernel oops'ed... Not good...
Not sure where I will go from here...
--Johnniec 17:41, 30 July 2008 (EDT)
Finally managed to rebuild the Kernel with no problems. (I am in the process of writing a how-to). Basically the steps were:
- Install Ubuntu 7.10
- Upgrade the kernel to 2.6.25.4 using the steps described here:
http://psubuntu.com/forums/viewtopic.php?f=4&t=161&st=0&sk=t&sd=a&start=30
(The steps in this update use the Kernel in CELL-Linux-CL_20080609-ADDON.iso, fortunately for
me the source is also in there)
- Patch the kernel source, specifically the
/drivers/media/video/compat_ioctl32.c file
- Rebuild the 2.6.25.4 kernel with the patches.
This was done using steps similar to those described by Benjamin Schleinzer in :
https://bugs.launchpad.net/ubuntu/+bug/204578/comments/4
- Reboot the machine... not problems, we now have a patched Kernel.
- Now follow the steps to install the Go7007 driver on Ubuntu:
http://nikosapi.org/wiki/index.php/WIS_Go7007_Linux_driver#Ubuntu_Dapper.2FEdgy.2FFeisty.2FGutsy.2FHardy
- Note: We are supposed to patch the kernel/go7007-v4l2.c using the ps3-go7007.patch
- The first problem happens during the build of the Go7007 driver:
The patch to the kernel/go7007-v4l2.c file adds some code that calls lock_kernel() and unlock_kernel().
Commenting these calls out seems to allow a build but I'm not sure what effect that would have later.
- Next we re-build the driver with no problems:
- Next, I plugged in my Plextor ConvertX reciever.
- Executed dmesg and got the following new message:
usb 3-2.1: new high speed USB device using ps3-ehci-driver and address 6
usb 3-2.1: configuration #1 chosen from 1 choice
The suggested solution is to run:
- sudo ./go7007_firmware_load
This returned:
ERROR: Device not found on usb bus.
Looks like there might be a problem with the driver?
Note: When I run 'lsusb; nothing is returned...
--82.210.146.204 18:50, 6 August 2008 (EDT)
2.6.27 support
Here's a patch:
diff -uNr wis-go7007-linux-0.9.8-2/kernel/go7007-driver.c wis-go7007-linux-0.9.8-2-2.6.27.4/kernel/go7007-driver.c
--- wis-go7007-linux-0.9.8-2/kernel/go7007-driver.c 2007-03-21 12:51:54.000000000 -0500
+++ wis-go7007-linux-0.9.8-2-2.6.27.4/kernel/go7007-driver.c 2008-10-26 09:47:06.000000000 -0500
@@ -32,7 +32,9 @@
#include <linux/i2c.h>
#include <linux/firmware.h>
#include <asm/uaccess.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27)
#include <asm/semaphore.h>
+#endif
#include <asm/system.h>
#include <linux/videodev.h>
#include <media/tuner.h>
diff -uNr wis-go7007-linux-0.9.8-2/kernel/go7007-i2c.c wis-go7007-linux-0.9.8-2-2.6.27.4/kernel/go7007-i2c.c
--- wis-go7007-linux-0.9.8-2/kernel/go7007-i2c.c 2008-04-06 09:28:35.000000000 -0500
+++ wis-go7007-linux-0.9.8-2-2.6.27.4/kernel/go7007-i2c.c 2008-10-26 09:47:06.000000000 -0500
@@ -29,7 +29,9 @@
#include <linux/device.h>
#include <linux/i2c.h>
#include <asm/uaccess.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27)
#include <asm/semaphore.h>
+#endif
#include <asm/system.h>
#include "go7007-priv.h"
diff -uNr wis-go7007-linux-0.9.8-2/kernel/go7007-v4l2.c wis-go7007-linux-0.9.8-2-2.6.27.4/kernel/go7007-v4l2.c
--- wis-go7007-linux-0.9.8-2/kernel/go7007-v4l2.c 2007-12-19 02:33:32.000000000 -0600
+++ wis-go7007-linux-0.9.8-2-2.6.27.4/kernel/go7007-v4l2.c 2008-10-26 09:47:06.000000000 -0500
@@ -38,7 +38,11 @@
#endif
#include <linux/i2c.h>
#include <asm/uaccess.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27)
#include <asm/semaphore.h>
+#else
+#include <media/v4l2-ioctl.h>
+#endif
#include <asm/system.h>
#include "../include/go7007.h"
@@ -1379,6 +1383,7 @@
}
}
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)
/* This is really only going to ever be called when we
* do get_user_pages() in VIDIOC_QBUF */
static struct page *go7007_vm_nopage(struct vm_area_struct *vma,
@@ -1396,11 +1401,14 @@
*type = VM_FAULT_MINOR;
return page;
}
+#endif
static struct vm_operations_struct go7007_vm_ops = {
.open = go7007_vm_open,
.close = go7007_vm_close,
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)
.nopage = go7007_vm_nopage,
+#endif
};
static int go7007_mmap(struct file *file, struct vm_area_struct *vma)
@@ -1474,7 +1482,11 @@
static struct video_device go7007_template = {
.name = "go7007",
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27)
.type = VID_TYPE_CAPTURE,
+#else
+ .vfl_type = VID_TYPE_CAPTURE,
+#endif
.fops = &go7007_fops,
.minor = -1,
.release = go7007_vfl_release,
@@ -1488,7 +1500,11 @@
if (go->video_dev == NULL)
return -ENOMEM;
memcpy(go->video_dev, &go7007_template, sizeof(go7007_template));
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27)
go->video_dev->dev = go->dev;
+#else
+ go->video_dev->parent = go->dev;
+#endif
rv = video_register_device(go->video_dev, VFL_TYPE_GRABBER, -1);
if (rv < 0)
{
diff -uNr wis-go7007-linux-0.9.8-2/kernel/snd-go7007.c wis-go7007-linux-0.9.8-2-2.6.27.4/kernel/snd-go7007.c
--- wis-go7007-linux-0.9.8-2/kernel/snd-go7007.c 2007-09-06 22:45:25.000000000 -0500
+++ wis-go7007-linux-0.9.8-2-2.6.27.4/kernel/snd-go7007.c 2008-10-26 09:47:06.000000000 -0500
@@ -34,9 +34,13 @@
#include <linux/mm.h>
#include <linux/i2c.h>
#include <asm/uaccess.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27)
#include <asm/semaphore.h>
+#endif
#include <asm/system.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27)
#include <sound/driver.h>
+#endif
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/initval.h>
diff -uNr wis-go7007-linux-0.9.8-2/kernel/wis-sony-tuner.c wis-go7007-linux-0.9.8-2-2.6.27.4/kernel/wis-sony-tuner.c
--- wis-go7007-linux-0.9.8-2/kernel/wis-sony-tuner.c 2006-04-01 16:37:18.000000000 -0600
+++ wis-go7007-linux-0.9.8-2-2.6.27.4/kernel/wis-sony-tuner.c 2008-10-26 09:47:06.000000000 -0500
@@ -24,6 +24,9 @@
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16)
#include <media/v4l2-common.h>
#endif
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)
+#include <media/v4l2-ioctl.h>
+#endif
#include "wis-i2c.h"
Troubles with Ubuntu 8.10 / Intrepid
At first I was unable to get the module to compile, but applying the patch from the previous poster solved that problem. Now, I'm running into the error that we had on 8.04 with the incorrect ALSA headers. The module will not load due to unknown symbols. Unfortunately, I need the restricted modules so compiling a kernel with CONFIG_SND enabled is not really a viable option. I see that someone figured out how to use linux-ubuntu-modules (lum) in 8.04 to get around this issue. I would like to try this method, but there is no such package in Intrepid. Anyone up and running on Intrepid/2.6.27 with this yet? I've added a snippet of the dmesg output here:[2]
I can get the driver to compile after applying all the patches, and gorecord works fine except that the volume is very low. have I found a different problem? Or will recompiling the Kernel fix this, because in Intrepid, the instructions for recompiling the kernel don't apply. see [3]
Kernel OOPS with 2.6.28
Everything works fine with 2.6.24, but when I upgraded to 2.6.28 and recompiled the modules, etc., everything loaded fine, and wis-streamer runs, but when I connect to the stream, the server crashes with an OOPS and I have to hard reset. Anyone have any ideas or can point me in the right direction to troubleshoot?? Is this an OSS or USB issue?? Here is the dump, sorry if this is not the best place to post this, I'd be happy to post to the right forum or send it via email to one of smart kernel hackers: Oops: 0002 [#1] SMP last sysfs file: /sys/class/firmware/5-2:1.0/loading Modules linked in: snd_pcm_oss snd_mixer_oss rtc wis_saa7115 go7007_usb go7007 videodev v4l1_compat snd_go7007 snd_pcm snd_timer snd_page_alloc snd soundcore ehci_hcd uhci_hcd usbcore [last unloaded: lirc_dev] Pid: 0, comm: swapper Not tainted (2.6.28-gentoo-r1 #1) X5DPR EIP: 0060:[<f81d00b4>] EFLAGS: 00010086 CPU: 0 EIP is at go7007_parse_video_stream+0x5cf/0x9d7 [go7007] EAX: 00000000 EBX: 00000000 ECX: 00000086 EDX: 00000086 ESI: f6a5b000 EDI: f6576000 EBP: 00000000 ESP: c042de4c DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 Process swapper (pid: 0, ti=c042c000 task=c03f0300 task.ti=c042c000) Stack: 12f42bc0 000005f2 00000400 00000003 000000b0 000000b6 c2013ed8 c2027100 f6062803 00000003 f6a33d80 00000000 f693c200 00000000 f81ee3ec f6a33d80 f8126785 f693c200 f693c2cc f693c2bc f821fe6a f6a33d80 f69d5240 ffffff8d Call Trace: [<f81ee3ec>] go7007_usb_read_video_pipe_complete+0x4b/0x6a [go7007_usb] [<f8126785>] usb_hcd_giveback_urb+0x4c/0x77 [usbcore] [<f821fe6a>] ehci_urb_done+0x6a/0x76 [ehci_hcd] [<f8220425>] qh_completions+0x7b/0x2e1 [ehci_hcd] [<f822151c>] ehci_work+0x87/0x6ae [ehci_hcd] [<c01142c0>] run_rebalance_domains+0x138/0x3af [<f8222e7d>] ehci_irq+0x142/0x163 [ehci_hcd] [<c01297c2>] hrtimer_run_pending+0x1a/0x94 [<f81278b9>] usb_hcd_irq+0x24/0x53 [usbcore] [<c013941d>] handle_IRQ_event+0x1a/0x3f [<c013a90d>] handle_fasteoi_irq+0x6a/0x9b [<c0104bf3>] do_IRQ+0x67/0x7c [<c01036b7>] common_interrupt+0x23/0x28 [<c01073c5>] default_idle+0x2a/0x3d [<c010191b>] cpu_idle+0x5e/0x72 Code: 00 81 bf b0 00 00 00 ff ff 01 00 0f 87 f3 03 00 00 8b 9f ac 00 00 00 89 d8 81 e3 ff 0f 00 00 c1 e8 0c 8b 44 87 20 e8 a5 6e f7 c7 <c6> 04 18 00 ff 87 ac 00 00 00 ff 87 b0 00 00 00 8b be 2c 08 00 EIP: [<f81d00b4>] go7007_parse_video_stream+0x5cf/0x9d7 [go7007] SS:ESP 0068:c042de4c Kernel panic - not syncing: Fatal exception in interrupt ------------[ cut here ]------------ WARNING: at kernel/smp.c:333 smp_call_function_mask+0x2a/0x185() Modules linked in: snd_pcm_oss snd_mixer_oss rtc wis_saa7115 go7007_usb go7007 videodev v4l1_compat snd_go7007 snd_pcm snd_timer snd_page_alloc snd soundcore ehci_hcd uhci_hcd usbcore [last unloaded: lirc_dev] Pid: 0, comm: swapper Tainted: G D 2.6.28-gentoo-r1 #1 Call Trace: [<c0118a3f>] warn_on_slowpath+0x40/0x59 [<c021bc8b>] sprintf+0x1d/0x20 [<c021c08a>] delay_tsc+0x1b/0x37 [<c021c08a>] delay_tsc+0x1b/0x37 [<c021c046>] __delay+0x6/0x7 [<c023bda4>] wait_for_xmitr+0x48/0x89 [<c021c08a>] delay_tsc+0x1b/0x37 [<c021c046>] __delay+0x6/0x7 [<c023bda4>] wait_for_xmitr+0x48/0x89 [<c023d6db>] serial8250_console_write+0xa6/0xc6 [<c023d635>] serial8250_console_write+0x0/0xc6 [<c0118c0c>] __call_console_drivers+0x4f/0x5b [<c0129c88>] up+0x9/0x2a [<c0118ff5>] release_console_sem+0x169/0x182 [<c012fb1f>] smp_call_function_mask+0x2a/0x185 [<c010ab58>] stop_this_cpu+0x0/0x32 [<f81d00c9>] go7007_parse_video_stream+0x5e4/0x9d7 [go7007] [<c012fc89>] smp_call_function+0xf/0x11 [<c010abd1>] native_smp_send_stop+0x18/0x24 [<c0118aa8>] panic+0x46/0xd9 [<c0104cc8>] oops_end+0x5a/0x6a [<c010ea7f>] do_page_fault+0x48e/0x547 [<c010e5f1>] do_page_fault+0x0/0x547 [<c032b692>] error_code+0x72/0x78 [<c014007b>] free_pages_bulk+0xc3/0x1bf [<f81d00b4>] go7007_parse_video_stream+0x5cf/0x9d7 [go7007] [<f81ee3ec>] go7007_usb_read_video_pipe_complete+0x4b/0x6a [go7007_usb] [<f8126785>] usb_hcd_giveback_urb+0x4c/0x77 [usbcore] [<f821fe6a>] ehci_urb_done+0x6a/0x76 [ehci_hcd] [<f8220425>] qh_completions+0x7b/0x2e1 [ehci_hcd] [<f822151c>] ehci_work+0x87/0x6ae [ehci_hcd] [<c01142c0>] run_rebalance_domains+0x138/0x3af [<f8222e7d>] ehci_irq+0x142/0x163 [ehci_hcd] [<c01297c2>] hrtimer_run_pending+0x1a/0x94 [<f81278b9>] usb_hcd_irq+0x24/0x53 [usbcore] [<c013941d>] handle_IRQ_event+0x1a/0x3f [<c013a90d>] handle_fasteoi_irq+0x6a/0x9b [<c0104bf3>] do_IRQ+0x67/0x7c [<c01036b7>] common_interrupt+0x23/0x28 [<c01073c5>] default_idle+0x2a/0x3d [<c010191b>] cpu_idle+0x5e/0x72 ---[ end trace 98982c2b46a4598a ]---
Ditto I too am seeing kernel oops, hard lock-ups on 2.6.28.8. I use the source from my site here: http://home.comcast.net/~bender647/go7007/ It seemed to me to mostly happen while using MythTV. Only one time did wis-streamer cause the problem.
go7007 for 2.6.27 & 2.6.28
I have had reports that my version works on ubuntu intrepid, and it seems to work for me on jaunty too:
go7007 on x86_64
I am using archlinux. After reinstallation to 64bit,, gorecord wrote this message "Unable to set compression params" Any ideas? Kernel 2.6.29 I tryied different versions of wis-go7007 and different format parameter
bash-3.2# gorecord -input 0 -duration 10 -mode pal capture.avi /dev/video0 is a GO7007 device at USB address 1-3:1.0 Attempting to determine audio device...using audio device /dev/dsp2 Using input port Composite Capturing video at 640x480, 25.00 FPS Unable to set compression params
Unable to set compression params
Hello all,
Had Go7007 workin fine under Mythbuntu 9.04 (Mythtv 0.21). Upgraded to 9.10 (0.22), and suddenly have the above error.
The only other info I can find is in the actual code, which I added at the bottom.
Anyone have an idea?
Thanks
ronklob@ronklob-desktop:~$ lsusb Bus 001 Device 005: ID 0d7d:1240 Phison Electronics Corp. Apacer 6-in-1 Card Reader 2.0 Bus 001 Device 003: ID 093b:a104 Plextor Corp. ConvertX PX-TV402U/NA Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 002: ID 413c:3012 Dell Computer Corp. Optical Wheel Mouse Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
ronklob@ronklob-desktop:~$ lsmod |grep go7007 go7007_usb 12736 0 go7007 53156 2 go7007_usb snd_pcm 75296 4 snd_intel8x0,snd_ac97_codec,go7007,snd_pcm_oss snd 59204 19 snd_intel8x0,snd_ac97_codec,go7007,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device videodev 36736 7 go7007,tuner,tvaudio,tda7432,msp3400,bttv,v4l2_common
ronklob@ronklob-desktop:~$ gorecord -input 0 -duration 20 /media/media200/mythtv/videos/test.avi /dev/video1 is a GO7007 device at USB address 1-3:1.0 Attempting to determine audio device...using audio device /dev/dsp1 Using input port Composite Warning: no video standard specified; using NTSC Capturing video at 640x480, 29.97 FPS Unable to set compression params
/* Set the compression parameters */
if (format != FMT_MJPEG) {
memset(&comp, 0, sizeof(comp));
comp.gop_size = 100;
comp.max_b_frames = 0; /* B frames are not yet supported */
comp.aspect_ratio = GO7007_ASPECT_RATIO_1_1;
comp.flags |= GO7007_COMP_CLOSED_GOP;
if (ioctl(vidfd, GO7007IOC_S_COMP_PARAMS, &comp) < 0) {
fprintf(stderr, "Unable to set compression params\n");
exit(1);
}
EDIT: OK, Nevermind. A restart seems to have magically fixed it.

