[Bug 21448] SecuROM 5.x: media validation fails/conflict with emulator software reported (RollerCoaster Tycoon 3, Deus Ex Invisible War)
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Feb 16 05:37:58 CST 2012
http://bugs.winehq.org/show_bug.cgi?id=21448
Ralf Habacker <ralf.habacker at freenet.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ralf.habacker at freenet.de
--- Comment #15 from Ralf Habacker <ralf.habacker at freenet.de> 2012-02-16 05:37:58 CST ---
(In reply to comment #11)
> (In reply to comment #5)
> > What remains open is: How to get this information under Linux?
>
> You can probably find the appropriate ioctl commands in "hdparm". If you run
> hdparm on a cdrom device (sudo hdparm -I /dev/cdrom) it returns all of the
> information you're talking about. I'm not sure if you can access that data
> without superuser privileges, but you probably want to try and see if you can
> get it to return satisfactory "generic" responses anyway.
lsscsi reports similar informations without requiring super user privileges
user at server:~/> lsscsi -l
[0:0:0:0] disk ATA ST9250410AS D005 /dev/sda
state=running queue_depth=31 scsi_level=6 type=0 device_blocked=0 timeout=30
[1:0:0:0] cd/dvd Optiarc DVD+-RW AD-7930H 100A /dev/sr0
state=running queue_depth=1 scsi_level=6 type=5 device_blocked=0 timeout=30
[6:0:0:0] disk WDC WD32 00BEKT-60PVMT0 /dev/sdb
state=running queue_depth=1 scsi_level=3 type=0 device_blocked=0 timeout=30
lsscsi fetches these informations from /sys/class/scsi_device
user at server:~/> cat /sys/class/scsi_device/1:0:0:0/device/vendor
Optiarc
user at server:~/> cat /sys/class/scsi_device/1:0:0:0/device/model
DVD+-RW AD-7930H
user at server:~/> cat /sys/class/scsi_device/1:0:0:0/device/rev
100A
user at server:~/> cat /sys/class/scsi_device/1:0:0:0/device/type
5
Unfortunally I did no found an entry for the serial number yet.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list