Author Topic: Angstrom And Dm9601 Module  (Read 25263 times)

protechk

  • Newbie
  • *
  • Posts: 9
    • View Profile
Angstrom And Dm9601 Module
« on: January 13, 2008, 03:30:39 pm »
I would like to know if someone have an ipk with dm9601 module for Angstrom. Or if someone have a howto which explain how to compile a module.
I use an USB/Ethernet dongle with this chipset.

Thnks

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Angstrom And Dm9601 Module
« Reply #1 on: January 13, 2008, 05:27:25 pm »
Do you have a build environment set up? If so, you should be able to do "bitbake linux-module-dm9601" or whatever the package is called. I can't look it up because the Angstrom website is down.

EDIT: Maybe you have to recompile your kernel with different options. I'm not sure, nor am I sure how to do that. I'm new to OE/Bitbake.

EDIT: It looks like it is "kernel-module-dm9601," but it is only available for the Cxx0 series, not the Cxx00 series.
« Last Edit: January 13, 2008, 05:52:36 pm by Capn_Fish »
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Angstrom And Dm9601 Module
« Reply #2 on: January 14, 2008, 01:39:21 am »
Quote from: Capn_Fish
Do you have a build environment set up? If so, you should be able to do "bitbake linux-module-dm9601" or whatever the package is called. I can't look it up because the Angstrom website is down.

EDIT: Maybe you have to recompile your kernel with different options. I'm not sure, nor am I sure how to do that. I'm new to OE/Bitbake.

EDIT: It looks like it is "kernel-module-dm9601," but it is only available for the Cxx0 series, not the Cxx00 series.
would ther really be a difference ?
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Angstrom And Dm9601 Module
« Reply #3 on: January 14, 2008, 07:38:51 am »
Nope, but the package search tool says it's only for the Cxx0. I rebuilt my image last night, and enabled DM9601 in the default config. I now have a DM9601 Spitz module, if somebody's interested.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

protechk

  • Newbie
  • *
  • Posts: 9
    • View Profile
Angstrom And Dm9601 Module
« Reply #4 on: January 14, 2008, 11:58:26 am »
I am interesting but what kernel do you use to compile it?

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Angstrom And Dm9601 Module
« Reply #5 on: January 14, 2008, 02:22:00 pm »
2.6.23, the default one that comes with Angstrom.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

zdroyer

  • Newbie
  • *
  • Posts: 3
    • View Profile
Angstrom And Dm9601 Module
« Reply #6 on: January 15, 2008, 08:45:10 am »
Quote from: Capn_Fish
I now have a DM9601 Spitz module, if somebody's interested.
Hey, Capn_Fish, i'd like to test this module on my Z. Could you publish it?

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Angstrom And Dm9601 Module
« Reply #7 on: January 15, 2008, 02:19:06 pm »
No problem. Here you go.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

zdroyer

  • Newbie
  • *
  • Posts: 3
    • View Profile
