FYI, I got it working with a patch from Matthew Dharm.

The reason for these errors and problems could be either the CD itself or
that the ATAPI device acts a little be strange etc.

And it's still open if it's really a 8230e drive or if it's a 8290 drive
as 'cdrecord -scanbus' and /etc/sysconfig/hwconf are saying.
Maybe someone can tell me what his 'cdrecord -scanbus' and
/etc/sysconfig/hwconf are saying about their 8230e drive.
I really would like to know that.


> I just noticed the following: When I try to mount a RedHat CD from
> /dev/scd1, it fails with the error message"
> Mar  4 03:35:27 alpha kernel: sr1: unsupported sector size 1310976.
> Mar  4 03:35:27 alpha kernel: isofs_read_super: bread failed, dev=0b:01, 
>iso_blknum=205524048, block=205524048
> Mar  4 03:35:27 alpha kernel: sr1: CDROM (ioctl) reports ILLEGAL REQUEST.

Here is the shuttle_usbat patch I got from Matthew Dharm from the
linux-usb-users mailing list in case someone got the same problems:


--- shuttle_usbat.old   Thu Feb 15 09:05:01 2001
+++ shuttle_usbat.c     Thu Feb 15 09:03:01 2001
@@ -96,7 +96,6 @@
                        request, requesttype, value, index,
                        xfer_data, xfer_len);

-
        // Check the return code for the command.

        if (result < 0) {
@@ -331,7 +330,6 @@
        int i;
        int result;
        unsigned char status;
-
        /* Synchronizing cache on a CDR could take a heck of a long time,
         * but probably not more than 10 minutes or so. On the other hand,
         * doing a full blank on a CDRW at speed 1 will take about 75
@@ -344,12 +342,14 @@

                if (result!=USB_STOR_TRANSPORT_GOOD)
                        return result;
-               if (status&0x01) // check condition
+               if (status&0x01) { // check condition
+                       result = usbat_read(us, USBAT_ATA, 0x10, &status)
;
                        return USB_STOR_TRANSPORT_FAILED;
+               }
                if (status&0x20) // device fault
                        return USB_STOR_TRANSPORT_FAILED;

-               if ((status&0x80)!=0x80) { // not busy
+               if ((status&0x80)==0x00) { // not busy
                        US_DEBUGP("Waited not busy for %d steps\n", i);
                        return USB_STOR_TRANSPORT_GOOD;
                }
@@ -566,6 +566,7 @@
                LSB_of(num_registers*2), MSB_of(num_registers*2)
        };

+
        for (i=0; i<num_registers; i++) {
                data[i<<1] = registers[i];
                data[1+(i<<1)] = data_out[i];
@@ -972,6 +973,9 @@
                data[i] = (i-7 >= srb->cmd_len) ? 0 : srb->cmnd[i-7];
        }

+       result = usbat_read(us, USBAT_ATA, 0x17, &status);
+       US_DEBUGP("Status = %02x\n", status) ;
+
        if (srb->cmnd[0] == TEST_UNIT_READY)
                transferred = 0;

@@ -1048,7 +1052,6 @@
                }
                else
                        len = status;
-

                result = usbat_read_block(us, USBAT_ATA, 0x10,
                        srb->request_buffer, len, srb->use_sg);






>
>
> I guess I have the same problem like this guy; Check out:
> http://lists.sourceforge.net/archives//linux-usb-users/2000-December/001428.html
> and especially this one:
> http://lists.sourceforge.net/archives//linux-usb-users/2000-December/001430.html
>
>
> Should I return this burner? And note how it says 8290 instead of 8230e;
> (on the box and on the drive it says 8230e). So is it really a 8230e??????
>
> alpha:root# cdrecord -scanbus
> Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
> Linux sg driver version: 3.1.17
> Using libscg version 'schily-0.1'
> [SNIP[
> scsibus1:
> cdrecord: Warning: controller returns zero sized CD capabilities page.
> cdrecord: Warning: controller returns wrong page 1A for CD capabilities
> page (2A).
>         1,0,0   100) 'HP      ' 'CD-Writer+ 8290 ' '1.3C' Removable CD-ROM
>         1,1,0   101) *
>         1,2,0   102) *
>         1,3,0   103) *
>         1,4,0   104) *
>         1,5,0   105) *
>         1,6,0   106) *
>         1,7,0   107) *
> alpha:root#
>
> Thanks
> Werner
>
>
>
> On Sat, 3 Mar 2001, Werner wrote:
>
> >
> > That's what I did:
> >
> > in arch/i386/defconfig below the line
> > CONFIG_USB_STORAGE_DEBUG
> > I added
> > # CONFIG_USB_STORAGE_HP8200e is not defined
> >
> > in drivers/usb/Config.in below the line
> > bool '    USB Mass Storage verbose debug' CONFIG_USB_STORAGE_DEBUG
> > I added
> > bool '    HP-8230e Support' CONFIG_USB_STORAGE_HP8200e
> >
> > Then make mrproper etc.
> >
> > Is there anything else I have to do?
> >
> >
> > On 3 Mar 2001, Trond Eivind Glomsrød wrote:
> >
> > > Werner <[EMAIL PROTECTED]> writes:
> > >
> > > > Did someone get the HP USB CD-Writer Plus 8230e working?
> > >
> > > Look in the source, and enable it there, It's not one of the standard
> > > config options, so you need to do more than "make menuconfig" or similar.
> > >
> > >
> >
> >
> >
> > _______________________________________________
> > Redhat-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> >
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to