LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-01-2004, 07:22 AM   #1
stellarboy
LQ Newbie
 
Registered: Oct 2004
Posts: 9

Rep: Reputation: 0
usbserial, nokia6100


Hi,

i have a problem connecting my nokia 6100 via usb (using usb2serial cable with pl2303) with my slackware 10, it works nicely with fedora core 2 (kernel 2.6.8.1), but since i work mostly under slackware it would be nie to hear from anybody who got this working what kernel he uses??
I receive the following error:
root@localhost:/root# gammu --identify
Error opening device. Doesn't exist.

but the config file ist the same that works under redhat, my gaamurc looks like that:
[gammu0]

port = /dev/ttyUSB0
model = 6100
connection = fbuspl2303
#synchronizetime = yes
#logfile = gammulog
#logformat = textall
#use_locking = yes
#gammuloc = locfile
#startinfo = yes
#gammucoding = utf8


but the device is there, and has the correct major and minor numbers (0,188):
ls -l /dev/ttyUSB0
crwxrwxrwx 1 root root 188, 0 2004-10-30 21:09 /dev/ttyUSB0


i have tried 2.4.26, also kernel 2.6.7. and 2.6.81 didn't work,
i tried copying the files /etc/hotplug and /etc/hotplug.d from fedora to slackware, then restarting the hotplug-dameon, but it gave me the following error:
** can't synthesize root hub events

the modules usbserial and pl2303 are loaded at startup so everything shouild be fine..

anybody has this usbserial thing working and give me a hint on what kernel version i should use, and or what version of the hotplug-daemon, or any suggestions where the problem could be??

maybe the following info from /proc might be of interest for someone ?

root@localhost:/etc# cat /proc/bus/usb/devices
T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI-alt Root Hub
S: SerialNumber=e400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=04 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=067b ProdID=2303 Rev= 3.00
S: Manufacturer=Prolific Technology Inc.
S: Product=USB-Serial Controller
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=serial
E: Ad=81(I) Atr=03(Int.) MxPS= 10 Ivl=1ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=83(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI-alt Root Hub
S: SerialNumber=e800
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI-alt Root Hub
S: SerialNumber=ec00
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 6
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.04
S: Manufacturer=Linux 2.4.26 ehci_hcd
S: Product=VIA Technologies, Inc. USB 2.0
S: SerialNumber=00:10.3
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms

thanks in advance...
 
Old 11-01-2004, 10:03 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi.

Could you give us the output from 'lsmod' under Slack and Fedora?

Dave
 
Old 11-01-2004, 10:41 AM   #3
stellarboy
LQ Newbie
 
Registered: Oct 2004
Posts: 9

Original Poster
Rep: Reputation: 0
the lsmod from slackware 10 :

Module Size Used by Tainted: P
parport_pc 15588 1 (autoclean)
lp 6692 1 (autoclean)
pl2303 12696 0 (unused)
usbserial 19196 0 [pl2303]
uhci 25372 0 (unused)
ehci-hcd 18156 0 (unused)
usbcore 62220 1 [pl2303 usbserial uhci ehci-hcd]
n_hdlc 6720 1
ppp_synctty 6112 1
ppp_async 7488 0 (unused)
ppp_generic 19972 3 [ppp_synctty ppp_async]
slhc 5392 0 [ppp_generic]
nvidia 1964768 6 (autoclean)
parport 24936 1 [parport_pc lp]
snd-pcm-oss 37736 0
snd-mixer-oss 12504 2 [snd-pcm-oss]
snd-via82xx 13124 3
gameport 1484 0 [snd-via82xx]
snd-pcm 56072 0 [snd-pcm-oss snd-via82xx]
snd-timer 13604 0 [snd-pcm]
snd-ac97-codec 49500 0 [snd-via82xx]
snd-page-alloc 6328 0 [snd-via82xx snd-pcm]
snd-mpu401-uart 3200 0 [snd-via82xx]
snd-rawmidi 12740 0 [snd-mpu401-uart]
snd-seq-device 3888 0 [snd-rawmidi]
snd 30852 1 [snd-pcm-oss snd-mixer-oss snd-via82xx snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 3652 4 [snd]
via-rhine 12688 1
mii 2368 0 [via-rhine]
crc32 2848 0 [via-rhine]
ide-scsi 10096 0
agpgart 45764 3

lsmod from fedora core 2 (gammu works nicely, kernel 2.6.8.1.):

Module Size Used by
snd_mixer_oss 14017 2
snd_via82xx 24165 3
snd_ac97_codec 58821 1 snd_via82xx
snd_pcm 83529 1 snd_via82xx
snd_timer 25413 1 snd_pcm
snd_page_alloc 8393 2 snd_via82xx,snd_pcm
gameport 4033 1 snd_via82xx
snd_mpu401_uart 7361 1 snd_via82xx
snd_rawmidi 21733 1 snd_mpu401_uart
snd_seq_device 6473 1 snd_rawmidi
snd 45477 10 snd_mixer_oss,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_devic e
soundcore 7713 3 snd
parport_pc 21249 1
lp 9133 0
parport 35977 2 parport_pc,lp
autofs4 20677 0
via_rhine 19273 0
mii 3777 1 via_rhine
iptable_filter 2369 0
ip_tables 13889 1 iptable_filter
floppy 54001 0
sg 28513 0
scsi_mod 105360 1 sg
dm_mod 47317 0
pl2303 14789 0
usbserial 22313 1 pl2303
uhci_hcd 28505 0
ehci_hcd 27973 0
button 4825 0
battery 7117 0
asus_acpi 9177 0
ac 3533 0
nvidia 4823380 12
md5 3905 1
ipv6 217349 6
reiserfs 234901 3
 
Old 11-01-2004, 12:30 PM   #4
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
I think I've got it.

A lot of USB stuff relies on ACPI being present before it'll work (for example, I couldn't get USB Flash drives to work without it).

Try modprobe ing asus_acpi in Slack, and see if that makes any difference.

Dave
 
Old 11-02-2004, 02:25 PM   #5
stellarboy
LQ Newbie
 
Registered: Oct 2004
Posts: 9

Original Poster
Rep: Reputation: 0
it works ! alright, thanks a lot
 
Old 11-10-2004, 05:22 PM   #6
Skankpuss
Member
 
Registered: Nov 2003
Location: England
Distribution: mandriva 2005 le
Posts: 37
Blog Entries: 1

Rep: Reputation: 15
Hi there, I have a very similar problem... I've got as far as stellarboy was at at the beginning (it's taken me a couple of nights, and my girlfiend's not really talking to me) so I have the phone connected, and looking like it should work. I would like to

modprobe asus_acpi

but I am running mandrake 10, and have had no success using modprobe since I moved to the 2.6 kernel

I do get this message from the configure desktop application though:

Your computer seems to have a partial ACPI installation. ACPI was probably enabled, but some of the sub-options were not - you need to enable at least 'AC Adaptor' and 'Control Method Battery' and then rebuild your kernel.

I didn't think I would have to enable ACPI if I didn't have a laptop! Does this really mean a kernel rebuild (if so, I'll do it, but would rather not after last time!)

Hope you don't mind me butting into your thread

Stu
 
Old 05-11-2007, 06:41 AM   #7
jslyg
LQ Newbie
 
Registered: Sep 2006
Posts: 2

Rep: Reputation: 0
Question e

i have met the same problem,i installed slackware,fedora on the same machine. gammu --identify, the result is ok,but i reinstall os,then it said it cant find the phone,puzzled.
i think it is nothing with acpi.pls release your idea?thanks
 
Old 09-20-2007, 08:13 AM   #8
Transylmania
LQ Newbie
 
Registered: Sep 2007
Location: Norfolk, VA, USA
Distribution: Kubuntu Hardy
Posts: 4

Rep: Reputation: 0
Hi all,

Since it's Nokia 6100, I thougt I'd post here my experience. The phone is a Nokia 6101, connected through a cheap USB cable bought from ebay (CA-42/dku5). I'm running Mandriva One 2007 and installed gnokii 0.6.14., here's the config file:

[global]
port = /dev/usb/tts/0
model = 6101
initlength = default
connection = serial
use_locking = yes
smsc_timeout = 10
[gnokiid]
bindir = /usr/sbin/
debug = on
rlpdebug = off
xdebug = off

Works well, although when reading from the phone, one name is asociated with only one number(the one that is default on the phone). Is it possible to get all the numbers associated with a name?
Thanks,
 
  


Reply

Tags
nokia



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
modprobe usbserial vendor=0xdf7 product=0x88 failed error -5 ricardo_duncan Linux - Newbie 0 10-11-2005 08:18 AM
Extrex VistaC and usbserial dutoitc Linux - Hardware 0 12-29-2004 12:07 PM
usbserial doesn't create a device spuzzzzzzz Linux - Hardware 2 11-23-2004 03:48 PM
HELP!! usbserial / Cell Phone Modem muzicman82 Linux - Hardware 1 12-22-2003 07:03 AM

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

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