Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
odys mp3 player: no device node, other USB devices [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
nick_already_taken
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jan 2005
Posts: 137

PostPosted: Sat Jul 14, 2007 11:29 am    Post subject: odys mp3 player: no device node, other USB devices [SOLVED] Reply with quote

Hi,

I am fighting to get to work a MP3 player "odys S-4". Other USB memorysticks are mounted by HAL, when I plug them in.
I know the device worked some months ago (when I was using a different motherboard/cpu).

I use Linux 2.6.22-gentoo-r1 together with udev-113-r2. I have also tried the last stable linux-kernel and
the last stable udev version, but without no luck.

The devices seems to get recognized for about a second and then it gets removed again.
As no device node is given to the device, I can't mount it.

I appreciate any help. Thanks

Here is the output of udevinfo -a -p /devices/pci0000:00/0000:00:02.0/usb2/2-1

Code:


Udevinfo starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.

  looking at device '/devices/pci0000:00/0000:00:02.0/usb2/2-1':
    KERNEL=="2-1"
    SUBSYSTEM=="usb"
    DRIVER=="usb"
    ATTR{product}=="USB Mass Storage Device 2.0"
    ATTR{manufacturer}=="NewTech Inc."
    ATTR{quirks}=="0x0"
    ATTR{maxchild}=="0"
    ATTR{version}==" 2.00"
    ATTR{devnum}=="7"
    ATTR{busnum}=="2"
    ATTR{speed}=="12"
    ATTR{bMaxPacketSize0}=="16"
    ATTR{bNumConfigurations}=="1"
    ATTR{bDeviceProtocol}=="00"
    ATTR{bDeviceSubClass}=="00"
    ATTR{bDeviceClass}=="00"
    ATTR{bcdDevice}=="0100"
    ATTR{idProduct}=="9826"
    ATTR{idVendor}=="04e8"
    ATTR{bMaxPower}=="200mA"
    ATTR{bmAttributes}=="80"
    ATTR{bConfigurationValue}=="1"
    ATTR{bNumInterfaces}==" 1"
    ATTR{configuration}==""
    ATTR{dev}=="189:134"

  looking at parent device '/devices/pci0000:00/0000:00:02.0/usb2':
    KERNELS=="usb2"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{serial}=="0000:00:02.0"
    ATTRS{product}=="OHCI Host Controller"
    ATTRS{manufacturer}=="Linux 2.6.22-gentoo-r1 ohci_hcd"
    ATTRS{quirks}=="0x0"
    ATTRS{maxchild}=="4"
    ATTRS{version}==" 1.10"
    ATTRS{devnum}=="1"
    ATTRS{busnum}=="2"
    ATTRS{speed}=="12"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceClass}=="09"
    ATTRS{bcdDevice}=="0206"
    ATTRS{idProduct}=="0000"
    ATTRS{idVendor}=="0000"
    ATTRS{bMaxPower}=="  0mA"
    ATTRS{bmAttributes}=="e0"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bNumInterfaces}==" 1"
    ATTRS{configuration}==""
    ATTRS{dev}=="189:128"

  looking at parent device '/devices/pci0000:00/0000:00:02.0':
    KERNELS=="0000:00:02.0"
    SUBSYSTEMS=="pci"
    DRIVERS=="ohci_hcd"
    ATTRS{msi_bus}==""
    ATTRS{broken_parity_status}=="0"
    ATTRS{enable}=="1"
    ATTRS{modalias}=="pci:v000010DEd000000E7sv00001849sd000000E7bc0Csc03i10"
    ATTRS{local_cpus}=="3"
    ATTRS{irq}=="18"
    ATTRS{class}=="0x0c0310"
    ATTRS{subsystem_device}=="0x00e7"
    ATTRS{subsystem_vendor}=="0x1849"
    ATTRS{device}=="0x00e7"
    ATTRS{vendor}=="0x10de"

  looking at parent device '/devices/pci0000:00':
    KERNELS=="pci0000:00"
    SUBSYSTEMS==""
    DRIVERS==""
    ATTRS{uevent}==""



Here is the output of lsusb -v

Code:


Bus 002 Device 008: ID 04e8:9826 Samsung Electronics Co., Ltd
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        16
  idVendor           0x04e8 Samsung Electronics Co., Ltd
  idProduct          0x9826
  bcdDevice            1.00
  iManufacturer           1 NewTech Inc.
  iProduct                2 USB Mass Storage Device 2.0
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
    MaxPower              200mA
    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     0x0040  1x 64 bytes
        bInterval             255



