9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] usbd
@ 2004-03-07  1:45 matt
  2004-03-07  1:55 ` Geoff Collyer
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: matt @ 2004-03-07  1:45 UTC (permalink / raw)
  To: 9fans

How does one begin to fiddle with USB?

 From reading usb(3) I should have 
 /dev/usbm

but I don't

I've tried two different PCs with the same result

9% bind -a '#U' /dev
9% usb/usbd -dv
usbd: enumeration complete
9% ls /dev/usb*
ls: /dev/usb*: '/dev/usb*' file does not exist


Where am I going wrong?


usbsnoopy was pretty useless btw. it refreshes the window once per second which means you cant click fast enough to select a device and press install. It's a Visual Studio project and I don't have VC to re-compile it with a longer refresh. I found a shareware program that seems pretty good (30 days or 100 starts).

"Universal Serial Bus (USB) connects more than computers and peripherals. It has the power to connect you with a whole new world of PC experiences." - hmm

m



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] usbd
  2004-03-07  1:45 [9fans] usbd matt
@ 2004-03-07  1:55 ` Geoff Collyer
  2004-03-07  1:57 ` Geoff Collyer
  2004-03-07  4:15 ` sape
  2 siblings, 0 replies; 5+ messages in thread
From: Geoff Collyer @ 2004-03-07  1:55 UTC (permalink / raw)
  To: 9fans

It's called `usb0' these days:

; ls -l /dev/usb0
d-r-xr-xr-x U 0 geoff geoff 0 Mar  5 22:00 /dev/usb0/0
--rw-rw-rw- U 0 geoff geoff 0 Mar  5 22:00 /dev/usb0/new
--rw-rw-rw- U 0 geoff geoff 0 Mar  5 22:00 /dev/usb0/port

Try
	ls '#U'



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] usbd
  2004-03-07  1:45 [9fans] usbd matt
  2004-03-07  1:55 ` Geoff Collyer
@ 2004-03-07  1:57 ` Geoff Collyer
  2004-03-07  2:02   ` Geoff Collyer
  2004-03-07  4:15 ` sape
  2 siblings, 1 reply; 5+ messages in thread
From: Geoff Collyer @ 2004-03-07  1:57 UTC (permalink / raw)
  To: 9fans

I missed that you'd already tried /dev/usb* initially.

Are you getting a '#U: ...' line when you boot?



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] usbd
  2004-03-07  1:57 ` Geoff Collyer
@ 2004-03-07  2:02   ` Geoff Collyer
  0 siblings, 0 replies; 5+ messages in thread
From: Geoff Collyer @ 2004-03-07  2:02 UTC (permalink / raw)
  To: 9fans

Something else to check: do you have

	usb
	usbuhci

in the kernel configuration file for your kernel?



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] usbd
  2004-03-07  1:45 [9fans] usbd matt
  2004-03-07  1:55 ` Geoff Collyer
  2004-03-07  1:57 ` Geoff Collyer
@ 2004-03-07  4:15 ` sape
  2 siblings, 0 replies; 5+ messages in thread
From: sape @ 2004-03-07  4:15 UTC (permalink / raw)
  To: 9fans

> How does one begin to fiddle with USB?
> 
>  From reading usb(3) I should have 
>  /dev/usbm
> 
> but I don't

Is usb enabled in the bios?  Is there an IRQ assigned to it?
Do you have usb in your kernel?  Do you have an usb0=
line in your plan9.ini?



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-03-07  4:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-07  1:45 [9fans] usbd matt
2004-03-07  1:55 ` Geoff Collyer
2004-03-07  1:57 ` Geoff Collyer
2004-03-07  2:02   ` Geoff Collyer
2004-03-07  4:15 ` sape

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).