Skip to main content

Thread: Trying to get CDC ACM serial device (GRE PSR-800 radio) working


hi, i'm trying add support cdc_acm serial device in gre psr-800 radio scanner under ubuntu 10.10. i'm getting typical "error -22" failure.

have added following stanza drivers/usb/class/cdc-acm.c , recompiled module:
{ usb_device(0x0c97, 0x0008), .driver_info = not_a_modem, },

when modprobe module, following debug messages:
[ 2748.287683] cdc_acm: probe of 2-1:1.1 failed error -22
[ 2748.288589] usbcore: registered new interface driver cdc_acm
[ 2748.288591] cdc_acm: v0.26-emf:usb abstract control model driver usb modems , isdn adapters

don't know next. gre support assures me cdc acm serial device, , work 1 on windows.

lsusb:

bus 002 device 002: id 0c97:0008
device descriptor:
blength 18
bdescriptortype 1
bcdusb 2.00
bdeviceclass 0 (defined @ interface level)
bdevicesubclass 0
bdeviceprotocol 0
bmaxpacketsize0 8
idvendor 0x0c97
idproduct 0x0008
bcddevice 0.01
imanufacturer 1 grecom
iproduct 2 grecom psr-8oo scanner
iserial 0
bnumconfigurations 1
configuration descriptor:
blength 9
bdescriptortype 2
wtotallength 89
bnuminterfaces 2
bconfigurationvalue 1
iconfiguration 2 grecom psr-8oo scanner
bmattributes 0xc0
self powered
maxpower 500ma
interface descriptor:
blength 9
bdescriptortype 4
binterfacenumber 0
balternatesetting 0
bnumendpoints 2
binterfaceclass 8 mass storage
binterfacesubclass 6 scsi
binterfaceprotocol 80 bulk (zip)
iinterface 0
endpoint descriptor:
blength 7
bdescriptortype 5
bendpointaddress 0x81 ep 1 in
bmattributes 2
transfer type bulk
synch type none
usage type data
wmaxpacketsize 0x0040 1x 64 bytes
binterval 1
endpoint descriptor:
blength 7
bdescriptortype 5
bendpointaddress 0x01 ep 1 out
bmattributes 2
transfer type bulk
synch type none
usage type data
wmaxpacketsize 0x0040 1x 64 bytes
binterval 1
** unrecognized: 08 11 01 02 02 02 01 00
interface descriptor:
blength 9
bdescriptortype 4
binterfacenumber 1
balternatesetting 0
bnumendpoints 3
binterfaceclass 2 communications
binterfacesubclass 2 abstract (modem)
binterfaceprotocol 1 at-commands (v.25ter)
iinterface 0
cdc header:
bcdcdc 1.10
cdc acm:
bmcapabilities 0x02
line coding , serial state
cdc union:
bmasterinterface 0
bslaveinterface 1
cdc call management:
bmcapabilities 0x00
bdatainterface 1
endpoint descriptor:
blength 7
bdescriptortype 5
bendpointaddress 0x82 ep 2 in
bmattributes 3
transfer type interrupt
synch type none
usage type data
wmaxpacketsize 0x0008 1x 8 bytes
binterval 2
endpoint descriptor:
blength 7
bdescriptortype 5
bendpointaddress 0x03 ep 3 out
bmattributes 2
transfer type bulk
synch type none
usage type data
wmaxpacketsize 0x0040 1x 64 bytes
binterval 0
endpoint descriptor:
blength 7
bdescriptortype 5
bendpointaddress 0x83 ep 3 in
bmattributes 2
transfer type bulk
synch type none
usage type data
wmaxpacketsize 0x0040 1x 64 bytes
binterval 0
device status: 0x0000
(bus powered)

usb-devices info:
t: bus=02 lev=01 prnt=01 port=00 cnt=01 dev#= 2 spd=12 mxch= 0
d: ver= 2.00 cls=00(>ifc ) sub=00 prot=00 mxps= 8 #cfgs= 1
p: vendor=0c97 prodid=0008 rev= 0.01
s: manufacturer=grecom
s: product=grecom psr-8oo scanner
c:* #ifs= 2 cfg#= 1 atr=c0 mxpwr=500ma
i:* if#= 0 alt= 0 #eps= 2 cls=08(stor.) sub=06 prot=50 driver=usb-storage
e: ad=81(i) atr=02(bulk) mxps= 64 ivl=0ms
e: ad=01(o) atr=02(bulk) mxps= 64 ivl=0ms
i:* if#= 1 alt= 0 #eps= 3 cls=02(comm.) sub=02 prot=01 driver=(none)
e: ad=82(i) atr=03(int.) mxps= 8 ivl=2ms
e: ad=03(o) atr=02(bulk) mxps= 64 ivl=0ms
e: ad=83(i) atr=02(bulk) mxps= 64 ivl=0ms

it's closer working (but still, not working) on ubuntu 11.04 kernel 2.6.38-8 , g_serial usb gadget driver.


[ 632.647339] dummy_hcd dummy_hcd: usb host+gadget emulator, driver 02 may 2005
[ 632.647344] dummy_hcd dummy_hcd: dummy host controller
[ 632.647781] dummy_hcd dummy_hcd: new usb bus registered, assigned bus number 3
[ 632.670578] hub 3-0:1.0: usb hub found
[ 632.670583] hub 3-0:1.0: 1 port detected
[ 632.672971] g_serial gadget: gadget serial v2.4
[ 632.672974] g_serial gadget: g_serial ready
[ 632.990261] usb 3-1: new high speed usb device using dummy_hcd , address 2
[ 633.220165] g_serial gadget: high speed config #2: cdc acm config
[ 633.240205] cdc_acm 3-1:2.0: device cannot calls on own. not modem.
[ 633.240234] cdc_acm 3-1:2.0: ttyacm0: usb acm device
[ 652.640183] dummy_hcd dummy_hcd: unlink after no-irq? controller using wrong irq.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Hardware [all variants] Trying to get CDC ACM serial device (GRE PSR-800 radio) working


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support