Here is the output of udevmonitor

Code:


UEVENT[1184412169.740169] add      /devices/pci0000:00/0000:00:02.0/usb2/2-1 (usb)
UEVENT[1184412169.740282] add      /devices/pci0000:00/0000:00:02.0/usb2/2-1/usb_endpoint/usbdev2.10_ep00 (usb_endpoint)
UDEV  [1184412169.748688] add      /devices/pci0000:00/0000:00:02.0/usb2/2-1 (usb)
UDEV  [1184412169.749114] add      /devices/pci0000:00/0000:00:02.0/usb2/2-1/usb_endpoint/usbdev2.10_ep00 (usb_endpoint)
UEVENT[1184412169.749369] add      /devices/pci0000:00/0000:00:02.0/usb2/2-1/2-1:1.0/usb_endpoint/usbdev2.10_ep82 (usb_endpoint)
UEVENT[1184412169.749607] add      /devices/pci0000:00/0000:00:02.0/usb2/2-1/2-1:1.0/usb_endpoint/usbdev2.10_ep03 (usb_endpoint)
UEVENT[1184412169.749843] add      /devices/pci0000:00/0000:00:02.0/usb2/2-1/2-1:1.0/usb_endpoint/usbdev2.10_ep81 (usb_endpoint)
UDEV  [1184412169.798385] add      /devices/pci0000:00/0000:00:02.0/usb2/2-1/2-1:1.0 (usb)
UDEV  [1184412169.798908] add      /devices/pci0000:00/0000:00:02.0/usb2/2-1/2-1:1.0/usb_endpoint/usbdev2.10_ep81 (usb_endpoint)
UDEV  [1184412169.799177] add      /devices/pci0000:00/0000:00:02.0/usb2/2-1/2-1:1.0/usb_endpoint/usbdev2.10_ep03 (usb_endpoint)
UDEV  [1184412169.799795] add      /class/scsi_host/host9 (scsi_host)
UDEV  [1184412169.800560] add      /devices/pci0000:00/0000:00:02.0/usb2/2-1/2-1:1.0/usb_endpoint/usbdev2.10_ep82 (usb_endpoint)
UDEV  [1184412174.621099] remove   /devices/pci0000:00/0000:00:02.0/usb2/2-1/2-1:1.0/usb_endpoint/usbdev2.10_ep82 (usb_endpoint)
UEVENT[1184412174.621587] remove   /devices/pci0000:00/0000:00:02.0/usb2/2-1/2-1:1.0/usb_endpoint/usbdev2.10_ep03 (usb_endpoint)
UEVENT[1184412174.621909] remove   /devices/pci0000:00/0000:00:02.0/usb2/2-1/2-1:1.0/usb_endpoint/usbdev2.10_ep81 (usb_endpoint)
UEVENT[1184412174.622164] remove   /class/scsi_host/host9 (scsi_host)
UEVENT[1184412174.622382] remove   /devices/pci0000:00/0000:00:02.0/usb2/2-1/2-1:1.0 (usb)
UEVENT[1184412174.622604] remove   /devices/pci0000:00/0000:00:02.0/usb2/2-1/usb_endpoint/usbdev2.10_ep00 (usb_endpoint)
UEVENT[1184412174.622838] remove   /devices/pci0000:00/0000:00:02.0/usb2/2-1 (usb)
UDEV  [1184412174.624885] remove   /class/scsi_host/host9 (scsi_host)
UDEV  [1184412174.625333] remove   /devices/pci0000:00/0000:00:02.0/usb2/2-1/2-1:1.0/usb_endpoint/usbdev2.10_ep03 (usb_endpoint)
UDEV  [1184412174.625653] remove   /devices/pci0000:00/0000:00:02.0/usb2/2-1/2-1:1.0/usb_endpoint/usbdev2.10_ep81 (usb_endpoint)
UDEV  [1184412174.625895] remove   /devices/pci0000:00/0000:00:02.0/usb2/2-1/usb_endpoint/usbdev2.10_ep00 (usb_endpoint)
UDEV  [1184412174.626468] remove   /devices/pci0000:00/0000:00:02.0/usb2/2-1/2-1:1.0 (usb)
UDEV  [1184412174.628021] remove   /devices/pci0000:00/0000:00:02.0/usb2/2-1 (usb)


Here is the output of dmesg with

