On dt, 2004-10-26 at 16:08, Cosme P. Cuevas wrote:
> Hola,
> 
> després de comprovar que puc utilitzar l'escaner USB (via libusb) des
> d'un kernel 2.4.24, m'adono, després de portar un temps amb un kernel
> 2.6.8.1 compilat amb suport per a USB i voler fer servir un ratolí
> USB, que el sistema no em reconeix dispositius USB. Estic amb Sarge.
> 
> $ uname -a
> Linux tatu 2.6.8.1 #1 Tue Oct 26 14:56:53 CEST 2004 i686 GNU/Linux
> 
> # grep 'USB.*=[ym]' .config
> CONFIG_USB=m
> CONFIG_USB_DEVICEFS=y
> CONFIG_USB_BANDWIDTH=y
> CONFIG_USB_EHCI_HCD=m
> CONFIG_USB_PRINTER=m
> CONFIG_USB_HID=m
> CONFIG_USB_HIDINPUT=y
> 
> $ dpkg -l '*usb*'|grep ^i
> ii  libusb-0.1-4   0.1.8-16       Userspace USB programming library
> ii  usbutils       0.11+cvs200403 USB console utilities
> ii  usbview        1.0-6          USB device viewer
> 
> $ dpkg -l hotplug udev|grep ^i
> ii  hotplug        0.0.20040329-1 Linux Hotplug Scripts
> ii  udev           0.034-1        /dev/ management daemon
> 
> $ grep usb /etc/fstab
> none       /proc/bus/usb          usbfs         defaults        0       0
> 
> (està a l'última línia)
> 
> 
> $ mount|grep usb
> 
> (!)
> 
> # lsmod
> Module                  Size  Used by
> ehci_hcd               29380  0 
> usbcore               118244  1 ehci_hcd
> lp                      9704  0 
> parport                26560  1 lp
> tuner                  20580  0 
> tvaudio                22752  0 
> bttv                  155980  0 
> video_buf              22020  1 bttv
> i2c_algo_bit            9928  1 bttv
> v4l2_common             6016  1 bttv
> btcx_risc               4616  1 bttv
> videodev                9664  1 bttv
> snd_bt87x              13256  2 
> snd_ens1371            22632  2 
> snd_rawmidi            25060  1 snd_ens1371
> snd_ac97_codec         72208  1 snd_ens1371
> 
> # /etc/init.d/hotplug restart
> Restarting hotplug subsystem:   input   
>    input    [success]
>    isapnp  
>    isapnp   [success]
>    net     
>    net      [success]
>    pci     
>    pci      [success]
>    usb     
>    usb      [success]
>    input   
>    input    [success]
>    isapnp  
>    isapnp   [success]
>    net     
>    net      [success]
>    pci     
>      snd-ens1371: already loaded
>      bttv: already loaded
>      snd-bt87x: already loaded
>      ignoring pci display device on 01:00.0
>    pci      [success]
>    usb     
>    usb      [failed]
> .
> 
> $ dmesg|tail
> agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
> agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
> usbcore: deregistering driver usbfs
> usbcore: deregistering driver hub
> usbcore: registered new driver usbfs
> usbcore: registered new driver hub
> usbcore: deregistering driver usbfs
> usbcore: deregistering driver hub
> usbcore: registered new driver usbfs
> usbcore: registered new driver hub
> 
> 
> Ajuda!
> 
> 
> Apa.
mmmmm, no et falta l'usbmouse en el kernel?

[EMAIL PROTECTED]:~$ lsmod | grep usbmouse
usbmouse                4224  0 
usbcore               105812 5 ohci_hcd,usbmouse,usbhid 

Fins ara ;)
Marc
> -- 
>           ________________________________________
>           Cosme P. Cuevas - cosmepc telefonica net
>                   GnuPG KeyID: 0A4305FB
>                    Debian - GNU/Linux
>           ----------------------------------------
> 

Respondre per correu electrònic a