Author Topic: Pdaxrom C3k B2 /pdaxii13 Kernel Source  (Read 1887 times)

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Pdaxrom C3k B2 /pdaxii13 Kernel Source
« on: December 24, 2006, 04:07:38 am »
Good to have OESF back up and running! I tried attaching a file to this posting but it failed- the error report was

The requested file upload failed because suitable permissions have not been enabled on the 'uploads' directory. Please contact the board administrator and inform them of this error.

Anyway, onto my question!

My old gravis USB joypad died a while back so I went and bought a Trust Predator joypad for my c3000. When I plug it in, dmesg recognises it as a USB joypad but doesn't bring up the pad name and also complains about 'unhandled interfaces' on the device (probably the analogue sticks). I compiled jstest and tried

./jstest /dev/input/js0

and the other joystick devices in that dir but it says the devices don't exist. I have found a patch to add support for my pad to the Linux joystick driver but thats obviously no use without the kernel source. Can I download the kernel source for the pdaXii13 b2 kernel and then just patch and re-compile the USB HID module without having to re-compile the whole kernel?

Maybe I'll be able to get it working without all that? This is my dmesg:

call udc_startup_events
bi_device_event: call udc_enable
bi_device_event: call udc_all_interrupts
udc_connect: usb-device is not active.
wifi0: LinkStatus: BSSID=00:11:50:35:be:be
hda: lost interrupt
hostap_cs: Driver unloaded
hostap_crypt: unregistered algorithm 'NULL' (deinit)
pxa_pcmcia_init(0)

usbh: monitor_int_hndlr:
usbh: monitor_bh:
usbh: udc_connected: ACTIVE_LOW: 1<7>usbh: monitor_connected: 1
usbh: monitor_load: 4
usbh: monitor_hotplug: agent: usbh interface: monitor action: load
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xfe000000, IRQ 3
usb.c: new USB bus registered, assigned bus number 1
usb.c: kmalloc IF c3fb7220, numif 1
usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
usb.c: USB device number 1 default language ID 0x0
Product: USB OHCI Root Hub
SerialNumber: fe000000
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: standalone hub
hub.c: ganged power switching
hub.c: individual port over-current protection
hub.c: Port indicators are not supported
hub.c: power on to power good time: 8ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: RR
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb.c: hub driver claimed interface c3fb7220
usb.c: kusbd: /sbin/hotplug add 1
hub.c: port 1, portstatus 100, change 0, 12 Mb/s
hub.c: port 2, portstatus 301, change 1, 1.5 Mb/s
hub.c: port 2 connection change
hub.c: port 2, portstatus 301, change 1, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 2, portstatus 303, change 10, 1.5 Mb/s
hub.c: new USB device -2, assigned address 2
usb.c: USB device not accepting new address=2 (error=-110)
hub.c: port 2, portstatus 303, change 10, 1.5 Mb/s
hub.c: new USB device -2, assigned address 3
usb.c: USB device not accepting new address=3 (error=-110)
hub.c: port 1, portstatus 100, change 0, 12 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s

usbh: monitor_int_hndlr:
usbh: monitor_bh:
usbh: udc_connected: ACTIVE_LOW: 0<7>usbh: monitor_connected: 0
usbh: monitor_unload: 2
usbh: monitor_hotplug: agent: usbh interface: monitor action: unload
hub.c: port 1, portstatus 100, change 0, 12 Mb/s
hub.c: port 2, portstatus 100, change 1, 12 Mb/s
hub.c: port 2 connection change
hub.c: port 2, portstatus 100, change 1, 12 Mb/s
usb.c: USB disconnect on device -0 address 1
usb.c: kusbd: /sbin/hotplug remove 1
usb.c: USB bus 1 deregistered
pci_pool_destroy /ohci_td, c5b7d000 busy
usb.c: deregistering driver usbdevfs
hub.c: usb_hub_thread exiting
usb.c: deregistering driver hub
monitor_hotplug: agent: usbd interface: monitor action: suspend
udc_disable: ep0_urb already NULL
udc_disable: ep0_urb already NULL
usbdcore: usbdcore 0.1 035 2002-06-12 20:00 exiting
monitor_pm_event: suspend finished (rc=0)
usbh: monitor_hotplug: agent: usbh interface: monitor action: suspend
usbh: monitor_pm_event: suspend finished (rc=0)
pxa_sd_wait_response: responce time out (cmd=07 MMC_STAT=0x2142)
pxa_pcmcia_suspend(1)
sharp_sl_nand_suspend
jack=0
resume virtual_wakeup_factor=00000001 (src=9801a003)
resume logical_wakeup_factor=00000001 (src=2e000019)
FCS : CCCR = 2000210
sharp_sl_nand_resume
pxa_pcmcia_init(0)
pxa_pcmcia_init(1)
pxa_sd_wait_response: responce time out (cmd=52 MMC_STAT=0x2142)
pxa_sd_wait_response: responce time out (cmd=05 MMC_STAT=0x2142)
[SD]-clustsize = 10000
usbh: hotplug_schedule_bh: schedule bh
hotplug_schedule_bh: schedule bh
usbh: hotplug_bh:
usbh: udc_connected: ACTIVE_LOW: 0<7>usbh: monitor_connected: 0
usbh: monitor_restore: RESTORE_UNLOADED
usbh: monitor_hotplug: agent: usbh interface: monitor action: restore-unloaded
new hp status=0
hotplug_bh:
monitor_connected: 1
monitor_restore: RESTORE_LOADED
monitor_hotplug: agent: usbd interface: monitor action: restore-loaded
usbdcore: usbdcore 0.1 035 2002-06-12 20:00 (dbg="")
storage_fd: storage_fd 0.1 035 2002-06-12 20:00 (OUT=64,IN=64)
storage_fd: vendorID: 4dd productID: 9050
pxa27x_bi 0.1-alpha 035 2002-06-12 20:00 (dbg="")
bi_modinit: call udc_startup_events
bi_device_event: call udc_enable
bi_device_event: call udc_all_interrupts
udc_connect: usb-device is not active.
hda: lost interrupt

