Re: [PATCH] cxd2820r: fix gpio null pointer dereference

2017-01-17 Thread Håkan Lennestål

Works here also !
Thanks.

/Håkan

On 2017-01-17 21:43, Chris Rankin wrote:

On 16 January 2017 at 23:40, Antti Palosaari  wrote:

Chris and Håkan, test please without Kconfig CONFIG_GPIOLIB option. I cannot
test it properly as there seems to quite many drivers selecting this option
by default.

Works here :-)

Tested-by: Chris Rankin 

[  125.162762] usb 4-4: new high-speed USB device number 4 using ehci-pci
[  125.326832] em28xx: New device PCTV Systems PCTV 290e @ 480 Mbps
(2013:024f, interface 0, class 0)
[  125.334573] em28xx: DVB interface 0 found: isoc
[  125.337981] em28xx: chip ID is em28174
[  125.674813] em28174 #0: EEPROM ID = 26 00 01 00, EEPROM hash = 0x1eb936d2
[  125.680331] em28174 #0: EEPROM info:
[  125.682610] em28174 #0:  microcode start address = 0x0004, boot
configuration = 0x01
[  125.716963] em28174 #0:  No audio on board.
[  125.719856] em28174 #0:  500mA max power
[  125.722495] em28174 #0:  Table at offset 0x39, strings=0x1aa0,
0x14ba, 0x1ace
[  125.728384] em28174 #0: Identified as PCTV nanoStick T2 290e (card=78)
[  125.733669] em28174 #0: dvb set to isoc mode.
[  125.736863] usbcore: registered new interface driver em28xx
[  125.751373] em28174 #0: Binding DVB extension
[  125.763306] cxd2820r 11-006c: Sony CXD2820R successfully identified
[  125.770763] tda18271 11-0060: creating new instance
[  125.783435] tda18271: TDA18271HD/C2 detected @ 11-0060
[  125.980162] DVB: registering new adapter (em28174 #0)
[  125.983923] usb 4-4: DVB: registering adapter 0 frontend 0 (Sony CXD2820R)...
[  125.991316] em28174 #0: DVB extension successfully initialized
[  125.995962] em28xx: Registered (Em28xx dvb Extension) extension
[  126.003999] em28174 #0: Registering input extension
[  126.035656] Registered IR keymap rc-pinnacle-pctv-hd
[  126.039589] input: em28xx IR (em28174 #0) as
/devices/pci:00/:00:1d.7/usb4/4-4/rc/rc0/input23
[  126.047940] rc rc0: em28xx IR (em28174 #0) as
/devices/pci:00/:00:1d.7/usb4/4-4/rc/rc0
[  126.056022] em28174 #0: Input extension successfully initalized
[  126.060706] em28xx: Registered (Em28xx Input Extension) extension

Cheers,
Chris



--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [OOPS] EM28xx with 4.9.x kernel

2017-01-15 Thread Håkan Lennestål

Hi !

A workaround for this problem seem to be to enable GPIOLIB in the kernel 
(Device Drivers -> GPIO support).


Regards.

/Håkan

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


em28xx: usb video grabber

2016-09-24 Thread Håkan Lennestål


To whom it may concern.

USB video grabber, Deltaco TV-57, composite and s-video inputs.

Seem to work well with card=31

Linux kernel  4.7.4, x86_64

[241296.432375] em28xx: New device  USB 2821 Device @ 480 Mbps 
(eb1a:2821, interface 0, class 0)

[241296.432380] em28xx: Video interface 0 found: bulk isoc
[241296.432569] em28xx: chip ID is em2710/2820
[241296.529936] em2710/2820 #0: EEPROM ID = 1a eb 67 95, EEPROM hash = 
0x37da7b8a

[241296.529946] em2710/2820 #0: EEPROM info:
[241296.529950] em2710/2820 #0: AC97 audio (5 sample rates)
[241296.529953] em2710/2820 #0: 500mA max power
[241296.529958] em2710/2820 #0: Table at offset 0x04, 
strings=0x226a, 0x, 0x

[241296.561482] em2710/2820 #0: No sensor detected
[241296.575669] em2710/2820 #0: found i2c device @ 0x4a on bus 0 [saa7113h]
[241296.591800] em2710/2820 #0: found i2c device @ 0xa0 on bus 0 [eeprom]
[241296.609416] em2710/2820 #0: Your board has no unique USB ID and thus 
need a hint to be detected.
[241296.609421] em2710/2820 #0: You may try to use card= insmod 
option to workaround that.

[241296.609425] em2710/2820 #0: Please send an email with this log to:
[241296.609429] em2710/2820 #0: V4L Mailing List 


[241296.609433] em2710/2820 #0: Board eeprom hash is 0x37da7b8a
[241296.609437] em2710/2820 #0: Board i2c devicelist hash is 0x6ba50080
[241296.609440] em2710/2820 #0: Here is a list of valid choices for the 
card= insmod option:

...

> rmmod em28xx

> modprobe em28xx card=31

[241339.959773] usbcore: registered new interface driver em28xx
[241339.972272] em2710/2820 #0: Registering V4L2 extension
[241340.188439] saa7115 9-0025: saa7113 found @ 0x4a (em2710/2820 #0)
[241340.602144] em2710/2820 #0: Config register raw data: 0x90
[241340.614920] em2710/2820 #0: AC97 vendor ID = 0x
[241340.620923] em2710/2820 #0: AC97 features = 0x6a90
[241340.620932] em2710/2820 #0: Empia 202 AC97 audio processor detected
[241341.806571] em2710/2820 #0: V4L2 video device registered as video0
[241341.806583] em2710/2820 #0: V4L2 extension successfully initialized
[241341.806589] em28xx: Registered (Em28xx v4l2 Extension) extension

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html