On Wed, 2003-08-06 at 15:38, Michael Halcrow wrote:
> Er... you need to find them in:
> 
>  /lib/modules/`uname -r`/kernel/drivers/usb 

# uname -r
2.4.20-gentoo-r5

but '/lib/modules/2.4.20-gentoo-r5/kernel/drivers/usb/' does not exist
('/lib/modules/2.4.20-gentoo-r5/kernel/drivers/' does).

> If they're not there, then you did not build them as modules (or you
> did and did not run ``make modules_install'').

They weren't installed as modules, they were compiled into the base
kernel (either by the computer's previous owner or by gentoo as
default). My previous email states my assumptions of this, anyways.

> What does dmesg tell you about uhci and usb?
# dmesg
...
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 10 for device 00:04.2
PCI: Sharing IRQ 10 with 00:04.3
uhci.c: USB UHCI at I/O 0xd400, IRQ 10
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 10 for device 00:04.3
PCI: Sharing IRQ 10 with 00:04.2
uhci.c: USB UHCI at I/O 0xd000, IRQ 10
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.

> What are the contents of /proc/driver/uhci/hc0?

# cat /proc/driver/uhci/hc0
HC status
  usbcmd    =     0008   Maxp32 EGSM 
  usbstat   =     0020   HCHalted 
  usbint    =     000f
  usbfrnum  =   (0)434
  flbaseadd = 01358000
  sof       =       40
  stat1     =     0480   
  stat2     =     0580   LowSpeed 
Frame List
Skeleton TD's
- skel_term_td
    [c1a5b1b0] link (01a5b1b0) e0 Length=0 MaxLen=7ff DT0 EndPt=0
Dev=7f, PID=69(IN) (buf=00000000)
Skeleton QH's

> Have you tried creating your /dev/ devices with the MAKEDEV script
> (does Gentoo even have one)?  Or are you using devfs?

Haven't tried (I don't know if gentoo has one or not). I'm not familiar
with kernel internals that much. To tell the truth I have no idea about
either MAKEDEV or devfs. How would I go about checking either of those?

Jacob


____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to