You are not logged in.

#1 2012-09-07 08:29:42

technolog
Member
From: Europe / Slovenia / Grosuplje
Registered: 2012-01-28
Posts: 117

USB devices only detected after Reboot / Suspend

When I plug the USB device into my computer, nothing happens. There are no messages in dmesg and device doesn't appear in lsusb.

However, if I reboot or suspend+resume, the device is detected immediately and gnome open popup shows. When I plug and unplug it afterwards, the same problem persists.

What should I do to debug it further?

Last edited by technolog (2012-09-07 08:30:22)

Offline

#2 2012-09-07 08:33:16

progandy
Member
Registered: 2012-05-17
Posts: 5,321

Re: USB devices only detected after Reboot / Suspend

What happens if you run "udevadm trigger"?


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Online

#3 2012-09-07 08:33:31

Xylankant
Member
From: Saarland, Germany
Registered: 2011-04-26
Posts: 21

Re: USB devices only detected after Reboot / Suspend

do you have udev and udisk (or udisk2, since you're using GNOME) installed? are those running?
also, is your user part of the "disk" and "storage" groups?

Last edited by Xylankant (2012-09-07 08:36:04)

Offline

#4 2012-09-07 09:10:17

technolog
Member
From: Europe / Slovenia / Grosuplje
Registered: 2012-01-28
Posts: 117

Re: USB devices only detected after Reboot / Suspend

The problem is not with just USB storage devices, but with other devices too (printers, DVB sticks, mice).

progandy wrote:

What happens if you run "udevadm trigger"?

Nothing.

Xylankant wrote:

do you have udev and udisk (or udisk2, since you're using GNOME) installed? are those running?
also, is your user part of the "disk" and "storage" groups?

[rok@rok-laptop ~]$ sudo pacman -S udisks2 udev
warning: udisks2-1.94.0-2 is up to date -- reinstalling
warning: systemd-189-4 is up to date -- reinstalling

udev is now a part of systemd. I have had this problem even before I moved to systemd.

[rok@rok-laptop ~]$ systemctl status udisks
udisks.service - UDisks
	  Loaded: loaded (/usr/lib/systemd/system/udisks.service; disabled)
	  Active: active (running) since Tue, 04 Sep 2012 14:46:34 +0200; 2 days ago

Last edited by technolog (2012-09-07 09:19:35)

Offline

#5 2012-09-07 16:11:00

Xylankant
Member
From: Saarland, Germany
Registered: 2011-04-26
Posts: 21

Re: USB devices only detected after Reboot / Suspend

is your account in the correct groups? the output of

groups

should contain "storage" and "disk".

Offline

#6 2012-09-09 18:48:06

technolog
Member
From: Europe / Slovenia / Grosuplje
Registered: 2012-01-28
Posts: 117

Re: USB devices only detected after Reboot / Suspend

[rok@rok-laptop ~]$ id
uid=1000(rok) gid=100(users) groups=100(users),6(disk),7(lp),50(games),91(video),92(audio),95(storage)

But, may I repeat myself:

The problem is not with just USB storage devices, but with other devices too (printers, DVB sticks, mice).

Where can I start debugging?

Last edited by technolog (2012-09-09 18:48:40)

Offline

#7 2012-09-14 09:26:12

technolog
Member
From: Europe / Slovenia / Grosuplje
Registered: 2012-01-28
Posts: 117

Re: USB devices only detected after Reboot / Suspend

Anyone?

Offline

#8 2012-10-19 18:34:52

tommykr
Member
From: Poland
Registered: 2009-03-15
Posts: 51

Re: USB devices only detected after Reboot / Suspend

Hi. Look this topic on debian-forum:
http://forums.debian.net/viewtopic.php?f=7&t=79768
I add to rc.d script:

cd /sys/bus/pci/drivers/ehci_hcd
sh -c 'echo -n "0000:00:XX.X" > unbind'

where XX.X is number my device finded id dmesg log.

Offline

Board footer

Powered by FluxBB