thanks to Antonio who tested several of my patches, we found the root of
hdparm opens the device with O_RDONLY
smartctl opens the device with O_RDWR
Interestingly the latter wakes up the drive.
Does Linux probably send some extra command when an raw device opened
for writing is closed ?
Is the R/W mode necessary for SCSI pass through ?