usbh: monitor_int_hndlr:
usbh: monitor_bh:
usbh: udc_connected: ACTIVE_LOW: 1<7>usbh: monitor_connected: 1
usbh: monitor_load: 4
usbh: monitor_hotplug: agent: usbh interface: monitor action: load
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xfe000000, IRQ 3
usb.c: new USB bus registered, assigned bus number 1
usb.c: kmalloc IF c3fb74c0, numif 1
usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
usb.c: USB device number 1 default language ID 0x0
Product: USB OHCI Root Hub
SerialNumber: fe000000
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: standalone hub
hub.c: ganged power switching
hub.c: individual port over-current protection
hub.c: Port indicators are not supported
hub.c: power on to power good time: 8ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: RR
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb.c: hub driver claimed interface c3fb74c0
usb.c: kusbd: /sbin/hotplug add 1
hub.c: port 1, portstatus 100, change 0, 12 Mb/s
hub.c: port 2, portstatus 301, change 1, 1.5 Mb/s
hub.c: port 2 connection change
hub.c: port 2, portstatus 301, change 1, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 2, portstatus 303, change 10, 1.5 Mb/s
hub.c: new USB device -2, assigned address 2
usb.c: kmalloc IF c3fb78e0, numif 1
usb.c: skipped 1 class/vendor specific interface descriptors
usb.c: new device strings: Mfr=0, Product=2, SerialNumber=0
usb.c: USB device number 2 default language ID 0x409
Product: USB Gamepad
usb.c: unhandled interfaces on device
usb.c: USB device 2 (vend/prod 0x810/0x3) is not claimed by any active driver.
  Length              = 18
  DescriptorType      = 01
  USB version         = 1.00
  Vendor:Product      = 0810:0003
  MaxPacketSize0      = 8
  NumConfigurations   = 1
  Device version      = 1.06
  Device Class:SubClass:Protocol = 00:00:00
    Per-interface classes
Configuration:
  bLength             =    9
  bDescriptorType     =   02
  wTotalLength        = 0022
  bNumInterfaces      =   01
  bConfigurationValue =   01
  iConfiguration      =   00
  bmAttributes        =   80
  MaxPower            =  350mA

  Interface: 0
  Alternate Setting:  0
    bLength             =    9
    bDescriptorType     =   04
    bInterfaceNumber    =   00
    bAlternateSetting   =   00
    bNumEndpoints       =   01
    bInterface Class:SubClass:Protocol =   03:00:00
    iInterface          =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   81 (in)
      bmAttributes        =   03 (Interrupt)
      wMaxPacketSize      = 0008
      bInterval           =   11
usb.c: kusbd: /sbin/hotplug add 2
usb.c: registered new driver hiddev
usb.c: registered new driver hid
input: USB HID v1.10 Joystick [0810:0003] on usb1:2.0
usb.c: hid driver claimed interface c3fb78e0
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Pdaxrom C3k B2 /pdaxii13 Kernel Source
« Reply #1 on: December 26, 2006, 06:38:25 pm »
try sharp developer site for kernel sources, or try cacko or pdaXrom source files. The base sources are all the same afaik, with extra patches applied and different compile options.
ThC compiled the kernel for C3000 so he may still have the config files and list of patches he applied.
« Last Edit: December 26, 2006, 06:39:22 pm by Meanie »
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K