You are not logged in.

#1 2009-08-28 02:17:07

yurique
Member
Registered: 2009-08-28
Posts: 4

usb device reconnects routinely

Hi!

I have a USB MIDI keyboard - M-AUDIO Keystation Pro 88.

A while ago I used to use another linux distro (Ubuntu) and everything went fine. Then I switched (back) to Arch Linux, and here's what's gone wrong: my keyboard  began to reconnect all the time, even while I'm actually playing and it's quite annoying smile.

Here's a cut from everything.log:

Aug 28 04:49:14 brainburner kernel: usb 6-1: USB disconnect, address 79
Aug 28 04:49:14 brainburner kernel: usb 6-1: new full speed USB device using uhci_hcd and address 80
Aug 28 04:49:15 brainburner kernel: usb 6-1: configuration #1 chosen from 1 choice

Is there any way to fix this behavior?

Thanks in advance for any help.

Offline

#2 2009-08-28 20:16:36

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: usb device reconnects routinely

Welcome to the forum, yurique!

More output would be better, X/errorlog/syslog. Which driver do you use ? Did it work earlier or not ?

Offline

#3 2009-08-29 13:21:50

yurique
Member
Registered: 2009-08-28
Posts: 4

Re: usb device reconnects routinely

Thanks, djszapi!

In Xorg.0.log there are only initialization records (and none, I think, considering the keystation). As well, there is nothing in syslog.log.

In errors.log there are actually lines like this:

Aug 28 00:16:30 brainburner kernel: hub 6-0:1.0: port 1 disabled by hub (EMI?), re-enabling...
Aug 28 00:43:28 brainburner kernel: hub 6-0:1.0: port 1 disabled by hub (EMI?), re-enabling...
Aug 28 02:50:47 brainburner kernel: hub 6-0:1.0: port 1 disabled by hub (EMI?), re-enabling...

But none of them at the same time as those in everything.log.

For which drivers I use - I don't know, I just plugged it in smile. How can I find that out?

Did it work earlier or not ?

Yes. It worked before without reconnects, but under Ubuntu, which I used for a while. As soon as I moved to Arch it began to reconnect from time to time.

Offline

#4 2009-08-29 16:02:35

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: usb device reconnects routinely

1. You can find out from lsmod. In a sanity check way to view the difference in the output of lsmod before plug in, and then.

2. Did you try with that kernel/X/driver version as it worked in Ubuntu ?
Did you try an X/kernel/driver reinstall too ?

Offline

#5 2009-09-01 15:25:13

yurique
Member
Registered: 2009-08-28
Posts: 4

Re: usb device reconnects routinely

I think in Ubuntu it's a 2.6.29 branch - I haven't tried installing it here, I just use the "stock" kernel (2.6.30). And I don't even know the version of X or driver in Ubuntu smile.

As for lsmod - do I need to run it with device unplugged after reboot? I did that without rebooting, just unplugged the device, lsmod, plugged in device, lsmod and diff - the outputs were equal. But it is just a USB-MIDI device. lsmod shows these:

yurique@brainburner:~$ lsmod | grep usb

usbhid                 40608  0
hid                    42496  1 usbhid
btusb                  12632  0
bluetooth              56676  1 btusb
snd_usb_audio          86304  0
snd_usb_lib            17252  1 snd_usb_audio
snd_rawmidi            21856  2 snd_seq_midi,snd_usb_lib
snd_hwdep               7656  2 snd_usb_audio,snd_hda_codec
snd_pcm                73672  6 snd_usb_audio,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd                    58436  20 snd_usb_audio,snd_rawmidi,snd_hda_codec_realtek,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_hwdep,snd_pcm,snd_timer
usbcore               150192  7 usbhid,btusb,snd_usb_audio,snd_usb_lib,uhci_hcd,ehci_hcd
yurique@brainburner:~$ lsmod | grep midi
snd_seq_midi            6848  0
snd_rawmidi            21856  2 snd_seq_midi,snd_usb_lib
snd_seq_midi_event      7012  2 snd_seq_midi,snd_seq_oss
snd_seq                53744  9 snd_seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          6768  5 snd_seq_midi,snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
snd                    58436  20 snd_usb_audio,snd_rawmidi,snd_hda_codec_realtek,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_hwdep,snd_pcm,snd_timer

p.s. sorry for the long delay

Last edited by yurique (2009-09-01 15:25:33)

Offline

#6 2009-09-01 18:55:50

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: usb device reconnects routinely

I'm also having this problem, only for me it's a keyboard of the more usual kind (i.e., a qwerty). It's pretty annoying since I lose my XKB options each time. This definitely used to work until quite recently, so I suspect a recent kernel bug.

Offline

#7 2009-09-30 06:55:13

yurique
Member
Registered: 2009-08-28
Posts: 4

Re: usb device reconnects routinely

I've upgraded to kernel26rt (2.6.31-rt) and the issue is still there.
And also I checked this on another machine (laptop) with Ubuntu - it appears that this issue is present there as well. I'm starting to think, that this could be a hardware issue with my keyboard, which would be pretty unpleasant.
I'll check it out under windows later and will report the result.

Offline

Board footer

Powered by FluxBB