Devin Heitmueller wrote:
On Tue, Jan 22, 2013 at 4:38 AM, Jan Stumpf <Jan.Stumpf@xxxxxxxxx> wrote:
Thanks!
I will try it with your patches!
Regards
Jan
FYI: the cx231xx driver has worked in the past on ARM platforms,
although I haven't tried the USBLive2 on OMAP specifically. In fact,
I merged the original driver support upstream as part of a project I
did while developing a product that has it running on ARM.
You may wish to try whatever kernel you have on an x86 platform, as
people have a history of introducing regressions for the USBLive 2 in
the past (I've fixed it multiple times since I originally submitted
the support upstream). It's possible that it's broken on x86 as well,
and has nothing to do with your being on ARM at all.
Regards,
Devin
I submitted this patch some time ago. It fixes the driver for
endiannes. Without it will try to allocate some random amount of
memory. It was in the kernel for a little then it disappeared....
diff -U3
/data10/home/yan/openwrt/backfire/trunk/build_dir/linux-brcm47xx/linux-3.0.3/drivers/media/video/cx231xx/cx231xx-pcb-cfg.c
cx231xx-pcb-cfg.c
---
/data10/home/yan/openwrt/backfire/trunk/build_dir/linux-brcm47xx/linux-3.0.3/drivers/media/video/cx231xx/cx231xx-pcb-cfg.c
2011-08-17 10:57:16.000000000 -0700
+++ cx231xx-pcb-cfg.c 2011-12-13 05:50:36.000000000 -0800
@@ -672,7 +672,9 @@
pcb config it is related to */
cx231xx_read_ctrl_reg(dev, VRT_GET_REGISTER, BOARD_CFG_STAT, data, 4);
- config_info = *((u32 *) data);
+ //config_info = *((u32 *) data);
+ config_info = ((u32)(*(data))) + (((u32)(*(data+1))) << 8) +
(((u32)(*(data+2))) << 16) + (((u32)(*(data+3))) << 24);
+ cx231xx_info("config_info %x\n",config_info);
usb_speed = (u8) (config_info & 0x1);
/* Verify this device belongs to Bus power or Self power device */
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html