#1
Posted 18 October 2010 - 10:18
[reader]
label = smargo
enable = 1
protocol = smartreader
device = 003:004
services =
smargopatch =
caid = xxxx
detect = cd
mhz = 680
cardmhz = 500
ident =
group = 1
emmcache = 1,1,0
blockemm-g = 1
lb_weight = 100
Works fine first time round but on restart of oscam I get the following:
usb_bulk_read read error -99
I have read on some forums this is due to the older vesrsion of kernel not releasing the USB devices correctly.
Does anyone have a fix for this
edit: subject better defined
DM800se Vu+Duo ET-9000 Vu+Ultimo
Re: Oscam & smargo #2
Re: Oscam & smargo #3
Posted 18 October 2010 - 12:23
I would at least also notify this at the streamboard forum, the forum of the creators of oscam -as- I sugest only they could solve this.
PLi« openpli vuduo
vuduo login: root
Password:
[mail]root@vuduo[/mail] ~ # cat /proc/version
Linux version 2.6.18-7.3 ([mail]build@buildserver[/mail]) (gcc version 4.1.1) #1 SMP Mon Sep
20 06:11:00 CEST 2010
[mail]root@vuduo[/mail] ~ #
It has already been discussed on that forum the only fix is kernel version 2.6.30 or greater that they can come up with.
This version seems to fix the bug in releasing the USB ports correctly.
DM800se Vu+Duo ET-9000 Vu+Ultimo
Re: Oscam & smargo #4
Re: Oscam & smargo #5
Posted 19 October 2010 - 03:23
And we're stuck with the old 2.6.18 kernel because VU+ and DMM don't create drivers for those. So basically, you're out of luck.
Oh well good old dream multimedia got it working on mouse mode ecm times aint as good but never mind at least it works
DM800se Vu+Duo ET-9000 Vu+Ultimo
Re: Oscam & smargo #6
Re: Oscam & smargo #7
Posted 19 October 2010 - 12:52
- First off, use the mouse protocol to read the smartgo. Smartreader doesn't work nicely with this version of kernel, as somebody has pointed out already
- When you stop oscam, and restart it for the second time, you will get an error when the oscam-reader module tries to initialize the USB device (it usually throws an error when trying to read the ATR of the card). This is because the kernel didn't release the USB device correctly when the oscam process went down. A workaround to this is to run the srp_tools command as root when oscam is no longer running:
root@vuduo ~ # srp_tools
<output follows>
The srp_tools command will reset the USB bus by reading the values associated to the smartgo reader, and this will allow you to startup oscam again and be able to hook up to the smartgo reader and initialize the card.
Give it a try and let me know if this fixes it for you. Remember however that the smartgo must be in Native mode (not dreambox) and that you must configure the reader under your oscam conf to utilize the mouse protocol.
Hope this helps..
Fabio
Re: Oscam & smargo #8
Posted 19 October 2010 - 13:54
I have a fix for this, and it works nicely on my VuDuo running OpenPLI Beta updated almost daily.
- First off, use the mouse protocol to read the smartgo. Smartreader doesn't work nicely with this version of kernel, as somebody has pointed out already
- When you stop oscam, and restart it for the second time, you will get an error when the oscam-reader module tries to initialize the USB device (it usually throws an error when trying to read the ATR of the card). This is because the kernel didn't release the USB device correctly when the oscam process went down. A workaround to this is to run the srp_tools command as root when oscam is no longer running:
root@vuduo ~ # srp_tools
<output follows>
The srp_tools command will reset the USB bus by reading the values associated to the smartgo reader, and this will allow you to startup oscam again and be able to hook up to the smartgo reader and initialize the card.
Give it a try and let me know if this fixes it for you. Remember however that the smartgo must be in Native mode (not dreambox) and that you must configure the reader under your oscam conf to utilize the mouse protocol.
Hope this helps..
Fabio
It seems to work fine in mouse mode with USB to Serial drivers added but where do you get the srp_tools from just out of interest cause they aint loaded on my box
DM800se Vu+Duo ET-9000 Vu+Ultimo
Re: Oscam & smargo #9
Posted 19 October 2010 - 14:20
It seems to work fine in mouse mode with USB to Serial drivers added but where do you get the srp_tools from just out of interest cause they aint loaded on my box
srp_tools is just a binary application compiled for mipsel that you can copy to /usr/bin and use it without having to install any other dependency. For your convenience I've attached it to this post. It is compressed so remember to decompress it first with gzip -d.
Cheers
Attached Files
Re: Oscam & smargo #10
Posted 19 October 2010 - 14:27
PLi« openpli vuduo
vuduo login: root
Password:
[mail]root@vuduo[/mail] ~ # srp_tools
smartreader+ version v1.5
MODE fixed
FREQ nan Mhz
KERNEL normal
T_MODE t = 0
EGT 0
[mail]root@vuduo[/mail] ~ #
DM800se Vu+Duo ET-9000 Vu+Ultimo
Re: Oscam & smargo #11
Re: Oscam & smargo #12
Posted 19 October 2010 - 14:41
Strange though, because the oscam build that I'm running (svn3145) needs first a bus reset through srp_tools, otherwise it won't read the card. Out of curiosity, are you running a new threaded oscam compile (>=1.00 trunk builds)?
Yup
OSCAM 1.00-svn build #3510
Have been running that for a week its stable
DM800se Vu+Duo ET-9000 Vu+Ultimo
Re: Oscam & smargo #13
Re: Oscam & smargo #14
Posted 19 October 2010 - 15:09
#!/bin/sh case "$1" in start) if [ $(lsmod|grep ftdi_sio|wc -l) -eq 0 ]; then /etc/init.d/usb2serial start else echo "usb2serial drivers already loaded" fi /usr/bin/oscam -b sleep 10 /usr/bin/CCcam /usr/bin/mgcamd ;; stop) kill `pidof mgcamd` kill `pidof CCcam` kill `pidof oscam` ;; restart|reload) $0 stop sleep 1 $0 start ;; version) echo "OSCam trunk | CCcam 2.1.4 | Mgcamd 1.35a" ;; info) echo "OSCam + CCcam + Mgcamd" ;; *) echo "Usage: $0 start|stop|restart" exit 1 ;; esac exit 0
Re: Oscam & smargo #15
Re: Oscam & smargo #16
Also tagged with one or more of these keywords: VU+DUO
Dateiformat .m4k nicht lesbar.Started by Gummivernichter, 28 Mar 2020 Vu+Duo, m4k, Dateiformat, OpenPLi |
|
|||
Webif benaderen via telefoonStarted by Tw-er, 15 Feb 2017 Vu+Duo |
|
|||
Autotimer goneStarted by jort38, 9 Feb 2016 VU+DUO |
|
|||
Stream vanaf http://www.watchdartsforfree.tk/ naar Vu+duoStarted by wieckbud1, 29 Nov 2015 VU+Duo |
|
|||
Toch geen clean installStarted by Alain_sat, 15 Jan 2015 VU+Duo |
|
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users