LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 08-19-2006, 06:38 AM   #1
Jaa
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Rep: Reputation: 0
usb device works only when is plugged in after booting


hello, I have a special device which should act like a usb keyboard. But when it's plugged in the usb during booting, it doesn't work. There is a blinking led which means "I'm initializing" but when I connect it after booting it works fine. Thanks to command usbmodules I know, that it uses module "usbhid". I use ubuntu 6.06. Thanks for answers.
 
Old 08-20-2006, 08:34 AM   #2
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
well you have answered your question.....if it is a module that works for you then that means your kernel has not got it flagged to start in the kernel but only as a module.

if you need it a boot time you need to install your kernel source and read how Ubuntu users should compile their kernel.

Otherwise if you like .....you can install a vanilla kernel and download its patch file....and that becomes your source then compile a vanilla kernel and become independent of any slowness from your distro in updating kernels.

there are a number of posts on how to compile kernels but I suggest these areas should interest you

1...find out if your device is a usb1.1 or 2 etc

kernel flags should enable both types if you are to remove it from the modules area

you have not named your device but some are named in the section of the kernel below so I will leave that for you to read

2 /device drivers/usb support
Y for support host
Y for device fs
y for ehci (usb2)
y for uhci (works for me) have a read by press H for help if you use menuconfig
y for human interface device (very important)
then the next line down go into the protocol and select the keyboard for HID (y)


also when you unpack your kernel source there is a folder called docs and subfolder usb that may help if the above did not?

good luck as I do not have such a device (whatever it is)
 
Old 08-22-2006, 10:00 AM   #3
Jaa
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Thumbs up Thanks

Thank you. I have tried a Debian kernel and it seems that it works fine. I know, that it isn't the best way, but I haven't much time to compile my own kernel. The device is an RFID card reader which acts as a keyboard (it sends the code of the card like it have been written on a keyboard). Website of this device is ikos.cz, if it interest you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Mouse only works when plugged into USB PCI Card helliax Slackware 6 12-05-2005 01:18 AM
how to know a usb device is plugged in/out lordofring Linux - Software 2 04-25-2005 01:15 PM
USB compact flas memory works ONLY if plugged in at boot ganja_guru Linux - Hardware 3 11-01-2004 11:40 AM
Why does PC hang when USB device is plugged in? DeepSPiN Fedora 1 12-03-2003 10:59 AM
System freezes during boot with USB device plugged in. dhrivnak Slackware 3 10-31-2003 08:55 PM


All times are GMT -5. The time now is 05:17 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration