em28xx  

Re: [Em28xx] Support for KWORLD PVRTV 300U

quetzal
Sun, 03 Jun 2007 10:16:45 -0700

Hi John,

Thanks for your response. I've now installed firmware_v4. I'm close to
make it work, but I've an strange issue loading the kernel modules (please
see attached file dmesg.txt)

It seems that some how when tvp5150 something goes wrong :(

any suggestion?

cheers,

Pedro

> I am using firmware_v4 for the KWORLD PVRTV 300U device.
> John Adams
>
> On Saturday 02 June 2007, Markus Rechberger wrote:
>> did you try to remove the media directory within the /lib/modules tree?
>> maybe you have support for gzipped modules and the installation didn't
>> update these drivers.
>> gzipped modules would look like em28xx.ko.gz, make install only
>> creates unpacked modules eg. em28xx.ko and it wouldn't overwrite the
>> old module, and having both modules in the media directory is bad.
>> try to remove any media directory within the /lib/modules tree.
>>
>> cheers,
>> Markus
>>
>> On 6/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> > Yes, of course I did:
>> >
>> > hg clone http://mcentral.de/hg/~mrec/v4l-dvb-experimental
>> > cd v4l-dvb-experimental/
>> > make
>> > make install
>> >
>> > I placed the firmware of firmware2.tgz in /lib/firmware and also in
>> > /lib/firmware/2.6.21-gentoo (just in case). Then I rebooted and the
>> > modules get loaded:
>> >
>> > lsmod | grep em28
>> > videodev               28544  1 em28xx
>> > v4l2_common            18560  2 em28xx,videodev
>> > tveeprom               17424  1 em28xx
>> > compat_ioctl32          5120  1 em28xx
>> > ir_common              37380  1 em28xx
>> > v4l1_compat            15748  2 em28xx,videodev
>> > i2c_core               19840  3 em28xx,tveeprom,i2c_i801
>> >
>> > My lsusb is showing the following:
>> >
>> > Bus 003 Device 001: ID 0000:0000
>> > Bus 004 Device 001: ID 0000:0000
>> > Bus 005 Device 001: ID 0000:0000
>> > Bus 002 Device 001: ID 0000:0000
>> > Bus 001 Device 005: ID eb1a:e300 eMPIA Technology, Inc.
>> > Bus 001 Device 001: ID 0000:0000
>> >
>> > Any idea?
>> >
>> > Regards,
>> >
>> > Pedro
>> >
>> > > On 6/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> > >> Hi Markus,
>> > >>
>> > >> I had a closer look to your driver and I saw that in em28xx-cards
>> you
>> > >> specified my card:
>> > >>
>> > >> { USB_DEVICE(0xeb1a, 0xe300), .driver_info =
>> > >> EM2861_BOARD_KWORLD_PVRTV_300U
>> > >> }
>> > >>
>> > >> But once I installed it and rebooted my system, when I load the
>> kernel
>> > >> module (modprobe em28xx device_mode=1) I just get this in the
>> dmesg:
>> > >>
>> > >> Linux video capture interface: v2.00
>> > >> em28xx v4l2 driver version 0.0.1 loaded
>> > >> usbcore: registered new interface driver em28xx
>> > >>
>> > >> I'm pretty sure it has something to do with the firmware because it
>> > >> seems
>> > >> it not loading. I could I verify this?
>> > >
>> > > did you follow the installation instruction?
>> > > To me it seems like you haven't installed the drivers...
>> > > what does lsusb show up?
>> > >
>> > >
>> > > Markus
>> > >
>> > >> do you have any suggestion?
>> > >>
>> > >> Regards,
>> > >>
>> > >> Pedro
>> > >
>> > > --
>> > > Markus Rechberger
>
>
>
Linux video capture interface: v2.00
em28xx v4l2 driver version 0.0.1 loaded
usbcore: registered new interface driver em28xx
usb 1-2: new high speed USB device using ehci_hcd and address 2
usb 1-2: configuration #1 chosen from 1 choice
em28xx new video device (eb1a:e300): interface 0, class 255
em28xx: device is attached to a USB 2.0 bus
em28xx: you're using the experimental/unstable tree from mcentral.de
em28xx: there's also a stable tree available but which is limited to
em28xx: linux <=2.6.19.2
em28xx: it's fine to use this driver but keep in mind that it will move
em28xx: to http://mcentral.de/hg/~mrec/v4l-dvb-kernel as soon as it's
em28xx: proved to be stable
em28xx #0: Alternate settings: 8
em28xx #0: Alternate setting 0, max size= 0
em28xx #0: Alternate setting 1, max size= 0
em28xx #0: Alternate setting 2, max size= 1448
em28xx #0: Alternate setting 3, max size= 2048
em28xx #0: Alternate setting 4, max size= 2304
em28xx #0: Alternate setting 5, max size= 2580
em28xx #0: Alternate setting 6, max size= 2892
em28xx #0: Alternate setting 7, max size= 3072
attach_inform: eeprom detected.
em28xx #0: i2c eeprom 00: 1a eb 67 95 1a eb 00 e3 d0 00 5c 03 6a 22 00 00
em28xx #0: i2c eeprom 10: 00 00 04 57 4e 03 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom 20: 06 00 01 00 f0 10 01 00 00 00 00 00 5b 00 00 00
em28xx #0: i2c eeprom 30: 00 00 20 40 20 80 02 20 01 01 00 00 00 00 00 00
em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 22 03 55 00 53 00
em28xx #0: i2c eeprom 70: 42 00 20 00 32 00 38 00 36 00 31 00 20 00 44 00
em28xx #0: i2c eeprom 80: 65 00 76 00 69 00 63 00 65 00 00 00 00 00 00 00
em28xx #0: i2c eeprom 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
EEPROM ID= 0x9567eb1a
Vendor/Product ID= eb1a:e300
AC97 audio (5 sample rates)
500mA max power
Table at 0x04, strings=0x226a, 0x0000, 0x0000
tuner 1-0061: chip found @ 0xc2 (em28xx #0)
attach inform (default): detected I2C address c2
tuner 1-0061: type set to 71 (Xceive xc3028)
tuner 1-0061: type set to 71 (Xceive xc3028)
attach_inform: tvp5150 detected.
tvp5150 1-005c: tvp5150am1 detected.
BUG: unable to handle kernel NULL pointer dereference at virtual address 
00000000
 printing eip:
f93e8275
*pde = 00000000
Oops: 0000 [#1]
SMP 
Modules linked in: xc3028_tuner tvp5150 tuner em28xx compat_ioctl32 ir_common 
videodev v4l2_common v4l1_compat tveeprom fglrx(P) snd_seq_oss 
snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss ipw3945 
snd_hda_intel snd_hda_codec snd_pcm snd_timer snd soundcore snd_page_alloc 
i2c_i801 i2c_core sdhci mmc_core
CPU:    0
EIP:    0060:[<f93e8275>]    Tainted: P       VLI
EFLAGS: 00010213   (2.6.21-gentoo #6)
EIP is at default_set_tv_freq+0xa8/0x99f [tuner]
eax: 00000000   ebx: 00000000   ecx: f93f3574   edx: 00000000
esi: 00000001   edi: f7b38000   ebp: 00000047   esp: c199f718
ds: 007b   es: 007b   fs: 00d8  gs: 0000  ss: 0068
Process khubd (pid: 181, ti=c199e000 task=c1a9ba50 task.ti=c199e000)
Stack: 000000c0 00000000 00000005 c199f733 00000001 000000fa 00000002 f93d5ca7 
       00000002 f679c000 000000b8 f93d463d ffffffff 00000002 00000002 00002374 
       f7b38000 00000286 f93f3574 0000026f 00000001 00000001 00000001 c199f78c 
Call Trace:
 [<f93d5ca7>] em28xx_write_regs_req+0x0/0x130 [em28xx]
 [<f93d463d>] em28xx_i2c_xfer+0x3f2/0x4dc [em28xx]
 [<f93e6807>] set_tv_freq+0x112/0x119 [tuner]
 [<f88cf1ed>] i2c_transfer+0x3c/0x44 [i2c_core]
 [<f93e68f7>] set_freq+0xe9/0xf7 [tuner]
 [<f8c581ae>] tvp5150_command+0x14fd/0x1573 [tvp5150]
 [<f93e77a5>] tuner_command+0x5f0/0xf07 [tuner]
 [<f8c56baa>] tvp5150_detect_client+0x0/0x107 [tvp5150]
 [<f8c56baa>] tvp5150_detect_client+0x0/0x107 [tvp5150]
 [<f88d009c>] i2c_clients_command+0x76/0xb5 [i2c_core]
 [<f93cf3dd>] em28xx_config_i2c+0x84/0x89 [em28xx]
 [<f93d47ae>] em28xx_i2c_register+0x87/0xf1 [em28xx]
 [<c0122356>] process_timeout+0x0/0x5
 [<f93d045f>] em28xx_init_dev+0x1c1/0x69c [em28xx]
 [<f93d2272>] em28xx_usb_probe+0x1793/0x17e3 [em28xx]
 [<c029aacb>] store_uevent+0x0/0x12
 [<c029b975>] device_create_release+0x0/0x5
 [<c029ac64>] klist_children_get+0x0/0x8
 [<c029ab16>] klist_children_put+0x0/0x8
 [<c029aacb>] store_uevent+0x0/0x12
 [<c029b975>] device_create_release+0x0/0x5
 [<c029f1b8>] dma_pool_alloc+0x171/0x17d
 [<c029f1b8>] dma_pool_alloc+0x171/0x17d
 [<c03515fe>] qh_append_tds+0x3d1/0x3e2
 [<c0351be7>] ehci_urb_enqueue+0xf5/0xcd2
 [<c022731e>] vsnprintf+0x434/0x48d
 [<c0114ed5>] __activate_task+0x1c/0x29
 [<c0116e18>] try_to_wake_up+0x3a6/0x3b0
 [<c0343139>] usb_create_hcd+0x2e/0xbc
 [<c018479f>] __sysfs_new_dirent+0x12/0x42
 [<c01848e7>] __sysfs_make_dirent+0x11/0x6d
 [<c018496c>] sysfs_make_dirent+0x29/0x35
 [<c0185757>] sysfs_create_link+0x122/0x133
 [<c0345ef8>] usb_match_one_id+0x1c/0x73
 [<c03469e5>] usb_probe_interface+0x5d/0x7f
 [<c029ce42>] really_probe+0xbd/0x146
 [<c029cf0e>] driver_probe_device+0x43/0xa4
 [<c0425bb7>] klist_next+0x4d/0x6d
 [<c029cf6f>] __device_attach+0x0/0x5
 [<c029c3f9>] bus_for_each_drv+0x36/0x5c
 [<c029cfe5>] device_attach+0x56/0x6a
 [<c029cf6f>] __device_attach+0x0/0x5
 [<c029c374>] bus_attach_device+0x1a/0x3a
 [<c029b3d9>] device_add+0x3a8/0x620
 [<c0345487>] usb_set_configuration+0x35d/0x3fe
 [<c034b62c>] generic_probe+0x193/0x1e3
 [<c03466a7>] usb_probe_device+0x33/0x34
 [<c029ce42>] really_probe+0xbd/0x146
 [<c029cf0e>] driver_probe_device+0x43/0xa4
 [<c0425bb7>] klist_next+0x4d/0x6d
 [<c029cf6f>] __device_attach+0x0/0x5
 [<c029c3f9>] bus_for_each_drv+0x36/0x5c
 [<c029cfe5>] device_attach+0x56/0x6a
 [<c029cf6f>] __device_attach+0x0/0x5
 [<c029c374>] bus_attach_device+0x1a/0x3a
 [<c029b3d9>] device_add+0x3a8/0x620
 [<c0345110>] usb_cache_string+0x78/0x92
 [<c034187d>] usb_new_device+0x82/0xbf
 [<c03428ba>] hub_thread+0x666/0x9c6
 [<c012ab5d>] autoremove_wake_function+0x0/0x35
 [<c0342254>] hub_thread+0x0/0x9c6
 [<c012aa92>] kthread+0xb2/0xdc
 [<c012a9e0>] kthread+0x0/0xdc
 [<c0104307>] kernel_thread_helper+0x7/0x10
 =======================
Code: 4c 1f 02 00 00 be 02 00 00 00 eb 0d c7 44 24 4c 6f 02 00 00 be 01 00 00 
00 8b 44 24 48 31 db 8b 50 04 31 c0 4a 89 54 24 30 eb 09 <3b> 34 10 74 5b 43 83 
c0 14 3b 5c 24 30 8b 4c 24 48 8b 51 08 75 
EIP: [<f93e8275>] default_set_tv_freq+0xa8/0x99f [tuner] SS:ESP 0068:c199f718
_______________________________________________
Em28xx mailing list
Em28xx@mcentral.de
http://mcentral.de/mailman/listinfo/em28xx