Jump to content

usb problem


Guest THEFROGX
 Share

Recommended Posts

Guest THEFROGX

Hi everyone :help: ,

 

I have usb problem on my medion laptop. I'm using Mandriva LE2005. I have usb external cdrom, hard disk and mouse. All of them work in windows nicely... In control center no usb device is detected. :wall: . Where to start?

Link to comment
Share on other sites

There are a lot of possible causes... Let's try.

What is the output of those commands (as root):

# lsmod | grep -i usb
# chkconfig --list | grep -i 'usb\|plug\|dev\|hard'
# sed -n '/Section *"InputDevice"/,/EndSection/ p' /etc/X11/xorg.conf

 

Yves.

Link to comment
Share on other sites

Guest THEFROGX

Thanks for fast reply.

:thanks:

this is my notebooks information:

# lsmod | grep -i usb
usbcore 105880 3 echi-hcd, uhci-hcd

# chkconfig --list | grep -i 'usb\|plug\|dev\|hard'
hotplug         0:off   1:off   2:off   3:off   4:off   5:off   6:off
udev            0:off   1:off   2:on    3:on    4:on    5:on    6:off
rawdevices      0:off   1:off   2:off   3:on    4:on    5:on    6:off
netplugd        0:off   1:off   2:off   3:off   4:off   5:off   6:off
harddrake       0:off   1:off   2:off   3:on    4:on    5:on    6:off

# sed -n '/Section *"InputDevice"/,/EndSection/ p' /etc/X11/xorg.conf
Section "InputDevice"
   Identifier "Keyboard1"
   Driver "keyboard"
   Option "XkbModel" "pc105"
   Option "XkbLayout" "no"
   Option "XkbOptions" "compose:rwin"
EndSection
Section "InputDevice"
   Identifier "SynapticsMouse1"
   Driver "synaptics"
   Option "Protocol" "auto-dev"
   Option "Device" "/dev/input/mice"
   Option "MaxSpeed" "0.18"
   Option "MinSpeed" "0.09"
   Option "BottomEdge" "4200"
   Option "SHMConfig" "on"
   Option "FingerLow" "25"
   Option "LeftEdge" "1700"
   Option "MaxTapMove" "220"
   Option "MaxTapTime" "180"
   Option "FingerHigh" "30"
   Option "VertScrollDelta" "100"
   Option "RightEdge" "5300"
   Option "TopEdge" "1700"
   Option "AccelFactor" "0.0015"
EndSection

Link to comment
Share on other sites

I edited your post for readability. Please use the [ code ] and [ /code ] (without the blanks) delimiters around code and command fragments.

 

Let's try something simple first: do this as root:

# service hotplug start

then plug your mouse in.

 

Yves.

Link to comment
Share on other sites

Guest THEFROGX

Thanks for :

#service hotplug start

 

Then I wrote that in terminal and plugged usb-mouse, usb-harddisk, and usb-cdrom, they started blinking, but didn't work. Then I started any other application, devices died, even no blinking :unsure: .

 

Is there any other solution to that?

 

TheFrog

Edited by THEFROGX
Link to comment
Share on other sites

I think the blinking is a good sign. You may want to run:

chkconfig add hotplug

as root so that hotplug is enabled on future reboots.

 

Next, I honnestly don't really know what to do. The tradition is to ask to run "lsusb" while the hardware is plugged, so you might as well do it (still as root), though I have no idea what will be the result. It may give some hints.

 

I would also like to know what the little experiment below would lead to:

Ctrl+Alt+F1 will take you to virtual console number 1.

login as root, and run:

X :1 -configure &>trace.log

How does the configuration go? Is the mouse detected? What is the content of trace.log?

(You can go back to your former X session with Ctrl+Alt+F7)

 

Yves.

Link to comment
Share on other sites

Section "InputDevice"
   Identifier "SynapticsMouse1"
   Driver "synaptics"
   Option "Protocol" "auto-dev"
   Option "Device" "/dev/input/mice"
   Option "MaxSpeed" "0.18"
   Option "MinSpeed" "0.09"
   Option "BottomEdge" "4200"
   Option "SHMConfig" "on"
   Option "FingerLow" "25"
   Option "LeftEdge" "1700"
   Option "MaxTapMove" "220"
   Option "MaxTapTime" "180"
   Option "FingerHigh" "30"
   Option "VertScrollDelta" "100"
   Option "RightEdge" "5300"
   Option "TopEdge" "1700"
   Option "AccelFactor" "0.0015"
EndSection

I just realize something. I'm not familiar with this kind of mouse configuration. So I assume it is some sort of laptop-specific device, and not your mouse.

If you look under /dev/input, "mice" stands for "any mouse", but you can choose the device more precisely. I'm thinking that maybe when your real mouse is plugged in, then it is seen as a "part of" "mice" too, and X tries to run this mouse the same as the other one, that is with all the above parameters, which I assume wouldn't work.

 

Try and see if another device appears inside /dev/input when you plug your external mouse.

If so, then try and find the "real name" ("mouse0" ?) of your laptop thing, and replace "mice" with this (eg: "mouse0") above. Then add a new section for the device that appeared (eg: "mouse1"), like that:

Section "InputDevice"
       Identifier  "external"
       Driver      "mouse"
       Option      "Device" "/dev/input/mouse1"
       Option      "Protocol" "IMPS/2"
       Option      "SendCoreEvents"
       Option      "Buttons" "5"
       Option      "ZAxisMapping" "4 5"
EndSection

Then add this line into the ServerLayout of your file:

Section "ServerLayout"
       ...
       InputDevice    "external"           <-- add this line
EndSection

 

Yves.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...