LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-07-2006, 12:12 PM   #1
VorlonInfoTech
Member
 
Registered: Jun 2003
Location: West Grove, PA
Distribution: Gentoo, Debian, SuSE, Mandrake
Posts: 55

Rep: Reputation: 15
How to create /dev/usb?


I know this must be a simple problem to fix, but I can't find the answer...

How do I create a /dev/usb?

I've enabled the USB subsystem in kernel 2.6.16-gentoo, including /dev/hiddev (which I need for a USB X10 controller), but neither "usb" nor "hiddev" are present under /dev.

I thought they would be created automatically when I enabled the proper items in the kernel, but this did not happen. Am I missing some other config parameter which prevents these devices from being created?

Can someone please offer some adivce? Thanks!
 
Old 05-07-2006, 04:57 PM   #2
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666

Rep: Reputation: 68
Why do you think /dev/usb should exist? What's the problem, what does not work?
 
Old 05-07-2006, 05:43 PM   #3
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Post the article link that you are using to setup this. Are you sure you are not after say /proc something.


Normally you use the mknod command to make block devices. Does it say what options to create the /dev/usb/**** device? Look at this on the other. http://www.apcupsd.org/manual/USB_Configuration.html

Brian1
 
Old 05-07-2006, 06:16 PM   #4
VorlonInfoTech
Member
 
Registered: Jun 2003
Location: West Grove, PA
Distribution: Gentoo, Debian, SuSE, Mandrake
Posts: 55

Original Poster
Rep: Reputation: 15
I know that on several other computers (which also run the same gentoo kernel), I have a directory called /dev/usb which was created automatically somehow. On my main computer, which uses a usb printer, I have a /dev/usb/lp0 device.

I'm not worred about creating the specific device within /dev/usb, I'm wondering why I don't have *any* directory /dev/usb.

I could manually create the device with a mknod, but since I *never* had to create them before on other similar computers, I though the kernel would automatically create them on this computer too. On my other cmputers, they were "just there".

In order to create the device "/dev/usb/hiddev0" on a different computer (which had /dev/usb present already), I had to enable a specific item within the kernel. [Device Drivers -> USB Support -> USB Human Interface -> /dev/hiddev Raw Input support].


I suspect that I'm not enabling some kernel configuration that will create the /dev/usb devices.
 
Old 05-07-2006, 06:21 PM   #5
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666

Rep: Reputation: 68
to create something in /dev is not the kernel's job, but udev, hotplug etc.
 
  


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 drive... /dev/sda1 doesn't show unless I try mounting /dev/sda as vfat finite Linux - Hardware 8 03-10-2009 12:52 AM
devfs and devfsd don't create /dev/dsp or /dev/sound/dsp ? behmjose Linux - Hardware 2 10-02-2006 12:27 PM
USB CDRW: sg won't create sg* device in /dev sugapablo Linux - Hardware 3 05-06-2005 08:07 PM
How do I create a file in /dev/usb? Lakota Mandriva 3 10-24-2004 07:32 AM
Sandisk USB card Reader not linking /dev/sg0 to /dev/sda acidraven Linux - Hardware 1 06-19-2004 03:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:55 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration