LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 05-28-2009, 04:26 AM   #1
seabird505
LQ Newbie
 
Registered: Jan 2005
Posts: 5

Rep: Reputation: 0
Connecting USB modem to PC. Kernel rebuild required? How?


Hi!

I want to connect a GSM phone as a modem/com port to my PC using USB cable. When I plug in the USB cable to PC, Linux (Cent OS 5.2 - 2.6.18) don't detect it. Here are the log in /var/log/messages

Code:
May 28 04:55:20 MyPC kernel: usb 4-2: new full speed USB device using uhci_hcd and address 7
May 28 04:55:20 MyPC kernel: usb 4-2: configuration #1 chosen from 1 choice
May 28 04:55:20 MyPC kernel: drivers/usb/class/cdc-acm.c: Zero length descriptor references
May 28 04:55:20 MyPC kernel:
May 28 04:55:20 MyPC kernel: cdc_acm: probe of 4-2:1.1 failed with error -22
I googled for the error "kernel: drivers/usb/class/cdc-acm.c: Zero length descriptor references" and realized that a patch is required. However, I have never installed a patch or build a kernel before. Should I download the entire source code for my CentOS build, apply the patch and compile/install it again? CentOS website Wiki does not recommend recompiling the entire kernel as it will break the CentOS support. Please guide me what to do and how to do it.



Secondly, I will be using gnokii to communicate with my cell phone. Its config file dictates to use the port as /dev/ttyACM0. However I don't find any ttyACM0 file in /dev/ directory. Should I create a node for it like

mknod /etc/ttyACM0 c 166 0


Thanks for your time.
 
Old 05-28-2009, 09:54 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,483

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
Any reason for using Centos ?. That's a fork of RHEL - i.e. an enterprise Linux. As such it will never have support for the "latest-and-greatest" hardware.
If this is a personal PC, I'd suggest it would be easier to use a different distro (say Fedora in your case) that has more recent kernel (and thus hardware support) included.
If your modem is supported, the node will (should) be built automatically.
What model modem are you trying to use ?.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
problem with usb when connecting usb modem abhijitghube Linux - Hardware 4 01-24-2009 02:16 AM
ADSL USB Modem / Router connecting ( through USB ) but cannot connect to internet DJ Shaji Linux - Networking 1 03-28-2008 04:24 AM
USB kybd and mouse not working after rebuild of kernel khaos83 Red Hat 3 01-16-2008 02:43 AM
lg cdma usb modem drivers required ummer k m Fedora 1 11-19-2007 03:29 AM
connecting via USB modem.... J6044 Linux - Newbie 1 04-30-2001 06:02 AM


All times are GMT -5. The time now is 05:39 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration