LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-16-2004, 06:06 PM   #1
spuzzzzzzz
Member
 
Registered: Sep 2003
Location: Australia
Distribution: Gentoo
Posts: 465

Rep: Reputation: 30
Unhappy usbserial doesn't create a device


I'm trying to get my Nokia 3220 working with its usb connecter cable. I fired up usbview to check the vendor and product ids. One of my usb devices, "USB-Serial Controller", showed up red in the list. I ran "modprobe usbserial vendor=0x067b product=0x2303" and the entry changed to black. I assume this is good.

However, there is no /dev/ttyUSB0 device. I was using devfs and I just upgraded to udev, but the device isn't created. There is also no /dev/usb/. Here is the dmesg output from the modprobe:
Code:
drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic
usbserial_generic 2-1:1.0: Generic converter detected
usb 2-1: Generic converter now attached to ttyUSB0
usbcore: registered new driver usbserial_generic
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
Note the "generic converter now attached to ttyUSB0". So where is my device?
Code:
ls -l /dev/ttyU*
ls: /dev/ttyU*: No such file or directory
It does show up in /sys, though:
Code:
root@joe joe # ls /sys/bus/usb-serial/devices/
ttyUSB0
root@joe joe # ls /sys/bus/usb-serial/devices/ttyUSB0/
detach_state  power
root@joe joe # ls /sys/bus/usb-serial/devices/ttyUSB0/power/
state
root@joe joe # cat /sys/bus/usb-serial/devices/ttyUSB0/power/state
0
root@joe joe # cat /sys/bus/usb-serial/devices/ttyUSB0/detach_state
0
Can anyone decipher that?
Any help would be appreciated. Thanks.

EDIT: here is the appropriate section of the udev naming rules:
Code:
KERNEL="ttyUSB[0-9]*", NAME="tts/USB%n"
Code:
ls /dev/tts/U*
/dev/tts/U*: No such file or directory

Last edited by spuzzzzzzz; 11-16-2004 at 06:55 PM.
 
Old 11-23-2004, 11:34 AM   #2
algernon2
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
I'm having troubles with my 2303 also.

However, I think you have to use mknod and create your own /dev/ttyUSB0 ... devices with 188, 0. (Mine were already created ... doesn't seem to do me much good though).
 
Old 11-23-2004, 03:48 PM   #3
spuzzzzzzz
Member
 
Registered: Sep 2003
Location: Australia
Distribution: Gentoo
Posts: 465

Original Poster
Rep: Reputation: 30
actually, I figured this one out. First I had to compile and insert the pl2303 module. Then I had to unplug and plug in the usb cable in order for the device to appear. Then the device showed up (and worked!).
 
  


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
usbserial, nokia6100 stellarboy Linux - Hardware 7 09-20-2007 08:13 AM
I can`t create a device node in /dev gcasados Slackware 8 02-21-2005 05:17 AM
how do I create the wlan0 device? veritas Linux - Wireless Networking 6 08-09-2004 04:09 PM
SuSE: How to create raw device stjacqd Linux - General 3 07-22-2004 06:29 PM
How can we create file device? l_9_l Linux - General 1 01-11-2002 10:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:01 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