Re: [9fans] usb cdrom

2013-02-12 Thread erik quanstrom
well that was simple, cdroms use 12-byte commands. i thought somebody had used a usb cdrom before. :-) - erik ; diffy -c disk.c /n/dump/2013/0212/sys/src/cmd/usb/disk/disk.c:533,539 - disk.c:533,539 } switch(lun->phase){ case Pcmd: -

Re: [9fans] APE libsec

2013-02-12 Thread michaelian ennis
I notice that there are several ANSI C implementations of crypto routines contained in pycrypto if that is of any use. https://github.com/dlitz/pycrypto/tree/master/src Ian

[9fans] usb cdrom

2013-02-12 Thread erik quanstrom
the intersting bit is right at the end where two request sense commands are sent back-to-back and the second one returns all good (since request sense clears sense information). this same disk works fine on a sata cdrom. so either - this cdrom does something cdfs can't handle, or - usb/disk is do