linux_dsm_epyc7002/drivers/media/usb
Mauro Carvalho Chehab 811a4f6d11 [media] siano: Fix initialization for Stellar models
Since kernel 3.8, the initialization for Stellar (sms1000)
devices are broken.
Those devices have a behaviour different than usual sms1100
and sms2270: they start with one USB ID (devices in cold state),
but after firmware load, they get a different USB ID.
This weren't docummented at the driver. So, the patches that added
support for sms2270 broke it.
Properly documment it, and provide a debug log that allows to
follow all phases of the device initialization:
	smsusb_probe: board id=13, interface number 0
	smsusb_probe: interface 0 won't be used. Expecting interface 1 to popup
	smsusb_probe: board id=13, interface number 1
	smsusb_probe: smsusb_probe 1
	smsusb_probe: endpoint 0 81 02 64
	smsusb_probe: endpoint 1 02 02 64
	smsusb_probe: stellar device in cold state was found at usb\4-2.
	smsusb1_load_firmware: sent 38144(38144) bytes, rc 0
	smsusb1_load_firmware: read FW dvbt_bda_stellar_usb.inp, size=38144
	smsusb_probe: stellar device now in warm state
	usbcore: registered new interface driver smsusb
	usb 4-2: USB disconnect, device number 52
	usb 4-2: new full-speed USB device number 53 using uhci_hcd
	usb 4-2: New USB device found, idVendor=187f, idProduct=0100
	usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
	usb 4-2: Product: SMS DVBT-BDA Receiver
	usb 4-2: Manufacturer: Siano Mobile Silicon
	smsusb_probe: board id=1, interface number 0
	smsusb_probe: smsusb_probe 0
	smsusb_probe: endpoint 0 81 02 64
	smsusb_probe: endpoint 1 02 02 64
	smsusb_init_device: in_ep = 81, out_ep = 02
	smscore_register_device: allocated 50 buffers
	smscore_register_device: device ffff88012a00bc00 created
	smsusb_init_device: smsusb_start_streaming(...).
	smscore_set_device_mode: set device mode to 4
	smsusb1_detectmode: 4 "SMS DVBT-BDA Receiver"
	smsusb_sendrequest: sending MSG_SMS_INIT_DEVICE_REQ(578) size: 12
	smsusb_onresponse: received MSG_SMS_INIT_DEVICE_RES(579) size: 12
	smscore_set_device_mode: Success setting device mode.
	smscore_init_ir: IR port has not been detected
	smscore_start_device: device ffff88012a00bc00 started, rc 0
	smsusb_init_device: device 0xffff88002cfa6000 created
	smsusb_probe: Device initialized with return code 0
	DVB: registering new adapter (Siano Stellar Digital Receiver)
	usb 4-2: DVB: registering adapter 0 frontend 0 (Siano Mobile Digital MDTV Receiver)...
	smscore_register_client: ffff88012174a000 693 1
	sms_board_dvb3_event: DVB3_EVENT_HOTPLUG
	smsdvb_hotplug: success
	smsdvb_module_init:

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Tested-by: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2013-10-14 06:40:56 -03:00
..
au0828 [media] au0828: set reg->size 2013-06-17 08:55:00 -03:00
b2c2 [media] Kconfig: Fix b2c2 common code selection 2012-08-21 08:38:31 -03:00
cpia2 [media] v4l: Tell user space we're using monotonic timestamps 2012-12-21 11:20:51 -02:00
cx231xx [media] cx231xx: Add support for KWorld UB445-U 2013-08-23 05:42:33 -03:00
dvb-usb [media] media: dvb-frontends: ts2020: Added in a option for frequency divider value for s600 devices 2013-10-02 06:48:14 -03:00
dvb-usb-v2 [media] dvb_usb_v2: get rid of deferred probe 2013-08-18 07:55:06 -03:00
em28xx [media] em28xx: fix assignment of the eeprom data 2013-09-03 09:24:20 -03:00
gspca [media] stk1135: fix two warnings added by changeset 76e0598 2013-10-02 06:48:13 -03:00
hdpvr [media] hdpvr: fix iteration over uninitialized lists in hdpvr_probe() 2013-09-03 09:24:20 -03:00
pvrusb2 [media] pvrusb2: Remove unused variable 2013-06-21 11:21:17 -03:00
pwc [media] pwc: Fix comment wrt lock ordering 2013-05-07 09:35:07 -03:00
s2255 [media] S2255: Removal of unnecessary videobuf_queue_is_busy 2013-08-01 14:55:17 -03:00
siano [media] siano: Fix initialization for Stellar models 2013-10-14 06:40:56 -03:00
sn9c102 [media] sn9c102_core: add v4l2_device and replace parent with v4l2_dev 2013-06-21 11:03:18 -03:00
stk1160 [media] stk1160: Build as a module if SND is m and audio support is selected 2013-08-01 14:55:25 -03:00
stkwebcam [media] Add HCL T12Rg-H to STK webcam upside-down table 2013-09-26 07:15:49 -03:00
tlg2300 [media] tlg2300: fix checking firmware in poseidon_probe() 2013-07-26 13:28:26 -03:00
tm6000 [media] tm6000: remove deprecated current_norm 2013-06-17 09:35:27 -03:00
ttusb-budget [media] ttusb-budget: fix memory leak in ttusb_probe() 2013-06-21 15:06:51 -03:00
ttusb-dec [media] dvb-usb: fix error handling in ttusb_dec_probe() 2013-10-03 07:33:59 -03:00
usbtv [media] usbtv: Throw corrupted frames away 2013-09-03 09:24:19 -03:00
usbvision [media] usbvision-video: fix memory leak of alt_max_pkt_size 2013-06-21 11:29:24 -03:00
uvc [media] uvc: Depend on VIDEO_V4L2 2013-06-24 22:54:40 -03:00
zr364xx [media] v4l: Convert drivers to use monotonic timestamps 2012-12-21 10:56:43 -02:00
Kconfig [media] usbtv: Add driver for Fushicai USBTV007 video frame grabber 2013-06-21 11:32:35 -03:00
Makefile [media] usbtv: Add driver for Fushicai USBTV007 video frame grabber 2013-06-21 11:32:35 -03:00