Find the answer to your Linux question:
Results 1 to 6 of 6
Am building my own LFS (Linux from Scratch) system, and have gotten to the point where it boots from my kernel (2.6.5 and I think I enabled all the appropriate ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2004
    Location
    San Antonio, TX
    Posts
    49

    USB issue with 2.6.5 kernel


    Am building my own LFS (Linux from Scratch) system, and have gotten to the point where it boots from my kernel (2.6.5 and I think I enabled all the appropriate USB stuff) and has networking support (as far as I can tell).

    Unplugging and then plugging in my Linksys WUSB11 v2.8 wireless device gives the following message:

    usb1-1:new full speed USB device using address 5
    midi: probe of 1-1:1.0 failed with error -5

    so it's possible I'm having a USB problem? Any idea what I might have misconfigured in my kernel or additional package I might need? I've built the Atmel drivers for the device, and can manually load them with Modprobe or insmod (at least they then show up in lsmod), but trying to run iwconfig wlan0 keeps coming back with a no such device error which is why I assume it's a USB rather than driver issue.

    Thanks in advance,
    Ewan

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    Try manually modprobing the drivers. It looks like the kernel is trying to load a driver, but it may not be the correct one.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  3. #3
    Just Joined!
    Join Date
    May 2004
    Location
    San Antonio, TX
    Posts
    49
    Quote Originally Posted by sarumont
    Try manually modprobing the drivers.
    The USB drivers? The atmel ones I am able to manually load, but they don't seem to see the device. And since I configured the kernel to build the USB support as built-in rather than as modules, I "assumed" there wouldn't be any other USB stuff to modprobe or insmod.

    Or perhaps I'm missing something really obvious?

    FWIW, some more debugging info:

    1. uname -a
    Linux lfs 2.6.5 #1 Sun Aug 8 23:49:34 PDT 2004 i686 GenuineIntel
    unknown GNU/Linux

    2. find /lib/modules -name at76c503\*
    /lib/modules/2.6.5/kernel/drivers/usb/at76c503.ko
    /lib/modules/2.6.5/kernel/drivers/usb/at76c503-i3861.ko
    /lib/modules/2.6.5/kernel/drivers/usb/at76c503-rfmd.ko
    /lib/modules/2.6.5/kernel/drivers/usb/at76c503-rfmd-acc.ko
    /lib/modules/2.6.5/kernel/drivers/usb/at76c503-i3863.ko

    3. ls -ld /lib/modules/`uname -r`/build
    lrwxr-xr-x 1 root root 22 Aug 9 18:09 /lib/modules/2.6.5/build->
    /tools/src/linux-2.6.5

    4. head -4 /lib/modules/`uname -r`/build/Makefile
    VERSION=2
    PATCHLEVEL=6
    SUBLEVEL=5
    EXTRAVERSION=

  4. #4
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    I was referring to the amtel drivers...so that's not the problem. Can you post the USB section of your kernel config? There may be something that you missed...
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  5. #5
    Just Joined!
    Join Date
    May 2004
    Location
    San Antonio, TX
    Posts
    49
    Quote Originally Posted by sarumont
    I was referring to the amtel drivers...so that's not the problem. Can you post the USB section of your kernel config? There may be something that you missed...
    Hopefully the below pieces are what you were looking for:

    #ALSA USB devices
    #
    CONFIG_SND_USB_AUDIO=y

    #USB Support
    #
    CONFIG_USB=y
    #CONFIG_USB_DEBUG is not set

    #Miscellaneous USB options
    #
    CONFIG_USB_DEVICEFS=y
    #CONFIG_USB_BANDWIDTH is not set
    #CONFIG_USB_DYNAMIC_MINORS is not set

    #USB Host Controller Drivers
    #
    CONFIG_USB_EHCI_HCD=y
    #CONFIG_USB_EHCI_SPLIT_ISO is not set
    #CONFIG_USB_OHCI_HCD is not set
    CONFIG_USB_VHCI_HCD=y

    #USB Device Class drivers
    #
    CONFIG_USB_AUDIO=y
    #CONFIG_USB_BLUETOOTH_TTY is not set
    CONFIG_USB_MIDI=y
    #CONFIG_USB_ACM is not set
    CONFIG_USB_PRINTER=y
    CONFIG_USB_STORAGE=y
    #CONFIG_USB_STORAGE_DEBUG is not set
    #CONFIG_USB_STORAGE_DATAFAB is not set
    CONFIG_USB_STORAGE_FREECOM=y

    #USB Network Adapters
    #
    CONFIG_USB_USBNET=y

    then later again

    #USB Network Adapters
    #
    CONFIG_USB_AX8817X=y


    Let me know if you see anything there I should change.

    Thanks,
    Ewan

  6. #6
    Just Joined!
    Join Date
    May 2004
    Location
    San Antonio, TX
    Posts
    49
    Bueller... ? Anyone... ?

    Would even be curious to hear if anyone has been able to get the WUSB11 V2.8 to work on any other Linux 2.6.x kernel.

    Still hoping there's an answer out there...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •