On Saturday 06 January 2007 23:15, Alan Stern wrote:
> On Sat, 6 Jan 2007, Vaclav Barta wrote:
> > Looks like the command succeeds when it's repeated persistently enough...
> Or maybe it wants to see some of those commands for /dev/sg1 before it
> will let /dev/sg0 work.  Try doing something just as simple as this:
[EMAIL PROTECTED] plscsi # ./plscsi -x '0 0 0 0 0 0' /dev/sg0
// x 6 28 sense
// -x0002 = -2 = plscsi.main exit int
[EMAIL PROTECTED] plscsi # ./plscsi -x '0 0 0 0 0 0' /dev/sg0
[EMAIL PROTECTED] plscsi # ./plscsi -x '0 0 0 0 0 0' /dev/sg1
// x 6 28 sense
// -x0002 = -2 = plscsi.main exit int
[EMAIL PROTECTED] plscsi # ./plscsi -x '0 0 0 0 0 0' /dev/sg1
[EMAIL PROTECTED] plscsi # ./plscsi -x '28 0 0 0 0 0 0 0 1 0' -i 512 /dev/sg0

Yes, you're right again...

BTW
[EMAIL PROTECTED] plscsi # ./plscsi -v -x '28 0 0 0 0 0 0 0 1 0' -i 512 /dev/sg0
x 00000000 28 00 00:00:00:00 00 00:01 00 .. .. .. .. .. .. "(@@@@@@@A@"
x 00000000 FA:BE:00:7C BF:00:7A:B9 00:01:FC:0E 1F:0E:07:F3 "z>@|[EMAIL 
PROTECTED]@A|N_NGs"
x 00000010 A5:EA:16:7A 00:00:BB:BE 7B:33:C9:80 3F:80:75:06 "%jVz@@;>[EMAIL 
PROTECTED]@uF"
x 00000020 FE:C5:8B:F3 EB:07:80:3F 00:75:02:FE C1:83:C3:10 "[EMAIL 
PROTECTED]@uB~ACCP"
x 00000030 81:FB:FE:7B 72:E5:83:F9 04:74:0B:81 F9:03:01:74 "A{~{reCyDtKAyCAt"
x 00000040 0A:BB:A5:7A EB:2C:BB:87 7A:EB:27:8B 4C:02:8B:14 "J;%zk,;Gzk'KLBKT"
x 00000050 B8:01:02:BB 00:7C:CD:13 73:05:BB:BC 7A:EB:13:2E "8AB;@|MSsE;<zkS."
x 00000060 A1:FE:7D:3D 55:AA:74:05 BB:BC:7A:EB 05:EA:00:7C "!~}=U*tE;<zkEj@|"
x 00000070 00:00:2E:8A 07:3C:00:74 0C:53:BB:07 00:B4:0E:CD "@@.JG<@tLS;[EMAIL 
PROTECTED]"
x 00000080 10:5B:43:EB ED:EB:FE:4E 6F:20:62:6F 6F:74:61:62 "P[Ckmk~No bootab"
x 00000090 6C:65:20:70 61:72:74:69 74:6F:6E:20 69:6E:20:74 "le partiton in t"
x 000000A0 61:62:6C:65 00:49:6E:76 61:6C:69:64 20:50:61:72 "[EMAIL PROTECTED] 
Par"
x 000000B0 74:69:74:6F 6E:20:74:61 62:6C:65:00 49:6E:76:61 "titon [EMAIL 
PROTECTED]"
x 000000C0 6C:69:64:20 6F:72:20:64 61:6D:61:67 65:64:20:42 "lid or damaged B"
x 000000D0 6F:6F:74:61 62:6C:65:20 70:61:72:74 69:74:69:6F "ootable partitio"
x 000000E0 6E:00:00:00 00:00:00:00 00:00:00:00 00:00:00:00 "n@@@@@@@@@@@@@@@"
x 000000F0 00:00:00:00 00:00:00:00 00:00:00:00 00:00:00:00 "@@@@@@@@@@@@@@@@"
...
x 000001A0 00:00:00:00 00:00:00:00 00:00:00:00 00:00:00:00 "@@@@@@@@@@@@@@@@"
x 000001B0 00:00:00:00 00:00:00:00 00:00:00:00 00:00:80:01 "@@@@@@@@@@@@@@@A"
x 000001C0 01:00:01:0F 20:03:20:00 00:00:E0:07 00:00:00:00 "[EMAIL PROTECTED] C 
@@@`G@@@@"
x 000001D0 00:00:00:00 00:00:00:00 00:00:00:00 00:00:00:00 "@@@@@@@@@@@@@@@@"
x 000001E0 00:00:00:00 00:00:00:00 00:00:00:00 00:00:00:00 "@@@@@@@@@@@@@@@@"
x 000001F0 00:00:00:00 00:00:00:00 00:00:00:00 00:00:55:AA "@@@@@@@@@@@@@@U*"
// 0 = plscsi.main exit int

        Bye
                Vasek

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to