Angstrom And Dm9601 Module
« Reply #8 on: January 16, 2008, 10:28:24 am »
Thanx a lot Capn_Fish!
However the ipk cannot be installed with ipkg, but after manual installation (ar -x ..., cp dm9601 ... , depmod) the module just works!
I tested it on SL-C1000 and SL-C3200, Angstrom 2007.12, kernel 2.6.23,
and some noname usb dongle (costs ~15E)
lsusb says:
[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']
  idVendor           0x0a46 Davicom Semiconductor, Inc.
  idProduct          0x9601
  bcdDevice            1.01
  iManufacturer           1 DM9601 USB NNC  
  iProduct                2 Davicom CO., LTD        
  iSerial                 3 9601
  bNumConfigurations      1
[/div]

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Angstrom And Dm9601 Module
« Reply #9 on: January 16, 2008, 02:19:53 pm »
Unfortunately, my dongle doesn't work, but glad to hear the driver does.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Hacdan

  • Newbie
  • *
  • Posts: 15
    • View Profile
Angstrom And Dm9601 Module
« Reply #10 on: December 13, 2008, 11:57:38 pm »
Not to bring up an old topic, but I need hostap.ko and hostap_cs.ko compiled with prism2 download support. I was wondering if anyone could point me in the right direction to setup a build environment or maybe even compile them for me? I have been pulling my hair out trying to flash my wifi card. If this has been asked somewhere else, I do apologize. I did a quick search, but did not look into it that deeply.

**Quick update before I go to bed. I have a build environment set up and seems to be working. I am at a loss when it comes to compiling the module with download support. Any suggestions would be much appreciated. This would be my first time having a go at compiling a module and it seems to be the only choice I have at the moment. Thanks in advance.
« Last Edit: December 14, 2008, 02:33:50 am by Hacdan »

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Angstrom And Dm9601 Module
« Reply #11 on: December 14, 2008, 11:11:56 am »
You need to edit the build files with the options to enable these things, I believe.

There are also some modules I built for pdaXrom r198 a while back that support card flashing. I'll dig up the link if you'd like.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Hacdan

  • Newbie
  • *
  • Posts: 15
    • View Profile
Angstrom And Dm9601 Module
« Reply #12 on: December 14, 2008, 05:16:49 pm »
Unfortunately, I just reflashed from r198. I have the files, but I assumed that they would not work with Angstrom. From what I've read the kernels are quite different. I could be completely wrong, which is probably true as I do not know much about the Linux kernel and how modules are compiled

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Angstrom And Dm9601 Module
« Reply #13 on: December 14, 2008, 09:38:56 pm »
Quote from: Hacdan
Unfortunately, I just reflashed from r198. I have the files, but I assumed that they would not work with Angstrom. From what I've read the kernels are quite different. I could be completely wrong, which is probably true as I do not know much about the Linux kernel and how modules are compiled
No, they won't work on Angstrom (with the normal kernel). You could flash the pdaX kernel with your current Angstrom install (after putting the modules in the correct place), reboot, flash the card, then flash your old kernel back. The kernel should work fine (at least well enough to allow you to flash the card), though I've not tested it with Angstrom.

EDIT: The kernel might be in the wrong format to just flash and have it work with Angstrom (I seem to remember a step when building it that made a 'uboot' kernel). You could try it anyway, though
« Last Edit: December 14, 2008, 09:41:11 pm by Capn_Fish »
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Hacdan

  • Newbie
  • *
  • Posts: 15
    • View Profile
Angstrom And Dm9601 Module
« Reply #14 on: December 14, 2008, 09:57:47 pm »
Quote from: Capn_Fish
Quote from: Hacdan
Unfortunately, I just reflashed from r198. I have the files, but I assumed that they would not work with Angstrom. From what I've read the kernels are quite different. I could be completely wrong, which is probably true as I do not know much about the Linux kernel and how modules are compiled
No, they won't work on Angstrom (with the normal kernel). You could flash the pdaX kernel with your current Angstrom install (after putting the modules in the correct place), reboot, flash the card, then flash your old kernel back. The kernel should work fine (at least well enough to allow you to flash the card), though I've not tested it with Angstrom.

EDIT: The kernel might be in the wrong format to just flash and have it work with Angstrom (I seem to remember a step when building it that made a 'uboot' kernel). You could try it anyway, though

I would rather attempt to learn how to compile the module myself. I really have no idea how to go about doing so. I know I can bitbake hostap-module or something along those lines, but I have no idea what file to change to add prism2 download support and possibly packet injection, assuming that is part of the kernel module. Thanks for the idea though, I tried flashing your kernel after installing r198 and ended up with no wlan0 device. This confused me and I had been itching to try Angstrom anyways.

I've been searching the wiki to no avail. I'm sure it's in there and I'm probably not using the correct search terms, but I have the environment setup, with their instructions anyways. I assumed there would be some file inside the hostap package directory that might lead me in the right direction, but the only thing that I found were a bunch of .bb files that I had no clue how to change to suit my needs. Thanks for all the help and possibly anymore in advance.

**EDIT** Missing word
« Last Edit: December 14, 2008, 09:58:51 pm by Hacdan »