Hi Ram
> Thanks for putting in so much time.
>   
Welcome, I live in a remote area, and I know what it is to get stuck 
like this without any support.
> then did
> :~$ sudo modprobe usbserial vendor=0x0451 product=0x3410
>
> :~$ sudo mknod /dev/ttyUSB0 c 188 0
>
> :~$ sudo mknod /dev/ttyUSB1 c 188 1
>   
Since you have no error messages here, things seem to be okay so far.
> ~$ sudo wvdial
>
> [sudo] password for ram:
>
> --> Ignoring malformed input line: ";Do NOT edit this file by hand!"
>
> --> WvDial: Internet dialer version 1.60
>
> --> Cannot open /dev/ttyUSB0: No such device
>   
I think for some reason even sudo has no write permission to /dev/ttyUSB0.
> Checked dmesg and got this error message
> [  218.090612] type=1503 audit(1238346819.369:9):
> operation="inode_permission" requested_mask="w::" denied_mask="w::"
> fsuid=0 name="/dev/ttyUSB0" pid=9672 profile="/usr/sbin/cupsd"
>
> [  218.090658] type=1503 audit(1238346819.369:10):
> operation="inode_permission" requested_mask="w::" denied_mask="w::"
> fsuid=0 name="/dev/ttyUSB1" pid=9672 profile="/usr/sbin/cupsd"
>   
Perhaps this gives the clue to why root has no permission to write to 
/dev/ttyUSB0. Who is the owner of /dev/ttyUSB0? Is it lp?

Perhaps the first thing to try is to uninstall cupsd, do you want to do 
that? It may not be worth it. But since cupsd is taking over ttyUSB0, 
removing it to check might help. Or perhaps you kill -9 9672? Or 
whatever is the process during a particular boot that grabs /dev/ttyUSB0?

Ideally chown .... /dev/ttyUSB0 and chown ... /dev/ttyUSB1 should also 
help. Along with that, you'd have to do chmod too.

Here's the output for my config:

m...@ubu:~$ ls -l /dev/ttyU*
crw-r--r-- 1 root root 188, 0 2009-03-29 16:51 /dev/ttyUSB0
crw-r--r-- 1 root root 188, 1 2009-03-29 16:51 /dev/ttyUSB1

I am still reading about this problem, will let you know if I find 
something.

Moz

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in

Reply via email to