Well, using the Samsung "Optical SmartHub" was embarrassingly simple on
the linux server side. 
As usual with a CD player you need SCSI support in the kernel, but you
also have to add support for iSCSI over TCP. The module is named
iscsi_tcp.
You then need the Open-iSCSI initiator program to connect to targets.

Code:
--------------------
    root@godfrey:/home/godfrey# lsmod | grep iscsi
  iscsi_tcp               5108  2 
  libiscsi_tcp            7504  1 iscsi_tcp
  libiscsi               22424  2 libiscsi_tcp,iscsi_tcp
  scsi_transport_iscsi    33244  3 iscsi_tcp,libiscsi
  scsi_mod               58504  8 
sg,scsi_transport_iscsi,usb_storage,libata,sd_mod,sr_mod,iscsi_tcp,libiscsi
  root@godfrey:/home/godfrey# dpkg -s open-iscsi
  Package: open-iscsi
  Status: install ok installed
  Priority: optional
  Section: net
  Installed-Size: 1763
  Maintainer: Debian iSCSI Maintainers 
<pkg-iscsi-maintain...@lists.alioth.debian.org>
  Architecture: i386
  Version: 2.0.873+git0.3b4b4500-8
  ...
--------------------

Next, make sure to set "node.startup = automatic" in file
/etc/iscsi/iscsid.conf before discovering the Samsung thinggie.
(iscsiadm generates a config file for the target, if you don't have
startup=automatic you'll need to login manually before the device shows
on the server and begins usable from CD Player plugin.)

Code:
--------------------
    root@godfrey:/home/godfrey# iscsiadm -m discovery -t sendtargets -p 
172.17.255.80
  172.17.255.80:3260,1 iqn.2011-12.com.tsstk:storage.odd.sys
  root@godfrey:/home/godfrey# iscsiadm -m node 
--targetname=iqn.2011-12.com.tsstk:storage.odd.sys --login
  Logging in to [iface: default, target: iqn.2011-12.com.tsstk:storage.odd.sys, 
portal: 172.17.255.80,3260] (multiple)
  Login to [iface: default, target: iqn.2011-12.com.tsstk:storage.odd.sys, 
portal: 172.17.255.80,3260] successful.
  root@godfrey:/home/godfrey# iscsiadm -m session -P 3
  iSCSI Transport Class version 2.0-870
  version 2.0-873
  Target: iqn.2011-12.com.tsstk:storage.odd.sys (non-flash)
  ...
  Attached SCSI devices:
                ************************
                Host Number: 3  State: running
                scsi3 Channel 00 Id 0 Lun: 0
                scsi3 Channel 00 Id 0 Lun: 1
                        Attached scsi disk sr0          State: running
--------------------

Bam! /dev/sr0, there you go. CD Player plugin is very happy with it.

Now, perhaps a word on the Samsung SE-208BW. This thing is one fierce
bag of hurt. The device in itself is sturdy, it has ethernet, wifi, USB
storage and USB-OTG (for smart TVs it seems.) But it has been horribly
crippled by incompetent marketing and poor software/documentation
quality. 
Out of the box the thing intends to replace your router... But if you
care to tinker with it, you can make it work within your wired LAN
(doesn't work as a simple wifi client) and get access to  DVDs on a
tablet, and to CDs on your SBs. 
It now sells for 1/3 of its launch price, and I can see why :)



4 SB 3 • iPeng (iPhone + iPad) • SqueezeLite • Squeezebox Server 7.8.1
(Debian 7.5)  with plugins: CD Player, WaveInput by bpa • IRBlaster by
Gwendesign (Felix) • Server Power Control by Gordon Harris • Smart Mix
by Michael Herger • PowerSave by Jason Holtzapple • Song Info, Song
Lyrics by Erland Isaksson • WeatherTime by Martin Rehfeld • ShairTunes
by StuartUSA • Local Player, BBC iPlayer, SwitchPlayer by Triode • Auto
Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=47288

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to