[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: HP USB Mass Storage device issue



As for making a file system on the device I'm not surprised, as I can't event create partitions on it with fdisk. I've done lots of searching on google to no avail. I'm not sure that these memsticks are very popular. I'm downloading the kernel source to view the usb_storage module documentation. What also troubles me though, is I have a usb digital camera that also has connection issues. On the flip side, my usb mouse, usb hub works.

Gnu-Raiz wrote:
On 14:23, Sun 27 Feb 05, Anthony Tippett wrote:

atippett@act:~$ lsusb
Bus 003 Device 005: ID 04b8:0005 Seiko Epson Corp. Stylus Printer
Bus 003 Device 003: ID 0409:0058 NEC Corp. HighSpeed Hub
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 003: ID 046d:c00e Logitech, Inc. Optical Mouse
Bus 002 Device 002: ID 0a48:3260 I/O Interconnect
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

I used -v for verbose and noted some weird errors throughout "lsusb -v":
can't get hub descriptor: Operation not permitted
can't get device qualifier: Operation not permitted
can't get debug descriptor: Operation not permitted


atippett@act:~$ lsusb -v

Bus 003 Device 005: ID 04b8:0005 Seiko Epson Corp. Stylus Printer
Device Descriptor:
bLength                18
bDescriptorType         1
bcdUSB               1.00
bDeviceClass            0 (Defined at Interface level)
bDeviceSubClass         0
bDeviceProtocol         0
bMaxPacketSize0         8
idVendor           0x04b8 Seiko Epson Corp.
idProduct          0x0005 Stylus Printer
bcdDevice            1.00
iManufacturer           1
iProduct                2
iSerial                 3
bNumConfigurations      1
Configuration Descriptor:
  bLength                 9
  bDescriptorType         2
  wTotalLength           32
  bNumInterfaces          1
  bConfigurationValue     1
  iConfiguration          0
  bmAttributes         0xc0
    Self Powered
  MaxPower                2mA
  Interface Descriptor:
    bLength                 9
    bDescriptorType         4
    bInterfaceNumber        0
    bAlternateSetting       0
    bNumEndpoints           2
    bInterfaceClass         7 Printer
    bInterfaceSubClass      1 Printer
    bInterfaceProtocol      2 Bidirectional
    iInterface              0
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x01  EP 1 OUT
      bmAttributes            2
        Transfer Type            Bulk
        Synch Type               None
        Usage Type               Data
      wMaxPacketSize     0x0040  1x 64 bytes
      bInterval               0
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x82  EP 2 IN
      bmAttributes            2
        Transfer Type            Bulk
        Synch Type               None
        Usage Type               Data
      wMaxPacketSize     0x0040  1x 64 bytes
      bInterval               0

Bus 003 Device 003: ID 0409:0058 NEC Corp. HighSpeed Hub
Device Descriptor:
bLength                18
bDescriptorType         1
bcdUSB               2.00
bDeviceClass            9 Hub
bDeviceSubClass         0 Unused
bDeviceProtocol         1 Single TT
bMaxPacketSize0        64
idVendor           0x0409 NEC Corp.
idProduct          0x0058 HighSpeed Hub
bcdDevice            1.00
iManufacturer           1
iProduct                2
iSerial                 0
bNumConfigurations      1
Configuration Descriptor:
  bLength                 9
  bDescriptorType         2
  wTotalLength           25
  bNumInterfaces          1
  bConfigurationValue     1
  iConfiguration          0
  bmAttributes         0xe0
    Self Powered
    Remote Wakeup
  MaxPower              100mA
  Interface Descriptor:
    bLength                 9
    bDescriptorType         4
    bInterfaceNumber        0
    bAlternateSetting       0
    bNumEndpoints           1
    bInterfaceClass         9 Hub
    bInterfaceSubClass      0 Unused
    bInterfaceProtocol      0
    iInterface              0
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x81  EP 1 IN
      bmAttributes            3
        Transfer Type            Interrupt
        Synch Type               None
        Usage Type               Data
      wMaxPacketSize     0x0001  1x 1 bytes
      bInterval              12
can't get hub descriptor: Operation not permitted
can't get device qualifier: Operation not permitted
can't get debug descriptor: Operation not permitted

Bus 003 Device 001: ID 0000:0000
Device Descriptor:
bLength                18
bDescriptorType         1
bcdUSB               2.00
bDeviceClass            9 Hub
bDeviceSubClass         0 Unused
bDeviceProtocol         1 Single TT
bMaxPacketSize0         8
idVendor           0x0000
idProduct          0x0000
bcdDevice            2.06
iManufacturer           3
iProduct                2
iSerial                 1
bNumConfigurations      1
Configuration Descriptor:
  bLength                 9
  bDescriptorType         2
  wTotalLength           25
  bNumInterfaces          1
  bConfigurationValue     1
  iConfiguration          0
  bmAttributes         0xe0
    Self Powered
    Remote Wakeup
  MaxPower                0mA
  Interface Descriptor:
    bLength                 9
    bDescriptorType         4
    bInterfaceNumber        0
    bAlternateSetting       0
    bNumEndpoints           1
    bInterfaceClass         9 Hub
    bInterfaceSubClass      0 Unused
    bInterfaceProtocol      0
    iInterface              0
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x81  EP 1 IN
      bmAttributes            3
        Transfer Type            Interrupt
        Synch Type               None
        Usage Type               Data
      wMaxPacketSize     0x0002  1x 2 bytes
      bInterval              12
can't get hub descriptor: Operation not permitted
can't get device qualifier: Operation not permitted
can't get debug descriptor: Operation not permitted

Bus 002 Device 003: ID 046d:c00e Logitech, Inc. Optical Mouse
Device Descriptor:
bLength                18
bDescriptorType         1
bcdUSB               2.00
bDeviceClass            0 (Defined at Interface level)
bDeviceSubClass         0
bDeviceProtocol         0
bMaxPacketSize0         8
idVendor           0x046d Logitech, Inc.
idProduct          0xc00e Optical Mouse
bcdDevice           11.00
iManufacturer           1
iProduct                2
iSerial                 0
bNumConfigurations      1
Configuration Descriptor:
  bLength                 9
  bDescriptorType         2
  wTotalLength           34
  bNumInterfaces          1
  bConfigurationValue     1
  iConfiguration          0
  bmAttributes         0xa0
    Remote Wakeup
  MaxPower               98mA
  Interface Descriptor:
    bLength                 9
    bDescriptorType         4
    bInterfaceNumber        0
    bAlternateSetting       0
    bNumEndpoints           1
    bInterfaceClass         3 Human Interface Devices
    bInterfaceSubClass      1 Boot Interface Subclass
    bInterfaceProtocol      2 Mouse
    iInterface              0
      HID Device Descriptor:
        bLength                 9
        bDescriptorType        33
        bcdHID               1.10
        bCountryCode            0 Not supported
        bNumDescriptors         1
        bDescriptorType        34 Report
        wDescriptorLength      52
       Report Descriptors:
         ** UNAVAILABLE **
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x81  EP 1 IN
      bmAttributes            3
        Transfer Type            Interrupt
        Synch Type               None
        Usage Type               Data
      wMaxPacketSize     0x0004  1x 4 bytes
      bInterval              10
can't get device qualifier: Operation not permitted
can't get debug descriptor: Operation not permitted

Bus 002 Device 002: ID 0a48:3260 I/O Interconnect
Device Descriptor:
bLength                18
bDescriptorType         1
bcdUSB               1.10
bDeviceClass            0 (Defined at Interface level)
bDeviceSubClass         0
bDeviceProtocol         0
bMaxPacketSize0         8
idVendor           0x0a48 I/O Interconnect
idProduct          0x3260
bcdDevice            1.00
iManufacturer           1
iProduct                2
iSerial                 0
bNumConfigurations      1
Configuration Descriptor:
  bLength                 9
  bDescriptorType         2
  wTotalLength           32
  bNumInterfaces          1
  bConfigurationValue     1
  iConfiguration          0
  bmAttributes         0x80
  MaxPower               50mA
  Interface Descriptor:
    bLength                 9
    bDescriptorType         4
    bInterfaceNumber        0
    bAlternateSetting       0
    bNumEndpoints           2
    bInterfaceClass         8 Mass Storage
    bInterfaceSubClass      6 SCSI
    bInterfaceProtocol     80 Bulk (Zip)
    iInterface              0
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x01  EP 1 OUT
      bmAttributes            2
        Transfer Type            Bulk
        Synch Type               None
        Usage Type               Data
      wMaxPacketSize     0x0040  1x 64 bytes
      bInterval               0
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x82  EP 2 IN
      bmAttributes            2
        Transfer Type            Bulk
        Synch Type               None
        Usage Type               Data
      wMaxPacketSize     0x0040  1x 64 bytes
      bInterval               0

Bus 002 Device 001: ID 0000:0000
Device Descriptor:
bLength                18
bDescriptorType         1
bcdUSB               1.10
bDeviceClass            9 Hub
bDeviceSubClass         0 Unused
bDeviceProtocol         0
bMaxPacketSize0         8
idVendor           0x0000
idProduct          0x0000
bcdDevice            2.06
iManufacturer           3
iProduct                2
iSerial                 1
bNumConfigurations      1
Configuration Descriptor:
  bLength                 9
  bDescriptorType         2
  wTotalLength           25
  bNumInterfaces          1
  bConfigurationValue     1
  iConfiguration          0
  bmAttributes         0xe0
    Self Powered
    Remote Wakeup
  MaxPower                0mA
  Interface Descriptor:
    bLength                 9
    bDescriptorType         4
    bInterfaceNumber        0
    bAlternateSetting       0
    bNumEndpoints           1
    bInterfaceClass         9 Hub
    bInterfaceSubClass      0 Unused
    bInterfaceProtocol      0
    iInterface              0
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x81  EP 1 IN
      bmAttributes            3
        Transfer Type            Interrupt
        Synch Type               None
        Usage Type               Data
      wMaxPacketSize     0x0002  1x 2 bytes
      bInterval             255
can't get hub descriptor: Operation not permitted

Bus 001 Device 001: ID 0000:0000
Device Descriptor:
bLength                18
bDescriptorType         1
bcdUSB               1.10
bDeviceClass            9 Hub
bDeviceSubClass         0 Unused
bDeviceProtocol         0
bMaxPacketSize0         8
idVendor           0x0000
idProduct          0x0000
bcdDevice            2.06
iManufacturer           3
iProduct                2
iSerial                 1
bNumConfigurations      1
Configuration Descriptor:
  bLength                 9
  bDescriptorType         2
  wTotalLength           25
  bNumInterfaces          1
  bConfigurationValue     1
  iConfiguration          0
  bmAttributes         0xe0
    Self Powered
    Remote Wakeup
  MaxPower                0mA
  Interface Descriptor:
    bLength                 9
    bDescriptorType         4
    bInterfaceNumber        0
    bAlternateSetting       0
    bNumEndpoints           1
    bInterfaceClass         9 Hub
    bInterfaceSubClass      0 Unused
    bInterfaceProtocol      0
    iInterface              0
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x81  EP 1 IN
      bmAttributes            3
        Transfer Type            Interrupt
        Synch Type               None
        Usage Type               Data
      wMaxPacketSize     0x0002  1x 2 bytes
      bInterval             255
can't get hub descriptor: Operation not permitted


lsmod produces the following:
atippett@act:~$ lsmod
Module                  Size  Used by
nfsd                  213088  9
exportfs                6336  1 nfsd
lockd                  66600  2 nfsd
sunrpc                152676  12 nfsd,lockd
lp                     11368  0
autofs4                19716  0
ipv6                  262912  14
deflate                 3712  0
zlib_deflate           22040  1 deflate
twofish                37376  0
serpent                13440  0
aes_i586               38708  0
blowfish                7936  0
des                    11520  0
sha256                  9216  0
sha1                    8448  0
crypto_null             2240  0
xfrm_user              16644  0
xfrm4_tunnel            3972  0
ipcomp                  8584  0
esp4                    8704  0
ah4                     7104  0
af_key                 34128  0
ide_cd                 42564  0
cdrom                  41116  1 ide_cd
parport_pc             37828  1
parport                37576  2 lp,parport_pc
floppy                 60048  0
pcspkr                  3560  0
rtc                    12664  0
snd_bt87x              13444  2
emu10k1_gp              3648  0
gameport                4544  1 emu10k1_gp
snd_emu10k1           100356  2
snd_rawmidi            25120  1 snd_emu10k1
snd_seq_device          8716  2 snd_emu10k1,snd_rawmidi
snd_util_mem            4480  1 snd_emu10k1
snd_hwdep               9540  1 snd_emu10k1
shpchp                100644  0
pci_hotplug            34160  1 shpchp
snd_intel8x0           32928  2
snd_ac97_codec         75936  2 snd_emu10k1,snd_intel8x0
snd_pcm_oss            53668  0
snd_mixer_oss          20096  4 snd_pcm_oss
snd_pcm 97224 5 snd_bt87x,snd_emu10k1,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              25668  1 snd_pcm
snd 57188 17 snd_bt87x,snd_emu10k1,snd_rawmidi,snd_seq_device,snd_hwdep,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore              10272  4 snd
snd_page_alloc          9924  4 snd_bt87x,snd_emu10k1,snd_intel8x0,snd_pcm
i2c_nforce2             6464  0
nvidia_agp              7708  1
tsdev                   7616  0
mousedev               11480  1
joydev                  9856  0
evdev                   9472  0
usblp                  12928  0
usbhid                 32576  0
usb_storage            69824  0
ehci_hcd               33028  0
eth1394                21320  0
ohci_hcd               21832  0
usbcore               121656  6 usblp,usbhid,usb_storage,ehci_hcd,ohci_hcd
forcedeth              17536  0
ohci1394               35268  0
ieee1394              111288  2 eth1394,ohci1394
agpgart                34408  1 nvidia_agp
xfs                   618584  1
capability              4680  0
commoncap               7808  1 capability
tvaudio                22112  0
tuner                  22052  0
msp3400                27112  0
bttv                  154128  0
video_buf              22148  1 bttv
firmware_class         10304  1 bttv
v4l2_common             5760  1 bttv
btcx_risc               4808  1 bttv
videodev                9920  1 bttv
i2c_algo_bit            9928  1 bttv
i2c_core 22736 6 i2c_nforce2,tvaudio,tuner,msp3400,bttv,i2c_algo_bit
ide_generic             1216  0 [permanent]
via82cxxx              13468  0 [permanent]
trm290                  4228  0 [permanent]
triflex                 3712  0 [permanent]
slc90e66                5824  0 [permanent]
sis5513                16136  0 [permanent]
siimage                12480  0 [permanent]
serverworks             9096  0 [permanent]
sc1200                  7296  0 [permanent]
rz1000                  2496  0 [permanent]
piix                   10052  0 [permanent]
pdc202xx_old           11264  0 [permanent]
opti621                 4548  0 [permanent]
ns87415                 4232  0 [permanent]
hpt366                 20032  0 [permanent]
ide_disk               20864  3 hpt366
hpt34x                  5184  0 [permanent]
generic                 3968  0 [permanent]
cy82c693                4676  0 [permanent]
cs5530                  5376  0 [permanent]
cs5520                  4672  0 [permanent]
cmd64x                 11996  0 [permanent]
atiixp                  6032  0 [permanent]
amd74xx                13660  0 [permanent]
alim15x3               12108  0 [permanent]
aec62xx                 7296  0 [permanent]
pdc202xx_new            9088  0 [permanent]
ide_core 132236 29 ide_cd,usb_storage,ide_generic,via82cxxx,trm290,triflex,slc90e66,sis5513,siimage,serverworks,sc1200,rz1000,piix,pdc202xx_old,opti621,ns87415,hpt366,ide_disk,hpt34x,generic,cy82c693,cs5530,cs5520,cmd64x,atiixp,amd74xx,alim15x3,aec62xx,pdc202xx_new
unix                   28724  624
fbcon                  38336  0
font                    8256  1 fbcon
bitblit                 5568  1 fbcon
vesafb                  7768  0
cfbcopyarea             3904  1 vesafb
cfbimgblt               2944  1 vesafb
cfbfillrect             3520  1 vesafb
ext3                  139528  1
jbd                    61336  1 ext3
mbcache                 8516  1 ext3
sata_sil                8132  1
libata                 46596  1 sata_sil
sd_mod                 18000  2
scsi_mod              129600  3 usb_storage,libata,sd_mod


act:/home/atippett# mkfs -t ext2 /dev/sdb
mke2fs 1.36 (05-Feb-2005)
/dev/sdb is entire device, not just one partition!
Proceed anyway? (y,n) y
mkfs.ext2: No medium found while trying to determine filesystem size



just looking at your lsmod everything looks good you have
the proper modules loaded.

From my understanding with lsusb -v it depends upon that
paticular device, as it appears that usb device does not
support the paticular feature. What I was mostly looking for
was the fact that your devices were recognized, it looks
like it sees them all.

The mkfs error is somewhat distrubing, most of the time using
mkfs with the proper device puts a filesystem on that
device. So just by its failure suggests that the kernel,
hotplug or something else does not pass the proper actions
for a good result, or has troubles
with that device.  This can also be seen by the fact that
usb storage module is not being used, you would think that
it would be in use with a memory stick, or drive. Did google
come up with anything of value for Linux in general. I would
also search HP's site with google search site url. Like
this, some search term site:www.hp.com I know this will not
be Debian specific, but it might give you something Linux
specific. If you can find a Linux problem it often leads to
the proper solution, could be as simple as using a newer
version of hotplug, or something like that.

Gnu-Raiz



Reply to: