You are not logged in.

#1 2004-07-14 01:03:52

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

/proc/bus/usb is empty

I knew I wasn't cut out for this posititon... a dev posting in Newbie Corner, that's bad publicity.  I'll take full and sole responsibility for my ignoance!

Anyway, I'm setting up Arch on my parent's computer and am having trouble with the USB printer.  I got the parallel port printer going, no problem, but thd system doesn't seem to be recognizing the USB devices.

/proc/bus/usb/devices doesn't exist like it should and /proc/bus/usb is empty.  I don't have hotplug enabled, I want the printer detected on startup.

On my personal system, I didn't have to do anything for it to recognize my USB mouse, so I'm not too sure what I'm looking at.

Here's some info:

$ lsmod
Module                  Size  Used by
ppp_deflate             5248  2
zlib_deflate           22936  1 ppp_deflate
bsd_comp                5760  0
ppp_async              10624  1
parport_pc             22976  1
lp                      9608  0
parport                36808  2 parport_pc,lp
usblp                  11520  0
ppp_generic            27412  7 ppp_deflate,bsd_comp,ppp_async
slhc                    6912  1 ppp_generic
nvidia               4815476  8
rtc                    11976  0
nls_cp437               5760  1
vfat                   12928  1
fat                    41632  1 vfat
usbdevfs               /proc/bus/usb usbdevfs   defaults            0      0

in fstab

MODULES=(!usbserial !ide-scsi nvidia ppp-generic usblp lp parport parport_pc)

in rc.conf

$ cat /proc/devices
Character devices:
  1 mem
  2 pty
  3 ttyp
  4 /dev/vc/0
  4 tty
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
  6 lp
  7 vcs
 10 misc
 13 input
 29 fb
108 ppp
128 ptm
136 pts
180 usb
195 nvidia
253 devfs
254 pcmcia

Block devices:
  1 ramdisk
  2 fd
  3 ide0
  7 loop
  9 md
 22 ide1
253 device-mapper
254 mdp
REGISTER ^usb/lp0$ CFUNCTION GLOBAL mksymlink $devname usblp0
UNREGISTER ^usb/lp0$ CFUNCTION GLOBAL unlink usblp0

in devfsd.conf

and the problem:

$ ls /proc/bus/usb -a
.  ..

Am I missing something simple, or am I in for super headaches?

libusb is installed, kernel is 2.6.7. It worked fine under Mandrake.

Thank ye,
Dusty

Offline

#2 2004-07-14 03:26:50

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: /proc/bus/usb is empty

do you have libusb installed?

normally i would load usblp via rc.conf but i forgot to put the module in the list. despite my error i still get the module autoloaded somehow. i assume it is some combination of libusb and hotplug packages (thought i do not start hotplug at boot).


AKA uknowme

I am not your friend

Offline

#3 2004-07-14 14:54:15

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: /proc/bus/usb is empty

Dusty wrote:

libusb is installed, kernel is 2.6.7...

wink

The problem was an unloaded module, ohci-hcd. I scaned the /lib/modules directory for possible names of modules to be loaded and that one rang a bell.  All fixed now, until I start messing with messy hotplug... wink

Dusty

Offline

#4 2004-07-14 17:16:51

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: /proc/bus/usb is empty

Have you installed udev yet? You can't throw devfs at your ma! big_smile


arch + gentoo + initng + python = enlisy

Offline

#5 2004-07-14 17:36:33

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: /proc/bus/usb is empty

I'll install udev when Arch officially supports it. I like to be running exactly what Arch expects, both because neither me nor Arch will be surprised that way and because then I know what to document...

Dusty

Offline

#6 2004-07-14 21:14:22

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: /proc/bus/usb is empty

oki, but it can fail , I know.....
devfs is doomed, that's how I understand it! :?


arch + gentoo + initng + python = enlisy

Offline

#7 2004-07-14 21:25:09

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: /proc/bus/usb is empty

arch officially supports it now tongue
so how about the migration docs eh?


AKA uknowme

I am not your friend

Offline

#8 2004-07-14 21:33:01

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: /proc/bus/usb is empty

Arch has a package for it.  Currently there are no init script modifications, so it's not a drop in replacement.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#9 2004-07-14 21:35:09

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: /proc/bus/usb is empty

