Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

Sitronix device but script says "Refuse to open device" (1 reply)

$
0
0
Can someone please help me figure out what I need to do?

I have the device connected via usb and it is in "Updating" mode.

dmesg says:
[  766.337415] scsi 9:0:0:0: Direct-Access     SITRONIX MULTIMEDIA       0.09 PQ: 0 ANSI: 0 CCS
[  766.338190] sd 9:0:0:0: Attached scsi generic sg1 type 0
[  766.338690] sd 9:0:0:0: [sdb] 4096 512-byte logical blocks: (2.09 MB/2.00 MiB)
[  766.338951] sd 9:0:0:0: [sdb] Write Protect is off
[  766.338958] sd 9:0:0:0: [sdb] Mode Sense: 0b 00 00 08
[  766.339190] sd 9:0:0:0: [sdb] No Caching mode page found
[  766.339196] sd 9:0:0:0: [sdb] Assuming drive cache: write through
[  766.343859] sd 9:0:0:0: [sdb] No Caching mode page found
[  766.343871] sd 9:0:0:0: [sdb] Assuming drive cache: write through
[  766.365006]  sdb: unknown partition table
[  766.366642] sd 9:0:0:0: [sdb] No Caching mode page found
[  766.366649] sd 9:0:0:0: [sdb] Assuming drive cache: write through
[  766.366655] sd 9:0:0:0: [sdb] Attached SCSI removable disk

Running detect:
./detect.py /dev/sg1
Opening generic SCSI device '/dev/sg1'
Not a photo frame. Refuse to open device.
Traceback (most recent call last):
  File "./detect.py", line 98, in <module>
    d = dpf.open(sys.argv[1])
SystemError: Failed to open port:
File open error

lsusb also lists it:
Bus 003 Device 006: ID 1403:0001 Sitronix Digital Photo Frame

Everything else gives the same error. It always says "Not a photo frame" and "Failed to open port"

I feel like I am missing something obvious. Help please?

Viewing all articles
Browse latest Browse all 3247

Trending Articles