Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 4:41 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Thu Jun 26, 2008 7:17 pm 
Offline

Joined: Fri May 23, 2008 12:49 pm
Posts: 3
I have a typical Ubuntu 8.04 installation on my laptop. My normal behaviour is to put the laptop into hibernation when I am done working. Once the system has been brought back to life I noticed the Yubikey has trouble being recognized as a device. To fix this I simply run the command 'lsusb', which seems to bring the USB hub (within the laptop) back into being powered. After a second the Yubikey stops blinking and works as expected.

This is a bug with the hibernation mode, not the Yubikey. Hopefully this helps others like me who run across this situation.


Top
 Profile  
Reply with quote  

Share On:

Share on Facebook FacebookShare on Twitter TwitterShare on Tumblr TumblrShare on Google+ Google+

PostPosted: Thu Jun 26, 2008 8:59 pm 
Offline
User avatar

Joined: Wed May 07, 2008 5:25 pm
Posts: 110
Location: Sunnyvale, California
This is very helpful! I wonder if I can just unplug Yubikey then plug in again to fix the problem?

Thanks

_________________
The YubiKey Server Guy


Top
 Profile  
Reply with quote  
PostPosted: Fri Jun 27, 2008 12:08 am 
Offline

Joined: Fri May 23, 2008 12:49 pm
Posts: 3
Re-inserting the Yubikey does not work.

Once 'lsusb' has run, /var/log/messages shows the following:

Code:
Jun 26 19:05:51 grey-ghost kernel: [  145.486053] usb usb2: root hub lost power or was reset
Jun 26 19:05:52 grey-ghost kernel: [  145.909366] usb 2-2: new low speed USB device using ohci_hcd and address 5
Jun 26 19:05:52 grey-ghost kernel: [  329.042193] usb 2-2: configuration #1 chosen from 1 choice
Jun 26 19:05:52 grey-ghost kernel: [  329.068190] input: Yubico Yubico Yubikey Touch as /devices/pci0000:00/0000:00:03.1/usb2/2-2/2-2:1.0/input/input18
Jun 26 19:05:52 grey-ghost kernel: [  329.099129] input,hidraw0: USB HID v1.11 Keyboard [Yubico Yubico Yubikey Touch] on usb-0000:00:03.1-2
Jun 26 19:05:52 grey-ghost kernel: [  329.154964] usb usb1: root hub lost power or was reset


I wouldn't know if this is chipset-specific or a general kernel bug.


Top
 Profile  
Reply with quote  
PostPosted: Fri Jun 27, 2008 8:50 pm 
Offline
User avatar

Joined: Wed May 07, 2008 5:25 pm
Posts: 110
Location: Sunnyvale, California
If you use a memory stick instead of a YubiKey, will that suffer the same problem? I'll ask our h/w firmware expert to look into this.

Thanks
:geek:

_________________
The YubiKey Server Guy


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 30, 2008 3:08 pm 
Offline
Site Admin
Site Admin

Joined: Tue May 06, 2008 7:22 pm
Posts: 151
I use debian testing, and haven't noticed this problem. I suspect it is due to some combination of linux kernel or USB hardware, or possibly other software.

Does this happen if the yubikey is the only USB device in your machine? And if you don't have it connected, it works again without doing 'lsusb'?

It is somewhat surprising that 'lsusb' changes anything, I thought it just read information from /proc/bus/usb/...

/Simon


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 5 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group