Even polar bears can understand the Migrate to udev for dummies step by step process.
http://bbs.archlinux.org/viewtopic.php?t=4564&start=15
There is one little detail I wonder about and that is the first line in lilo.conf , maybe I should change it?


arch + gentoo + initng + python = enlisy

Offline

#10 2004-07-14 21:49:39

cs25x
Member
Registered: 2004-05-04
Posts: 150

Re: /proc/bus/usb is empty

why not get it working with hotplug first & then figure a kludge?

usb & devfs are real strange. e.g. I have camera which can only be mounted if usbfs is turned off while devfs starts. However to use it as a webcam, it needs usbfs. So I more or less have to start devfs and then mount usbfs. It still gives trouble, but it gives me usbfs and the hotplug camera.

How do you get to be a polar bear?


--(*(cs25x--));

Offline

#11 2004-07-14 22:06:03

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: /proc/bus/usb is empty

cs25x wrote:

How do you get to be a polar bear?

If your parents are polar bears and they... you know... and have a kid, and you're that kid, you'll be a polar bear. wink

Offline

#12 2004-07-14 22:16:22

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: /proc/bus/usb is empty

xerxes2 wrote:

Even polar bears can understand the Migrate to udev for dummies step by step process.
http://bbs.archlinux.org/viewtopic.php?t=4564&start=15
There is one little detail I wonder about and that is the first line in lilo.conf , maybe I should change it?


bah that invovles manual tasks on my part. once it is in "drop in" state then i will do that. i don't want to do developers work. tongue i'm freaking lazy or did you forgit?


AKA uknowme

I am not your friend

Offline

#13 2004-07-14 23:44:16

cs25x
Member
Registered: 2004-05-04
Posts: 150

Re: /proc/bus/usb is empty

I will have to check my parents.
roll


--(*(cs25x--));

Offline

#14 2004-07-15 00:37:49

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: /proc/bus/usb is empty

It's doubtful that udev will ever be a drop in replacement.  There are too many things that need to be worried about.  Like fstab, lilo.conf/menu.lst, etc.

We'll make it as easy as possible, but if you screw it up because you weren't thinking, it's your own damned fault.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#15 2004-07-15 16:27:05

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: /proc/bus/usb is empty

HELP! My poor thread has been kidnapped!!!

Offline

#16 2004-07-15 16:34:15

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,751

Re: /proc/bus/usb is empty

Dusty wrote:

HELP! My poor thread has been kidnapped!!!

I would never do a thing like that

Tea anyone?

Mr Green


Mr Green

Offline

#17 2004-07-15 17:02:29

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: /proc/bus/usb is empty

I know what the ransom notice is too, I just know it! I'll never see this thread again until I pay it. Yes, that's right! I have to write some docs!

Ok folks, here's what I'll be working on during Christmas break when I have some free time... no, I honestly hope it will be sooner:

HOWTO patch files in ABS
Devland:
   why we don't have Bz2
   why we don't have diffs
   Judd's never ever ever going to release Arch 0.7, SO THERE
Updates to the XOrg wiki howto
gensync man page

I promise I'll do that. Can I have my thread back now? pleeeeeeeeeaaaaaaaaaasssssse?

Not that I know what I'd do with it if I had it. Come to think of it, this thread is a brat. keep it.

Dusty

Offline

#18 2004-07-15 17:04:49

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: /proc/bus/usb is empty

Dusty wrote:

HELP! My poor thread has been kidnapped!!!

It's not so fun when it happens to you, is it?


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#19 2004-07-15 17:06:43

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: /proc/bus/usb is empty

i never hijack threads and i love all computer languages and i don't lie


AKA uknowme

I am not your friend

Offline

#20 2004-07-15 17:36:29

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: /proc/bus/usb is empty

Xentac wrote:

It's not so fun when it happens to you, is it?

Yeah, I should've known better. *sniff*

rasat's gonna have a lark cleaning up this one. tongue

Dusty

Offline

#21 2004-07-15 17:43:50

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: /proc/bus/usb is empty

lark.jpg

lark!


AKA uknowme

I am not your friend

Offline

Board footer

Powered by FluxBB