Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-24-2005, 01:05 PM
|
#1
|
LQ Newbie
Registered: Sep 2005
Posts: 6
Rep:
|
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
|
|
|
09-25-2005, 08:17 PM
|
#2
|
Senior Member
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495
Rep:
|
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.
|
|
|
09-27-2005, 07:25 AM
|
#3
|
LQ Newbie
Registered: Sep 2005
Posts: 6
Original Poster
Rep:
|
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
|
|
|
09-27-2005, 08:04 AM
|
#4
|
Senior Member
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495
Rep:
|
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).
|
|
|
09-27-2005, 10:47 AM
|
#5
|
LQ Newbie
Registered: Sep 2005
Posts: 6
Original Poster
Rep:
|
Thanks for the reply
i'll try it first

|
|
|
09-27-2005, 12:23 PM
|
#6
|
LQ Newbie
Registered: Sep 2005
Posts: 6
Original Poster
Rep:
|
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
|
|
|
09-27-2005, 06:26 PM
|
#7
|
Senior Member
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495
Rep:
|
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.
|
|
|
10-02-2005, 09:14 AM
|
#8
|
LQ Newbie
Registered: Sep 2005
Posts: 6
Original Poster
Rep:
|
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
|
|
|
10-02-2005, 09:37 PM
|
#9
|
LQ Newbie
Registered: Sep 2005
Posts: 6
Original Poster
Rep:
|
anyone? bump
|
|
|
10-03-2005, 05:53 AM
|
#10
|
Senior Member
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 02:50 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|