LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-24-2005, 01:05 PM   #1
arddhika
LQ Newbie
 
Registered: Sep 2005
Posts: 6

Rep: Reputation: 0
USB Problem in Pebble (Bcan.Pebble)


Hi there, im a newbie. Currently im trying to build a pebblebox to be used as an access point which linked to a CDMA phone as uplink to inet. The problem is that my phone is connected into usb whereas doesn't supported by Pebble.

Can anyone give me any suggestions or link to make Pebble detects my CDMA phone. I'm a newbie so how-to guide will be very helpful. Thanks in advance

My hardware specs :
Old laptop with 166Mhz 96MB RAM with 1 USB slot
Linksys WPC11
Nokia 6585 CDMA phone connected via usb data cable
bcanpebble v0.9 running on HDD

any help i appreciate so much
thx
 
Old 09-25-2005, 08:17 PM   #2
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Sounds like an interesting project, but do you have any evidence at all that this phone is supposed to work with linux? Searching linux-usb working devices list

http://www.qbik.ch/usb/devices/searc...?pattern=nokia

shows nothing useful.

You can see if the phone is recognised by plugging it into the running system and checking the output of 'dmesg' command. The last few lines might have some useful information.
 
Old 09-27-2005, 07:25 AM   #3
arddhika
LQ Newbie
 
Registered: Sep 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Before trying this phone in pebble, i have try it in mandriva
and it works (but i dont know why's that link didn't list my nokia phone)

anyway, when i type

# lspci

my usb show information :

00:12.2 USB Controller: Integrated Technology Express, Inc.: Unknown device 1234 (rev 03)

dmesg command didn't show anything about usb

Did i still need to recompile the usb modul?
if yes, any link how to step by step in compiling just an usb modul that can work for my box?
i try to search but stuck in which modul i need for usb, is it usbcore.o, usbnet.o or usb-uhci.o?
and how to make that modul still work even i boot the box

Thanks for replying
 
Old 09-27-2005, 08:04 AM   #4
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
The easiest thing would be to get the phone working in Mandriva, then run 'lspci' to see what modules are loaded. Then compile a kernel for Pebble with the same modules.

It is OK to compile more modules than you need. You can always delete the ones you don't want if you need to save space. They are installed automatically when you do 'make modules_install'.

To load a module (and also the modules it depends on) just do 'modprobe <module>' on the command line. Use 'rmmod' to unload it.

To load modules automatically on boot just list them, one per line, in file /etc/modules. Or just modprobe them in an initialisation script (depending on distribution).
 
Old 09-27-2005, 10:47 AM   #5
arddhika
LQ Newbie
 
Registered: Sep 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Smile

Thanks for the reply

i'll try it first

 
Old 09-27-2005, 12:23 PM   #6
arddhika
LQ Newbie
 
Registered: Sep 2005
Posts: 6

Original Poster
Rep: Reputation: 0
hh...I have another problem

When I try to re-compile a new kernel it show so many error
like need ncurses (so i try to install ncurses)
then the ncurses need gcc and gcclibrary (so i install both)
but it still showing another problem.....(aargh...i got so desperate now...sorry to be a newbie...)

so i try to compile an usb module with insmod command (with -f 'cos the diferent kernel)
but the modul showing another error problem that need another module (unresolved symbol .....)

do you now how to know what module i need, cos it's to hard googling the modul the error shown

Thanks
 
Old 09-27-2005, 06:26 PM   #7
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
I guess your problem is that Pebble does not come with a development environment for compiling programs compatible with the rest of the system. It is possible to compile a kernel on another system and move it across, along with the modules in /lib/modules. Or if you are sure you know what modules are needed you can just compile them into the kernel.

But trying to modify some kind of linux-based appliance without the original development environment to work with can be a bit tricky.
 
Old 10-02-2005, 09:14 AM   #8
arddhika
LQ Newbie
 
Registered: Sep 2005
Posts: 6

Original Poster
Rep: Reputation: 0
i think i need acm.o module
i got the module after googling some link, but it's for kernel 2.4.20 (my kernel version is 2.4.26)

i install the module with insmod -f acm.o to force install the module
plug the USB-CDMA-Phone, and my box detect my phone :
"hub.c: new USB device 00:12.2-1, assigned address 2
ttyACM0: USB ACM devices"

when i try ppp, the phone still not responding
its always stop at line :
send (ATZ^M)
expect (OK)
alarm
however, when i tried to ppp with DSL (Damn Small Linux) with my usb phone, the phone respond the line "send (ATZ^M)" and my /messages show line "ATZ^M^M" then the phone start to connect my provider

lsmod list acm, usb-ohci, usbcore as my installed module (after i insmod -f acm.o)
d u think what else i need for connecting my CDMA Phone with USB module?

does different version of module (acm.o) i used affecting my problem?

anyway, i copy acm.o from DSL module library to my pebble box
and then insmod the module, but it said that that module need another module :
acm.o: unresolved symbol kernel_flag_cacheline
acm.o: unresolved symbol tqueue_lock

any suggest for my problem?

ThankU Very Much
 
Old 10-02-2005, 09:37 PM   #9
arddhika
LQ Newbie
 
Registered: Sep 2005
Posts: 6

Original Poster
Rep: Reputation: 0
anyone? bump
 
Old 10-03-2005, 05:53 AM   #10
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
The kernel and modules you use need to be compiled together, from the same source code. You can either do it yourself or, with some distros, you can get matching kernel/module packages. Forcing a module to load, when compiled from different kernel source, is asking for trouble.

I'd suggest practising with some distro that provides a C compiler, and compile and install your own kernel and modules to get the phone working on that system. Once you understand what is involved you will have a better chance of figuring out what to do with your embedded-type system.

For example, if you can figure out how to build a monolithic kernel which works (i.e. without separate modules) you could try just moving it over and booting it on the other system.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mini debian-pebble geden Debian 3 02-29-2008 10:01 AM
Problems loading the kernel on Pebble Linux pwaring Linux - Distributions 0 09-02-2005 03:22 AM
USB Scanner problem: usb 1-2: device not accepting address 3, error -71 lagartoflojo Slackware 1 11-13-2004 04:26 PM
Problem with Mandrake 10.0 Community, Sagem usb modem and logitech usb mouse. al370601 Mandriva 4 04-29-2004 06:48 PM
Problem with USB controllers and USB CD-Writer gary.chan Linux - Hardware 0 08-09-2003 03:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration