Jump to content
XPEnology Community

oscam für DSM 4.3


kleinSteffen

Recommended Posts

Hi

 

ich hab zuerst ein Paket mit den Treibern installiert .

Siehe: http://xpenology.com/forum/viewtopic.php?f=2&t=2994&start=50#p36335.

Damit wird der Smargo schon erkannt. Aber Oscam sieht den im Punkt Reader nicht.

Nun brauchst aber noch den Pfad zum Smargo für Oscam.

In einem anderen Forum hat jemand genau dafür ein Script geschrieben welches prima klappt .

 

 

 

/usr/sbin/lsusb

chmod +x /usr/sbin/lsusb

 

#!/bin/sh
bbprefix="/bin/busybox "
c=1
for d in $(find /sys/bus/usb/devices/usb?/ -name devnum); do
 d=${d%/*}
 bnum=$(cat ${d}/busnum)
 dnum=$(cat ${d}/devnum)
 idv=$(cat ${d}/idVendor)
 idp=$(cat ${d}/idProduct)
       if test $idp = 6001; then
               manf="Reader gefunden == "
       else
               if test -f "${d}/manufacturer"; then
                       manf="$(cat ${d}/manufacturer | sed 's/^[ \t]*//;s/[ \t]*$//') "
               fi
       fi
       if test $idp = 6001; then
               prod="$(cat ${d}/serial)"
       else
               if test -f "${d}/product"; then
                       prod=$(cat ${d}/product | ${bbprefix}sed 's/^[ \t]*//;s/[ \t]*$//')
               fi
       fi
 printf "Bus %03d Device %03d: ID ${idv}:${idp}  ${manf}${prod}\n" ${bnum} ${dnum}
done

 

wenn du lsusb ausführst , spuckt er dir den richtigen Pfad nun aus.

 

Gruss

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...