[Galaxy S II Original Android Development] Thenetstriker:
Hi Gokhan, i've tried to compile an uvc kernel module for the Siyahkernel 3.3.2. The compilation and the installation using insmod worked, but there is an error when I connect an uvc usb camera. For a few seconds the file /dev/video4 is created, but then its gone again. The following output is written on dmesg:

<6>[ 792.714192] OTG otg_handle_interrupt(135): Port Interrupt
<6>[ 792.714691] OTG process_port_intr(42): detect connection
<6>[ 792.870779] OTG root_hub_feature(548): case SetPortFeature -USB_PORT_FEAT_RESET
<6>[ 792.931560] OTG otg_handle_interrupt(135): Port Interrupt
<6>[ 792.931829] OTG process_port_intr(54): port enable/disable changed
<6>[ 793.010518] usb 2-1: new high speed USB device number 6 using s3c_otghcd
<6>[ 793.014371] OTG compare_ed(384): update ed 8 (0x8)
<6>[ 793.154208] usb 2-1: New USB device found, idVendor=046d, idProduct=0990
<6>[ 793.154490] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=2
<6>[ 793.154954] usb 2-1: SerialNumber: 4BA479EB
<6>[ 793.167986] OTG compare_ed(384): update ed 8 (0x8)
<6>[ 793.178883] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0990)
<6>[ 793.179774] OTG compare_ed(384): update ed 8 (0x8)
<6>[ 793.200317] OTG compare_ed(384): update ed 8 (0x8)
<6>[ 793.207224] OTG compare_ed(384): update ed 8 (0x8)
<6>[ 793.227465] input: UVC Camera (046d:0990) as /devices/platform/s3c_otghcd/usb2/2-1/2-1:1.0/input/input11
<3>[ 793.240869] [TSP] Dn[0]
<3>[ 793.334844] [TSP] Up[0]
<3>[ 794.420282] [HOTPLUG IN] check_up 1100000>=500000 && 220>350
<3>[ 794.420403] CPU_UP 3
<4>[ 794.432213] CPU1: Booted secondary processor
<6>[ 794.435217] Switched to NOHz mode on CPU #1
<6>[ 795.338293] OTG compare_ed(384): update ed 8 (0x8)
<6>[ 795.344627] OTG compare_ed(384): update ed 8 (0x8)
<6>[ 795.352003] OTG compare_ed(384): update ed 8 (0x8)
<6>[ 795.358027] OTG compare_ed(384): update ed 8 (0x8)
<6>[ 795.365678] OTG compare_ed(384): update ed 8 (0x8)
<3>[ 795.379513] uvcvideo: Failed to submit URB 0 (-1).
<3>[ 797.600293] [HOTPLUG OUT] check_down 1200000<=400000 && 541<350
<3>[ 797.600428] CPU_DOWN 1
<4>[ 797.601043] IRQ112 no longer affine to CPU1
<5>[ 797.601353] CPU1: shutdown
<6>[ 798.005467] OTG root_hub_feature(536): case SetPortFeature -USB_PORT_FEAT_SUSPEND
<6>[ 798.005992] OTG otg_handle_interrupt(110): Disconnect Interrupt
<6>[ 798.246298] sec-battery sec-battery: sec_bat_check_temper: recovery count = 0
<6>[ 798.247674] sec-battery sec-battery: sec_bat_check_temper: temp=280, adc=902
<6>[ 798.248195] sec-battery sec-battery: sec_bat_charging_time_management: charging_start_time has never been used since initializing
<6>[ 798.248700] max8922-charger max8922-charger: max8922_is_charging: charging state = 0x1
<6>[ 798.248995] sec-battery sec-battery: soc(88), vfocv(4047), vcell(3979), temp(28), charging(2), health(1), chg_adc(0)
<6>[ 798.250544] usb 2-1: USB disconnect, device number 6
<6>[ 798.262138] max17042 9-0036: max17042_get_soc : soc(5692)
<6>[ 798.262428] max17042_need_soc_recal: HW(0xe)
<6>[ 798.262896] max17042 9-0036: max17042_get_soc : use raw (86), soc (88)
<6>[ 798.280780] sec-battery sec-battery: sec_bat_check_vf: Battery Health (1)
<6>[ 798.525424] OTG root_hub_feature(542): case SetPortFeature -USB_PORT_FEAT_POWER

I've attached the kernel module to my message. Do you have an idea what could cause this problem?