I have a problem reading bar codes with chio on freebsd 4.9, and sony 1u (model lib-81) tape changers. The library sees the bar code, but chio doesn't report them for reasons I don't understand.
I did my testing with what should be an otherwise identical 2u (lib-162) changer. (Someone shipped us a 1u without the bar code read the first time, since we had the 2u we didn't expect any differences) This worked fine. I've tested 5.3, and that works fine as well. However upgrading is not an option at this point (it is planned, but not for a year or so). I can make changes to the 4.9 system, but I cannot do a full upgrade to 4.11. -bash-2.05b# camcontrol cmd 0:0 -c "B8 12 00 00 00 01 00 00 00 76 00 00" -i 0x76 "i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1i1 i1 i1 c36" 0 1 0 1 0 0 0 60 2 128 0 52 0 0 0 52 0 1 9 0 0 0 0 0 0 128 0 1 A05Y0M ### A05Y0M is known to be the bar code on the tape, so the unit itself is reading the bar code, somehow chio is not getting it though. -bash-2.05b# chio status -v picker 0: voltag: <:0> slot 0: <ACCESS,FULL> voltag: <:0> slot 1: <ACCESS> voltag: <:0> slot 2: <ACCESS> voltag: <:0> slot 3: <ACCESS> voltag: <:0> slot 4: <ACCESS> voltag: <:0> slot 5: <ACCESS> voltag: <:0> slot 6: <ACCESS> voltag: <:0> slot 7: <ACCESS> voltag: <:0> drive 0: <ACCESS> voltag: <:0> -bash-2.05b# ## install 2u -bash-2.05b# camcontrol rescan all Re-scan of bus 0 was successful -bash-2.05b# camcontrol cmd 0:0 -c "B8 12 00 00 00 01 00 00 00 76 00 00" -i 0x76 "i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1i1 i1 i1 c36" 0 1 0 1 0 0 0 60 2 128 0 52 0 0 0 52 0 1 9 0 0 0 0 0 0 128 0 1 A05Y0Q -bash-2.05b# chio status -v picker 0: voltag: <:0> slot 0: <ACCESS,FULL> voltag: <A05Y0Q:0> slot 1: <ACCESS> voltag: <:0> slot 2: <ACCESS> voltag: <:0> slot 3: <ACCESS> voltag: <:0> slot 4: <ACCESS> voltag: <:0> slot 5: <ACCESS> voltag: <:0> slot 6: <ACCESS> voltag: <:0> slot 7: <ACCESS> voltag: <:0> slot 8: <ACCESS> voltag: <:0> slot 9: <ACCESS> voltag: <:0> slot 10: <ACCESS> voltag: <:0> slot 11: <ACCESS> voltag: <:0> slot 12: <ACCESS> voltag: <:0> slot 13: <ACCESS> voltag: <:0> slot 14: <ACCESS> voltag: <:0> slot 15: <ACCESS> voltag: <:0> drive 0: <ACCESS> voltag: <:0> -bash-2.05b# Does anyone know what might be wrong? What I could change to make this work? I'm looking for an easy fix, though if I must I will write a utility to do the parts of chio we need. Should I send this to freebsd-scsi? _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"