* Help with SMS2270 @ linux-sunxi (A20 devices)
@ 2014-04-15 23:28 Roberto Alcantara
2014-04-16 8:51 ` Sat
0 siblings, 1 reply; 6+ messages in thread
From: Roberto Alcantara @ 2014-04-15 23:28 UTC (permalink / raw)
To: linux-media
Guys,
I’m trying enable Siano SMS2270 ISDB-T tuner in development board with Allwinner A20 SoC.
I recompiled kernel with modules I can load them but something seems wrong. After insert USB Sms2270 dongle I only see:
Jan 1 00:15:20 awsom kernel: [ 922.645502] usb 1-1.4: new high-speed USB device number 6 using sw-ehci
Jan 1 00:15:20 awsom mtp-probe: checking bus 1, device 6: "/sys/devices/platform/sw-ehci.1/usb1/1-1/1-1.4"
Jan 1 00:15:20 awsom mtp-probe: bus: 1, device: 6 was not an MTP device
and no more logs.
smsusb was loaded with debug=2.
The usb dongle is plugged on usb powered hub and other devices like keyboard are working fine with this hub port.
What I missing here? Thanks for all tips ! :-)
Best regards,
- Roberto
root@awsom:/home/linaro# lsmod
Module Size Used by
sunxi_cedar_mod 10284 0
smsdvb 13909 0
smsusb 8936 0
smsmdtv 28266 2 smsdvb,smsusb
disp_ump 854 0
mali_drm 2638 1
mali 113459 0
ump 56392 4 disp_ump,mali
lcd 3646 0
root@awsom:/home/linaro# lsusb
Bus 001 Device 002: ID 058f:6254 Alcor Micro Corp. USB Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0e8f:0021 GreenAsia Inc. Multimedia Keyboard Controller
Bus 001 Device 004: ID 187f:0600 Siano Mobile Silicon
root@awsom:/home/linaro# uname -a
Linux awsom 3.4.75.sun7i_CRAFF+ #4 SMP PREEMPT Thu Apr 10 01:17:47 BRT 2014 armv7l armv7l armv7l GNU/Linux
root@awsom:/home/linaro# lsusb -v
Bus 001 Device 002: ID 058f:6254 Alcor Micro Corp. USB Hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x058f Alcor Micro Corp.
idProduct 0x6254 USB Hub
bcdDevice 1.00
iManufacturer 0
iProduct 1 USB2.0Hub
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 4
wHubCharacteristic 0x0080
Ganged power switching
Ganged overcurrent protection
TT think time 8 FS bits
Port indicators
bPwrOn2PwrGood 50 * 2 milli seconds
bHubContrCurrent 100 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0303 lowspeed power enable connect
Port 2: 0000.0100 power
Port 3: 0000.0100 power
Port 4: 0000.0503 highspeed power enable connect
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0001
Self Powered
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 3.04
iManufacturer 3 Linux 3.4.75.sun7i_CRAFF+ ehci_hcd
iProduct 2 SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
iSerial 1 sw-ehci
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 1
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0503 highspeed power enable connect
Device Status: 0x0001
Self Powered
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0001 1.1 root hub
bcdDevice 3.04
iManufacturer 3 Linux 3.4.75.sun7i_CRAFF+ ohci_hcd
iProduct 2 SW USB2.0 'Open' Host Controller (OHCI) Driver
iSerial 1 sw-ohci
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 1
wHubCharacteristic 0x0012
No power switching (usb 1.0)
No overcurrent protection
bPwrOn2PwrGood 2 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Device Status: 0x0001
Self Powered
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 3.04
iManufacturer 3 Linux 3.4.75.sun7i_CRAFF+ ehci_hcd
iProduct 2 SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
iSerial 1 sw-ehci
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 1
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Device Status: 0x0001
Self Powered
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0001 1.1 root hub
bcdDevice 3.04
iManufacturer 3 Linux 3.4.75.sun7i_CRAFF+ ohci_hcd
iProduct 2 SW USB2.0 'Open' Host Controller (OHCI) Driver
iSerial 1 sw-ohci
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 1
wHubCharacteristic 0x0012
No power switching (usb 1.0)
No overcurrent protection
bPwrOn2PwrGood 2 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Device Status: 0x0001
Self Powered
Bus 001 Device 003: ID 0e8f:0021 GreenAsia Inc. Multimedia Keyboard Controller
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0e8f GreenAsia Inc.
idProduct 0x0021 Multimedia Keyboard Controller
bcdDevice 2.07
iManufacturer 1 CZW
iProduct 2 USB Keyboard
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 59
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 1 Keyboard
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 62
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 1 CZW
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 50
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)
Bus 001 Device 004: ID 187f:0600 Siano Mobile Silicon
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x187f Siano Mobile Silicon
idProduct 0x0600
bcdDevice 0.08
iManufacturer 1 MDTV Receiver
iProduct 2 MDTV Receiver
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0000
(Bus Powered)
root@awsom:/home/linaro#
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Help with SMS2270 @ linux-sunxi (A20 devices) 2014-04-15 23:28 Help with SMS2270 @ linux-sunxi (A20 devices) Roberto Alcantara @ 2014-04-16 8:51 ` Sat 2014-04-16 16:34 ` Mauro Carvalho Chehab 0 siblings, 1 reply; 6+ messages in thread From: Sat @ 2014-04-16 8:51 UTC (permalink / raw) To: linux-media Hi Roberto, Did you check if the device id of your tuner is included in smsusb.c? id can be gotten by lsusb command. Thanks, Satoshi (2014/04/16 8:28), Roberto Alcantara wrote: > Guys, > > I’m trying enable Siano SMS2270 ISDB-T tuner in development board with Allwinner A20 SoC. > > I recompiled kernel with modules I can load them but something seems wrong. After insert USB Sms2270 dongle I only see: > > Jan 1 00:15:20 awsom kernel: [ 922.645502] usb 1-1.4: new high-speed USB device number 6 using sw-ehci > Jan 1 00:15:20 awsom mtp-probe: checking bus 1, device 6: "/sys/devices/platform/sw-ehci.1/usb1/1-1/1-1.4" > Jan 1 00:15:20 awsom mtp-probe: bus: 1, device: 6 was not an MTP device > > and no more logs. > > smsusb was loaded with debug=2. > > The usb dongle is plugged on usb powered hub and other devices like keyboard are working fine with this hub port. > > What I missing here? Thanks for all tips ! :-) > > Best regards, > - Roberto > > > root@awsom:/home/linaro# lsmod > Module Size Used by > sunxi_cedar_mod 10284 0 > smsdvb 13909 0 > smsusb 8936 0 > smsmdtv 28266 2 smsdvb,smsusb > disp_ump 854 0 > mali_drm 2638 1 > mali 113459 0 > ump 56392 4 disp_ump,mali > lcd 3646 0 > > root@awsom:/home/linaro# lsusb > Bus 001 Device 002: ID 058f:6254 Alcor Micro Corp. USB Hub > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > Bus 001 Device 003: ID 0e8f:0021 GreenAsia Inc. Multimedia Keyboard Controller > Bus 001 Device 004: ID 187f:0600 Siano Mobile Silicon > > root@awsom:/home/linaro# uname -a > Linux awsom 3.4.75.sun7i_CRAFF+ #4 SMP PREEMPT Thu Apr 10 01:17:47 BRT 2014 armv7l armv7l armv7l GNU/Linux > > > > > root@awsom:/home/linaro# lsusb -v > > Bus 001 Device 002: ID 058f:6254 Alcor Micro Corp. USB Hub > Device Descriptor: > bLength 18 > bDescriptorType 1 > bcdUSB 2.00 > bDeviceClass 9 Hub > bDeviceSubClass 0 Unused > bDeviceProtocol 1 Single TT > bMaxPacketSize0 64 > idVendor 0x058f Alcor Micro Corp. > idProduct 0x6254 USB Hub > bcdDevice 1.00 > iManufacturer 0 > iProduct 1 USB2.0Hub > iSerial 0 > bNumConfigurations 1 > Configuration Descriptor: > bLength 9 > bDescriptorType 2 > wTotalLength 25 > bNumInterfaces 1 > bConfigurationValue 1 > iConfiguration 0 > bmAttributes 0xe0 > Self Powered > Remote Wakeup > MaxPower 100mA > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 0 > bAlternateSetting 0 > bNumEndpoints 1 > bInterfaceClass 9 Hub > bInterfaceSubClass 0 Unused > bInterfaceProtocol 0 Full speed (or root) hub > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x81 EP 1 IN > bmAttributes 3 > Transfer Type Interrupt > Synch Type None > Usage Type Data > wMaxPacketSize 0x0001 1x 1 bytes > bInterval 12 > Hub Descriptor: > bLength 9 > bDescriptorType 41 > nNbrPorts 4 > wHubCharacteristic 0x0080 > Ganged power switching > Ganged overcurrent protection > TT think time 8 FS bits > Port indicators > bPwrOn2PwrGood 50 * 2 milli seconds > bHubContrCurrent 100 milli Ampere > DeviceRemovable 0x00 > PortPwrCtrlMask 0xff > Hub Port Status: > Port 1: 0000.0303 lowspeed power enable connect > Port 2: 0000.0100 power > Port 3: 0000.0100 power > Port 4: 0000.0503 highspeed power enable connect > Device Qualifier (for other device speed): > bLength 10 > bDescriptorType 6 > bcdUSB 2.00 > bDeviceClass 9 Hub > bDeviceSubClass 0 Unused > bDeviceProtocol 0 Full speed (or root) hub > bMaxPacketSize0 64 > bNumConfigurations 1 > Device Status: 0x0001 > Self Powered > > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Device Descriptor: > bLength 18 > bDescriptorType 1 > bcdUSB 2.00 > bDeviceClass 9 Hub > bDeviceSubClass 0 Unused > bDeviceProtocol 0 Full speed (or root) hub > bMaxPacketSize0 64 > idVendor 0x1d6b Linux Foundation > idProduct 0x0002 2.0 root hub > bcdDevice 3.04 > iManufacturer 3 Linux 3.4.75.sun7i_CRAFF+ ehci_hcd > iProduct 2 SW USB2.0 'Enhanced' Host Controller (EHCI) Driver > iSerial 1 sw-ehci > bNumConfigurations 1 > Configuration Descriptor: > bLength 9 > bDescriptorType 2 > wTotalLength 25 > bNumInterfaces 1 > bConfigurationValue 1 > iConfiguration 0 > bmAttributes 0xe0 > Self Powered > Remote Wakeup > MaxPower 0mA > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 0 > bAlternateSetting 0 > bNumEndpoints 1 > bInterfaceClass 9 Hub > bInterfaceSubClass 0 Unused > bInterfaceProtocol 0 Full speed (or root) hub > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x81 EP 1 IN > bmAttributes 3 > Transfer Type Interrupt > Synch Type None > Usage Type Data > wMaxPacketSize 0x0004 1x 4 bytes > bInterval 12 > Hub Descriptor: > bLength 9 > bDescriptorType 41 > nNbrPorts 1 > wHubCharacteristic 0x000a > No power switching (usb 1.0) > Per-port overcurrent protection > bPwrOn2PwrGood 10 * 2 milli seconds > bHubContrCurrent 0 milli Ampere > DeviceRemovable 0x00 > PortPwrCtrlMask 0xff > Hub Port Status: > Port 1: 0000.0503 highspeed power enable connect > Device Status: 0x0001 > Self Powered > > Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > Device Descriptor: > bLength 18 > bDescriptorType 1 > bcdUSB 1.10 > bDeviceClass 9 Hub > bDeviceSubClass 0 Unused > bDeviceProtocol 0 Full speed (or root) hub > bMaxPacketSize0 64 > idVendor 0x1d6b Linux Foundation > idProduct 0x0001 1.1 root hub > bcdDevice 3.04 > iManufacturer 3 Linux 3.4.75.sun7i_CRAFF+ ohci_hcd > iProduct 2 SW USB2.0 'Open' Host Controller (OHCI) Driver > iSerial 1 sw-ohci > bNumConfigurations 1 > Configuration Descriptor: > bLength 9 > bDescriptorType 2 > wTotalLength 25 > bNumInterfaces 1 > bConfigurationValue 1 > iConfiguration 0 > bmAttributes 0xe0 > Self Powered > Remote Wakeup > MaxPower 0mA > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 0 > bAlternateSetting 0 > bNumEndpoints 1 > bInterfaceClass 9 Hub > bInterfaceSubClass 0 Unused > bInterfaceProtocol 0 Full speed (or root) hub > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x81 EP 1 IN > bmAttributes 3 > Transfer Type Interrupt > Synch Type None > Usage Type Data > wMaxPacketSize 0x0002 1x 2 bytes > bInterval 255 > Hub Descriptor: > bLength 9 > bDescriptorType 41 > nNbrPorts 1 > wHubCharacteristic 0x0012 > No power switching (usb 1.0) > No overcurrent protection > bPwrOn2PwrGood 2 * 2 milli seconds > bHubContrCurrent 0 milli Ampere > DeviceRemovable 0x00 > PortPwrCtrlMask 0xff > Hub Port Status: > Port 1: 0000.0100 power > Device Status: 0x0001 > Self Powered > > Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Device Descriptor: > bLength 18 > bDescriptorType 1 > bcdUSB 2.00 > bDeviceClass 9 Hub > bDeviceSubClass 0 Unused > bDeviceProtocol 0 Full speed (or root) hub > bMaxPacketSize0 64 > idVendor 0x1d6b Linux Foundation > idProduct 0x0002 2.0 root hub > bcdDevice 3.04 > iManufacturer 3 Linux 3.4.75.sun7i_CRAFF+ ehci_hcd > iProduct 2 SW USB2.0 'Enhanced' Host Controller (EHCI) Driver > iSerial 1 sw-ehci > bNumConfigurations 1 > Configuration Descriptor: > bLength 9 > bDescriptorType 2 > wTotalLength 25 > bNumInterfaces 1 > bConfigurationValue 1 > iConfiguration 0 > bmAttributes 0xe0 > Self Powered > Remote Wakeup > MaxPower 0mA > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 0 > bAlternateSetting 0 > bNumEndpoints 1 > bInterfaceClass 9 Hub > bInterfaceSubClass 0 Unused > bInterfaceProtocol 0 Full speed (or root) hub > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x81 EP 1 IN > bmAttributes 3 > Transfer Type Interrupt > Synch Type None > Usage Type Data > wMaxPacketSize 0x0004 1x 4 bytes > bInterval 12 > Hub Descriptor: > bLength 9 > bDescriptorType 41 > nNbrPorts 1 > wHubCharacteristic 0x000a > No power switching (usb 1.0) > Per-port overcurrent protection > bPwrOn2PwrGood 10 * 2 milli seconds > bHubContrCurrent 0 milli Ampere > DeviceRemovable 0x00 > PortPwrCtrlMask 0xff > Hub Port Status: > Port 1: 0000.0100 power > Device Status: 0x0001 > Self Powered > > Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > Device Descriptor: > bLength 18 > bDescriptorType 1 > bcdUSB 1.10 > bDeviceClass 9 Hub > bDeviceSubClass 0 Unused > bDeviceProtocol 0 Full speed (or root) hub > bMaxPacketSize0 64 > idVendor 0x1d6b Linux Foundation > idProduct 0x0001 1.1 root hub > bcdDevice 3.04 > iManufacturer 3 Linux 3.4.75.sun7i_CRAFF+ ohci_hcd > iProduct 2 SW USB2.0 'Open' Host Controller (OHCI) Driver > iSerial 1 sw-ohci > bNumConfigurations 1 > Configuration Descriptor: > bLength 9 > bDescriptorType 2 > wTotalLength 25 > bNumInterfaces 1 > bConfigurationValue 1 > iConfiguration 0 > bmAttributes 0xe0 > Self Powered > Remote Wakeup > MaxPower 0mA > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 0 > bAlternateSetting 0 > bNumEndpoints 1 > bInterfaceClass 9 Hub > bInterfaceSubClass 0 Unused > bInterfaceProtocol 0 Full speed (or root) hub > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x81 EP 1 IN > bmAttributes 3 > Transfer Type Interrupt > Synch Type None > Usage Type Data > wMaxPacketSize 0x0002 1x 2 bytes > bInterval 255 > Hub Descriptor: > bLength 9 > bDescriptorType 41 > nNbrPorts 1 > wHubCharacteristic 0x0012 > No power switching (usb 1.0) > No overcurrent protection > bPwrOn2PwrGood 2 * 2 milli seconds > bHubContrCurrent 0 milli Ampere > DeviceRemovable 0x00 > PortPwrCtrlMask 0xff > Hub Port Status: > Port 1: 0000.0100 power > Device Status: 0x0001 > Self Powered > > Bus 001 Device 003: ID 0e8f:0021 GreenAsia Inc. Multimedia Keyboard Controller > Device Descriptor: > bLength 18 > bDescriptorType 1 > bcdUSB 1.10 > bDeviceClass 0 (Defined at Interface level) > bDeviceSubClass 0 > bDeviceProtocol 0 > bMaxPacketSize0 8 > idVendor 0x0e8f GreenAsia Inc. > idProduct 0x0021 Multimedia Keyboard Controller > bcdDevice 2.07 > iManufacturer 1 CZW > iProduct 2 USB Keyboard > iSerial 0 > bNumConfigurations 1 > Configuration Descriptor: > bLength 9 > bDescriptorType 2 > wTotalLength 59 > bNumInterfaces 2 > bConfigurationValue 1 > iConfiguration 0 > bmAttributes 0xa0 > (Bus Powered) > Remote Wakeup > MaxPower 100mA > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 0 > bAlternateSetting 0 > bNumEndpoints 1 > bInterfaceClass 3 Human Interface Device > bInterfaceSubClass 1 Boot Interface Subclass > bInterfaceProtocol 1 Keyboard > iInterface 0 > HID Device Descriptor: > bLength 9 > bDescriptorType 33 > bcdHID 1.10 > bCountryCode 0 Not supported > bNumDescriptors 1 > bDescriptorType 34 Report > wDescriptorLength 62 > Report Descriptors: > ** UNAVAILABLE ** > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x81 EP 1 IN > bmAttributes 3 > Transfer Type Interrupt > Synch Type None > Usage Type Data > wMaxPacketSize 0x0008 1x 8 bytes > bInterval 10 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 1 > bAlternateSetting 0 > bNumEndpoints 1 > bInterfaceClass 3 Human Interface Device > bInterfaceSubClass 0 No Subclass > bInterfaceProtocol 0 None > iInterface 1 CZW > HID Device Descriptor: > bLength 9 > bDescriptorType 33 > bcdHID 1.10 > bCountryCode 0 Not supported > bNumDescriptors 1 > bDescriptorType 34 Report > wDescriptorLength 50 > Report Descriptors: > ** UNAVAILABLE ** > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x82 EP 2 IN > bmAttributes 3 > Transfer Type Interrupt > Synch Type None > Usage Type Data > wMaxPacketSize 0x0008 1x 8 bytes > bInterval 10 > Device Status: 0x0000 > (Bus Powered) > > Bus 001 Device 004: ID 187f:0600 Siano Mobile Silicon > Device Descriptor: > bLength 18 > bDescriptorType 1 > bcdUSB 2.00 > bDeviceClass 0 (Defined at Interface level) > bDeviceSubClass 0 > bDeviceProtocol 0 > bMaxPacketSize0 64 > idVendor 0x187f Siano Mobile Silicon > idProduct 0x0600 > bcdDevice 0.08 > iManufacturer 1 MDTV Receiver > iProduct 2 MDTV Receiver > iSerial 0 > bNumConfigurations 1 > Configuration Descriptor: > bLength 9 > bDescriptorType 2 > wTotalLength 32 > bNumInterfaces 1 > bConfigurationValue 1 > iConfiguration 0 > bmAttributes 0x80 > (Bus Powered) > MaxPower 100mA > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 0 > bAlternateSetting 0 > bNumEndpoints 2 > bInterfaceClass 255 Vendor Specific Class > bInterfaceSubClass 255 Vendor Specific Subclass > bInterfaceProtocol 255 Vendor Specific Protocol > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x81 EP 1 IN > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x02 EP 2 OUT > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 0 > Device Qualifier (for other device speed): > bLength 10 > bDescriptorType 6 > bcdUSB 2.00 > bDeviceClass 255 Vendor Specific Class > bDeviceSubClass 255 Vendor Specific Subclass > bDeviceProtocol 255 Vendor Specific Protocol > bMaxPacketSize0 64 > bNumConfigurations 1 > Device Status: 0x0000 > (Bus Powered) > root@awsom:/home/linaro# > > -- > To unsubscribe from this list: send the line "unsubscribe linux-media" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Help with SMS2270 @ linux-sunxi (A20 devices) 2014-04-16 8:51 ` Sat @ 2014-04-16 16:34 ` Mauro Carvalho Chehab 2014-04-17 1:27 ` Roberto Alcantara 0 siblings, 1 reply; 6+ messages in thread From: Mauro Carvalho Chehab @ 2014-04-16 16:34 UTC (permalink / raw) To: Sat; +Cc: linux-media Em Wed, 16 Apr 2014 17:51:21 +0900 Sat <sattnag@aim.com> escreveu: > Hi Roberto, > > Did you check if the device id of your tuner is included in smsusb.c? > id can be gotten by lsusb command. > > Thanks, > Satoshi > > (2014/04/16 8:28), Roberto Alcantara wrote: > > Guys, > > > > I’m trying enable Siano SMS2270 ISDB-T tuner in development board with Allwinner A20 SoC. > > > > I recompiled kernel with modules I can load them but something seems wrong. After insert USB Sms2270 dongle I only see: > > > > Jan 1 00:15:20 awsom kernel: [ 922.645502] usb 1-1.4: new high-speed USB device number 6 using sw-ehci > > Jan 1 00:15:20 awsom mtp-probe: checking bus 1, device 6: "/sys/devices/platform/sw-ehci.1/usb1/1-1/1-1.4" > > Jan 1 00:15:20 awsom mtp-probe: bus: 1, device: 6 was not an MTP device > > > > and no more logs. > > > > smsusb was loaded with debug=2. > > > > The usb dongle is plugged on usb powered hub and other devices like keyboard are working fine with this hub port. > > > > What I missing here? Thanks for all tips ! :-) I suspect that it is trying to load this device via smsdio driver, but I'm not sure. Those MTP probe messages look weird to me. I suspect that it didn't even called the USB probing method for this device, but I'm not a MTP expert. Regards, Mauro > > > > Best regards, > > - Roberto > > > > > > root@awsom:/home/linaro# lsmod > > Module Size Used by > > sunxi_cedar_mod 10284 0 > > smsdvb 13909 0 > > smsusb 8936 0 > > smsmdtv 28266 2 smsdvb,smsusb > > disp_ump 854 0 > > mali_drm 2638 1 > > mali 113459 0 > > ump 56392 4 disp_ump,mali > > lcd 3646 0 > > > > root@awsom:/home/linaro# lsusb > > Bus 001 Device 002: ID 058f:6254 Alcor Micro Corp. USB Hub > > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > > Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > > Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > > Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > > Bus 001 Device 003: ID 0e8f:0021 GreenAsia Inc. Multimedia Keyboard Controller > > Bus 001 Device 004: ID 187f:0600 Siano Mobile Silicon > > > > root@awsom:/home/linaro# uname -a > > Linux awsom 3.4.75.sun7i_CRAFF+ #4 SMP PREEMPT Thu Apr 10 01:17:47 BRT 2014 armv7l armv7l armv7l GNU/Linux > > > > > > > > > > root@awsom:/home/linaro# lsusb -v > > > > Bus 001 Device 002: ID 058f:6254 Alcor Micro Corp. USB Hub > > Device Descriptor: > > bLength 18 > > bDescriptorType 1 > > bcdUSB 2.00 > > bDeviceClass 9 Hub > > bDeviceSubClass 0 Unused > > bDeviceProtocol 1 Single TT > > bMaxPacketSize0 64 > > idVendor 0x058f Alcor Micro Corp. > > idProduct 0x6254 USB Hub > > bcdDevice 1.00 > > iManufacturer 0 > > iProduct 1 USB2.0Hub > > iSerial 0 > > bNumConfigurations 1 > > Configuration Descriptor: > > bLength 9 > > bDescriptorType 2 > > wTotalLength 25 > > bNumInterfaces 1 > > bConfigurationValue 1 > > iConfiguration 0 > > bmAttributes 0xe0 > > Self Powered > > Remote Wakeup > > MaxPower 100mA > > Interface Descriptor: > > bLength 9 > > bDescriptorType 4 > > bInterfaceNumber 0 > > bAlternateSetting 0 > > bNumEndpoints 1 > > bInterfaceClass 9 Hub > > bInterfaceSubClass 0 Unused > > bInterfaceProtocol 0 Full speed (or root) hub > > iInterface 0 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x81 EP 1 IN > > bmAttributes 3 > > Transfer Type Interrupt > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0001 1x 1 bytes > > bInterval 12 > > Hub Descriptor: > > bLength 9 > > bDescriptorType 41 > > nNbrPorts 4 > > wHubCharacteristic 0x0080 > > Ganged power switching > > Ganged overcurrent protection > > TT think time 8 FS bits > > Port indicators > > bPwrOn2PwrGood 50 * 2 milli seconds > > bHubContrCurrent 100 milli Ampere > > DeviceRemovable 0x00 > > PortPwrCtrlMask 0xff > > Hub Port Status: > > Port 1: 0000.0303 lowspeed power enable connect > > Port 2: 0000.0100 power > > Port 3: 0000.0100 power > > Port 4: 0000.0503 highspeed power enable connect > > Device Qualifier (for other device speed): > > bLength 10 > > bDescriptorType 6 > > bcdUSB 2.00 > > bDeviceClass 9 Hub > > bDeviceSubClass 0 Unused > > bDeviceProtocol 0 Full speed (or root) hub > > bMaxPacketSize0 64 > > bNumConfigurations 1 > > Device Status: 0x0001 > > Self Powered > > > > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > > Device Descriptor: > > bLength 18 > > bDescriptorType 1 > > bcdUSB 2.00 > > bDeviceClass 9 Hub > > bDeviceSubClass 0 Unused > > bDeviceProtocol 0 Full speed (or root) hub > > bMaxPacketSize0 64 > > idVendor 0x1d6b Linux Foundation > > idProduct 0x0002 2.0 root hub > > bcdDevice 3.04 > > iManufacturer 3 Linux 3.4.75.sun7i_CRAFF+ ehci_hcd > > iProduct 2 SW USB2.0 'Enhanced' Host Controller (EHCI) Driver > > iSerial 1 sw-ehci > > bNumConfigurations 1 > > Configuration Descriptor: > > bLength 9 > > bDescriptorType 2 > > wTotalLength 25 > > bNumInterfaces 1 > > bConfigurationValue 1 > > iConfiguration 0 > > bmAttributes 0xe0 > > Self Powered > > Remote Wakeup > > MaxPower 0mA > > Interface Descriptor: > > bLength 9 > > bDescriptorType 4 > > bInterfaceNumber 0 > > bAlternateSetting 0 > > bNumEndpoints 1 > > bInterfaceClass 9 Hub > > bInterfaceSubClass 0 Unused > > bInterfaceProtocol 0 Full speed (or root) hub > > iInterface 0 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x81 EP 1 IN > > bmAttributes 3 > > Transfer Type Interrupt > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0004 1x 4 bytes > > bInterval 12 > > Hub Descriptor: > > bLength 9 > > bDescriptorType 41 > > nNbrPorts 1 > > wHubCharacteristic 0x000a > > No power switching (usb 1.0) > > Per-port overcurrent protection > > bPwrOn2PwrGood 10 * 2 milli seconds > > bHubContrCurrent 0 milli Ampere > > DeviceRemovable 0x00 > > PortPwrCtrlMask 0xff > > Hub Port Status: > > Port 1: 0000.0503 highspeed power enable connect > > Device Status: 0x0001 > > Self Powered > > > > Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > > Device Descriptor: > > bLength 18 > > bDescriptorType 1 > > bcdUSB 1.10 > > bDeviceClass 9 Hub > > bDeviceSubClass 0 Unused > > bDeviceProtocol 0 Full speed (or root) hub > > bMaxPacketSize0 64 > > idVendor 0x1d6b Linux Foundation > > idProduct 0x0001 1.1 root hub > > bcdDevice 3.04 > > iManufacturer 3 Linux 3.4.75.sun7i_CRAFF+ ohci_hcd > > iProduct 2 SW USB2.0 'Open' Host Controller (OHCI) Driver > > iSerial 1 sw-ohci > > bNumConfigurations 1 > > Configuration Descriptor: > > bLength 9 > > bDescriptorType 2 > > wTotalLength 25 > > bNumInterfaces 1 > > bConfigurationValue 1 > > iConfiguration 0 > > bmAttributes 0xe0 > > Self Powered > > Remote Wakeup > > MaxPower 0mA > > Interface Descriptor: > > bLength 9 > > bDescriptorType 4 > > bInterfaceNumber 0 > > bAlternateSetting 0 > > bNumEndpoints 1 > > bInterfaceClass 9 Hub > > bInterfaceSubClass 0 Unused > > bInterfaceProtocol 0 Full speed (or root) hub > > iInterface 0 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x81 EP 1 IN > > bmAttributes 3 > > Transfer Type Interrupt > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0002 1x 2 bytes > > bInterval 255 > > Hub Descriptor: > > bLength 9 > > bDescriptorType 41 > > nNbrPorts 1 > > wHubCharacteristic 0x0012 > > No power switching (usb 1.0) > > No overcurrent protection > > bPwrOn2PwrGood 2 * 2 milli seconds > > bHubContrCurrent 0 milli Ampere > > DeviceRemovable 0x00 > > PortPwrCtrlMask 0xff > > Hub Port Status: > > Port 1: 0000.0100 power > > Device Status: 0x0001 > > Self Powered > > > > Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > > Device Descriptor: > > bLength 18 > > bDescriptorType 1 > > bcdUSB 2.00 > > bDeviceClass 9 Hub > > bDeviceSubClass 0 Unused > > bDeviceProtocol 0 Full speed (or root) hub > > bMaxPacketSize0 64 > > idVendor 0x1d6b Linux Foundation > > idProduct 0x0002 2.0 root hub > > bcdDevice 3.04 > > iManufacturer 3 Linux 3.4.75.sun7i_CRAFF+ ehci_hcd > > iProduct 2 SW USB2.0 'Enhanced' Host Controller (EHCI) Driver > > iSerial 1 sw-ehci > > bNumConfigurations 1 > > Configuration Descriptor: > > bLength 9 > > bDescriptorType 2 > > wTotalLength 25 > > bNumInterfaces 1 > > bConfigurationValue 1 > > iConfiguration 0 > > bmAttributes 0xe0 > > Self Powered > > Remote Wakeup > > MaxPower 0mA > > Interface Descriptor: > > bLength 9 > > bDescriptorType 4 > > bInterfaceNumber 0 > > bAlternateSetting 0 > > bNumEndpoints 1 > > bInterfaceClass 9 Hub > > bInterfaceSubClass 0 Unused > > bInterfaceProtocol 0 Full speed (or root) hub > > iInterface 0 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x81 EP 1 IN > > bmAttributes 3 > > Transfer Type Interrupt > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0004 1x 4 bytes > > bInterval 12 > > Hub Descriptor: > > bLength 9 > > bDescriptorType 41 > > nNbrPorts 1 > > wHubCharacteristic 0x000a > > No power switching (usb 1.0) > > Per-port overcurrent protection > > bPwrOn2PwrGood 10 * 2 milli seconds > > bHubContrCurrent 0 milli Ampere > > DeviceRemovable 0x00 > > PortPwrCtrlMask 0xff > > Hub Port Status: > > Port 1: 0000.0100 power > > Device Status: 0x0001 > > Self Powered > > > > Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > > Device Descriptor: > > bLength 18 > > bDescriptorType 1 > > bcdUSB 1.10 > > bDeviceClass 9 Hub > > bDeviceSubClass 0 Unused > > bDeviceProtocol 0 Full speed (or root) hub > > bMaxPacketSize0 64 > > idVendor 0x1d6b Linux Foundation > > idProduct 0x0001 1.1 root hub > > bcdDevice 3.04 > > iManufacturer 3 Linux 3.4.75.sun7i_CRAFF+ ohci_hcd > > iProduct 2 SW USB2.0 'Open' Host Controller (OHCI) Driver > > iSerial 1 sw-ohci > > bNumConfigurations 1 > > Configuration Descriptor: > > bLength 9 > > bDescriptorType 2 > > wTotalLength 25 > > bNumInterfaces 1 > > bConfigurationValue 1 > > iConfiguration 0 > > bmAttributes 0xe0 > > Self Powered > > Remote Wakeup > > MaxPower 0mA > > Interface Descriptor: > > bLength 9 > > bDescriptorType 4 > > bInterfaceNumber 0 > > bAlternateSetting 0 > > bNumEndpoints 1 > > bInterfaceClass 9 Hub > > bInterfaceSubClass 0 Unused > > bInterfaceProtocol 0 Full speed (or root) hub > > iInterface 0 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x81 EP 1 IN > > bmAttributes 3 > > Transfer Type Interrupt > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0002 1x 2 bytes > > bInterval 255 > > Hub Descriptor: > > bLength 9 > > bDescriptorType 41 > > nNbrPorts 1 > > wHubCharacteristic 0x0012 > > No power switching (usb 1.0) > > No overcurrent protection > > bPwrOn2PwrGood 2 * 2 milli seconds > > bHubContrCurrent 0 milli Ampere > > DeviceRemovable 0x00 > > PortPwrCtrlMask 0xff > > Hub Port Status: > > Port 1: 0000.0100 power > > Device Status: 0x0001 > > Self Powered > > > > Bus 001 Device 003: ID 0e8f:0021 GreenAsia Inc. Multimedia Keyboard Controller > > Device Descriptor: > > bLength 18 > > bDescriptorType 1 > > bcdUSB 1.10 > > bDeviceClass 0 (Defined at Interface level) > > bDeviceSubClass 0 > > bDeviceProtocol 0 > > bMaxPacketSize0 8 > > idVendor 0x0e8f GreenAsia Inc. > > idProduct 0x0021 Multimedia Keyboard Controller > > bcdDevice 2.07 > > iManufacturer 1 CZW > > iProduct 2 USB Keyboard > > iSerial 0 > > bNumConfigurations 1 > > Configuration Descriptor: > > bLength 9 > > bDescriptorType 2 > > wTotalLength 59 > > bNumInterfaces 2 > > bConfigurationValue 1 > > iConfiguration 0 > > bmAttributes 0xa0 > > (Bus Powered) > > Remote Wakeup > > MaxPower 100mA > > Interface Descriptor: > > bLength 9 > > bDescriptorType 4 > > bInterfaceNumber 0 > > bAlternateSetting 0 > > bNumEndpoints 1 > > bInterfaceClass 3 Human Interface Device > > bInterfaceSubClass 1 Boot Interface Subclass > > bInterfaceProtocol 1 Keyboard > > iInterface 0 > > HID Device Descriptor: > > bLength 9 > > bDescriptorType 33 > > bcdHID 1.10 > > bCountryCode 0 Not supported > > bNumDescriptors 1 > > bDescriptorType 34 Report > > wDescriptorLength 62 > > Report Descriptors: > > ** UNAVAILABLE ** > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x81 EP 1 IN > > bmAttributes 3 > > Transfer Type Interrupt > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0008 1x 8 bytes > > bInterval 10 > > Interface Descriptor: > > bLength 9 > > bDescriptorType 4 > > bInterfaceNumber 1 > > bAlternateSetting 0 > > bNumEndpoints 1 > > bInterfaceClass 3 Human Interface Device > > bInterfaceSubClass 0 No Subclass > > bInterfaceProtocol 0 None > > iInterface 1 CZW > > HID Device Descriptor: > > bLength 9 > > bDescriptorType 33 > > bcdHID 1.10 > > bCountryCode 0 Not supported > > bNumDescriptors 1 > > bDescriptorType 34 Report > > wDescriptorLength 50 > > Report Descriptors: > > ** UNAVAILABLE ** > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x82 EP 2 IN > > bmAttributes 3 > > Transfer Type Interrupt > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0008 1x 8 bytes > > bInterval 10 > > Device Status: 0x0000 > > (Bus Powered) > > > > Bus 001 Device 004: ID 187f:0600 Siano Mobile Silicon > > Device Descriptor: > > bLength 18 > > bDescriptorType 1 > > bcdUSB 2.00 > > bDeviceClass 0 (Defined at Interface level) > > bDeviceSubClass 0 > > bDeviceProtocol 0 > > bMaxPacketSize0 64 > > idVendor 0x187f Siano Mobile Silicon > > idProduct 0x0600 > > bcdDevice 0.08 > > iManufacturer 1 MDTV Receiver > > iProduct 2 MDTV Receiver > > iSerial 0 > > bNumConfigurations 1 > > Configuration Descriptor: > > bLength 9 > > bDescriptorType 2 > > wTotalLength 32 > > bNumInterfaces 1 > > bConfigurationValue 1 > > iConfiguration 0 > > bmAttributes 0x80 > > (Bus Powered) > > MaxPower 100mA > > Interface Descriptor: > > bLength 9 > > bDescriptorType 4 > > bInterfaceNumber 0 > > bAlternateSetting 0 > > bNumEndpoints 2 > > bInterfaceClass 255 Vendor Specific Class > > bInterfaceSubClass 255 Vendor Specific Subclass > > bInterfaceProtocol 255 Vendor Specific Protocol > > iInterface 0 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x81 EP 1 IN > > bmAttributes 2 > > Transfer Type Bulk > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0200 1x 512 bytes > > bInterval 0 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x02 EP 2 OUT > > bmAttributes 2 > > Transfer Type Bulk > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0200 1x 512 bytes > > bInterval 0 > > Device Qualifier (for other device speed): > > bLength 10 > > bDescriptorType 6 > > bcdUSB 2.00 > > bDeviceClass 255 Vendor Specific Class > > bDeviceSubClass 255 Vendor Specific Subclass > > bDeviceProtocol 255 Vendor Specific Protocol > > bMaxPacketSize0 64 > > bNumConfigurations 1 > > Device Status: 0x0000 > > (Bus Powered) > > root@awsom:/home/linaro# > > > > -- > > To unsubscribe from this list: send the line "unsubscribe linux-media" in > > the body of a message to majordomo@vger.kernel.org > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-media" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Regards, Mauro ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Help with SMS2270 @ linux-sunxi (A20 devices) 2014-04-16 16:34 ` Mauro Carvalho Chehab @ 2014-04-17 1:27 ` Roberto Alcantara 2014-04-17 3:06 ` Sat 0 siblings, 1 reply; 6+ messages in thread From: Roberto Alcantara @ 2014-04-17 1:27 UTC (permalink / raw) To: Mauro Carvalho Chehab; +Cc: Sat, linux-media Bad news for me. I will try to debug something about MTP despite I don’t know yet how to. I will let know about this guys. Thank you ! Em 16/04/2014, à(s) 13:34, Mauro Carvalho Chehab <m.chehab@samsung.com> escreveu: > > > I suspect that it is trying to load this device via smsdio driver, but > I'm not sure. > > Those MTP probe messages look weird to me. I suspect that it didn't even > called the USB probing method for this device, but I'm not a MTP > expert. > > Regards, > Mauro > >>> >>> Best regards, >>> - Roberto >>> >>> >>> root@awsom:/home/linaro# lsmod >>> Module Size Used by >>> sunxi_cedar_mod 10284 0 >>> smsdvb 13909 0 >>> smsusb 8936 0 >>> smsmdtv 28266 2 smsdvb,smsusb >>> disp_ump 854 0 >>> mali_drm 2638 1 >>> mali 113459 0 >>> ump 56392 4 disp_ump,mali >>> lcd 3646 0 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Help with SMS2270 @ linux-sunxi (A20 devices) 2014-04-17 1:27 ` Roberto Alcantara @ 2014-04-17 3:06 ` Sat 2014-04-26 22:48 ` Roberto Alcantara 0 siblings, 1 reply; 6+ messages in thread From: Sat @ 2014-04-17 3:06 UTC (permalink / raw) To: Roberto Alcantara, Mauro Carvalho Chehab; +Cc: linux-media (2014/04/17 10:27), Roberto Alcantara wrote: > Bad news for me. > > I will try to debug something about MTP despite I don’t know yet how to. > > I will let know about this guys. > > Thank you ! > > > Em 16/04/2014, à(s) 13:34, Mauro Carvalho Chehab <m.chehab@samsung.com> escreveu: > >> >> >> I suspect that it is trying to load this device via smsdio driver, but >> I'm not sure. >> >> Those MTP probe messages look weird to me. I suspect that it didn't even >> called the USB probing method for this device, but I'm not a MTP >> expert. I also suspect so. It seems to step in MTP probing but not USB probing instead. In my case, such MTP probe messages doesn't appear as follows: [ 87.008265] usb 1-1.2.4: new high-speed USB device number 7 using dwc_otg [ 87.109401] usb 1-1.2.4: New USB device found, idVendor=3275, idProduct=0080 [ 87.109441] usb 1-1.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 87.109460] usb 1-1.2.4: Product: PX-S1UD Digital TV Tuner [ 87.109476] usb 1-1.2.4: Manufacturer: PLEX Digital TV Tuner [ 87.304940] smscore_load_firmware_family2: line: 986: sending MSG_SMS_DATA_VALIDITY_REQ expecting 0xef779751 Regards, Satoshi >> Regards, >> Mauro >> >>>> >>>> Best regards, >>>> - Roberto >>>> >>>> >>>> root@awsom:/home/linaro# lsmod >>>> Module Size Used by >>>> sunxi_cedar_mod 10284 0 >>>> smsdvb 13909 0 >>>> smsusb 8936 0 >>>> smsmdtv 28266 2 smsdvb,smsusb >>>> disp_ump 854 0 >>>> mali_drm 2638 1 >>>> mali 113459 0 >>>> ump 56392 4 disp_ump,mali >>>> lcd 3646 0 > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Help with SMS2270 @ linux-sunxi (A20 devices) 2014-04-17 3:06 ` Sat @ 2014-04-26 22:48 ` Roberto Alcantara 0 siblings, 0 replies; 6+ messages in thread From: Roberto Alcantara @ 2014-04-26 22:48 UTC (permalink / raw) To: Sat, linux-media Guys, As I could’n some the error I tried another approach. I checkout commit 80ccb51a from 09/11/2013 as I know it is a working version for sms2270 device but not so newer. I copy siano files from commit 80ccb51a to my kernel tree (3.4.75) and I need only disable IR support to compiles without errors. So, I copy my new kernel and modules to device to test, now device is found but...: root@awsom:~# insmod smsdvb.ko insmod: error inserting 'smsdvb.ko': -1 Unknown symbol in module root@awsom:~# insmod smsmdtv.ko root@awsom:~# insmod smsusb.ko dmesg: [ 404.935357] smsdvb: Unknown symbol smsendian_handle_tx_message (err 0) [ 404.940520] smsdvb: Unknown symbol smscore_get_device_mode (err 0) [ 404.954893] smsdvb: Unknown symbol smscore_register_client (err 0) [ 404.959986] smsdvb: Unknown symbol sms_board_led_feedback (err 0) [ 404.974160] smsdvb: Unknown symbol sms_board_power (err 0) [ 404.978477] smsdvb: Unknown symbol sms_get_board (err 0) [ 404.983893] smsdvb: Unknown symbol smscore_unregister_hotplug (err 0) [ 405.001147] smsdvb: Unknown symbol smscore_putbuffer (err 0) [ 405.007305] smsdvb: Unknown symbol smsendian_handle_rx_message (err 0) [ 405.012321] smsdvb: Unknown symbol sms_board_lna_control (err 0) [ 405.020188] smsdvb: Unknown symbol smsclient_sendrequest (err 0) [ 405.026278] smsdvb: Unknown symbol smscore_unregister_client (err 0) [ 405.030765] smsdvb: Unknown symbol sms_board_event (err 0) [ 405.036086] smsdvb: Unknown symbol sms_board_setup (err 0) [ 405.040981] smsdvb: Unknown symbol smscore_get_board_id (err 0) [ 405.047036] smsdvb: Unknown symbol smscore_register_hotplug (err 0) [ 415.683285] smsusb_init_device: line: 372: Unspecified sms device type! [ 415.742576] smsusb_init_device: line: 433: smscore_start_device(...) failed [ 415.757505] smsusb_onresponse: line: 143: error, urb status -2, 0 bytes [ 415.770102] smsusb_onresponse: line: 143: error, urb status -2, 0 bytes [ 415.782723] smsusb_onresponse: line: 143: error, urb status -2, 0 bytes [ 415.795353] smsusb_onresponse: line: 143: error, urb status -2, 0 bytes [ 415.807982] smsusb_onresponse: line: 143: error, urb status -2, 0 bytes [ 415.820605] smsusb_onresponse: line: 143: error, urb status -2, 0 bytes [ 415.833095] smsusb_onresponse: line: 143: error, urb status -2, 0 bytes [ 415.845595] smsusb_onresponse: line: 143: error, urb status -2, 0 bytes [ 415.858099] smsusb_onresponse: line: 143: error, urb status -2, 0 bytes [ 415.870594] smsusb_onresponse: line: 143: error, urb status -2, 0 bytes [ 415.927506] smsusb: probe of 1-1.4:1.0 failed with error -2 [ 415.933670] usbcore: registered new interface driver smsusb root@awsom:~# lsusb Bus 001 Device 002: ID 058f:6254 Alcor Micro Corp. USB Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 003: ID 0e8f:0021 GreenAsia Inc. Multimedia Keyboard Controller Bus 001 Device 004: ID 187f:0600 Siano Mobile Silicon root@awsom:~# lsmod Module Size Used by smsdvb 13909 0 smsusb 10075 0 smsmdtv 44375 2 smsdvb,smsusb disp_ump 854 0 mali_drm 2638 1 mali 113459 0 ump 56392 4 disp_ump,mali lcd 3646 0 root@awsom:~# [ 415.742576] smsusb_init_device: line: 433: smscore_start_device(...) failed this error starting device can happen because symbols wasn’t found or are distinct problems? Thank you for any tips. Best regards, - Roberto Em 17/04/2014, à(s) 00:06, Sat <sattnag@aim.com> escreveu: > (2014/04/17 10:27), Roberto Alcantara wrote: >> Bad news for me. >> >> I will try to debug something about MTP despite I don’t know yet how to. >> >> I will let know about this guys. >> >> Thank you ! >> >> >> Em 16/04/2014, à(s) 13:34, Mauro Carvalho Chehab <m.chehab@samsung.com> escreveu: >> >>> >>> >>> I suspect that it is trying to load this device via smsdio driver, but >>> I'm not sure. >>> >>> Those MTP probe messages look weird to me. I suspect that it didn't even >>> called the USB probing method for this device, but I'm not a MTP >>> expert. > > I also suspect so. > It seems to step in MTP probing but not USB probing instead. > In my case, such MTP probe messages doesn't appear as follows: > > [ 87.008265] usb 1-1.2.4: new high-speed USB device number 7 using dwc_otg > [ 87.109401] usb 1-1.2.4: New USB device found, idVendor=3275, idProduct=0080 > [ 87.109441] usb 1-1.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 > [ 87.109460] usb 1-1.2.4: Product: PX-S1UD Digital TV Tuner > [ 87.109476] usb 1-1.2.4: Manufacturer: PLEX Digital TV Tuner > [ 87.304940] smscore_load_firmware_family2: line: 986: sending MSG_SMS_DATA_VALIDITY_REQ expecting 0xef779751 > > > Regards, > Satoshi > >>> Regards, >>> Mauro >>> >>>>> >>>>> Best regards, >>>>> - Roberto >>>>> >>>>> >>>>> root@awsom:/home/linaro# lsmod >>>>> Module Size Used by >>>>> sunxi_cedar_mod 10284 0 >>>>> smsdvb 13909 0 >>>>> smsusb 8936 0 >>>>> smsmdtv 28266 2 smsdvb,smsusb >>>>> disp_ump 854 0 >>>>> mali_drm 2638 1 >>>>> mali 113459 0 >>>>> ump 56392 4 disp_ump,mali >>>>> lcd 3646 0 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-04-26 22:48 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-04-15 23:28 Help with SMS2270 @ linux-sunxi (A20 devices) Roberto Alcantara 2014-04-16 8:51 ` Sat 2014-04-16 16:34 ` Mauro Carvalho Chehab 2014-04-17 1:27 ` Roberto Alcantara 2014-04-17 3:06 ` Sat 2014-04-26 22:48 ` Roberto Alcantara
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox