OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: dansawyer on November 01, 2004, 07:05:34 pm

Title: 2.6.8 kernel config for usb-OZ ??
Post by: dansawyer on November 01, 2004, 07:05:34 pm
All,

I have a dual boot laptop with a 2.4.24 kernel and a 2.6.8 kernel. The 2.4.24 kernel USB recognizes USB on the Z. The 2.6.8 kernes does not. I have tried multiple times and builds. I can boot 2.4.24, talk to the Z, boot 2.6.8, fail, and then reboot to the 2.4 24 and talk - all w/o touching the Z.

Does anyone out there have a 2.6.8 or 9 kernel config they can send?

dansawyerATearthlink.net

thanks,
Dan
Title: 2.6.8 kernel config for usb-OZ ??
Post by: Pyrates on November 02, 2004, 03:15:14 am
Sent
Title: 2.6.8 kernel config for usb-OZ ??
Post by: dansawyer on November 04, 2004, 12:51:40 pm
Thanks for the reply. I have tried to modify the .config based on the listing, however it still does not work.

Can you identify the specific USB configs required?

Should I try to cut and paste your USB section into .config?

Thanks,
Dan
Title: 2.6.8 kernel config for usb-OZ ??
Post by: Pyrates on November 04, 2004, 01:47:22 pm
Well, cut&paste should work... anyway, mys USB-configs are:

CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_USX2Y is not set
# 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
# CONFIG_USB_SUSPEND is not set
# CONFIG_USB_OTG is not set
# USB Host Controller Drivers
# CONFIG_USB_EHCI_HCD is not set
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_UHCI_HCD=m
# USB Device Class drivers
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_MIDI is not set
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=m
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_RW_DETECT is not set
CONFIG_USB_STORAGE_DATAFAB=y
CONFIG_USB_STORAGE_FREECOM=y
CONFIG_USB_STORAGE_ISD200=y
CONFIG_USB_STORAGE_DPCM=y
CONFIG_USB_STORAGE_HP8200e=y
CONFIG_USB_STORAGE_SDDR09=y
CONFIG_USB_STORAGE_SDDR55=y
CONFIG_USB_STORAGE_JUMPSHOT=y
# USB Human Interface Devices (HID)
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
# CONFIG_USB_HIDDEV is not set
# USB HID Boot Protocol drivers
# CONFIG_USB_KBD is not set
CONFIG_USB_MOUSE=m
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_MTOUCH is not set
# CONFIG_USB_EGALAX is not set
# CONFIG_USB_XPAD is not set
# CONFIG_USB_ATI_REMOTE is not set
# USB Imaging devices
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_HPUSBSCSI is not set
# USB Multimedia devices
# CONFIG_USB_DABUSB is not set
# CONFIG_USB_VICAM is not set
# CONFIG_USB_DSBR is not set
# CONFIG_USB_IBMCAM is not set
# CONFIG_USB_KONICAWC is not set
# CONFIG_USB_OV511 is not set
# CONFIG_USB_SE401 is not set
# CONFIG_USB_SN9C102 is not set
# CONFIG_USB_STV680 is not set
# USB Network adaptors
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
CONFIG_USB_USBNET=m
# USB Host-to-Host Cables
CONFIG_USB_ALI_M5632=y
CONFIG_USB_AN2720=y
CONFIG_USB_BELKIN=y
CONFIG_USB_GENESYS=y
CONFIG_USB_NET1080=y
CONFIG_USB_PL2301=y
# Intelligent USB Devices/Gadgets
CONFIG_USB_ARMLINUX=y
CONFIG_USB_EPSON2888=y
CONFIG_USB_ZAURUS=y
CONFIG_USB_CDCETHER=y
# USB Network Adapters
CONFIG_USB_AX8817X=y
# USB port drivers
# CONFIG_USB_USS720 is not set
# USB Serial Converter support
# CONFIG_USB_SERIAL is not set
# USB Miscellaneous drivers
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_TIGL is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_PHIDGETSERVO is not set
# CONFIG_USB_TEST is not set
# USB Gadget Support
# CONFIG_USB_GADGET is not set

If you tell us more about what is not working, and what you're doing, I'd try to be more helpfull...

Cheers
Philipp
Title: 2.6.8 kernel config for usb-OZ ??
Post by: dansawyer on November 04, 2004, 04:47:14 pm
Thanks,

I am not a USB guru; on the 2.4.24 FC1 system simply connecting the Z to the Linux USB port creates a connection. From there the USB appears as a TCP/IP connection.

On the 2.6.9 FC3T3 system nothing happens. The USB port does not come up.

My notes from when I built the FC1 system, now several months ago, refer to enableing USB POINT TO POINT, however that config does not appear in either config so I am at a loss.

Thanks again,
Dan
Title: 2.6.8 kernel config for usb-OZ ??
Post by: Pyrates on November 04, 2004, 06:28:18 pm
Hmm, ok, lets start

Did you configure your kernel properly? I think you need "CONFIG_USB_USBNET=m" and "CONFIG_USB_ARMLINUX=y" in your .config. Well, then try "modprobe usbnet" as root. Then put your Z into the cradle, and reboot it (I have to do this, dunno if you have to, and I don't know why; just do it, won't hurt). Then check with "ifconfig" (also as root) if you have the interface usb0. From then on, it should be like before. Do
Code: [Select]
/sbin/ifconfig usb0 192.168.129.1 netmask 255.255.255.0 up
/sbin/route add -host 192.168.129.2 usb0
as root, where you have to replace 192.168.129.2 by the IP of your Zaurus, and 192.168.129.1 by a randomly chosen one from the same network (i.e., the first 3 numbers should be the same). Then try  "ping 192.168.129.2" (again, replace what's necessary), if it works... voila  If not, let me know what went wrong...

Cheers
Philipp
Title: 2.6.8 kernel config for usb-OZ ??
Post by: dansawyer on November 04, 2004, 06:58:59 pm
Thanks,

I do not have the USB_ARMLINUX set.

I will try that as well as the ifconfig sections and let you know.

Thanks,
Dan
Title: 2.6.8 kernel config for usb-OZ ??
Post by: Pyrates on November 05, 2004, 03:05:31 am
Also, when you have your Z plugged in and rebooted, check the output of "lsusb", it should definitely list it...

Cheers
Philipp
Title: 2.6.8 kernel config for usb-OZ ??
Post by: dansawyer on November 05, 2004, 10:02:03 am
Thank you,

That worked. The remaining difference is the usb  connection does not come up automatically. After a suspend resume the ifconfig usb0 192...  command needs to be re-entered. This is not the case in the 2.4.24 kernel. Is there an additional config that can be entered?

Again thanks,
Dan
Title: 2.6.8 kernel config for usb-OZ ??
Post by: Pyrates on November 05, 2004, 11:54:25 am
Uhh, I don't know, I always reenter the stuff, don't mind... anyone else?

Cheers
Philipp

P.S.: Fine that it works now, that's the most important thing