/code]
CONFIG_USB_DEBUG=y
CONFIG_USB_STORAGE_DEBUG=y
[/code]

enabled.

Code:


hub 1-0:1.0: state 7 ports 8 chg 0000 evt 0002
ehci_hcd 0000:00:02.2: GetStatus port 1 status 001803 POWER sig=j CSC CONNECT
hub 1-0:1.0: port 1, status 0501, change 0001, 480 Mb/s
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x501
ehci_hcd 0000:00:02.2: port 1 full speed --> companion
ehci_hcd 0000:00:02.2: GetStatus port 1 status 003001 POWER OWNER sig=se0 CONNECT
ohci_hcd 0000:00:02.0: auto-wakeup root hub
hub 1-0:1.0: port 1 not reset yet, waiting 50ms
ehci_hcd 0000:00:02.2: GetStatus port 1 status 003802 POWER OWNER sig=j CSC
hub 1-0:1.0: state 7 ports 8 chg 0000 evt 0002
hub 2-0:1.0: state 7 ports 4 chg 0000 evt 0002
ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [0] = 0x00010101 CSC PPS CCS
hub 2-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
usb 2-1: new full speed USB device using ohci_hcd and address 2
ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
usb 2-1: ep0 maxpacket = 16
usb 2-1: default language 0x0409
usb 2-1: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1: Product: USB Mass Storage Device 2.0
usb 2-1: Manufacturer: NewTech Inc.
usb 2-1: uevent
usb 2-1: usb_probe_device
usb 2-1: configuration #1 chosen from 1 choice
usb 2-1: adding 2-1:1.0 (config #1, interface 0)
usb 2-1:1.0: uevent
usb 2-1:1.0: uevent
usb-storage 2-1:1.0: usb_probe_interface
usb-storage 2-1:1.0: usb_probe_interface - got id
usb-storage: USB Mass Storage device detected
usb-storage: -- associate_dev
usb-storage: Vendor: 0x04e8, Product: 0x9826, Revision: 0x0100
usb-storage: Interface Subclass: 0x06, Protocol: 0x50
usb-storage: Transport: Bulk
usb-storage: Protocol: Transparent SCSI
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: *** thread sleeping.
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
drivers/usb/core/inode.c: creating file '002'
hub 2-0:1.0: state 7 ports 4 chg 0000 evt 0002
hub 2-0:1.0: state 7 ports 4 chg 0000 evt 0002
ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [0] = 0x00030100 PESC CSC PPS
hub 2-0:1.0: port 1, status 0100, change 0003, 12 Mb/s
usb 2-1: USB disconnect, address 2
usb 2-1: unregistering device
usb 2-1: usb_disable_device nuking all URBs
usb 2-1: unregistering interface 2-1:1.0
usb_endpoint usbdev2.2_ep82: ep_device_release called for usbdev2.2_ep82
usb_endpoint usbdev2.2_ep03: ep_device_release called for usbdev2.2_ep03
usb_endpoint usbdev2.2_ep81: ep_device_release called for usbdev2.2_ep81
usb-storage: storage_disconnect() called
usb-storage: usb_stor_stop_transport called
usb-storage: -- usb_stor_release_resources
usb-storage: -- sending exit command to thread
usb-storage: -- dissociate_dev
usb-storage: *** thread awakened.
usb-storage: -- exiting
usb 2-1:1.0: uevent
usb 2-1:1.0: uevent
usb_endpoint usbdev2.2_ep00: ep_device_release called for usbdev2.2_ep00
usb 2-1: uevent
hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
ohci_hcd 0000:00:02.0: auto-stop root hub
usb_endpoint usbdev3.2_ep85: ep_device_release called for usbdev3.2_ep85
usb_endpoint usbdev3.2_ep06: ep_device_release called for usbdev3.2_ep06
usb_endpoint usbdev3.2_ep85: ep_device_release called for usbdev3.2_ep85
usb_endpoint usbdev3.2_ep06: ep_device_release called for usbdev3.2_ep06


Last edited by nick_already_taken on Mon Jul 16, 2007 3:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
nick_already_taken
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jan 2005
Posts: 137

PostPosted: Mon Jul 16, 2007 3:57 pm    Post subject: Reply with quote

I have somehow solved the problem. At the moment I think it is a kernel bug.

The odys mp3 player only gets mounted, when the module ohci_hcd is the
only USB related kernelmodule (ehci_hcd) or is modprobed after the ehci_hcd
module.

If both modules are loaded with the help of udev while booting the device does
not get recognized.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum