On 01/04/2014 10:22 AM, loonsailor wrote:
> When I sudo, I no longer get an error on the modprobe (duh!), but it still 
> doesn't make a device at the /dev level, like /dev/ttyusb0 or similar. 
>  Should it?  Or should I just have my software, which expects a serial 
> device (it's talking to a weather station) directly access 
> /dev/bus/usb/001/003.  If I want a tty-type device, is it enough to 'ln -s 
> /dev/bus/... /dev/ttyUSB', either manually or with udev, or does a 
> usb-serial device need some sort of pseudo-driver for serial protocols?
> 
> Thanks again!

Hi,
        you might want to take a look at 'dmesg' to see if a device is created
when inserting the kernel module.
        This is what I get when connecting a pl2303 based usb-rs232 adapter:

- (desktop x86 machine):
~$ uname -a
Linux antec 3.8.0-34-generic #49-Ubuntu SMP Tue Nov 12 18:00:10 UTC 2013
x86_64 x86_64 x86_64 GNU/Linux

~$ lsb_release -a
LSB Version:
core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 13.04

[83848.138366] usb 2-1.8.6: new full-speed USB device number 8 using
ehci-pci
[83848.231040] usb 2-1.8.6: New USB device found, idVendor=067b,
idProduct=2303
[83848.231045] usb 2-1.8.6: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[83848.231047] usb 2-1.8.6: Product: USB-Serial Controller
[83848.231050] usb 2-1.8.6: Manufacturer: Prolific Technology Inc.
[83848.231337] pl2303 2-1.8.6:1.0: pl2303 converter detected
[83848.232879] usb 2-1.8.6: pl2303 converter now attached to ttyUSB0


- (beaglebone black)
~$ uname -a
Linux bb2 3.8.13-bone28 #1 SMP Fri Sep 13 01:11:14 UTC 2013 armv7l
armv7l armv7l GNU/Linux
~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 13.10


[  472.737991] usb usb1: usb wakeup-resume
[  472.738086] usb usb1: usb auto-resume
[  472.738138] hub 1-0:1.0: hub_resume
[  472.738259] hub 1-0:1.0: port 1: status 0101 change 0001
[  472.840661] hub 1-0:1.0: state 7 ports 1 chg 0002 evt 0000
[  472.840787] hub 1-0:1.0: port 1, status 0101, change 0000, 12 Mb/s
[  472.946041] usb 1-1: new full-speed USB device number 2 using musb-hdrc
[  473.065944] usb 1-1: default language 0x0409
[  473.066357] usb 1-1: udev 2, busnum 1, minor = 1
[  473.066401] usb 1-1: New USB device found, idVendor=067b, idProduct=2303
[  473.066439] usb 1-1: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[  473.066473] usb 1-1: Product: USB-Serial Controller
[  473.066505] usb 1-1: Manufacturer: Prolific Technology Inc.
[  473.071233] usb 1-1: usb_probe_device
[  473.071294] usb 1-1: configuration #1 chosen from 1 choice
[  473.072221] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
[  473.080129] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[  473.080247] hub 1-0:1.0: port 1 enable change, status 00000103
[  473.175207] usbcore: registered new interface driver usbserial
[  473.175427] usbcore: registered new interface driver usbserial_generic
[  473.175638] usbserial: USB Serial support registered for generic
[  473.193055] usbcore: registered new interface driver pl2303
[  473.193317] usbserial: USB Serial support registered for pl2303
[  473.193446] pl2303 1-1:1.0: usb_probe_interface
[  473.193487] pl2303 1-1:1.0: usb_probe_interface - got id
[  473.193564] pl2303 1-1:1.0: pl2303 converter detected
[  473.206726] usb 1-1: pl2303 converter now attached to ttyUSB0


        As you can see, there's a ttyUSB0 device being created. Can you show
what you get from 'dmesg' or /var/log/kern.log ?

                Cheers,
                        Nuno

-- 
http://aeminium.org/nuno/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to