Hi,

I have some problems with the new driver of hp8200. First it seems that it
is recognized as a disk and not as a cd writer:

Jul  5 21:47:06 uwlx003 kernel:   Vendor: HP        Model: CD-Writer+
8200e  Rev: 0001
Jul  5 21:47:06 uwlx003 kernel:   Type:   Direct-Access               
      ANSI SCSI revision: 00
Jul  5 21:47:06 uwlx003 kernel: usb-storage: device scan complete
Jul  5 21:47:06 uwlx003 kernel: Attached scsi removable disk sda at
scsi1, channel 0, id 0, lun 0
Jul  5 21:47:06 uwlx003 scsi.agent[2491]:      sd_mod: loaded
sucessfully (for disk)

After looking at the debug messages, I was able to hack around this
with this brute force patch:

--- shuttle_usbat.c.orig        2005-07-11 09:01:52.000000000 +0200
+++ shuttle_usbat.c     2005-07-11 09:01:57.000000000 +0200
@@ -859,7 +859,7 @@

        US_DEBUGP("usbat_identify_device: Cylinder low is %02X\n", status);

-       if (status == 0x14) {
+       if (status == 0x14 || status == 0x80) {
                // Device is HP 8200
                US_DEBUGP("usbat_identify_device: Detected HP8200 CDRW\n");
                info->devicetype = USBAT_DEV_HP8200;

After this I was able to mount a CDROM. However when I tried to blank a
cdrw using

cdrecord blank=all dev=0,0,0

I got an oops. Any idea?

Thanks, Laszlo

Jul 10 11:51:53 uwlx003 kernel: Unable to handle kernel paging request
at virtual address 40100000
Jul 10 11:51:53 uwlx003 kernel:  printing eip:
Jul 10 11:51:53 uwlx003 kernel: e095d185
Jul 10 11:51:53 uwlx003 kernel: *pde = 00000000
Jul 10 11:51:53 uwlx003 kernel: Oops: 0000 [#1]
Jul 10 11:51:53 uwlx003 kernel: PREEMPT
Jul 10 11:51:53 uwlx003 kernel: Modules linked in: sg sr_mod cdrom
usb_storage scsi_mod zlib_inflate ipv6 thermal fan button processor ac
battery tun crc32 tg3 yenta_socket rsrc_nonstatic pcmcia_core
snd_intel8x0m 8250_pci 8250 serial_core snd_intel8x0 snd_ac97_codec
snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc ehci_hcd usbhid
uhci_hcd usbcore speedstep_centrino freq_table cpufreq_ondemand
snd_rtctimer snd_timer snd soundcore psmouse rtc evdev
Jul 10 11:51:53 uwlx003 kernel: CPU:    0
Jul 10 11:51:53 uwlx003 kernel: EIP:   
0060:[pg0+543023493/1070068736]    Not tainted VLI
Jul 10 11:51:53 uwlx003 kernel: EFLAGS: 00010246   (2.6.12.2-skas3-v8)
Jul 10 11:51:53 uwlx003 kernel: EIP is at
usbat_hp8200e_transport+0x215/0x3b0 [usb_storage]
Jul 10 11:51:53 uwlx003 kernel: eax: 40100000   ebx: 00000000   ecx:
de68deb0   edx: de68deb0
Jul 10 11:51:53 uwlx003 kernel: esi: de729040   edi: e096105d   ebp:
00000000   esp: de68de7c
Jul 10 11:51:53 uwlx003 kernel: ds: 007b   es: 007b   ss: 0068
Jul 10 11:51:53 uwlx003 kernel: Process usb-storage (pid: 3636,
threadinfo=de68c000 task=df828510)
Jul 10 11:51:53 uwlx003 kernel: Stack: df37e180 0000000a de68de94
de68dea4 00000086 00000001 00000086 dfc93f54
Jul 10 11:51:53 uwlx003 kernel:        00000000 00000010 c0361c41
00000010 df37e180 c01bd200 00000000 00000000
Jul 10 11:51:53 uwlx003 kernel:        00000010 00000002 001502c1
001502c1 c011a140 00000002 001502c1 001502c1
Jul 10 11:51:53 uwlx003 kernel: Call Trace:
Jul 10 11:51:53 uwlx003 kernel:  [vsnprintf+560/1232] vsnprintf+0x230/0x4d0
Jul 10 11:51:53 uwlx003 kernel:  [call_console_drivers+128/272]
call_console_drivers+0x80/0x110
Jul 10 11:51:53 uwlx003 kernel:  [pg0+543007942/1070068736]
usb_stor_invoke_transport+0x16/0x370 [usb_storage]
Jul 10 11:51:53 uwlx003 kernel:  [printk+23/32] printk+0x17/0x20
Jul 10 11:51:53 uwlx003 kernel:  [pg0+543015679/1070068736]
usb_stor_show_command+0x8f/0x400 [usb_storage]
Jul 10 11:51:53 uwlx003 kernel:  [pg0+543012102/1070068736]
usb_stor_control_thread+0x116/0x290 [usb_storage]
Jul 10 11:51:53 uwlx003 kernel:  [ret_from_fork+6/20] ret_from_fork+0x6/0x14
Jul 10 11:51:53 uwlx003 kernel:  [pg0+543011824/1070068736]
usb_stor_control_thread+0x0/0x290 [usb_storage]
Jul 10 11:51:53 uwlx003 kernel:  [pg0+543011824/1070068736]
usb_stor_control_thread+0x0/0x290 [usb_storage]
Jul 10 11:51:53 uwlx003 kernel:  [kernel_thread_helper+5/24]
kernel_thread_helper+0x5/0x18
Jul 10 11:51:53 uwlx003 kernel: Code: 00 31 db 3b 5c 24 2c 73 57 b9 ff
ff ff ff 8d 7c 24 34 31 c0 f2 ae f7 d1 49 8b 86 80 00 00 00 8d 54 24
34 bf 5d 10 96 e0 8d 0c 11 <0f> b6 04 03 89 7c 24 04 89 0c 24 89 44 24
08 e8 c7 03 86 df 83
Jul 10 11:52:33 uwlx003 kernel:  <7>usb-storage: command_abort called


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to