8940a5
diff -up wrk/libusal/scsi-linux-sg.c.wrk wrk/libusal/scsi-linux-sg.c
8940a5
--- wrk/libusal/scsi-linux-sg.c.wrk	2015-05-31 22:21:03.376694659 +0200
8940a5
+++ wrk/libusal/scsi-linux-sg.c	2015-05-31 22:22:47.183667927 +0200
8940a5
@@ -509,7 +509,8 @@ usalo_open(SCSI *usalp, char *device)
8940a5
 		/* scan and maybe keep one open, sg_setup decides */
8940a5
 #define HDX 0
8940a5
 #define SCD 1
8940a5
-#define SG 2
8940a5
+#define SCD2 2
8940a5
+#define SG 3
8940a5
 		int h;
8940a5
 /*
8940a5
 retry_scan_open:
8940a5
@@ -533,6 +534,15 @@ retry_scan_open:
8940a5
 						first=0;
8940a5
 						last=255;
8940a5
 						break;
8940a5
+					}
8940a5
+				case(SCD2):
8940a5
+					{
8940a5
+						if(!check_linux_26())
8940a5
+							continue;
8940a5
+						pattern="/dev/sr%d";
8940a5
+						first=0;
8940a5
+						last=255;
8940a5
+						break;
8940a5
 					}
8940a5
 				case(SG):
8940a5
 					{