* Siano DVB USB device called "Smart Plus"
@ 2012-01-19 13:31 Denilson Figueiredo de Sá
2012-01-19 14:42 ` Mauro Carvalho Chehab
0 siblings, 1 reply; 5+ messages in thread
From: Denilson Figueiredo de Sá @ 2012-01-19 13:31 UTC (permalink / raw)
To: linux-media
I bought a USB DVB device in Brazil, but it doesn't work yet on my Linux system.
I've already documented it at:
http://linuxtv.org/wiki/index.php/Smart_Plus
The device works if I try to use it inside a VirtualBox virtual
machine running Windows.
I believe the kernel driver that claims this device does not actually
support it.
The device is called "USB 2.0 ISDB-T Stick", model UTV926 (according
to the manual), but I've also seen it mentioned as YS-926TV. USB
vendor:product is 187f:0202.
What can I do in order to make it work?
--
Denilson Figueiredo de Sá
Belo Horizonte - Brasil
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Siano DVB USB device called "Smart Plus"
2012-01-19 13:31 Siano DVB USB device called "Smart Plus" Denilson Figueiredo de Sá
@ 2012-01-19 14:42 ` Mauro Carvalho Chehab
2012-01-20 4:34 ` Denilson Figueiredo de Sá
0 siblings, 1 reply; 5+ messages in thread
From: Mauro Carvalho Chehab @ 2012-01-19 14:42 UTC (permalink / raw)
To: Denilson Figueiredo de Sá; +Cc: linux-media
Hi Denilson,
Em 19-01-2012 11:31, Denilson Figueiredo de Sá escreveu:
> I bought a USB DVB device in Brazil, but it doesn't work yet on my Linux system.
>
> I've already documented it at:
> http://linuxtv.org/wiki/index.php/Smart_Plus
>
> The device works if I try to use it inside a VirtualBox virtual
> machine running Windows.
>
> I believe the kernel driver that claims this device does not actually
> support it.
>
>
> The device is called "USB 2.0 ISDB-T Stick", model UTV926 (according
> to the manual), but I've also seen it mentioned as YS-926TV. USB
> vendor:product is 187f:0202.
>
>
> What can I do in order to make it work?
>From the product page, it is a 1-seg device. So, it likely uses a sms1xxx
chip. The SMS1XXX_BOARD_HAUPPAUGE_WINDHAM board is likely close to this
one. From drivers/media/dvb/siano/sms-cards.c:
[SMS1XXX_BOARD_HAUPPAUGE_WINDHAM] = {
.name = "Hauppauge WinTV MiniStick",
.type = SMS_NOVA_B0,
.fw[DEVICE_MODE_ISDBT_BDA] = "sms1xxx-hcw-55xxx-isdbt-02.fw",
.fw[DEVICE_MODE_DVBT_BDA] = "sms1xxx-hcw-55xxx-dvbt-02.fw",
.rc_codes = RC_MAP_HAUPPAUGE,
.board_cfg.leds_power = 26,
.board_cfg.led0 = 27,
.board_cfg.led1 = 28,
.board_cfg.ir = 9,
.led_power = 26,
.led_lo = 27,
.led_hi = 28,
},
I wrote the ISDB-T support for it, and it works properly.
You'll likely need to add a new board entry there for it, and discover
the GPIO pins linked to the leds and infrared (the numbers for .board_cfg
and .led* on the above data structure). You can do it by either sniffing
the USB board traffic or by opening the device and carefully examining the
board tracks.
After you have a patch adding support for it, please submit us the patch.
Regards,
Mauro
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Siano DVB USB device called "Smart Plus"
2012-01-19 14:42 ` Mauro Carvalho Chehab
@ 2012-01-20 4:34 ` Denilson Figueiredo de Sá
2012-01-20 10:01 ` Mauro Carvalho Chehab
0 siblings, 1 reply; 5+ messages in thread
From: Denilson Figueiredo de Sá @ 2012-01-20 4:34 UTC (permalink / raw)
To: Mauro Carvalho Chehab; +Cc: linux-media
On Thu, Jan 19, 2012 at 12:42, Mauro Carvalho Chehab <mchehab@redhat.com> wrote:
>
> From the product page, it is a 1-seg device. So, it likely uses a sms1xxx
> chip.
Correct, Siano SMS1140.
> You'll likely need to add a new board entry there for it, and discover
> the GPIO pins linked to the leds and infrared (the numbers for .board_cfg
> and .led* on the above data structure). You can do it by either sniffing
> the USB board traffic or by opening the device and carefully examining the
> board tracks.
I've added two photos of the circuit here:
http://linuxtv.org/wiki/index.php/Smart_Plus
Considering there are these lines at sms-usb.c:
{ USB_DEVICE(0x187f, 0x0202),
.driver_info = SMS1XXX_BOARD_SIANO_NICE },
I thought I didn't need to add a new board entry, just update the
current one. Then I added a few lines, as shown below, but it seems
the driver still tries to load "dvb_nova_12mhz_b0.inp" instead of
"isdbt_nova_12mhz_b0.inp".
If I rename (or symlink) the firmware file, the driver loads the
firmware. After smsdvb module gets loaded, then there is a /dev/dvb/
entry for my device, but still the programs I tried (w_scan and vlc)
don't find any channels.
About the GPIO pins: even on Windows, the only LED from this device
does not blink. So I don't care about LED feedback. Also, right now
I'm not worried about IR remote, so I'm leaving that out.
Anyway, I can supply some usb logs if they would help debugging this.
--- sms-cards.c.orig 2012-01-20 00:42:47.000000000 -0200
+++ sms-cards.c 2012-01-20 01:05:11.000000000 -0200
@@ -92,6 +92,8 @@
/* 11 */
.name = "Siano Nice Digital Receiver",
.type = SMS_NOVA_B0,
+ .fw[DEVICE_MODE_ISDBT_BDA] = "isdbt_nova_12mhz_b0.inp",
+ .rc_codes = RC_MAP_HAUPPAUGE,
},
[SMS1XXX_BOARD_SIANO_VENICE] = {
/* 12 */
@@ -299,6 +301,7 @@
case SMS1XXX_BOARD_HAUPPAUGE_WINDHAM:
case SMS1XXX_BOARD_HAUPPAUGE_TIGER_MINICARD:
case SMS1XXX_BOARD_HAUPPAUGE_TIGER_MINICARD_R2:
+ case SMS1XXX_BOARD_SIANO_NICE:
request_module("smsdvb");
break;
default:
--
Denilson Figueiredo de Sá
Belo Horizonte - Brasil
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Siano DVB USB device called "Smart Plus"
2012-01-20 4:34 ` Denilson Figueiredo de Sá
@ 2012-01-20 10:01 ` Mauro Carvalho Chehab
2012-01-21 13:38 ` Denilson Figueiredo de Sá
0 siblings, 1 reply; 5+ messages in thread
From: Mauro Carvalho Chehab @ 2012-01-20 10:01 UTC (permalink / raw)
To: Denilson Figueiredo de Sá; +Cc: linux-media
Em 20-01-2012 02:34, Denilson Figueiredo de Sá escreveu:
> On Thu, Jan 19, 2012 at 12:42, Mauro Carvalho Chehab <mchehab@redhat.com> wrote:
>>
>> From the product page, it is a 1-seg device. So, it likely uses a sms1xxx
>> chip.
>
> Correct, Siano SMS1140.
>
>> You'll likely need to add a new board entry there for it, and discover
>> the GPIO pins linked to the leds and infrared (the numbers for .board_cfg
>> and .led* on the above data structure). You can do it by either sniffing
>> the USB board traffic or by opening the device and carefully examining the
>> board tracks.
>
> I've added two photos of the circuit here:
> http://linuxtv.org/wiki/index.php/Smart_Plus
>
> Considering there are these lines at sms-usb.c:
> { USB_DEVICE(0x187f, 0x0202),
> .driver_info = SMS1XXX_BOARD_SIANO_NICE },
>
> I thought I didn't need to add a new board entry, just update the
> current one.
You may need to add it anyway, as the device may not be equal to
Siano Nice reference board.
> Then I added a few lines, as shown below, but it seems
> the driver still tries to load "dvb_nova_12mhz_b0.inp" instead of
> "isdbt_nova_12mhz_b0.inp".
No. there's a parameter for the smsmdtv module to select the right
standard:
drivers/media/dvb/siano/smscoreapi.c:module_param(default_mode, int, 0644);
You need to pass "default_mode=6" for ISDB-T to work. Just renaming
the firmware won't work. Of course, the firmware name entry needs to be
filled.
Btw, adding both firmwares work, as the same device can likely be used
in Europe with DVB-T. So, maybe we can add some parameter there to specify
the default mode. Not sure if such change would be easy though.
>
> If I rename (or symlink) the firmware file, the driver loads the
> firmware. After smsdvb module gets loaded, then there is a /dev/dvb/
> entry for my device, but still the programs I tried (w_scan and vlc)
> don't find any channels.
>
>
> About the GPIO pins: even on Windows, the only LED from this device
> does not blink. So I don't care about LED feedback. Also, right now
> I'm not worried about IR remote, so I'm leaving that out.
>
> Anyway, I can supply some usb logs if they would help debugging this.
>
>
> --- sms-cards.c.orig 2012-01-20 00:42:47.000000000 -0200
> +++ sms-cards.c 2012-01-20 01:05:11.000000000 -0200
> @@ -92,6 +92,8 @@
> /* 11 */
> .name = "Siano Nice Digital Receiver",
> .type = SMS_NOVA_B0,
> + .fw[DEVICE_MODE_ISDBT_BDA] = "isdbt_nova_12mhz_b0.inp",
> + .rc_codes = RC_MAP_HAUPPAUGE,
> },
> [SMS1XXX_BOARD_SIANO_VENICE] = {
> /* 12 */
> @@ -299,6 +301,7 @@
> case SMS1XXX_BOARD_HAUPPAUGE_WINDHAM:
> case SMS1XXX_BOARD_HAUPPAUGE_TIGER_MINICARD:
> case SMS1XXX_BOARD_HAUPPAUGE_TIGER_MINICARD_R2:
> + case SMS1XXX_BOARD_SIANO_NICE:
> request_module("smsdvb");
> break;
> default:
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Siano DVB USB device called "Smart Plus"
2012-01-20 10:01 ` Mauro Carvalho Chehab
@ 2012-01-21 13:38 ` Denilson Figueiredo de Sá
0 siblings, 0 replies; 5+ messages in thread
From: Denilson Figueiredo de Sá @ 2012-01-21 13:38 UTC (permalink / raw)
To: Mauro Carvalho Chehab; +Cc: linux-media
On Fri, Jan 20, 2012 at 08:01, Mauro Carvalho Chehab <mchehab@redhat.com> wrote:
>
>> Then I added a few lines, as shown below, but it seems
>> the driver still tries to load "dvb_nova_12mhz_b0.inp" instead of
>> "isdbt_nova_12mhz_b0.inp".
>
> No. there's a parameter for the smsmdtv module to select the right
> standard:
>
> drivers/media/dvb/siano/smscoreapi.c:module_param(default_mode, int, 0644);
>
> You need to pass "default_mode=6" for ISDB-T to work. Just renaming
> the firmware won't work. Of course, the firmware name entry needs to be
> filled.
Okay, I did:
modprobe smsmdtv default_mode=6
Now it loads the correct firmware. But, still, neither vlc nor w_scan
can find any channels.
I bet it requires deeper debugging and more knowledge than what I have now.
--
Denilson Figueiredo de Sá
Belo Horizonte - Brasil
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-01-21 13:39 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-19 13:31 Siano DVB USB device called "Smart Plus" Denilson Figueiredo de Sá
2012-01-19 14:42 ` Mauro Carvalho Chehab
2012-01-20 4:34 ` Denilson Figueiredo de Sá
2012-01-20 10:01 ` Mauro Carvalho Chehab
2012-01-21 13:38 ` Denilson Figueiredo de Sá
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).