LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-07-2006, 12:16 PM   #1
Csigaa
LQ Newbie
 
Registered: Nov 2005
Distribution: Debian SID
Posts: 5

Rep: Reputation: 0
USB unusual device - how?


Hi!

I have a pocket USB MP3 player. With 2.4 it works well, except an "SCSI sense error" msg when I plug in, it transfers data with ~250 kbyte/sec.

With 2.6.x, when I plug it in, there are many errors, and the data rate is rather low, ~30 kbyte/sec. In 2.6.8 or older in addition while the transfer it also writes various SCSI/sector read errors to the console.

Code:
SCSI device sda: 1007264 512-byte hdwr sectors (516 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
sd 1:0:0:0: ioctl_internal_command return code = 8000002
   : Current: sense key: No Sense
    Additional sense: No additional sense information
SCSI device sda: 1007264 512-byte hdwr sectors (516 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
 sda: sda1
sd 1:0:0:0: ioctl_internal_command return code = 8000002
   : Current: sense key: No Sense
    Additional sense: No additional sense information
sd 1:0:0:0: Attached scsi removable disk sda
sd 1:0:0:0: ioctl_internal_command return code = 8000002
   : Current: sense key: No Sense
    Additional sense: No additional sense information
sd 1:0:0:0: SCSI error: return code = 0x10070000
end_request: I/O error, dev sda, sector 43
Buffer I/O error on device sda1, logical block 8
sd 1:0:0:0: ioctl_internal_command return code = 8000002
   : Current: sense key: No Sense
    Additional sense: No additional sense information
after mount:
Code:
sd 1:0:0:0: ioctl_internal_command return code = 8000002
   : Current: sense key: No Sense
    Additional sense: No additional sense information
nal sense information
In 2.6.8-, this appears many times while transfer, with various sector numbers:
Code:
end_request: I/O error, dev sda, sector 43
According to lsusb, the device is:
Code:
Bus 003 Device 007: ID 0419:aafe Samsung Info. Systems America, Inc.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        16
  idVendor           0x0419 Samsung Info. Systems America, Inc.
  idProduct          0xaafe
  bcdDevice            1.00
  iManufacturer           0
  iProduct                0
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          1
    bmAttributes         0xc0
      Self Powered
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              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
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 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     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval             255

I read about unusual device entries, and I found them in the kernel source, but I don't know, what should I write in (and of course send it as a patch) to make my USB player work...

Last edited by Csigaa; 04-07-2006 at 12:18 PM.
 
Old 04-11-2006, 05:33 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
I would upgrade the kernel to at least 2.6.16. I have seen USB issue in the 2.6.7 to 2.6.9 kernels. Lots of info here on compiling your own or your distro may have upgrades that you can apply.

Brian1
 
Old 04-11-2006, 11:46 PM   #3
kg4ysy
Member
 
Registered: May 2005
Location: North Carolina
Distribution: Gentoo
Posts: 123

Rep: Reputation: 19
Try the kernel upgrade...I had 2.6.9 and my usb went nuts...I am now on 2.6.15 with gentoo...
 
Old 04-12-2006, 04:05 AM   #4
Csigaa
LQ Newbie
 
Registered: Nov 2005
Distribution: Debian SID
Posts: 5

Original Poster
Rep: Reputation: 0
I'm using 2.6.15 now, and the problem is present...
 
Old 04-12-2006, 06:19 PM   #5
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
How about this idea. Boot up with a Knoppix Live CD an or a Ubuntu Live CD. See if it can see the drive. If it fails then I one other choice. If stall a pci USB 2.0 controller card like an Adaptec brand. Plug the mp3 into the new port from the card. If it doesn't work then my guess is some kind of oddite to the player. If it doesn't work you can always return the controller for full refund.

Brian1
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB drive not working properly, read only device? (USB key storage device) Arodef Linux - Hardware 14 01-01-2010 08:32 AM
Failed to open device /dev/usb/ttyUSB0: No such device efm Linux - Newbie 2 04-04-2005 09:46 PM
Unusual dmesg output on hotplug of Logitech USB mouse tisource Linux - Hardware 0 12-07-2004 07:05 PM
Unusual difficulty with USB Mass Storage Compatible Digital Camera davidbalt Linux - Hardware 2 07-08-2004 01:10 PM
HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu arnostienen Slackware 2 01-29-2004 04:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration